]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix localedata test builds with latest GCC
[thirdparty/glibc.git] / ChangeLog
1 2017-07-21 Steve Ellcey <sellcey@cavium.com>
2
3 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
4 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
5 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
6 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
7 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
8
9 2017-07-21 Steve Ellcey <sellcey@cavium.com>
10
11 * nss/nss_test1.c (default_npwd_data): Fix definition.
12
13 2017-07-21 Steve Ellcey <sellcey@cavium.com>
14
15 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
16 math_force_eval.
17
18 2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19
20 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21
22 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
23 passing to syscall exit.
24
25 2017-07-19 DJ Delorie <dj@delorie.com>
26
27 * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
28
29 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
30
31 [BZ #21741]
32 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
33 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
34 in libc.so.
35
36 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
37
38 [BZ #21740]
39 * debug/Makefile (elide-routines.o): New.
40
41 2017-07-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
42
43 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
44 (_dl_aarch64_cap_flags): Update.
45 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
46 (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
47
48 2017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
49
50 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
51 (_dl_hwcap_string): Check range.
52
53 2017-07-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54
55 [BZ #21707]
56 * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
57 relocations before or after initializing the TCB on statically
58 linked executables. That's a per-architecture definition.
59 * elf/rtld.c (dl_main): Add a comment about thread-local
60 variables initialization.
61 * sysdeps/generic/libc-start.h: New file. Define
62 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
63 * sysdeps/powerpc/Makefile:
64 [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
65 tst-tlsifunc-static.
66 [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
67 (tests-internal): Add tst-tlsifunc.
68 * sysdeps/powerpc/tst-tlsifunc.c: New file.
69 * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
70 * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
71 variable.
72 [$(subdir) = math] (test-float128% test-ifloat128%): Force
73 linking to the loader after linking to libgcc.
74 [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
75 (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
76 (tst-strfrom-locale strfrom-skeleton): Likewise.
77 * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define
78 ARCH_APPLY_IREL and ARCH_SETUP_IREL.
79
80 2017-07-17 DJ Delorie <dj@redhat.com>
81
82 * nss/nss_test.h: New.
83 * nss/nss_test1.h: Rewrite to use test-provided data. Add group
84 tests. Parameterize to allow multiple instances.
85 * nss/nss_test2.h: New. Second instance.
86 * nss/nss_test.ver: New.
87 * nss/nss_test1.c: Update to use new framework.
88 * nss/nss_test2.c: New.
89 * nss/nss_test3.c: New.
90 * nss/nss_test4.c: New.
91 * nss/nss_test5.c: New.
92 * nss/Makefile: Build new tests.
93 * shlib-versions: Add libnss_test2.
94
95 2017-07-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
96
97 [BZ #21512]
98 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
99 passing to syscall exit.
100
101 2017-07-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
102
103 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
104 (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
105
106 2017-07-16 John David Anglin <danglin@gcc.gnu.org>
107
108 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
109 if _dl_fixup fails.
110
111 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
112 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
113 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
114 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
115
116 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
117 offset for r19 load.
118
119 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
120
121 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
122 Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack
123 pointer offset. Correct PIC register offset. Don't mention frame
124 related instructions in epilogue.
125 (PUSHARGS_1): Correct offset.
126 (PUSHARGS_2): Likewise.
127 (PUSHARGS_3): Likewise.
128 (PUSHARGS_4): Likewise.
129 (PUSHARGS_5): Likewise.
130 (PUSHARGS_6): Likewise.
131 (POPARGS_1): Don't mention register restore.
132 (POPARGS_2): Likewise.
133 (POPARGS_3): Likewise.
134 (POPARGS_4): Likewise.
135 (POPARGS_5): Likewise.
136 (POPARGS_6): Likewise.
137 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
138 copy of PIC register.
139 (LOAD_PIC): Likewise don't mention restore.
140 (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of
141 .cfi_offset. Don't record stack pointer offset. Correct PIC register
142 offset. Don't mention frame related instructions in epilogue.
143
144 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
145
146 * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
147
148 [BZ 20098]
149 * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
150 (_dl_lookup_address): Return address if it is not consistent with
151 being a linker defined function pointer. Likewise, return address
152 if address and function descriptor addresses are not accessible.
153
154 2017-07-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
155
156 * po/libc.pot: Regenerate.
157
158 2017-07-15 John David Anglin <danglin@gcc.gnu.org>
159
160 [BZ locale/19838]
161 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
162
163 * nptl/allocatestack.c (allocate_stack): Align old and new guard
164 addresses to page boundaries when the stack grows up.
165
166 * sysdeps/hppa/math-tests.h: New.
167
168 2017-07-14 DJ Delorie <dj@redhat.com>
169
170 [BZ #21654]
171 * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
172 alignment not char alignment.
173 (__merge_grp): Likewise.
174
175 2017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
176 Florian Weimer <fweimer@redhat.com>
177
178 * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
179 * libio/wmemstream.c (open_wmemstream): Likewise.
180 * nptl/tst-memstream.c: New.
181
182 2017-07-12 Jiong Wang <jiong.wang@arm.com>
183
184 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
185 of pcrel_address under Thumb mode.
186
187 2017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
188
189 [BZ #21207]
190 * locale/iso-639.def: Add Fiji Hindi (hif).
191
192 2017-07-12 John David Anglin <danglin@gcc.gnu.org>
193
194 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
195
196 2017-07-12 H.J. Lu <hongjiu.lu@intel.com>
197
198 * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
199 -fstack-protector-all.
200
201 2017-07-11 Chris Leonard <cjl@sugarlabs.org>
202
203 [BZ #20496]
204 * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
205
206 2017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
207
208 * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
209 to iterate over all possible object suffixes. Add a comment
210 explaining the use of sysdep-CFLAGS instead of CFLAGS.
211
212 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
213
214 [BZ #12189]
215 * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
216 (tests): Add tst-ssp-1 if -fstack-protector works.
217 * debug/fortify_fail.c: Include <stdbool.h>.
218 (_fortify_fail_abort): New function.
219 (__fortify_fail): Call _fortify_fail_abort.
220 (__fortify_fail_abort): Add a hidden definition.
221 * debug/stack_chk_fail.c: Include <stdbool.h>.
222 (__stack_chk_fail): Call __fortify_fail_abort, instead of
223 __fortify_fail.
224 * debug/tst-ssp-1.c: New file.
225 * include/stdio.h (__libc_message_action): New enum.
226 (__libc_message): Replace int with enum __libc_message_action.
227 (__fortify_fail_abort): New hidden prototype.
228 * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
229 * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
230 with enum __libc_message_action. Call BEFORE_ABORT only if
231 action includes do_backtrace.
232 (__libc_fatal): Update __libc_message call.
233
234 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
235
236 [BZ #21738]
237 * manual/llio.texi (RWF_NOWAIT): New item.
238 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
239 Add RWF_NOWAIT check.
240 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
241
242 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
243
244 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
245 Support running on kernels without PTRACE_SINGLEBLOCK.
246
247 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
248
249 [BZ #21742]
250 * elf/Makefile (dl-routines): Move dl-conflict to ...
251 (rtld-routines): Here.
252
253 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
254
255 [BZ #21741]
256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
257 (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
258 in libc.so.
259
260 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
261
262 * sysdeps/hppa/fpu/libm-test-ulps: Update.
263
264 [BZ #21016]
265 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
266 Fix typo.
267 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
268 bits/types/struct_timespec.h.
269 (PTHREAD_MUTEX_INITIALIZER): Revise define.
270 (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
271 (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
272 (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
273 (PTHREAD_RWLOCK_INITIALIZER): Likewise.
274 (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
275 (PTHREAD_COND_INITIALIZER): Likewise.
276 Remove old definitions.
277 * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
278 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
279 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
280 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
281 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
282 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
283
284 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
285
286 * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
287 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
288 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
289 * sysdeps/x86_64/multiarch/memset.c: Likewise.
290 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
291 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
292 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
293 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
294 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
295 * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
296 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
297 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
298 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
299 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
300 * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
301 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
302
303 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
304
305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
306
307 2017-07-09 Helge Deller <deller@gmx.de>
308
309 [BZ #21049]
310 * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
311 up to avoid clobbering r26.
312
313 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
314
315 * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
316 profiled objects.
317
318 2017-07-06 DJ Delorie <dj@redhat.com>
319
320 * manual/tunables.texi: Add missing @end deftp.
321
322 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
323
324 * resolv/tst-resolv-basic.c (test_bug_21295): New function.
325 (do_test): Call it.
326
327 2017-07-06 DJ Delorie <dj@redhat.com>
328
329 * config.make.in: Enable experimental malloc option.
330 * configure.ac: Likewise.
331 * configure: Regenerate.
332 * manual/install.texi: Document it.
333 * INSTALL: Regenerate.
334 * malloc/Makefile: Likewise.
335 * malloc/malloc.c: Add per-thread cache (tcache).
336 (tcache_put): New.
337 (tcache_get): New.
338 (tcache_thread_freeres): New.
339 (tcache_init): New.
340 (__libc_malloc): Use cached chunks if available.
341 (__libc_free): Initialize tcache if needed.
342 (__libc_realloc): Likewise.
343 (__libc_calloc): Likewise.
344 (_int_malloc): Prefill tcache when appropriate.
345 (_int_free): Likewise.
346 (do_set_tcache_max): New.
347 (do_set_tcache_count): New.
348 (do_set_tcache_unsorted_limit): New.
349 * manual/probes.texi: Document new probes.
350 * malloc/arena.c: Add new tcache tunables.
351 * elf/dl-tunables.list: Likewise.
352 * manual/tunables.texi: Document them.
353 * NEWS: Mention the per-thread cache.
354
355 2017-07-06 Joseph Myers <joseph@codesourcery.com>
356
357 * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
358 * misc/tst-tsearch.c (TIMEOUT): Remove.
359 * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
360 * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
361 * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
362 * string/tst-cmp.c (TIMEOUT): Define to 600.
363
364 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
365
366 [BZ #21715]
367 * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
368 on definition.
369
370 2017-07-06 Florian Weimer <fweimer@redhat.com>
371 H.J. Lu <hongjiu.lu@intel.com>
372
373 [BZ #21609]
374 * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
375 (gen-as-const-headers): Add rtld-offsets.sym.
376 * sysdeps/x86_64/dl-tls.c: New file.
377 * sysdeps/x86_64/rtld-offsets.sym: Likwise.
378 * sysdeps/x86_64/tls_get_addr.S: Likewise.
379 * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
380 * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
381 (TI_OFFSET_OFFSET): Likwise.
382
383 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
384
385 [BZ# 21697]
386 * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
387
388 2017-07-05 Florian Weimer <fweimer@redhat.com>
389
390 * resolv/Makefile (tests-internal): Add tst-resolv-threads.
391 (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
392 * resolv/tst-resolv-threads.c: New file.
393
394 2017-07-05 Florian Weimer <fweimer@redhat.com>
395
396 support: Add resolver testing mode which does not patch _res.
397 * support/resolv_test.h (struct resolv_redirect_config): Add
398 disable_redirect, server_address_overrides.
399 * support/resolv_test.c (make_server_sockets_for_address): New
400 function.
401 (resolv_test_start): Call it.
402
403 2017-07-05 Florian Weimer <fweimer@redhat.com>
404
405 * support/namespace.h (struct support_chroot_configuration)
406 (struct support_chroot): Define.
407 (support_chroot_create, support_chroot_free): New functions.
408 * support/support_chroot.c: New file.
409 * support/Makefile (libsupport-routines): Add support_chroot.
410 * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
411 (path_resolv_conf): Remove definitions.
412 (chroot_env): New variable.
413 (prepare): Call support_chroot_create.
414 (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
415 (special_test_callback, do_test): Likewise.
416
417 2017-07-05 Florian Weimer <fweimer@redhat.com>
418
419 Add subtest to check isolation of multiple loopback addresses.
420 * support/tst-support-namespace.c (test_localhost_bind): New function.
421 (do_test): Call it.
422
423 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
424
425 * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
426 * libio/libioP.h (_IO_enable_locks): Declare.
427 * libio/Versions (_IO_enable_locks): New symbol.
428 * libio/genops.c (_IO_enable_locks): Define.
429 (_IO_old_init): Initialize flags2.
430 * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
431 * libio/ferror.c (_IO_ferror): Likewise.
432 * libio/fputc.c (fputc): Likewise.
433 * libio/putc.c (_IO_putc): Likewise.
434 * libio/getc.c (_IO_getc): Likewise.
435 * libio/getchar.c (getchar): Likewise.
436 * libio/ioungetc.c (_IO_ungetc): Likewise.
437 * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
438 * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
439 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
440
441 2017-07-04 Florian Weimer <fweimer@redhat.com>
442
443 [BZ #21542]
444 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
445 two if no accurate information is available.
446 * posix/tst-sysconf-empty-chroot.c: New file.
447 * posix/Makefile (tests): Add it.
448
449 2017-07-04 Florian Weimer <fweimer@redhat.com>
450
451 * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
452 server and sort list counts. Fix improper check for empty search
453 path (completely missing domain name) leading to assertion failure
454 in update_from_conf.
455 * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
456 hostname member.
457 (run_res_init): Set host name if requested.
458 (test_cases): Update.
459
460 2017-07-04 Joseph Myers <joseph@codesourcery.com>
461
462 * scripts/build-many-glibcs.py (Context.checkout): Default
463 binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
464 kernel version to 4.12.
465
466 2017-07-04 Florian Weimer <fweimer@redhat.com>
467
468 * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
469 list management and the role of free_list_start.
470 (decrement_at_index): Put zero at the end of the free list.
471 (__resolv_conf_attach): Fix bogus assert.
472 * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
473 (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
474
475 2017-07-03 Florian Weimer <fweimer@redhat.com>
476
477 resolv: Introduce free list for resolv_conf index slosts.
478 * resolv/resolv_conf.c (struct resolv_conf_array): Change element
479 type to uintptr_t.
480 (struct resolv_conf_global): Add free_list_start member.
481 (resolv_conf_get_1): Check for free list entry.
482 (decrement_at_index): Put freed slot on the free list.
483 (__resolv_conf_attach): Obtain new slot from the free list.
484 * resolv/tst-resolv-res_ninit.c: New file.
485 * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
486 (tests-special): Add mtrace-tst-resolv-res_ninit.out.
487 (generated): Add mtrace-tst-resolv-res_ninit.out,
488 tst-resolv-res_ninit.mtrace.
489 (mtrace-tst-resolv-res_ninit.out): Add target.
490
491 2017-06-30 Florian Weimer <fweimer@redhat.com>
492
493 [BZ #984]
494 Reload /etc/resolv.conf if has been changed on disk.
495 * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
496 (__resolv_conf_load, __resolv_conf_get_current): Declare.
497 * resolv/resolv_conf.c (struct resolv_conf_global): Add
498 conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
499 (__resolv_conf_get_current): New function.
500 (__resolv_conf_allocate): Do not initialize initstamp.
501 (freeres): Deallocate global->conf_current.
502 * resolv/resolv.h (RES_NORELOAD): Define.
503 * resolv/res_debug.c (p_option): Add RES_NORELOAD.
504 * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
505 * resolv/resolv_context.c (replicated_configuration_matches): New.
506 (maybe_init): Call it. Use __resolv_conf_get_current to obtain
507 the current configration.
508 * resolv/res_init.c (__res_initstamp): Remove variable definition.
509 (has_preinit_values): New function.
510 (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
511 parameter and do not call __resolv_conf_attach.
512 (__res_vinit): Reimplement based __resolv_conf_load.
513 (res_options): Handle no-reload.
514 * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
515 (lock): Remove.
516 (res_int): Do not update __res_initstamp.
517 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
518 RES_NORELOAD.
519 (test_cases): Test no-reload.
520 (special_test_call_res_init): Remove.
521 (special_test_callback): Rely on automated reloading. Add tests
522 for no-reload.
523
524 2017-06-30 Florian Weimer <fweimer@redhat.com>
525
526 Mirror the entire resolver configuration in struct resolv_conf.
527 * resolv/resolv_context.h (__resolv_context_nameserver_count)
528 (__resolv_context_nameserver): New functions.
529 (__resolv_context_sort_count, __resolv_context_sort_entry):
530 Likewise.
531 * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
532 resolv_context parameter.
533 (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
534 (addrsort): Switch to struct resolv_context.
535 * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
536 (struct resolv_conf): Add nameserver_list, nameserver_list_size,
537 sort_list, sort_list_size, options, retrans, retry, ndots members.
538 * resolv/resolv_conf.c (same_address_v4, same_address_v6)
539 (same_address): New functions.
540 (resolv_conf_matches): Compare the new array members.
541 (__resolv_conf_allocate): Allocate and copy the new array members.
542 (update_from_conf): Copy the entire configuration.
543 * resolv/res_init.c (struct nameserver_list, struct sort_list):
544 Define using dynarray.
545 (struct resolv_conf_parser): Add nameserver_list, sort_list,
546 template members.
547 (resolv_conf_parser_init): Add preinit argument. Initialize the
548 new members.
549 (resolv_conf_parser_free): Deallocate the new arrays.
550 (allocate_address_v4): New function.
551 (res_setoptions): Switch to struct resolv_conf_parser * parameter.
552 (res_vinit_1): Drop res_state parameter. Write all parsed date to
553 the parser object instead. Use allocate_address_v4 to allocate
554 IPv4 addresses.
555 (__res_vinit): Adjust.
556 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
557 extended name server list.
558 (test_cases): Adjust.
559
560 2017-06-30 Florian Weimer <fweimer@redhat.com>
561
562 [BZ #19569]
563 [BZ #21475]
564 Support an arbitrary number of search domains.
565 * resolv/resolv_context.h (__resolv_context_search_list): New.
566 * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
567 search_list_size members.
568 * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
569 (__resolv_conf_allocate): Allocate and and copy search list.
570 (update_from_conf): Copy the search list.
571 * resolv/res_init.c (struct search_list): Define using dynarray.
572 (struct resolv_conf_parser): Define.
573 (resolv_conf_parser_init, resolv_conf_parser_free)
574 (domain_from_hostname): New functions.
575 (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
576 struct search_list to collect search list entries. Call
577 domain_from_hostname to obtain the fallback domain name.
578 (__res_vinit): Create and destroy parser object. Pass search list
579 to __resolv_conf_allocate.
580 * resolv/res_query.c (__res_context_search): Use
581 __resolv_context_search_list to obtain search list entries.
582 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
583 from extended resolver context.
584 (test_cases): Update.
585
586 2017-06-30 Florian Weimer <fweimer@redhat.com>
587
588 Add extended resolver state/configuration (struct resolv_conf).
589 * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
590 * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
591 * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
592 (__res_vinit): Call __resolv_conf_allocate and
593 __resolv_conf_attach.
594 * resolv/resolv_context.h (struct resolv_context): Add conf member
595 of type struct resolv_conf.
596 * resolv/resolv_context.c (maybe_init): Get initstamp from struct
597 resolv_conf. Update conf member after initialization.
598 * resolv/Makefile (routines): Add resolv_conf.
599 * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
600 Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
601 [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
602 _u._ext.__glibc_reserved.
603
604 2017-06-30 Florian Weimer <fweimer@redhat.com>
605
606 [BZ #21668]
607 Introduce temporary resolver contexts (struct resolv_conf).
608 * resolv/resolv-internal.h (__res_context_mkquery)
609 (__res_context_searchl __res_context_query, __res_context_send)
610 (__res_context_hostalias): Declare.
611 (__res_nopt): Switch to struct resolv_context.
612 * resolv/res_use_inet6.h: New file.
613 * resolv/resolv_context.h: Likewise.
614 * resolv/resolv_context.c: Likewise.
615 * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
616 Renamed from res_gethostbyname2. Use struct resolv_context.
617 (res_gethostbyname2): New function. Implement using
618 res_gethostbyname2_context.
619 (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
620 struct resolv_context.
621 (res_gethostbyaddr): New function. Implement using
622 res_gethostbyaddr_context.
623 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
624 resolv_context.
625 * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
626 _nss_dns_gethostbyname3_r. Use struct resolv_context.
627 (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
628 (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
629 (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
630 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
631 (_nss_dns_getnetbyaddr_r): Likewise.
632 * resolv/res-close.c (res_thread_freeres): Call
633 __resolv_context_freeres.
634 * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
635 maybe_init in resolv/resolv_context.c.
636 * resolv/res_mkquery.c (__res_context_mkquery): Rename from
637 res_nmkquery. Use struct resolv_context.
638 (context_mkquery_common): New function.
639 (res_nmkquery, res_mkquery): Use it.
640 (res_nopt): Switch to struct resolv_context.
641 * resolv/res_query.c (__res_context_querydomain): Renamed from
642 __libc_res_nquerydomain. Use struct resolv_context.
643 (__res_context_query): Renamed from __libc_res_nquery. Use struct
644 resolv_context.
645 (context_query_common): New function.
646 (res_nquery, res_query): Use it.
647 (__res_context_search): Renamed from __libc_res_nsearch. Use
648 struct resolv_context.
649 (context_search_common): New function.
650 (res_nsearch, res_search): Use it.
651 (__res_context_querydomain): Rename from __libc_res_nquerydomain.
652 Use struct resolv_context.
653 (context_querydomain_common): New function.
654 (res_nquerydomain, res_querydomain): Use it.
655 (__res_context_hostalias): Rename from res_hostalias. Use struct
656 resolv_context.
657 (context_hostalias_common): New function.
658 (res_hostalias, hostalias): Use it.
659 * resolv/res_send.c (__res_context_send): Renamed from
660 __libc_res_nsend. Use struct resolv_context.
661 (context_send_common): New function.
662 (res_nsend, res_send): Use it.
663 * resolv/Makefile (routines): Add resolv_context.
664 * resolv/Versions (libc): Export __resolv_context_get,
665 __resolv_context_get_preinit, __resolv_context_get_override,
666 __resolv_context_put. Remove __res_maybe_init.
667 (libresolv): Export __res_context_query, __res_context_search,
668 __res_context_hostalias. Remove __libc_res_nquery,
669 __libc_res_nsearch.
670 * include/resolv.h (__res_maybe_init, __libc_res_nquery)
671 (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
672 (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
673 (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
674 prototypes.
675 * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
676 * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
677 from __nss_hostname_digits_dots. Use struct resolv_context.
678 (__nss_hostname_digits_dots): New function.
679 * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
680 struct resolv_context object. Call new function
681 __nss_hostname_digits_dots_context.
682 * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
683 * nss/getnssent_r.c (__nss_setent): Likewise.
684 * nscd/aicache.c (addhstaiX): Use struct resolv_context,
685 __resolv_context_disable_inet6 and __resolv_context_enable_inet6
686 instead of direct _res manipulation.
687 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
688
689 2017-07-03 Florian Weimer <fweimer@redhat.com>
690
691 * resolv/tst-resolv-res_init-skeleton.c
692 (special_tests_count, special_test_call_res_init)
693 (special_test_callback, special_test_thread_func)
694 (run_special_test_on_thread, special_test): Define.
695 (do_test): call special_test.
696 (test_init_names): Fix typo.
697
698 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
699
700 * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
701 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
702
703 2017-07-01 Florian Weimer <fweimer@redhat.com>
704 H.J. Lu <hongjiu.lu@intel.com>
705
706 [BZ #21696]
707 * posix/sched_cpucount.c: Don't include <limits.h>.
708 (__sched_cpucount): Use __builtin_popcount.
709
710 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
711
712 * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
713 Fix typo.
714
715 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
716
717 * include/math.h (__signbitf128): Define as hidden.
718 * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
719 Reimplement without builtins.
720 * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
721 (__builtin_signbitf128): Define to __signbitf128.
722 * sysdeps/powerpc/bits/floatn.h: Likewise.
723 * sysdeps/x86/bits/floatn.h: Likewise.
724
725 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
726
727 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
728 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
729 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
730 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
731 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
732 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
733 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
734 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
736 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
737 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
738 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
739 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
740 fcntl_common and add check for F_GETOWN.
741 (__libc_fcntl): Use SYSCALL_CANCEL macro.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
743 use default implementation.
744
745 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
746
747 * elf/dl-tunables.h (tunable_is_name): Move from...
748 * elf/dl-tunables.c (is_name): ... here.
749 (parse_tunables, __tunables_init): Adjust.
750 * manual/tunables.texi: Document glibc.tune.cpu.
751 * sysdeps/aarch64/dl-tunables.list: New file.
752 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
753 cpu_list): New type.
754 (cpu_list): New list of CPU names and their MIDR.
755 (get_midr_from_mcpu): New function.
756 (init_cpu_features): Override MIDR if necessary.
757
758 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
759 (__libc_ifunc_impl_list): Unconditionally select thunderx
760 routine for testing.
761
762 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
763
764 [BZ #21120]
765 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
766 * sysdeps/generic/malloc-alignment.h: Here. New file.
767 * sysdeps/i386/malloc-alignment.h: Likewise.
768 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
769
770 2017-06-30 Florian Weimer <fweimer@redhat.com>
771
772 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
773 variable.
774 (test_file_contents): Use it.
775
776 2017-06-30 Florian Weimer <fweimer@redhat.com>
777
778 * resolv/res_init.c (res_setoptions): Remove source argument.
779 (res_vinit_1): Adjust.
780
781 2017-06-30 Florian Weimer <fweimer@redhat.com>
782
783 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
784
785 2017-06-30 Florian Weimer <fweimer@redhat.com>
786
787 * resolv/res_data.c: Reformat to GNU style.
788 (res_close): Update comments.
789
790 2017-06-30 Florian Weimer <fweimer@redhat.com>
791
792 * resolv/res_data.c (res_query, res_search, res_querydomain)
793 (hostalias): Move to ...
794 * resolv/res_Send.c (res_query, res_search, res_querydomain)
795 (hostalias): here.
796
797 2017-06-30 Florian Weimer <fweimer@redhat.com>
798
799 * resolv/res_data.c (res_isourserver, res_send): Move to ...
800 * resolv/res_send.c (res_isourserver, res_send): here.
801
802 2017-06-30 Florian Weimer <fweimer@redhat.com>
803
804 * resolv/res_debug.c (_res_opcodes): Rename ...
805 (res_opcodes): ... as compatibility symbol.
806 (fp_nquery): Use res_opcodes.
807 * include/resolv.h (_res_opcodes): Remove declaration.
808
809 2017-06-30 Florian Weimer <fweimer@redhat.com>
810
811 * include/resolv.h (res_pquery): Remove declaration.
812 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
813 functions.
814 (_res_opcodes): Remove variable.
815 * resolv/res_debug.c (do_section): Receive pfcode instead of
816 statp.
817 (res_pquery): Rename ...
818 (fp_nquery): to this function. Skip unnecessary _res
819 initialization.
820 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
821
822 2017-06-30 Florian Weimer <fweimer@redhat.com>
823
824 * resolv/res_debug.h: Remove file.
825 * resolv/README: Adjust.
826
827 2017-06-30 Florian Weimer <fweimer@redhat.com>
828
829 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
830 conditionals.
831 (Aerror, Perror): Remove function definitions.
832
833 2017-06-30 Florian Weimer <fweimer@redhat.com>
834
835 * resolv/res_data.c (res_mkquery): Move ...
836 * resolv/res_mkquery.c (res_mkquery): to here.
837
838 2017-06-30 Florian Weimer <fweimer@redhat.com>
839
840 * resolv/res_mkquery.c: Reformat to GNU style.
841 (T_OPT): Remove definition. It is present in the header file.
842
843 2017-06-30 Florian Weimer <fweimer@redhat.com>
844
845 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
846 conditionals.
847
848 2017-06-30 Florian Weimer <fweimer@redhat.com>
849
850 * support/support_capture_subprocess_check.c
851 (support_capture_subprocess_check): Report actual exit status.
852
853 2017-06-30 Florian Weimer <fweimer@redhat.com>
854
855 [BZ #19570]
856 * resolv/res_send.c (nameserver_offset): New function.
857 (__libc_res_nsend): Use it to implement RES_ROTATE.
858 (get_nsaddr): Add assert with name server
859 range check.
860 * resolv/Makefile (xtests): Add tst-resolv-rotate.
861 (tst-resolv-rotate): Link against libpthread.
862 * resolv/tst-resolv-rotate.c: New file.
863
864 2017-06-29 Joseph Myers <joseph@codesourcery.com>
865
866 [BZ #21457]
867 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
868 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
869 [__WORDSIZE == 64] (MC_PC): Likewise.
870 [__WORDSIZE == 64] (MC_NPC): Likewise.
871 [__WORDSIZE == 64] (MC_Y): Likewise.
872 [__WORDSIZE == 64] (MC_G1): Likewise.
873 [__WORDSIZE == 64] (MC_G2): Likewise.
874 [__WORDSIZE == 64] (MC_G3): Likewise.
875 [__WORDSIZE == 64] (MC_G4): Likewise.
876 [__WORDSIZE == 64] (MC_G5): Likewise.
877 [__WORDSIZE == 64] (MC_G6): Likewise.
878 [__WORDSIZE == 64] (MC_G7): Likewise.
879 [__WORDSIZE == 64] (MC_O0): Likewise.
880 [__WORDSIZE == 64] (MC_O1): Likewise.
881 [__WORDSIZE == 64] (MC_O2): Likewise.
882 [__WORDSIZE == 64] (MC_O3): Likewise.
883 [__WORDSIZE == 64] (MC_O4): Likewise.
884 [__WORDSIZE == 64] (MC_O5): Likewise.
885 [__WORDSIZE == 64] (MC_O6): Likewise.
886 [__WORDSIZE == 64] (MC_O7): Likewise.
887 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
888 __MC_NGREG if [__USE_MISC].
889 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
890 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
891 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
892 Define fields using __ctx.
893 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
894 using __ctx.
895 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
896 (REG_PSR): Define only for [__USE_MISC].
897 (REG_PC): Likewise.
898 (REG_nPC): Likewise.
899 (REG_Y): Likewise.
900 (REG_G1): Likewise.
901 (REG_G2): Likewise.
902 (REG_G3): Likewise.
903 (REG_G4): Likewise.
904 (REG_G5): Likewise.
905 (REG_G6): Likewise.
906 (REG_G7): Likewise.
907 (REG_O0): Likewise.
908 (REG_O1): Likewise.
909 (REG_O2): Likewise.
910 (REG_O3): Likewise.
911 (REG_O4): Likewise.
912 (REG_O5): Likewise.
913 (REG_O6): Likewise.
914 (REG_O7): Likewise.
915 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
916 [__WORDSIZE == 64] (REG_FPRS): Likewise.
917 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
918 (gregset_t): Define using __NGREG.
919 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
920 __SPARC_MAXREGWINDOW if [__USE_MISC].
921 (struct rwindow): Rename to struct __rwindow. Define fields using
922 __ctx.
923 (rw_fp): Define only for [__USE_MISC].
924 (rw_rtn): Likewise.
925 (gwindows_t): Remove struct tag. Define fields using __ctx and
926 __SPARC_MAXREGWINDOW.
927 (MAXFPQ): Define only for [__USE_MISC].
928 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
929 (struct fq): Rename to struct __fq. Define fields using __ctx.
930 (FPU_REGS_TYPE): Define only for [__USE_MISC].
931 (FPU_DREGS_TYPE): Likewise.
932 (V7_FPU_FSR_TYPE): Likewise.
933 (V9_FPU_FSR_TYPE): Likewise.
934 (V9_FPU_FPRS_TYPE): Likewise.
935 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
936 using __ctx.
937 [__WORDSIZE != 64] (fpregset_t): Likewise.
938 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
939 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
940 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
941 Rename field filler to __glibc_reserved1.
942 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
943 (MC_FILLER): Remove.
944
945 2017-06-29 Florian Weimer <fweimer@redhat.com>
946
947 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
948 Adjust format string.
949 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
950 dependency.
951
952 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
953
954 * sysdeps/posix/spawni.c (__spawni_child): New function.
955 (__spawni): Rename to __spawnix.
956
957 2017-06-29 Florian Weimer <fweimer@redhat.com>
958
959 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
960 Use it to make the temporary copy at the start of the work buffer.
961 (process_arg): Adjust call to group_number.
962
963 2017-06-29 Florian Weimer <fweimer@redhat.com>
964
965 * stdio-common/vfprintf.c (printf_positional): Use struct
966 scratch_buffer to allocate backing storage for the args_value,
967 args_size, args_type arrays.
968
969 2017-06-29 Florian Weimer <fweimer@redhat.com>
970
971 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
972 scratch_buffer.
973
974 2017-06-29 Florian Weimer <fweimer@redhat.com>
975
976 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
977 wchar_t builds.
978
979 2017-06-29 Florian Weimer <fweimer@redhat.com>
980
981 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
982 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
983
984 2017-06-29 Florian Weimer <fweimer@redhat.com>
985
986 * stdio-common/tst-vfprintf-user-type.c: New file.
987 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
988
989 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
990
991 * posix/tst-spawn2.c (do_test): Use libsupport.
992 * posix/tst-spawn3.c (do_test): Likewise.
993
994 2017-06-28 Joseph Myers <joseph@codesourcery.com>
995
996 * math/gen-tgmath-tests.py (Tests.__init__): Define
997 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
998
999 * math/tgmath.h: Include <bits/libc-header-start.h> and
1000 <bits/floatn.h>.
1001 (__TGMATH_F128): New macro.
1002 (__TGMATH_CF128): Likewise.
1003 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1004 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1005 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1006 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1007 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1008 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1009 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1010 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1011 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1012 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1013 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1014 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1015 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1016 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1017 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1018 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1019 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1020 _FloatNx types if the corresponding HUGE_VAL macros are defined.
1021
1022 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1023 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1024 complex arguments.
1025
1026 [BZ #21687]
1027 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1028 (totalorder): Use it.
1029 (totalordermag): Likewise.
1030 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1031 totalorder and totalordermag.
1032 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1033 totalordermag in arguments of calls to those functions.
1034 (NCALLS): Change to 134.
1035
1036 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1037 cast to return type argument.
1038 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1039 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1040 (llrint): Likewise.
1041 (lround): Likewise.
1042 (llround): Likewise.
1043 (ilogb): Likewise.
1044 (llogb): Likewise.
1045 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1046 (ufromfp): Likewise.
1047 (fromfpx): Likewise.
1048 (ufromfpx): Likewise.
1049
1050 [BZ #21607]
1051 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1052 [LDBL_MANT_DIG > DBL_MANT_DIG].
1053 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1054 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1055 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1056 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1057 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1058 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1059 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1060 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1061 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1062 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1063 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1064 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1065 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1066 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1067 * math/test-tgmath.c: Include <float.h>.
1068 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1069 DBL_MANT_DIG].
1070 * math/test-tgmath2.c: Include <float.h>.
1071 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1072 DBL_MANT_DIG].
1073
1074 * math/gen-tgmath-tests.py: New file.
1075 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1076 [PYTHON] (generated): Add test-tgmath3.c.
1077 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1078 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1079
1080 * configure.ac (AS): Require binutils 2.25 or later.
1081 (LD): Likewise.
1082 * configure: Regenerated.
1083 * sysdeps/s390/configure.ac (AS): Remove version check.
1084 * sysdeps/s390/configure: Regenerated.
1085 * sysdeps/x86_64/configure.ac (AS): Remove version check.
1086 * sysdeps/x86_64/configure: Regenerated.
1087 * manual/install.texi (Tools for Compilation): Document
1088 requirement for binutils 2.25 or later.
1089 * INSTALL: Regenerated.
1090
1091 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 [BZ #14995]
1094 * configure.ac: Allow gold 1.14 or above to configire glibc
1095 * configure: Regenerated.
1096
1097 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1098
1099 [BZ #21457]
1100 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1101 struct tag.
1102 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1103 Likewise.
1104 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1105 Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1107 Declare struct type with __ctx.
1108 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1109 tag.
1110 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1111 and regs field name.
1112
1113 2017-06-27 Joseph Myers <joseph@codesourcery.com>
1114
1115 * elf/loadtest.c (OUT): Define using do { } while (0).
1116
1117 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1118 (DO_NUMBER_SPACEPAD): Likewise.
1119
1120 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
1121
1122 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1123 sysdep_routines.
1124 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1125 __memchr_neon.
1126 Add ifunc definitions for __memchr_neon and __memchr_noneon.
1127 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1128 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1129 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1130
1131 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1132
1133 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1134 Use vector and cu21 instruction.
1135 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1136 Add __to_utf8_loop_vx_cu in ifunc resolver.
1137
1138 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1139
1140 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1141 Use vector and cu24 instruction.
1142
1143 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1144
1145 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1146 Use vector and cu42 instruction.
1147 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1148 Add __to_utf16_loop_vx_cu in ifunc resolver.
1149
1150 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1151
1152 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1153 Use vector and cu41 instruction.
1154 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1155 in ifunc resolver.
1156
1157 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1158
1159 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1160 Add vxd, vxe, gs flag.
1161 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1162 HWCAP_S390_GS capability.
1163 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1164 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1165
1166 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
1167
1168 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1169 the first 32 bytes before checking size when size >= 32 bytes.
1170 Replace vpmovmskb/subl/jnz with vptest/jnc.
1171
1172 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1173
1174 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1175 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1176
1177 2017-06-27 Florian Weimer <fweimer@redhat.com>
1178
1179 Work around test timeouts with ICMP rate limiting on localhost.
1180 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1181 function.
1182 (do_test): Call it.
1183
1184 2017-06-27 Florian Weimer <fweimer@redhat.com>
1185
1186 Call _res_hconf_init from __res_vinit.
1187 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1188 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1189 (NEED__RES): Define.
1190 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1191 (NEED__RES): Define.
1192 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1193 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1194 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1195 (NEED__RES): Define.
1196 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1197 _res_hconf_init.
1198 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1199 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1201 _res_hconf_init.
1202
1203 2017-06-26 Joseph Myers <joseph@codesourcery.com>
1204
1205 * sysdeps/ia64/Implies: Add ieee754/float128.
1206 * sysdeps/ia64/bits/floatn.h: New file.
1207 * sysdeps/ia64/float128-abi.h: Likewise.
1208 * manual/math.texi (Mathematics): Document support for _Float128
1209 on ia64.
1210 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1211 Makefile variable.
1212 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1213 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1214 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
1215 * sysdeps/ia64/math-tests.h: New file.
1216 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1217 based on TEST_COND_binary128 for [__ia64__].
1218 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1219 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1220
1221 [BZ #21457]
1222 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1223 ucontext_t.
1224 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1225 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1226 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1227 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1228 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1229 ucontext): Likewise.
1230 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1231 Likewise.
1232 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1233 Likewise.
1234 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1235 Likewise.
1236 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1237 Likewise.
1238 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1239 Likewise.
1240 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1241 Likewise.
1242 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1243 Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1245 ucontext): Likewise.
1246 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1247 Likewise.
1248 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1249 Likewise.
1250 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1251 Likewise.
1252 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1253 Likewise.
1254 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1255 Likewise.
1256 * sysdeps/powerpc/powerpc32/backtrace.c (struct
1257 rt_signal_frame_32): Likewise.
1258 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1259 Likewise.
1260 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1261 kernel_rt_sigframe): Likewise.
1262 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1263 Likewise.
1264 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1265 Likewise.
1266 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1269 (__profil_counter): Likewise.
1270 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1271 (SIGCONTEXT): Likewise.
1272 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1273 kernel_rt_sigframe): Likewise.
1274 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1275 kernel_rt_sigframe): Likewise.
1276 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1277 Likewise.
1278 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1279 Likewise.
1280 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1281 (__start_context): Likewise.
1282 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1283 Likewise.
1284 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1285 Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1287 Likewise.
1288
1289 * sysdeps/i386/Implies: Add ieee754/float128.
1290 * sysdeps/x86_64/Implies: Likewise.
1291 * sysdeps/x86/bits/floatn.h: New file.
1292 * sysdeps/x86/float128-abi.h: Likewise.
1293 * manual/math.texi (Mathematics): Document support for _Float128
1294 on x86_64 and x86.
1295 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1296 (math_opt_barrier): Do not put _Float128 values in floating-point
1297 registers.
1298 (math_force_eval): Likewise.
1299 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1300 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1301 to Makefile variable.
1302 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1303 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
1304 * sysdeps/x86/math-tests.h: New file.
1305 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1306 * math/libm-test-getpayload.inc (getpayload_test_data): Use
1307 XFAIL_FLOAT128_PAYLOAD.
1308 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1309 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1310 * math/libm-test-totalordermag.inc (totalordermag_test_data):
1311 Likewise.
1312 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1313 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1314 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1315 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1318 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1319 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1321
1322 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1323
1324 [BZ #21512]
1325 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1326 syscall instead of jump to _exit.
1327 (CLONE_VM_BIT): Remove unused define.
1328 (CLONE_VM): Likewise.
1329 (CLONE_THREAD_BIT): Likewise.
1330 (CLONE_THREAD): Likewise.
1331 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1332 (CLONE_VM): Remove unused define.
1333 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1334 (CLONE_VM): Remove unused define.
1335 (CLONE_THREAD): Likewise.
1336 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1337 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1338 syscall instead of jump to _exit.
1339 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1340 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1341 (CLONE_VM): Remove unused define.
1342 (CLONE_THREAD): Likewise.
1343 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1344 (CLONE_VM): Remove unused define.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1346 Likewise.
1347 (CLONE_VM): Remove unused define.
1348 (CLONE_THREAD): Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1350 Likewise.
1351 (CLONE_VM): Remove unused define.
1352 (CLONE_THREAD): Likewise.
1353 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1354 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1355 (CLONE_VM): Remove unused define.
1356 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1357 (CLONE_VM): Remove unused define.
1358 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1359 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1360 (CLONE_VM): Remove unused define.
1361 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1362 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1363
1364 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1365 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1366
1367 * manual/math.texi (Mathematics): Mention the enabling of float128
1368 for powerpc64le.
1369 * sysdeps/powerpc/bits/floatn.h: New file.
1370 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1371 * sysdeps/powerpc/fpu/math_private.h:
1372 (__ieee754_sqrtf128): New inline override.
1373 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1374 * sysdeps/powerpc/powerpc64le/Makefile: New file.
1375 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1376 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1377 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1379 Updated.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1381 Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1383 New file.
1384
1385 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1386
1387 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1388 * sysdeps/powerpc/powerpc64le/configure: Update.
1389
1390 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1391 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1392
1393 * INSTALL: Regenerate.
1394 * manual/install.texi (Recommended Tools for Compilation): Mention
1395 the powerpc64le-specific requirement in the manual.
1396 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1397 for the compiler features required for building float128.
1398 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1399
1400 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1401
1402 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1403 before comparing with another char.
1404
1405 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
1406
1407 * manual/math.texi: Fix a grammatical error.
1408
1409 2017-06-24 Florian Weimer <fweimer@redhat.com>
1410
1411 [BZ #21295]
1412 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1413
1414 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
1415
1416 [BZ #21295]
1417 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1418 Append addresses at the end of the list.
1419
1420 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 [BZ #21666]
1423 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1424 (loc2): Likewise.
1425 (locs): Likewise.
1426
1427 2017-06-23 Florian Weimer <fweimer@redhat.com>
1428
1429 [BZ #16637]
1430 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1431 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1432 digits between colons.
1433 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1434
1435 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1436 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
1437
1438 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1439 (__sched_get_prioriry_min): Likewise.
1440 * include/sys/mman.h (__mmap): Likewise.
1441 (__mmap64): Likewise.
1442 (__munmap): Likewise.
1443 (__mprotect): Likewise.
1444 * include/termios.h (__tcsetattr): Likewise.
1445 * include/time.h (__nanosleep): Use hidden_proto instead of
1446 libc_hidden_proto.
1447 * posix/nanosleep.c (__nanosleep): Likewise.
1448 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1449 __sched_get_priority_min, and __sched_get_priority_max under
1450 GLIBC_PRIVATE.
1451 * nptl/allocatestack.c (__free_stacks): Use internal definition for
1452 libc symbols.
1453 (change_stack_perm): Likewise.
1454 (change_stack_perm): Likewise.
1455 (allocate_stack): Likewise.
1456 * sysdeps/posix/gethostname.c: Likewise.
1457 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1458 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1460 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1461 (__pthread_key_delete): Likewise.
1462 (__pthread_detach): Likewise.
1463 (__pthread_cancel): Likewise.
1464 (__pthread_mutex_trylock): Likewise.
1465 (__pthread_mutexattr_init): Likewise.
1466 (__pthread_mutexattr_settype): Likewise.
1467 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1468 create alias for exported one.
1469 * nptl/pthread_join.c (pthread_join): Likewise.
1470 * nptl/pthread_detach.c (pthread_detach): Likewise.
1471 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1472 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1473 * nptl/pthread_create.c: Change static requirements for pthread
1474 symbols.
1475 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1476 for internal definition.
1477 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1478 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1479 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1480 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1481 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1482 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1483 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1484 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1485 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1486 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1487 Likewise.
1488 * nptl/pthread_self.c (__pthread_self): Likewise.
1489 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1490 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1491 * misc/mmap.c (__mmap): Add internal symbol definition.
1492 * misc/mmap.c (__mmap64): Likewise.
1493 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1494 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1495 (__mmap64): Likewise.
1496 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1497 Add __uname.
1498
1499 2017-06-23 Joseph Myers <joseph@codesourcery.com>
1500
1501 * sysdeps/i386/fpu/libm-test-ulps: Update.
1502 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1503
1504 * libm-test-support.c (check_float_internal): Clear exceptions at
1505 end of function.
1506 (check_int): Likewise.
1507 (check_long): Likewise.
1508 (check_bool): Likewise.
1509 (check_longlong): Likewise.
1510 (check_intmax_t): Likewise.
1511 (check_uintmax_t): Likewise.
1512
1513 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1514 Do not declare.
1515 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1516 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1517 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1518
1519 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
1520
1521 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1522 Replace movzbl and orl with movb.
1523
1524 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1525
1526 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1527 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1528 and HUGE_VAL_FNx.
1529 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1530 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1531 are in math.h, to avoid having to list the _FloatN and _FloatNx
1532 variants as well. Likewise for the cabs functions.
1533 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1534 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1535 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1536 come from TS 18661-3, since this section explicitly states that
1537 these functions come from BSD.
1538 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1539 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1540 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1541 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1542 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1543 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1544 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1545 remainderfNx.
1546 (Setting and modifying single bits of FP values): Document
1547 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1548 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1549 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1550 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1551 (Floating-Point Comparison Functions): Document totalorderfN,
1552 totalorderfNx, totalordermagfN, totalordermagfNx.
1553 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1554 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1555 fdimfN, fdimfNx, fmafN, fmafNx.
1556 (Complex Numbers): Document the complex types: _FloatN complex and
1557 _FloatNx complex.
1558 (rojections, Conjugates, and Decomposing of Complex Numbers):
1559 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1560 cargfN, cargfNx, cprojfN, cprojfNx.
1561 * manual/math.texi (Mathematics): Mention that the _FloatN and
1562 _FloatNx variants of the math functions come from TS 18661-3,
1563 unless otherwise stated.
1564 (Predefined Mathematical Constants): Document the _FloatN and
1565 _FloatNx variants of the macros prefixed with M_.
1566 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1567 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1568 ccosfNx, ctanfN, ctanfNx.
1569 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1570 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1571 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1572 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1573 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1574 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1575 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1576 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1577 cpowfNx.
1578 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1579 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1580 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1581 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1582 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1583 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1584 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1585 ynfN, ynfNx.
1586
1587 2017-06-23 Florian Weimer <fweimer@redhat.com>
1588
1589 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1590
1591 2017-06-23 Florian Weimer <fweimer@redhat.com>
1592
1593 * resolv/res_libc.c: Reformat to GNU style.
1594
1595 2017-06-23 Florian Weimer <fweimer@redhat.com>
1596
1597 * resolv/resolv-internal.h (__res_initstamp): Declare.
1598 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1599 It is implied by the declaration.
1600 * resolv/res_libc.c (__res_initstamp): Remove declaration.
1601
1602 2017-06-23 Florian Weimer <fweimer@redhat.com>
1603
1604 [BZ #21662]
1605 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1606 Use only 24 bits of the register before the subtraction.
1607 * string/test-memcmp.c (check1): Check with different lengths.
1608
1609 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1610
1611 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1612 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1613
1614 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1615
1616 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1617 Enable generation of float128 entries on the error table.
1618
1619 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1620
1621 * include/float.h: Include libc-header-start.h to get the
1622 definition of __GLIBC_USE.
1623
1624 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1625
1626 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1627 rearranged code and doubles float types.
1628
1629 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
1630
1631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1632 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1633
1634 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
1635
1636 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1637 to errno, and simplify remaining related code.
1638
1639 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1640
1641 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1642 PPC_FEATURE2_SCV.
1643 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1644 and darn.
1645
1646 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1647
1648 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1649 the implementation-specific function name and remove unneeded macros
1650 definition.
1651 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1652 function name if not defined and pass as parameter to macros
1653 accordingly.
1654
1655 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1656
1657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1658 (libm-sysdep_routines): Add s_llroundf-ppc64.
1659 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1660 (__llroundf): Define as strong alias of __llround.
1661 (llroundf): Define as weak alias of __llround.
1662 (__lroundf): Define as strong alias of __llround.
1663 (lroundf): Define as weak alias of __llround.
1664 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1665 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1668 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1669 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1670 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1671
1672 2017-06-22 Joseph Myers <joseph@codesourcery.com>
1673
1674 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1675 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1676
1677 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1678 (MATH_TESTS_TG): New macro.
1679 (SNAN_TESTS_float128): Likewise.
1680 (ROUNDING_TESTS_float128): Likewise.
1681 (EXCEPTION_TESTS_float128): Likewise.
1682 (SNAN_TESTS): Define using MATH_TESTS_TG.
1683 (ROUNDING_TESTS): Likewise.
1684 (EXCEPTION_TESTS): Likewise.
1685
1686 * sysdeps/ieee754/float128/float128_private.h
1687 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1688 pass it to SET_RESTORE_ROUNDF128.
1689
1690 * sysdeps/ieee754/float128/float128_private.h: Include
1691 <ieee754.h>.
1692
1693 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1694 typeof to argument passed to __builtin_types_compatible_p.
1695 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1696
1697 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1698 <errno.h>.
1699 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1700 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1701 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1702 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1703 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1704 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1705 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1706 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1707 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1708 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1709 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1710 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1711 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1712 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1713 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1714 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1715 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1716 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1717 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1718 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1719 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1720 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1721
1722 * sysdeps/ieee754/float128/strtof128_l.c: Include
1723 <bits/types/locale_t.h> instead of <xlocale.h>.
1724 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1725 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1726
1727 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1728
1729 * benchtests/scripts/benchout_strings.schema.json: New file.
1730 * benchtests/scripts/compare_strings.py: New file.
1731
1732 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1733 (do_one_test): Print json.
1734 (do_test): Likewise.
1735 (test_main): Likewise.
1736 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1737 (do_one_test): Print json.
1738 (do_test): Likewise.
1739 (test_main): Likewise.
1740 * benchtests/bench-memcpy.c: Include json-lib.h.
1741 (do_one_test): Print json.
1742 (do_test): Likewise.
1743 (test_main): Likewise.
1744
1745 * benchtests/json-lib.h: Include inttypes.h.
1746 (json_attr_int, json_attr_int, json_element_string,
1747 json_element_int, json_element_uint): New functions.
1748 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1749 json_element_string, json_element_int, json_element_uint): New
1750 functions.
1751
1752 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1753
1754 * manual/arith.texi (Remainder Functions): Describe remainder as
1755 primary and drem as an alternative name. Change the comment on
1756 remainder to ISO, since it is defined in ISO C99.
1757
1758 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1759
1760 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1761 macro expansion.
1762 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1763
1764 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1765
1766 [BZ #21533]
1767 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1768 201706L for Unicode 10.0.
1769
1770 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1771
1772 [BZ #21657]
1773 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1774 on node-local addresses.
1775 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1776
1777 2017-06-21 Florian Weimer <fweimer@redhat.com>
1778
1779 * intl/loadmsgcat.c: Remove alloca support.
1780 (_nl_load_domain): Use calloc instead of alloca.
1781
1782 2017-04-21 Florian Weimer <fweimer@redhat.com>
1783
1784 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1785 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1786 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1787 alloc_buffer_create_failure.
1788 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1789 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1790 (__libc_alloc_buffer_copy_string)
1791 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1792 * malloc/alloc_buffer_alloc_array.c: New file.
1793 * malloc/alloc_buffer_allocate.c: Likewise.
1794 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1795 * malloc/alloc_buffer_copy_string.c: Likewise.
1796 * malloc/alloc_buffer_create_failure.c: Likewise.
1797 * malloc/tst-alloc_buffer.c: Likewise.
1798
1799 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1800
1801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1802 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1803 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1804 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1805 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1806 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1807 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1808 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1809 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1810 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1811 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1812 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1813 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1814 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1815 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1816 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1817 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1818 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1819 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1820 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1821 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1823 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1824 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1825 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1826 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1827 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1828 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1829 "locale-defines.h".
1830 (UPDATE_STRNCMP_COUNTER): New.
1831 (SECTION): Likewise.
1832 (GLABEL): Likewise.
1833 (LABEL): Likewise.
1834 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1835 for libc.a.
1836
1837 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1838
1839 [BZ #21622]
1840 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1841 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1842 __USE_MISC].
1843 (SA_NODEFER): Likewise.
1844 (SA_RESETHAND): Likewise.
1845
1846 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1847
1848 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1849 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1850 Remove security_level on all fields.
1851 * manual/tunables.texi: Replace ifunc with hwcaps.
1852 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1853 Renamed to ..
1854 (TUNABLE_CALLBACK (set_hwcaps)): This.
1855 (init_cpu_features): Updated.
1856 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1857 data_cache_size, data_cache_size and non_temporal_threshold to
1858 unsigned long int.
1859 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1860 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1861 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1862 use DEFAULT_STRLEN.
1863
1864 2017-06-21 Florian Weimer <fweimer@redhat.com>
1865
1866 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1867 asprintf to construct an absolute pathname.
1868
1869 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1870
1871 * misc/tst-preadvwritev2-common.c: New file.
1872 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1873 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1874
1875 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1876
1877 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1878 annotation.
1879 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1880
1881 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1882
1883 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1884 hidden __GI__dl_argv symbol.
1885
1886 2017-06-21 Florian Weimer <fweimer@redhat.com>
1887
1888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1889 to parse addresses with IPv6 scope IDs.
1890
1891 2017-06-21 Florian Weimer <fweimer@redhat.com>
1892
1893 Add the __inet_pton_length helper function.
1894 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1895 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1896 Add length argument.
1897 (__inet_pton): New function.
1898 (inet_pton4): Add length argument.
1899 (hex_digit_value): New function.
1900 (inet_pton6): Add length argument. Call hex_digit_value. Use
1901 memmove and memset to fill :: gap.
1902 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1903 tst-inet_pton.
1904 * resolv/tst-inet_pton.c: New file.
1905 * support/Makefile (libsupport-routines): Add xmprotect.
1906 * support/xunistd.h (xmprotect): Declare.
1907 * support/xmprotect.c: New file.
1908
1909 2017-06-21 Florian Weimer <fweimer@redhat.com>
1910
1911 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1912 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1913 (call_gai, check_ai): New functions.
1914 (expect_failure, expect_success): Use them. Add logging.
1915
1916 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1917
1918 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1919 (sysdep_routines): Add memchr_power8.
1920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1921 (memchr): Add __memchr_power8 to list of memchr functions.
1922 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1923 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1924 (memchr): Add __memchr_power8 to ifunc list.
1925 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1926
1927 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1928
1929 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1930 (__llrintf): Define as strong alias of __llrint.
1931 (llrintf): Define as weak alias of __llrint.
1932 (__lrintf): Define as strong alias of __llrint.
1933 (lrintf): Define as weak alias of __llrint.
1934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1935 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1936 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1938
1939 2017-06-20 Zack Weinberg <zackw@panix.com>
1940
1941 * bits/signum-generic.h: Renamed from bits/signum.h.
1942 Add proper multiple include guard and misuse check.
1943 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1944 Move definition of SIGIO to "archaic names for compatibility" section.
1945 * bits/signum.h: New file which just includes bits/signum-generic.h.
1946 * sysdeps/unix/bsd/bits/signum.h
1947 * sysdeps/unix/sysv/linux/bits/signum.h
1948 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1949 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1950 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1951 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1952 Just include <bits/signum-generic.h> and then add or adjust
1953 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1954
1955 * signal/Makefile: Install bits/signum-generic.h.
1956 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1957
1958 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1959 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1960
1961 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1962 * sysdeps/unix/sysv/linux/Makefile: Run it.
1963
1964 2017-06-20 Zack Weinberg <zackw@panix.com>
1965
1966 * locale/xlocale.h: Rename to...
1967 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1968 Only define struct __locale_struct and __locale_t, not locale_t.
1969 * locale/bits/types/locale_t.h: New file; define locale_t here.
1970 * locale/Makefile (headers): Update to match.
1971
1972 * include/xlocale.h: Delete wrapper.
1973 * include/bits/types/__locale_t.h: New wrapper.
1974 * include/bits/types/locale_t.h: New wrapper.
1975
1976 * ctype/ctype.h, include/printf.h, include/time.h
1977 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1978 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1979 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1980 Correct outdated comments regarding the standardization status of
1981 the functions that take locale_t arguments.
1982
1983 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1984 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1985 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1986 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1987 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1988 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1989 Don't include xlocale.h. If necessary, include locale.h instead.
1990
1991 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1992
1993 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1994 * include/monetary.h, include/stdlib.h, include/time.h
1995 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1996 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1997 * locale/localeinfo.h, locale/newlocale.c
1998 * locale/nl_langinfo_l.c, locale/uselocale.c
1999 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2000 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2001 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2002 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2003 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2004 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2005 * string/strings.h, string/strncase.c, string/strxfrm_l.c
2006 * sysdeps/ieee754/float128/strtof128_l.c
2007 * sysdeps/ieee754/float128/wcstof128.c
2008 * sysdeps/ieee754/float128/wcstof128_l.c
2009 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2010 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2011 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2012 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2013 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2014 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2015 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2016 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2017 * sysdeps/x86_64/strcasecmp_l-nonascii.c
2018 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2019 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2020 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2021 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2022 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2023 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2024 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2025 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2026 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2027 Change all uses of __locale_t to locale_t.
2028
2029 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2030
2031 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2032 for !__OFF_T_MATCHES_OFF64_T.
2033 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2034 implementation based on open64.
2035 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2036 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2037
2038 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2039
2040 * elf/dl-tunables.list: Move x86 specific tunables to ...
2041 * sysdeps/x86/dl-tunables.list: Here. New file.
2042
2043 2017-06-20 Joseph Myers <joseph@codesourcery.com>
2044
2045 [BZ #21635]
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2047 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2048 * conform/data/signal.h-data (uc_mcontext): XFAIL for
2049 powerpc32-linux.
2050 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2051
2052 [BZ #21634]
2053 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2054 (conformtest-xfail-conds): New variable.
2055 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2056 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2057
2058 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2059
2060 * benchtests/powf-inputs: Add reduced trace from wrf.
2061
2062 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
2063 Erich Elsen <eriche@google.com>
2064
2065 * elf/dl-tunables.list (tune): Add ifunc,
2066 x86_non_temporal_threshold,
2067 x86_data_cache_size and x86_shared_cache_size.
2068 * manual/tunables.texi: Document glibc.tune.ifunc,
2069 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2070 and glibc.tune.x86_non_temporal_threshold.
2071 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2072 * sysdeps/x86/cpu-tunables.c: Likewise.
2073 * sysdeps/x86/cacheinfo.c
2074 (init_cacheinfo): Check and get data cache size, shared cache
2075 size and non temporal threshold from cpu_features.
2076 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2077 New.
2078 [HAVE_TUNABLES] Include <unistd.h>.
2079 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2080 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2081 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2082 IFUNC selection, data cache size, shared cache size and non
2083 temporal threshold.
2084 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2085 shared_cache_size and non_temporal_threshold.
2086
2087 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2088
2089 * benchtests/README: Describe workload feature.
2090 * benchtests/bench-skeleton.c (main): Add support for
2091 benchmarking traces from workloads.
2092
2093 2017-06-20 Zack Weinberg <zackw@panix.com>
2094
2095 * string/string.h (__mempcpy_inline): Delete.
2096 * sysdeps/x86_64/multiarch/mempcpy.c
2097 * sysdeps/x86_64/multiarch/stpcpy.c:
2098 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2099 before including string.h.
2100
2101 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
2102
2103 * benchtests/Makefile (bench-math): Add powf.
2104 * benchtests/powf-inputs: New file.
2105
2106 2017-06-20 Zack Weinberg <zackw@panix.com>
2107
2108 * bits/string.h, string/bits/string.h
2109 * sysdeps/aarch64/bits/string.h
2110 * sysdeps/m68k/m680x0/m68020/bits/string.h
2111 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2112 * sysdeps/x86/bits/string.h: Delete file.
2113
2114 * string/string.h: Don't include bits/string.h.
2115 * string/bits/string3.h: Rename to bits/string_fortified.h.
2116 No need to undef various symbols that the removed headers
2117 might have defined as macros.
2118 * string/Makefile (headers): Remove bits/string.h, change
2119 bits/string3.h to bits/string_fortified.h.
2120 * string/string-inlines.c: Update commentary. Remove definitions
2121 of various macros that nothing looks at anymore. Don't directly
2122 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2123 compiler-predefined macros.
2124 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2125 _is_ defined, provide internal hidden alias __strncat.
2126 * include/string.h: Declare internal hidden alias __strncat.
2127 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2128 not defined.
2129 * include/bits/string3.h: Rename to bits/string_fortified.h,
2130 update to match above.
2131
2132 * sysdeps/i386/string-inlines.c: Define compat symbols for
2133 everything formerly defined by sysdeps/x86/bits/string.h.
2134 Make existing definitions into compat symbols as well.
2135 Remove some no-longer-necessary messing around with macros.
2136
2137 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2138 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2139 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2140 * sysdeps/s390/multiarch/mempcpy.c
2141 No need to define _HAVE_STRING_ARCH_mempcpy.
2142 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2143
2144 * sysdeps/i386/i686/multiarch/strncat-c.c
2145 * sysdeps/s390/multiarch/strncat-c.c
2146 * sysdeps/x86_64/multiarch/strncat-c.c
2147 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
2148
2149 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
2150
2151 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2152 (LDBL_DIG): Likewise.
2153 (LDBL_MIN_EXP): Likewise.
2154 (LDBL_MIN_10_EXP): Likewise.
2155 (LDBL_MAX_EXP): Likewise.
2156 (LDBL_MAX_10_EXP): Likewise.
2157 (LDBL_MAX): Likewise.
2158 (LDBL_MIN): Likewise.
2159 (LDBL_EPSILON): Likewise.
2160 (FLT_ROUNDS): Change standard from ISO to C90.
2161 (FLT_RADIX): Likewise.
2162 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2163 (FLT_DIG, DBL_DIG): Likewise.
2164 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2165 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2166 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2167 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2168 (FLT_MAX, DBL_MAX): Likewise.
2169 (FLT_MIN, DBL_MIN): Likewise.
2170 (FLT_EPSILON, DBL_EPSILON): Likewise.
2171
2172 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2173
2174 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2175 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2176 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2177 * sysdeps/mips/math-tests.h
2178 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2179 conditional code.
2180
2181 2017-06-19 Florian Weimer <fweimer@redhat.com>
2182
2183 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2184 It cannot change while __libc_setlocale_lock is acquired.
2185
2186 2017-06-19 Florian Weimer <fweimer@redhat.com>
2187
2188 * elf/rtld.c (audit_list_string): New variable.
2189 (audit_list): Update comment.
2190 (struct audit_list_iter): Define.
2191 (audit_list_iter_init, audit_list_iter_next): New function.
2192 (dl_main): Use struct audit_list_iter to process audit modules.
2193 (process_dl_audit): Call dso_name_valid_for_suid.
2194 (process_envvars): Set audit_list_string instead of calling
2195 process_dl_audit.
2196
2197 2017-06-19 Florian Weimer <fweimer@redhat.com>
2198
2199 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2200 (dso_name_valid_for_suid): New function.
2201 (handle_ld_preload): Likewise.
2202 (dl_main): Call it. Remove alloca.
2203
2204 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2205
2206 [BZ #21625]
2207 * posix/sys/wait.h (strust rusage forward declaration): Change
2208 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2209 !__USE_XOPEN2K].
2210 (wait3): Likewise.
2211
2212 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2213 * configure: Regenerated.
2214 * manual/install.texi (Tools for Compilation): Document
2215 requirement for GCC 4.9 or later.
2216 * INSTALL: Regenerated.
2217
2218 2017-06-19 Florian Weimer <fweimer@redhat.com>
2219
2220 [BZ #21624]
2221 CVE-2017-1000366
2222 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2223 __libc_enable_secure.
2224
2225 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2226
2227 [BZ #21539]
2228 * NEWS: Mention s390 ptrace request changes.
2229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2230 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2231 PTRACE_SETFPREGS): Remove enum constant.
2232 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2233 Remove defines.
2234 (PTRACE_SINGLEBLOCK): New enum constant.
2235 (PT_STEPBLOCK): New define.
2236 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2237 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2238 PTRACE_TE_ABORT_RAND): New enum constant and define.
2239 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2240 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2241 New file.
2242 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2243
2244 2017-06-16 Florian Weimer <fweimer@redhat.com>
2245
2246 * resolv/res_init.c (res_vinit_1): Use getline to read from the
2247 configuration file.
2248 (__res_vinit): Adjust.
2249
2250 2017-06-19 Florian Weimer <fweimer@redhat.com>
2251
2252 * resolv/res_init.c (res_vinit_1): New function.
2253 (__res_vinit): Call it. Handle file open and memory allocation
2254 failures.
2255 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2256 erno from __res_maybe_init failure.
2257 (_nss_dns_gethostbyname4_r): Likewise.
2258 (_nss_dns_gethostbyaddr2_r): Likewise.
2259 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2260 (_nss_dns_getnetbyaddr_r): Likewise.
2261
2262 2017-06-19 Florian Weimer <fweimer@redhat.com>
2263
2264 * resolv/res_init.c: Reformat to GNU style.
2265
2266 2017-06-19 Florian Weimer <fweimer@redhat.com>
2267
2268 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2269 (is_sort_mask): New function.
2270 (__res_vinit): Use it.
2271
2272 2017-06-19 Florian Weimer <fweimer@redhat.com>
2273
2274 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2275 conditionals.
2276
2277 2017-06-19 Florian Weimer <fweimer@redhat.com>
2278
2279 * resolv/res-close.c: New file.
2280 * resolv/res_init.c (__res_iclose, res_nclose)
2281 (res_thread_freeres): Remove definitions.
2282 * resolv/Makefile (routines): Add res-close.
2283
2284 2017-06-19 Florian Weimer <fweimer@redhat.com>
2285
2286 * resolv/res_randomid.c: New file.
2287 * resolv/res_init.c (res_randomid): Remove definition.
2288 * resolv/Makefile (routines): Add res_randomid.
2289
2290 2017-06-19 Florian Weimer <fweimer@redhat.com>
2291
2292 * include/resolv.h (__res_vinit): Declare as hidden.
2293 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2294 * resolv/res_libc.c (res_init): Likewise.
2295
2296 2017-06-19 Joseph Myers <joseph@codesourcery.com>
2297
2298 [BZ #21457]
2299 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2300 _libc_xmmreg): Use __ctx in defining field.
2301
2302 [BZ #21597]
2303 * signal/signal.h (siginterrupt): Make declaration conditional on
2304 [__USE_XOPEN_EXTENDED || __USE_MISC].
2305
2306 [BZ #21584]
2307 * signal/signal.h: Make includes of <bits/sigstack.h> and
2308 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2309 __USE_MISC].
2310 (sigaltstack): Make declaration conditional on
2311 [__USE_XOPEN_EXTENDED || __USE_MISC].
2312
2313 [BZ #21575]
2314 * resource/bits/types/struct_rusage.h: New file.
2315 * include/bits/types/struct_rusage.h: Likewise.
2316 * bits/resource.h (struct rusage): Include
2317 <bits/types/struct_rusage.h> instead of defining here.
2318 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2319 Likewise.
2320 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2321 Likewise.
2322 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2323 Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2325 Likewise.
2326 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2327 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2328 Include <bits/types/struct_rusage.h>
2329
2330 2017-06-19 Florian Weimer <fweimer@redhat.com>
2331
2332 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2333
2334 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
2335
2336 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2337
2338 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2339
2340 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2341
2342 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2343
2344 [BZ #21537]
2345 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2346 Check SHARED instead of PIC.
2347 (SYSCALL_PIC_SETUP): Add missing semicolons.
2348 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2349 Check SHARED instead of PIC.
2350 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2351 (__makecontext_ret): Adjust code to jump to exit.
2352
2353 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
2354
2355 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2356 Simplify code by always using SVC 0 instead of EX.
2357 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2358
2359 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
2360
2361 * elf/Versions (ld): Remove _dl_out_of_memory.
2362
2363 2017-06-16 Joseph Myers <joseph@codesourcery.com>
2364
2365 * timezone/private.h: Update from tzcode 2017b.
2366 * timezone/tzfile.h: Likewise.
2367 * timezone/tzselect.ksh: Likewise.
2368 * timezone/zdump.c: Likewise.
2369 * timezone/zic.c: Likewise.
2370 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2371 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2372 * time/tzset.c (SECSPERDAY): New macro.
2373
2374 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2375
2376 * manual/string.texi (strdup): Complete header and standards
2377 annotation.
2378 (strncpy): Likewise.
2379
2380 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2381
2382 * manual/arith.texi (FP_NAN): Add or complete header and standard
2383 annotations.
2384 (FP_INFINITE): Likewise.
2385 (FP_ZERO): Likewise.
2386 (FP_SUBNORMAL): Likewise.
2387 (FP_NORMAL): Likewise.
2388 (SNAN): Likewise.
2389 (SNANL): Likewise.
2390 (totalorderf): Likewise.
2391 (totalorderl): Likewise.
2392 (totalordermagf): Likewise.
2393 (totalordermagl): Likewise.
2394 (_Complex_I): Likewise.
2395 (I): Likewise.
2396
2397 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
2398
2399 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2400 standard annotation.
2401 (ARGP_HELP_SHORT_USAGE): Likewise.
2402 (ARGP_HELP_SEE): Likewise.
2403 (ARGP_HELP_LONG): Likewise.
2404 (ARGP_HELP_PRE_DOC): Likewise.
2405 (ARGP_HELP_POST_DOC): Likewise.
2406 (ARGP_HELP_DOC): Likewise.
2407 (ARGP_HELP_BUG_ADDR): Likewise.
2408 (ARGP_HELP_LONG_ONLY): Likewise.
2409 (ARGP_HELP_EXIT_ERR): Likewise.
2410 (ARGP_HELP_EXIT_OK): Likewise.
2411 (ARGP_HELP_STD_ERR): Likewise.
2412 (ARGP_HELP_STD_USAGE): Likewise.
2413 (ARGP_HELP_STD_HELP): Likewise.
2414
2415 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2416
2417 * manual/Makefile: Generate summary.texi with summary.pl. Force
2418 use of the C locale. Update Perl dependency comment.
2419 * manual/header.texi: Update reference to summary.awk.
2420 * manual/macros.texi: Refer authors to `summary.pl --help'.
2421 * manual/summary.awk: Remove file.
2422 * manual/summary.pl: New file. Generate summary.texi, and check
2423 for @standards-related syntax errors.
2424 * manual/argp.texi: Convert header and standards @comments to
2425 @standards.
2426 * manual/arith.texi: Likewise.
2427 * manual/charset.texi: Likewise.
2428 * manual/conf.texi: Likewise.
2429 * manual/creature.texi: Likewise.
2430 * manual/crypt.texi: Likewise.
2431 * manual/ctype.texi: Likewise.
2432 * manual/debug.texi: Likewise.
2433 * manual/errno.texi: Likewise.
2434 * manual/filesys.texi: Likewise.
2435 * manual/getopt.texi: Likewise.
2436 * manual/job.texi: Likewise.
2437 * manual/lang.texi: Likewise.
2438 * manual/llio.texi: Likewise.
2439 * manual/locale.texi: Likewise.
2440 * manual/math.texi: Likewise.
2441 * manual/memory.texi: Likewise.
2442 * manual/message.texi: Likewise.
2443 * manual/pattern.texi: Likewise.
2444 * manual/pipe.texi: Likewise.
2445 * manual/process.texi: Likewise.
2446 * manual/resource.texi: Likewise.
2447 * manual/search.texi: Likewise.
2448 * manual/setjmp.texi: Likewise.
2449 * manual/signal.texi: Likewise.
2450 * manual/socket.texi: Likewise.
2451 * manual/startup.texi: Likewise.
2452 * manual/stdio.texi: Likewise.
2453 * manual/string.texi: Likewise.
2454 * manual/sysinfo.texi: Likewise.
2455 * manual/syslog.texi: Likewise.
2456 * manual/terminal.texi: Likewise.
2457 * manual/threads.texi: Likewise.
2458 * manual/time.texi: Likewise.
2459 * manual/users.texi: Likewise.
2460
2461 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
2462
2463 * manual/macros.texi (@standards): New macro. Provide placeholder
2464 for header and standards annotations.
2465 (@standardsx): New macro. Likewise, for lists of @*x elements.
2466
2467 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2468
2469 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2470 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2471 rule.
2472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2473 sync_file_range.
2474
2475 * support/support_test_main.c (support_test_main): Use optstring
2476 member for option string in getopt_long.
2477 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2478 (CMDLINE_OPTSTRING): New define.
2479 * support/test-driver.h (test_config): Add optstring member.
2480
2481 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2484 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2485 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2486 Check USE_AS_STRPBRK instead of STRPBRK_P.
2487 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2488 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2489 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2490 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2491 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2492 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2493 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2494 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2495 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2496 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2497 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2498 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2499 and "#endif".
2500
2501 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2504 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2505
2506 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2509 strcat-sse2.
2510 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2511 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2512 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2513 * sysdeps/x86_64/multiarch/strcat.S: Removed.
2514 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2515
2516 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2517 Erich Elsen <eriche@google.com>
2518
2519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2520 memcmp-sse2.
2521 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2522 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2523 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2524 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2525 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2526 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2527
2528 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
2529 Erich Elsen <eriche@google.com>
2530
2531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2532 memset-sse2-unaligned-erms, and memset_chk-nonshared.
2533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2534 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2535 Update comments.
2536 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2537 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2538 * sysdeps/x86_64/multiarch/memset.c: Likewise.
2539 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2540 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2541 * sysdeps/x86_64/multiarch/memset.S: Removed.
2542 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2543 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2544 (__memset_chk_erms): New function.
2545
2546 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2547
2548 * configure.ac(--enable-tunables): Enable by default.
2549 * configure: Regenerate.
2550 * NEWS: Mention change.
2551 * manual/install.texi (enable-tunables): Adjust documentation.
2552 * INSTALL: Regenerate.
2553
2554 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2555
2556 [BZ #18988]
2557 * benchtests/thread_create-inputs: New file.
2558 * benchtests/thread_create-source.c: Likewise.
2559 * support/xpthread_attr_setguardsize.c: Likewise.
2560 * support/Makefile (libsupport-routines): Add
2561 xpthread_attr_setguardsize object.
2562 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2563 * benchtests/Makefile (bench-pthread): Add thread_create.
2564 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2565 then mprotect the required area.
2566 (guard_position): New function.
2567 (setup_stack_prot): Likewise.
2568
2569 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
2570 Erich Elsen <eriche@google.com>
2571 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2572
2573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2574 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2575 mempcpy_chk-nonshared and memmove_chk-nonshared.
2576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2577 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2578 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
2579 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2580 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2581 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2582 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2583 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2584 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2585 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2586 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2587 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2588 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2589 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2590 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2591 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2592 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2593 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2594 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2595 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2596 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2597 (__mempcpy_chk_erms): New function.
2598 (__memmove_chk_erms): Likewise.
2599 (__memcpy_chk_erms): New alias.
2600
2601 2017-06-14 Florian Weimer <fweimer@redhat.com>
2602
2603 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2604 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2605
2606 2017-06-14 Zack Weinberg <zackw@panix.com>
2607
2608 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2609 Reorganize file. Declare errno here. When __ASSEMBLER__ is
2610 defined, don't declare anything other than the E-constants.
2611
2612 * include/errno.h: Change conditional for exposing internal
2613 declarations to (not _ISOMAC and not __ASSEMBLER__).
2614 * bits/errno.h: Remove logic for __need_Emath. Document
2615 requirements for a port-specific bits/errno.h.
2616
2617 * sysdeps/unix/sysv/linux/bits/errno.h
2618 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2619 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2620 * sysdeps/unix/sysv/linux/mips/bits/errno.h
2621 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2622 Add multiple-include guard and check against improper inclusion.
2623 Remove __need_Emath logic. Don't declare errno here. Ensure all
2624 constants are defined as simple integer literals. Consistent
2625 formatting.
2626 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
2627 enum __error_t_codes if __ASSEMBLER__ is not defined.
2628 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2629
2630 * argp/argp.h, string/argz.h: Don't define __need_error_t before
2631 including errno.h.
2632 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2633 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2634 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2635 * sysdeps/x86_64/fpu/s_cosf.S
2636 * sysdeps/x86_64/fpu/s_sincosf.S
2637 * sysdeps/x86_64/fpu/s_sinf.S:
2638 Just include errno.h; don't define __need_Emath or include
2639 bits/errno.h directly.
2640
2641 2017-06-14 Zack Weinberg <zackw@panix.com>
2642
2643 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2644 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2645 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2646
2647 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2648 for IOV_MAX.
2649 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2650 Don't install bits/uio.h.
2651 * misc/sys/uio.h: Don't include bits/uio.h. Do include
2652 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
2653 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2654
2655 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2656 and __need_IOV_MAX. Don't define IOV_MAX at all.
2657 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2658
2659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2660 Include bits/types/struct_iovec.h, not bits/uio.h.
2661 Use __ssize_t, not ssize_t, in function prototypes.
2662 Don't use hard TAB for double space after period in comments.
2663
2664 2017-06-14 Alan Modra <amodra@gmail.com>
2665
2666 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2667 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2668 refsym and sym parameters. Adjust callers.
2669 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2670 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2671 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2672 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2673 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2674 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2675 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2676 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2677 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2678 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2679 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2680 Likewise.
2681 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2683 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2686 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2687 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2688 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2689 (_dl_reloc_overflow): Increase buffser size. Formatting.
2690 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2691 Delete reloc param, add refsym and sym. Check optimized plt
2692 call stubs for localentry:0 functions. Adjust callers.
2693 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2694 and sym parameters. Adjust callers.
2695 (_dl_reloc_overflow): Move attribute.
2696 (_dl_error_localentry): Declare.
2697 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
2698 refsym and sym to elf_machine_fixup_plt.
2699 * elf/testobj6.c (preload): Call printf.
2700
2701 2017-06-14 Alan Modra <amodra@gmail.com>
2702
2703 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2704 (NOPS, ENTRY_3): New macros.
2705 (ENTRY): Rewrite.
2706 (ENTRY_TOCLESS): Define.
2707 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2708 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2709 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2710 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2711 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2712 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2713 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2714 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2715 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2718 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2719 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2720 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2722 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2723 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2724 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2725 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2726 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2728 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2731 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2732 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2733 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2735 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2736 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2737 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2738 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2739 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2740 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2741 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2743 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2744 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2746 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2748 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2750 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2751 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2752 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2755 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2756 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2758 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2759 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2760 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2761 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2762 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2763 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2764 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2765 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2766 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2767 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2768 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2769 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2770 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2771 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2772 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2773 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2774 Likewise.
2775 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2776 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2778 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2779 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2780 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2781 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2782 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2783 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2785 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2786 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2787 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2788 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2789 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2790 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2791 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2792 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2793 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2795 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2796 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2797 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2798 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2799 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2800 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2802 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2804 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2805 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2806 add nop when SHARED.
2807 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2808 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2809 define.
2810 (ENTRY_TOCLESS): Define.
2811 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2812 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2813 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2814
2815 2017-06-14 Alan Modra <amodra@gmail.com>
2816
2817 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2818 MEMSET_is_local.
2819 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2820 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2821 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2822 Define MEMSET.
2823 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2824 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2825 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2826 nop after local calls.
2827 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2828 Don't add nop after local call.
2829 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2830 CALL_MCOUNT.
2831
2832 2017-06-14 Alan Modra <amodra@gmail.com>
2833
2834 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2835 (FUNC_LABEL): Rename from DOT_LABEL.
2836 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2837 Use .p2align rather than .align.
2838 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2839 (ABORT_TRANSACTION): Likewise.
2840 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2841 particularly at end. Add semicolon at invocation as necessary.
2842 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2843 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2844 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2845 END): Adjust to suit.
2846
2847 2017-06-14 Alan Modra <amodra@gmail.com>
2848
2849 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2850 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2851 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2852 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2853 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2855 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2856
2857 2017-06-14 Alan Modra <amodra@gmail.com>
2858
2859 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2860 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2861
2862 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2863
2864 [BZ #21548]
2865 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2866 8 and use it when copying general purpose registers.
2867 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2868 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2869 mips o32.
2870 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2871 new test for mips o32.
2872 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2873 8 and use it when copying general purpose registers.
2874 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2875
2876 2017-06-13 Florian Weimer <fweimer@redhat.com>
2877
2878 * configure.ac (find_cxx_header): Suppress compiler error message.
2879
2880 2017-06-13 Florian Weimer <fweimer@redhat.com>
2881
2882 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2883 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2884 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2885 begin/end.
2886 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2887 dynarray_int_end.
2888 (test_str): Test dynarray_str_begin, dynarray_str_end.
2889
2890 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 [BZ #21573]
2893 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2894 $(common-objpfx)bits/std_abs.h.
2895 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2896 New target.
2897 * config.make.in (c++-bits-std_abs-h): New.
2898 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2899 (CXX_BITS_STD_ABS_H): New.
2900 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2901 * configure: Regenerated.
2902
2903 2017-06-13 Zack Weinberg <zackw@panix.com>
2904
2905 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2906 directives.
2907
2908 2017-06-12 Zack Weinberg <zackw@panix.com>
2909
2910 * bits/sched.h: Remove __need_schedparam logic and replace with a
2911 normal multiple-include guard. Change field name in struct
2912 sched_param from __sched_priority to sched_priority. Delete
2913 everything under #ifndef __cpu_set_t_defined.
2914 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2915 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2916
2917 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2918 For compatibility, #define sched_priority to itself, and #define
2919 __sched_priority as sched_priority.
2920 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2921 that was under #ifndef __cpu_set_t_defined in
2922 sysdeps/unix/sysv/linux/bits/sched.h.
2923 * include/bits/cpu-set.h: New wrapper.
2924 * posix/Makefile: Install bits/cpu-set.h.
2925
2926 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2927 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2928 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2929
2930 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2931 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2932 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2933 * math/libm-test-isfinite.inc (finite_test): Likewise.
2934 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2935 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2936 (nexttoward_test_data}: Likewise.
2937 * math/libm-test-remainder.inc (drem_test): Likewise.
2938 * math/libm-test-scalb.inc (scalb_test): Likewise.
2939 (scalb_test_data): Likewise.
2940 * math/libm-test-significand.inc (significand_test): Likewise.
2941 (significand_test_data): Likewise.
2942 * math/libm-test-support.c (check_complex): Replace __complex__
2943 FLOAT with CFLOAT to get the support for old compiler.
2944 * math/libm-test-support.h (check_complex): Likewise.
2945 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2946 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2947 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2948 * math/test-float128.h: New file.
2949 * math/test-math-floatn.h: New file.
2950
2951 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2952
2953 * include/float.h: Allow the definition of macros prefixed with
2954 FLT128 even if _ISOMAC is defined, but provided that
2955 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2956
2957 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2958
2959 * manual/math.texi (Mathematics): Add description for _FloatN and
2960 _FloatNx types and mentions that they are not support in glibc for
2961 any architecture, so far.
2962 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2963 stdlib.h with wchar.h.
2964 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2965 (Printing of Floats): Add description for strfromfN.
2966
2967 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2968 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2969 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2970
2971 * include/gmp.h (__mpn_construct_float128): New declaration.
2972 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2973 (__strtof128_l): New declaration.
2974 (__strtof128_nan): Likewise.
2975 (__wcstof128_nan): Likewise.
2976 (__strtof128_internal): Likewise.
2977 (____strtof128_l_internal): Likewise.
2978 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2979 (__wcstof128_l): New declaration.
2980 (__wcstof128_internal): Likewise.
2981
2982 * stdlib/Makefile (bug-strtod2): Link libm too.
2983
2984 * stdlib/stdlib.h (strtof128): New declaration.
2985 (strtof128_l): Likewise.
2986
2987 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2988 tst-strtod.h macros to ensure float128 gets tested too.
2989
2990 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2991
2992 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2993 tests.
2994 (IF_FLOAT128): New macro.
2995 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2996 the tests.
2997 (STRTOD_TEST_FOREACH): Likewise.
2998
2999 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3000 wcstof128 functions into libc.
3001
3002 * sysdeps/ieee754/float128/Versions: Add exports for the above
3003 new functions.
3004
3005 * sysdeps/ieee754/float128/mpn2float128.c: New file.
3006 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3007 * sysdeps/ieee754/float128/strtof128.c: New file.
3008 * sysdeps/ieee754/float128/strtof128_l.c: New file.
3009 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3010 * sysdeps/ieee754/float128/wcstof128.c: New file.
3011 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3012 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3013 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3014 (CFLAGS-wcstof128_l): Likewise.
3015
3016 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3017 (wcstof128): New declaration.
3018 (wcstof128_l): Likewise.
3019
3020 2017-06-12 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #21552]
3023 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3024 not [__USE_XOPEN].
3025 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3026
3027 [BZ #21550]
3028 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3029
3030 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
3031
3032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3033 strcpy-sse2 and stpcpy-sse2.
3034 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3035 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3036 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3037 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3038 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3039 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3040 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3041 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3042 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3043 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3044 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3045 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3046 (libc_hidden_def): Always defined as empty.
3047 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3048 Always Defined as empty.
3049
3050 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3051
3052 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3053
3054 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3055
3056 [BZ #15105]
3057 [BZ #19463]
3058 * include/string.h: Add internal redirect for __stpcpy.
3059 * string/Makefile: Remove bits/string2.h.
3060 * string/string.h: Update comment.
3061 * string/string-inlines.c: Remove bits/string2.h include and comment.
3062 * string/bits/string2.h: Remove file.
3063
3064 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3065
3066 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3067 * sunrpc/clnt_gen.c (clnt_create): Likewise.
3068 * sunrpc/des_impl.c (_des_crypt): Likewise.
3069 * sunrpc/key_call.c (key_gendes): Likewise.
3070 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3071 * sunrpc/svc_simple.c (universal): Likewise.
3072 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3073 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3074 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3075
3076 2017-06-10 Zack Weinberg <zackw@panix.com>
3077
3078 * stdlib/errno.h: Correct an outdated comment.
3079
3080 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
3081
3082 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3083 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3084 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3085 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3086 New file. Invoke newly supported sysconf values for powerpc,
3087 and report results. If none are supported, report so.
3088 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
3089 tst-sysconf.
3090
3091 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3092
3093 * include/sys/auxv.h (__getauxval): Add a prototype and its
3094 libc_hidden_proto.
3095 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3096
3097 2017-06-09 Joseph Myers <joseph@codesourcery.com>
3098
3099 [BZ #21561]
3100 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3101 [__USE_XOPEN_EXTENDED].
3102 (id_t): Likewise.
3103 (include of <bits/types/siginfo_t.h): Likewise.
3104 (waitid): Likewise.
3105 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3106 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3107 (WEXITED): Likewise.
3108 (WCONTINUED): Likewise.
3109 (WNOWAIT): Likewise.
3110 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3111 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3112 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3113
3114 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3115 libc.so PLT entry optional.
3116 (__gtsf2): Likewise.
3117 (__unorddf2): Likewise.
3118 (__unordsf2): Likewise.
3119 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3120 New optional libc.so PLT entry.
3121
3122 [BZ #21554]
3123 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3124 not [__USE_XOPEN].
3125
3126 [BZ #21560]
3127 * posix/sys/wait.h: Condition include of <signal.h> on
3128 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
3129 unconditionally.
3130 [!__pid_t_defined] (pid_t): Define typedef.
3131
3132 2017-06-09 Zack Weinberg <zackw@panix.com>
3133
3134 * include/errno.h (__errno_location): Use __attribute_const__
3135 instead of bare __attribute__.
3136
3137 2017-06-09 Zack Weinberg <zackw@panix.com>
3138
3139 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3140 (common-generated): Add libc-modules.h and libc-modules.stmp in a
3141 more appropriate location. Also add dl-tunable-list.h and
3142 dl-tunable-list.stmp.
3143
3144 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3147
3148 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3149
3150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3151 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3153 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3154 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3155 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3156 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3157 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3158 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3159 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3160 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3161
3162 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3163
3164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3165 memrchr-sse2 and memrchr-avx2.
3166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3167 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3168 __memrchr_sse2.
3169 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3170 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3171 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3172
3173 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3176 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3177 wcschr-sse2 and wcschr-avx2.
3178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3179 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3180 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3181 __wcschr_sse2.
3182 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3183 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3184 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3185 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3186 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3187 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3188 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3189 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3190 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3191 * sysdeps/x86_64/multiarch/strchr.S: Removed.
3192
3193 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3194
3195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3196 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3197 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3199 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3200 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3201 __wcslen_sse2 and __wcsnlen_avx2.
3202 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3203 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3204 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3205 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3206 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3207 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3208 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3209 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3210 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3211 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3212 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3213 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3214 vzeroupper is preferred and AVX unaligned load is fast.
3215
3216 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
3219 USE_AS_WMEMCHR is defined.
3220 (PCMPEQ): Likewise.
3221 (memchr): Renamed to ...
3222 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
3223 Replace pcmpeqb with PCMPEQ.
3224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3225 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3226 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3227 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3228 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3229 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3230 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3231 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3232 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3233 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3234 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3235 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3236 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3238 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3239 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3240 __wmemchr_sse2.
3241
3242 2017-06-09 Florian Weimer <fweimer@redhat.com>
3243
3244 * malloc/Makefile (test-srcs): Remove tst-dynarray,
3245 tst-dynarray-fail.
3246
3247 2017-06-09 Florian Weimer <fweimer@redhat.com>
3248
3249 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3250 * support/support_test_verify_impl.c
3251 (support_test_verify_exit_impl): Split from
3252 support_test_verify_impl.
3253 * support/check.h (TEST_VERIFY): Drop status argument from
3254 support_test_verify_impl call.
3255 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3256 (support_test_verify_impl): Remove status argument.
3257 (support_test_verify_exit_impl): Declare.
3258
3259 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
3260
3261 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3262 mention of magic numbers in comments.
3263 (_dl_procinfo): Fix undefined behavior
3264
3265 2017-06-08 Joseph Myers <joseph@codesourcery.com>
3266
3267 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3268 [XPG4].
3269 (WEXITED): Likewise.
3270 (WSTOPPED): Likewise.
3271 (WCONTINUED): Likewise.
3272 (WNOHANG): Likewise.
3273 (WNOWAIT): Likewise.
3274 (idtype_t): Likewise.
3275 (P_ALL): Likewise.
3276 (P_PID): Likewise.
3277 (P_PGID): Likewise.
3278 (id_t): Likewise.
3279 (siginfo_t): Likewise.
3280 (wait3): Likewise.
3281 (waitid): Likewise.
3282 (signal.h): Do not allow header for [XPG4].
3283 (sys/resource.h): Likewise.
3284 (si_*): Do not allow for [XPG4].
3285 (W*): Likewise.
3286 (P_*): Likewise.
3287 (BUS_): Likewise.
3288 (CLD_): Likewise.
3289 (FPE_): Likewise.
3290 (ILL_): Likewise.
3291 (POLL_): Likewise.
3292 (SEGV_): Likewise.
3293 (SI_): Likewise.
3294 (TRAP_): Likewise.
3295 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3296 variable.
3297
3298 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 [BZ #21528]
3301 * elf/dl-minimal.c (__strtoul_internal): Removed.
3302 (strtoul): Likewise.
3303 * elf/dl-misc.c (_dl_strtoul): New function.
3304 * elf/dl-tunables.c (tunables_strtoul): Removed.
3305 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3306 * elf/rtld.c (process_envvars): Likewise.
3307 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3308 Likewise.
3309 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3310
3311 2017-06-08 Zack Weinberg <zackw@panix.com>
3312
3313 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3314 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3315 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3316 * wctype/bits/wctype-wchar.h: New file holding declarations shared
3317 between wctype.h and wchar.h.
3318
3319 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3320 Install them.
3321
3322 * include/bits/types/FILE.h, include/bits/types/__FILE.h
3323 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3324 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3325 New wrappers.
3326 * include/stdio.h, include/wchar.h, include/wctype.h:
3327 No need to handle __need macros.
3328
3329 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3330 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3331 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3332 * wcsmbs/wchar.h, wctype/wctype.h
3333 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3334 Use the new files instead of __need macros.
3335
3336 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * string/test-memrchr.c (test_main): Add tests for len == 0
3339 and tests for positions close to the beginning, which are
3340 equivalent to positions close to the end for memchr.
3341
3342 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3343
3344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3345 comments.
3346 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3347 instead of wmemset.h.
3348 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3349 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3350 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3351
3352 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3353
3354 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3355 spec->info.is_binary128 to zero.
3356 * stdio-common/printf.h (printf_info): Add new member is_binary128
3357 to indicate that the number being converted to string is compatible
3358 with the IEC 60559 binary128 format.
3359 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3360 _Float128 numbers.
3361 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3362 ldbl-128/printf_fphex_macros.h
3363 (__printf_fphex): Add code to deal with _Float128 numbers.
3364 * stdio-common/printf_size.c (__printf_size): Likewise.
3365 * stdio-common/vfprintf.c (process_arg): Initialize member
3366 info.is_binary128 to zero.
3367 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3368 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3369 (strfromf128): New declaration.
3370 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3371 to one.
3372 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3373 * sysdeps/ieee754/float128/Versions: Likewise.
3374 * sysdeps/ieee754/float128/strfromf128.c: New file.
3375
3376 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3377
3378 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3379 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3380 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3381 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3382 (PRINT_FPHEX): New function-like macro that can be used for long
3383 double, as well as for _Float128
3384
3385 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3386
3387 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3388 (__printf_fp_l): Use the new macro to avoid duplicating code.
3389 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3390 (__printf_fphex): Use the new macro to avoid duplicating code.
3391 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3392 (__printf_size): Use the new macro to avoid duplicating code.
3393
3394 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3395
3396 * include/gmp.h: Include bits/floatn.h
3397 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3398 * stdlib/gmp-impl.h: Also check if alloca is not defined before
3399 including stack-alloc.h. It could have been defined by other header
3400 which not necessarily defines HAVE_ALLOCA.
3401 * sysdeps/ieee754/float128/Makefile: New file.
3402 * sysdeps/ieee754/float128/float1282mpn.c: New file.
3403 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3404 redefining __mpn_extract_long_double to __mpn_extract_float128, then
3405 redefine __mpn_extract_long_double to __mpn_extract_float128.
3406 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3407 _Float128 to allow float128_private.h overrides.
3408
3409 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3410
3411 * stdlib/fpioconst.h: Include bits/floatn.h.
3412 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3413 power of ten table should be.
3414 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3415 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3416 to include larger tables when _Float128 support is enabled.
3417 (_fpioconst_pow10): Likewise.
3418
3419 2017-06-07 Joseph Myers <joseph@codesourcery.com>
3420
3421 * include/bits/types/clock_t.h: Use #include <path> instead of
3422 #include "../../path".
3423 * include/bits/types/clockid_t.h: Likewise.
3424 * include/bits/types/struct_iovec.h: Likewise.
3425 * include/bits/types/struct_itimerspec.h: Likewise.
3426 * include/bits/types/struct_osockaddr.h: Likewise.
3427 * include/bits/types/struct_sigstack.h: Likewise.
3428 * include/bits/types/struct_timespec.h: Likewise.
3429 * include/bits/types/struct_timeval.h: Likewise.
3430 * include/bits/types/struct_tm.h: Likewise.
3431 * include/bits/types/time_t.h: Likewise.
3432 * include/bits/types/timer_t.h: Likewise.
3433
3434 [BZ #14096]
3435 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3436 America/New_York.
3437
3438 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
3439
3440 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3441 into ...
3442 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
3443 ifunc-sse4_1.h.
3444
3445 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3446
3447 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3448 Remove check for NULL 'buf'.
3449 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3450
3451 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
3452
3453 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3454 include test-skeleton.c.
3455 Include support/check.h and support/test-driver.c.
3456
3457 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
3458
3459 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3460 (_dl_aarch64_cap_flags): New array.
3461 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3462 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3463 functions.
3464
3465 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3466 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3467 Likewise.
3468 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3469 up hwcap and hwcap_mask.
3470
3471 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3472 (init_cpu_features): Use glibc.tune.hwcap_mask.
3473 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3474
3475 * elf/dl-hwcaps.h: New file.
3476 * elf/dl-hwcaps.c: Include it.
3477 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3478 glibc.tune.hwcap_mask.
3479 * elf/dl-cache.c: Include dl-hwcaps.h.
3480 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3481 glibc.tune.hwcap_mask.
3482 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3483 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3484 _dl_hwcap_mask.
3485 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3486 _dl_hwcap_mask.
3487 (process_envvars)[HAVE_TUNABLES]: Likewise.
3488 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3489 Likewise.
3490 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3491 initialize dl_hwcap_mask when tunables are enabled.
3492
3493 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3494 guard.
3495 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3496
3497 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3498 * scripts/gen-tunables.awk: Include dl-procinfo.h.
3499 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3500
3501 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3502 * elf/dl-tunables.c: Likewise.
3503 (do_tunable_update_val): New function.
3504 (__tunable_set_val): New function.
3505 (__tunable_get_val): Call CB only if the tunable was externally
3506 initialized.
3507 (tunables_strtoul): Replace strval with initialized.
3508 * elf/dl-tunables.h (strval): Replace with a bool initialized.
3509 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3510 prevent collision.
3511 (__tunable_set_val): New function.
3512 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3513 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3514 (TUNABLE_SET_VAL): Remove.
3515 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3516 * README.tunables: Document the new macros.
3517 * malloc/arena.c (ptmalloc_init): Adjust.
3518
3519 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3522 wcsnlen-sse4_1 and wcsnlen-c.
3523 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3524 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3525 __wcsnlen_sse2.
3526 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3527 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3528 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3529 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3530 * sysdeps/x86_64/wcsnlen.S: Removed.
3531
3532 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3533
3534 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3535 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3536 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3537 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3538
3539 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3540
3541 * NEWS: Mention new spinlock implementation.
3542 * include/atomic.h:
3543 (__atomic_val_bysize): Cast type to omit volatile qualifier.
3544 (atomic_exchange_acq): Likewise.
3545 (atomic_load_relaxed): Likewise.
3546 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3547 * nptl/pthread_spin_init.c (pthread_spin_init):
3548 Use atomic_store_relaxed.
3549 * nptl/pthread_spin_lock.c (pthread_spin_lock):
3550 Use C11-like atomic macros.
3551 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3552 Likewise.
3553 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3554 Use atomic_store_release.
3555 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3556 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3557 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3558 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3559 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3560 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3561 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3562 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3563 * sysdeps/alpha/atomic-machine.h: Likewise.
3564 * sysdeps/arm/atomic-machine.h: Likewise.
3565 * sysdeps/i386/atomic-machine.h: Likewise.
3566 * sysdeps/ia64/atomic-machine.h: Likewise.
3567 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3568 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3569 * sysdeps/microblaze/atomic-machine.h: Likewise.
3570 * sysdeps/mips/atomic-machine.h: Likewise.
3571 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3572 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3573 * sysdeps/s390/atomic-machine.h: Likewise.
3574 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3575 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3576 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3577 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3578 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3579 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3580 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3581 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3582 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3583 * sysdeps/x86_64/atomic-machine.h: Likewise.
3584
3585 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3588 and use it instead of dl_x86_cpu_features.
3589 (handle_intel): Replace maxidx with cpu_features. Pass
3590 cpu_features to intel_check_word.
3591 (__cache_sysconf): Pass cpu_features to handle_intel.
3592 (init_cacheinfo): Likewise. Use cpu_features instead of
3593 dl_x86_cpu_features.
3594
3595 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3596
3597 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3599 memcmp-avx2 and wmemcmp-avx2.
3600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3601 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3602 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3603 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3604 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3605 2 machines if AVX unaligned load is fast and vzeroupper is
3606 preferred.
3607 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3608 2 machines if AVX unaligned load is fast and vzeroupper is
3609 preferred.
3610
3611 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 * include/wchar.h (__wmemset_chk): New.
3614 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3615 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3616 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3617 (WMEMSET_CHK_SYMBOL): Likewise.
3618 (WMEMSET_SYMBOL): Likewise.
3619 (__wmemset): Add hidden definition.
3620 (wmemset): Add weak hidden definition.
3621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3622 wmemset_chk-nonshared.
3623 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3624 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3625 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3626 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3627 and __wmemset_chk_avx512_unaligned.
3628 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3629 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3630 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3631 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3632 (WMEMSET_SYMBOL): Likewise.
3633 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3634 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3635 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3636 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3637 (WMEMSET_SYMBOL): Likewise.
3638 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3639 (WMEMSET_CHK_SYMBOL): New.
3640 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3641 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3642 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3643 (libc_hidden_builtin_def): Also define __GI_wmemset and
3644 __GI___wmemset.
3645 (weak_alias): New.
3646 * sysdeps/x86_64/multiarch/wmemset.c: New file.
3647 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3648 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3649 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3650 * sysdeps/x86_64/wmemset.c: Likewise.
3651 * sysdeps/x86_64/wmemset_chk.c: Likewise.
3652
3653 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3654 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * sysdeps/x86/init-arch.h (PASTER1): New.
3657 (EVALUATOR1): Likewise.
3658 (PASTER2): Likewise.
3659 (EVALUATOR2): Likewise.
3660 (REDIRECT_NAME): Likewise.
3661 (OPTIMIZE): Likewise.
3662 (IFUNC_SELECTOR): Likewise.
3663
3664 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3665
3666 * sysdeps/x86_64/strlen.S (PMINU): New.
3667 (PCMPEQ): Likewise.
3668 (SHIFT_RETURN): Likewise.
3669 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3670 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
3671 pminub with PCMPEQ and PMINU.
3672 * sysdeps/x86_64/wcsnlen.S: New file.
3673
3674 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3677 the lower 32 bits. Remove redundant instructions.
3678
3679 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3682 0 as the high part of offset.
3683 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3684
3685 2017-06-05 Joseph Myers <joseph@codesourcery.com>
3686
3687 [BZ #21538]
3688 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3689 [__USE_UNIX98].
3690 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3691 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3692 Likewise.
3693 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3694 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3695 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3696 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3697 Likewise.
3698
3699 [BZ #21517]
3700 * bits/types/stack_t.h (stack_t): Remove struct tag.
3701 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3702 Likewise.
3703 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3704 Likewise.
3705 * debug/segfault.c (install_handler): Use stack_t instead of
3706 struct sigaltstack.
3707 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3708 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3709 * include/signal.h (__sigaltstack): Likwise.
3710 * signal/sigaltstack.c (__sigaltstack): Likewise.
3711 * signal/signal.h (sigaltstack): Likewise.
3712 * sysdeps/mach/hurd/i386/signal-defines.sym
3713 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3714 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3715 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3716 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3717 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3718 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3719 elf_prstatus): Likewise.
3720 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3721 Likewise.
3722 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3723 Likewise.
3724 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3725 Likewise.
3726 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3727 elf_prstatus): Likewise.
3728 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3729 Likewise.
3730 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3731 Likewise.
3732
3733 2017-06-04 Zack Weinberg <zackw@panix.com>
3734
3735 * sysdeps/gnu/errlist.c: Regenerate.
3736
3737 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3738
3739 * benchtests/bench-memchr.c (do_test): Print out both length
3740 and position.
3741 (test_main): Also test the position close to the beginning for
3742 memrchr.
3743
3744 2017-06-04 Zack Weinberg <zackw@panix.com>
3745
3746 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3747 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3748 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3749 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3750 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3751 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3752 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3753 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3754 * nis/nis_print_group_entry.c, nis/nis_remove.c
3755 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3756 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3757 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3758 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3759 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3760 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3761 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3762 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3763 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3764 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3765 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3766 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3767 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3768 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3769 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3770 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3771 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3772 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3773 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3774 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3775
3776 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3777 abi-versions.h as well as shlib-compat.h.
3778 * sunrpc/get_myaddr.c: Remove obsolete comment.
3779 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3780 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3781 * resolv/res_libc.c: Include shlib-compat.h only once.
3782
3783 2017-06-03 Florian Weimer <fweimer@redhat.com>
3784
3785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3786 of strdup.
3787
3788 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3789
3790 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3791 Set to the 3/4 of the total shared cache size.
3792
3793 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3794
3795 * manual/errno.texi: Remove redundant error strings.
3796 * manual/macros.texi (@errno): Render the error string in every
3797 description.
3798
3799 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3800
3801 [BZ #21543]
3802 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3803 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3804 [__USE_XOPEN_EXTENDED].
3805
3806 2017-06-02 Florian Weimer <fweimer@redhat.com>
3807
3808 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3809 strdupa.
3810 (getcanonname): Use __strdup instead of strdup.
3811
3812 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3813
3814 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3815 (CFLAGS-preadv64v2.c): Likewise.
3816 (CFLAGS-pwritev2.c): Likewise.
3817 (CFLAGS-pwritev64v2.c): Likewise.
3818
3819 2017-06-02 Florian Weimer <fweimer@redhat.com>
3820
3821 Test res_init with several configuration files.
3822 * resolv/Makefile [build-shared] (tests-internal): Add
3823 tst-resolv-res_init, tst-resolv-res_init-thread.
3824 (tst-resolv-res_init): Link against libdl, libresolv.
3825 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3826 libpthread.
3827 * resolv/tst-resolv-res_init.c: New file.
3828 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3829 * resolv/tst-resolv-res_init-thread.c: Likewise.
3830 * support/Makefile (libsupport-routines): Add support-xstat,
3831 support_can_chroot, support_capture_subprocess_check,
3832 support_isolate_in_subprocess, support_shared_allocate,
3833 support_write_file_string, xchroot, xmkdir, xopen.
3834 * support/capture_subprocess.h (enum support_capture_allow): Define.
3835 (support_capture_subprocess_check): Declare.
3836 * support/namespace.h (support_can_chroot)
3837 (support_isolate_in_subprocess): Declare.
3838 * support/support-xstat.c: New file.
3839 * support/support.h (support_shared_allocate, support_shared_free)
3840 (support_write_file_string): Declare.
3841 * support/support_can_chroot.c: New file.
3842 * support/support_capture_subprocess_check.c: Likewise.
3843 * support/support_isolate_in_subprocess.c: Likewise.
3844 * support/support_shared_allocate.c: Likewise.
3845 * support/support_write_file_string.c: Likewise.
3846 * support/xchroot.c: Likwise.
3847 * support/xmkdir.c: Likwise.
3848 * support/xopen.c: Likwise.
3849 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3850
3851 2017-06-02 Florian Weimer <fweimer@redhat.com>
3852
3853 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3854 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3855
3856 2017-06-02 Florian Weimer <fweimer@redhat.com>
3857
3858 * malloc/Makefile (routines): Add dynarray_at_failure,
3859 dynarray_emplace_enlarge, dynarray_finalize.
3860 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3861 tst-dynarray-at-fail.
3862 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3863 (tests-special): Add tst-dynarray-mem.out,
3864 tst-dynarray-mem-fail.out.
3865 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3866 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3867 mtrace.
3868 * malloc/Versions (__libc_dynarray_at_failure)
3869 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3870 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3871 GLIBC_PRIVATE.
3872 * malloc/dynarray.h: New file.
3873 * malloc/dynarray-skeleton.c: Likewise.
3874 * malloc/dynarray_at_failure.c: Likewise.
3875 * malloc/dynarray_emplace_enlarge.c: Likewise.
3876 * malloc/dynarray_finalize.c: Likewise.
3877 * malloc/dynarray_resize.c: Likewise.
3878 * malloc/dynarray_resize_clear.c: Likewise.
3879 * malloc/tst-dynarray.c: Likewise.
3880 * malloc/tst-dynarray-fail.c: Likewise.
3881 * malloc/tst-dynarray-at-fail.c: Likewise.
3882 * malloc/tst-dynarray-shared.h: Likewise.
3883 * support/Makefile (libsupport-routines): Add
3884 support_capture_subprocess, xdup2, xpipe.
3885 (tests): Add tst-support_capture_subprocess.
3886 * support/capture_subprocess.h: New file.
3887 * support/support_capture_subprocess.c: Likewise.
3888 * support/tst-support_capture_subprocess.c: Likewise.
3889 * support/xdup2.c: Likewise.
3890 * support/xpipe.c: Likewise.
3891 * support/xunistd.h (xdup2, xpipe): Declare.
3892
3893 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3894
3895 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3896 macros MAX and MIN.
3897
3898 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3899
3900 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3901 [XPG4].
3902 (SA_SIGINFO): Likewise.
3903 (SA_ONSTACK): Likewise.
3904 (SA_RESETHAND): Likewise.
3905 (SA_RESTART): Likewise.
3906 (SA_NOCLDWAIT): Likewise.
3907 (SA_NODEFER): Likewise.
3908 (SS_ONSTACK): Likewise.
3909 (SS_DISABLE): Likewise.
3910 (MINSIGSTKSZ): Likewise.
3911 (SIGSTKSZ): Likewise.
3912 (ucontext_t): Likewise.
3913 (stack_t): Likewise.
3914 (struct sigstack): Likewise.
3915 (SI_USER): Do not expect for [XPG4 || XPG42].
3916 (SI_QUEUE): Likewise.
3917 (SI_TIMER): Likewise.
3918 (SI_ASYNCIO): Likewise.
3919 (SI_MESGQ): Likewise.
3920 (bsd_signal): Do not expect for [XPG4].
3921 (killpg): Likewise.
3922 (sigaltstack): Likewise.
3923 (sighold): Likewise.
3924 (sigignore): Likewise.
3925 (siginterrupt): Likewise.
3926 (sigpause): Likewise.
3927 (sigrelse): Likewise.
3928 (sigset): Likewise.
3929 (sigwait): Do not expect for [XPG4 || XPG42].
3930
3931 2017-06-01 Zack Weinberg <zackw@panix.com>
3932
3933 [BZ #21514]
3934 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3935 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3936
3937 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3938
3939 [BZ #21457]
3940 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3941 NGREG to __NGREG if [__USE_MISC].
3942 (gregset_t): Define using __NGREG.
3943 (__ctx): New macro.
3944 (mcontext_t): Use __ctx in defining fields.
3945 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3946 define NGREG to __NGREG if [__USE_MISC].
3947 (gregset_t): Define using __NGREG.
3948 (__ctx): New macro.
3949 (__ctxt): Likewise.
3950 (fpregset_t): Use __ctx and __ctxt in defining fields.
3951 (mcontext_t): Likewise.
3952 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3953 define NGREG to __NGREG if [__USE_MISC].
3954 (gregset_t): Define using __NGREG.
3955 (__ctx): New macro.
3956 (mcontext_t): Use __ctx in defining fields.
3957 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3958 define NGREG to __NGREG if [__USE_MISC].
3959 (gregset_t): Define using __NGREG.
3960 (__ctx): New macro.
3961 (fpregset_t): Use __ctx in defining fields.
3962 (mcontext_t): Likewise.
3963 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3964 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3965 (gregset_t): Define using __NGREG.
3966 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3967 [__USE_MISC].
3968 (fpregset_t): Define using __NFPREG.
3969 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3970 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3971 (gregset_t): Define using __NGREG.
3972 (__ctx): New macro.
3973 (fpregset_t): Use __ctx in defining fields.
3974 (mcontext_t): Likewise.
3975 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3976 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3977 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3978 [__USE_MISC].
3979 (gregset_t): Define using __NGREG.
3980 (__ctx): New macro.
3981 (fpregset_t): Use __ctx in defining fields.
3982 (mcontext_t): Likewise.
3983 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3984 (mcontext_t): Use __ctx in defining fields.
3985 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3986 macro.
3987 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3988 __NGREG if [__USE_MISC].
3989 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3990 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3991 (mcontext_t): Likewise.
3992 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3993 __NGREG if [__USE_MISC].
3994 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3995 to __NFPREG if [__USE_MISC].
3996 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3997 to __NVRREG if [__USE_MISC].
3998 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3999 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4000 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4001 [__WORDSIZE != 32] (vrregset_t): Likewise.
4002 [__WORDSIZE != 32] (mcontext_t): Likewise.
4003 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4004 (__psw_t): Use __ctx in defining fields.
4005 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4006 [__USE_MISC].
4007 (gregset_t): Define using __NGREG.
4008 (fpreg_t): Use __ctx in defining fields.
4009 (fpregset_t): Likewise.
4010 (mcontext_t): Likewise.
4011 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4012 __NGREG and define NGREG to __NGREG if [__USE_MISC].
4013 (gregset_t): Define using __NGREG.
4014 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4015 [__USE_MISC].
4016 (fpregset_t): Define using __NFPREG.
4017 (__ctx): New macro.
4018 (mcontext_t): Use __ctx in defining fields.
4019 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4020 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4021 __NGREG if [__USE_MISC].
4022 [__x86_64__] (gregset_t): Define using __NGREG.
4023 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4024 [__x86_64__] (struct _libc_fpstate): Likewise.
4025 [__x86_64__] (mcontext_t): Likewise.
4026 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4027 __NGREG if [__USE_MISC].
4028 [!__x86_64__] (gregset_t): Define using __NGREG.
4029 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4030 [!__x86_64__] (struct _libc_fpstate): Likewise.
4031 [!__x86_64__] (mcontext_t): Likewise.
4032
4033 2017-06-01 Zack Weinberg <zackw@panix.com>
4034
4035 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4036 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
4037 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4038 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4039 libpthread.so no longer references __errno_location.
4040
4041 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4042
4043 * NEWS: Add note about pwritev2 and preadv2 inclusion.
4044 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4045 pwritev64v2.
4046 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4047 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4048 pwritev64v2.
4049 * misc/preadv2.c: New file.
4050 * misc/preadv64v2.c: Likewise.
4051 * misc/pwritev2.c: Likewise.
4052 * misc/pwritev64v2.c: Likewise.
4053 * misc/tst-preadvwritev2.c: Likewise.
4054 * misc/tst-preadvwritev64v2.c: Likewise.
4055 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4056 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4057 prototype.
4058 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4059 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4060 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4061 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4062 (PWRITEV): Likewise.
4063 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4064 ENOSYS.
4065 * nptl/tst-cancel4.c (tf_pwritev2): New test.
4066 (tf_preadv2): Likewise.
4067 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4068 * sysdeps/posix/preadv2.c: Likewise.
4069 * sysdeps/posix/preadv64v2.c: Likewise.
4070 * sysdeps/posix/pwritev2.c: Likewise.
4071 * sysdeps/posix/pwritev64v2.c: Likewise.
4072 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4073 support in kernel.
4074 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4075 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4076 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4077 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4078 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4079 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4080 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4081 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4082 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4083 support flags on Linux.
4084 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4085 preadv2, preadv64v2, pwritev2, pwritev64v2.
4086 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4087 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4088 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4089 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4090 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4091 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4092 Likewise.
4093 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4094 Likewise.
4095 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4096 Likewise.
4097 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4098 Likewise.
4099 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4100 Likewise.
4101 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4102 Likewise.
4103 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4104 Likewise.
4105 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4107 (GLIBC_2.26): Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4109 (GLIBC_2.26): Likewise.
4110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4111 Likewise.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4113 (GLIBC_2.26): Likewise.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4115 Likewise.
4116 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4117 Likewise.
4118 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4120 Likewise.
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4122 Likewise.
4123 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4124 Likewise.
4125 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4126 Likewise.
4127 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4128 Likewise.
4129 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4130 Likewise.
4131 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4132 Likewise.
4133
4134 2017-05-31 Andreas Schwab <schwab@suse.de>
4135
4136 * nptl/tst-fork3.c: Include <support/test-driver.c>.
4137 (main): Rename to do_test and make static.
4138
4139 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4140
4141 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4142 ARCH_INIT_CPU_FEATURES.
4143 (LIBC_START_MAIN): Call it.
4144 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4145 (__libc_start_main): Remove.
4146 (ARCH_INIT_CPU_FEATURES): New macro.
4147 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4148 (ARCH_INIT_CPU_FEATURES): New macro.
4149
4150 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
4151 RĂŒdiger Sonderfeld <ruediger@c-plusplus.de>
4152
4153 * include/stdlib.h (__libc_reallocarray): New declaration.
4154 * malloc/Makefile (routines): Add reallocarray.
4155 (tests): Add tst-reallocarray.c.
4156 * malloc/Versions: Add reallocarray and __libc_reallocarray.
4157 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4158 function.
4159 * malloc/malloc.h (reallocarray): New declaration.
4160 * stdlib/stdlib.h (reallocarray): Likewise.
4161 * malloc/reallocarray.c: New file.
4162 * malloc/tst-reallocarray.c: New test file.
4163 * manual/memory.texi: Document reallocarray.
4164 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4165 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4166 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4167 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4173 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4174 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4175 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4176 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4179 Likewise.
4180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4181 Likewise.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4184 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4185 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4186 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4191 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4192 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4193 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4194
4195 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
4196
4197 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4198 the lower 32 bits.
4199
4200 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
4201
4202 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4203 $(build-pie-default) = yes]: Define.
4204
4205 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4206
4207 * string/test-memchr.c (test_main): Add tests for n == 0.
4208
4209 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4210
4211 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4212 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4213 (tests-internal): ... here.
4214
4215 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4216 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4219 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4220 (__tunable_set_val): Likewise.
4221
4222 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
4223
4224 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4225 dl-tunables.list in subdirectories.
4226
4227 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4228 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4229 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4230
4231 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4232 (SNANF128): New macro.
4233 * math/e_sqrtf128.c: New file.
4234 * math/s_fmaxmag_template.c: Include math_private.h in order to
4235 make inline expansion of fabs128().
4236 * math/s_fminmag_template.c: Likewise.
4237
4238 * sysdeps/ieee754/float128/e_acosf128.c: New file.
4239 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4240 * sysdeps/ieee754/float128/e_asinf128.c: New file.
4241 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4242 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4243 * sysdeps/ieee754/float128/e_coshf128.c: New file.
4244 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4245 * sysdeps/ieee754/float128/e_expf128.c: New file.
4246 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4247 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4248 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4249 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4250 * sysdeps/ieee754/float128/e_j0f128.c: New file.
4251 * sysdeps/ieee754/float128/e_j1f128.c: New file.
4252 * sysdeps/ieee754/float128/e_jnf128.c: New file.
4253 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4254 * sysdeps/ieee754/float128/e_log10f128.c: New file.
4255 * sysdeps/ieee754/float128/e_log2f128.c: New file.
4256 * sysdeps/ieee754/float128/e_logf128.c: New file.
4257 * sysdeps/ieee754/float128/e_powf128.c: New file.
4258 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4259 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4260 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4261 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4262 * sysdeps/ieee754/float128/float128_private.h: New file.
4263 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4264 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4265 * sysdeps/ieee754/float128/k_cosf128.c: New file.
4266 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4267 * sysdeps/ieee754/float128/k_sinf128.c: New file.
4268 * sysdeps/ieee754/float128/k_tanf128.c: New file.
4269 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4270 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4271 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4272 * sysdeps/ieee754/float128/s_atanf128.c: New file.
4273 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4274 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4275 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4276 * sysdeps/ieee754/float128/s_cosf128.c: New file.
4277 * sysdeps/ieee754/float128/s_erff128.c: New file.
4278 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4279 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4280 * sysdeps/ieee754/float128/s_finitef128.c: New file.
4281 * sysdeps/ieee754/float128/s_floorf128.c: New file.
4282 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4283 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4284 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4285 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4286 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4287 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4288 * sysdeps/ieee754/float128/s_isinff128.c: New file.
4289 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4290 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4291 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4292 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4293 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4294 * sysdeps/ieee754/float128/s_logbf128.c: New file.
4295 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4296 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4297 * sysdeps/ieee754/float128/s_modff128.c: New file.
4298 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4299 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4300 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4301 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4302 * sysdeps/ieee754/float128/s_remquof128.c: New file.
4303 * sysdeps/ieee754/float128/s_rintf128.c: New file.
4304 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4305 * sysdeps/ieee754/float128/s_roundf128.c: New file.
4306 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4307 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4308 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4309 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4310 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4311 * sysdeps/ieee754/float128/s_significandf128.c: New file.
4312 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4313 * sysdeps/ieee754/float128/s_sinf128.c: New file.
4314 * sysdeps/ieee754/float128/s_tanf128.c: New file.
4315 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4316 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4317 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4318 * sysdeps/ieee754/float128/s_truncf128.c: New file.
4319 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4320 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4321 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4322 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4323
4324 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4325 (__iscanonicalf128): Define as a macro.
4326
4327 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
4328
4329 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4330 (memmove): Use MEMMOVE for name.
4331 (memcpy): Use MEMCPY for name. Change internal labels
4332 to external labels.
4333 * sysdeps/aarch64/multiarch/Makefile: New file.
4334 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4335 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4336 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4337 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4338 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4339 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4340
4341 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
4342
4343 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4344 (_dl_arm_cap_flags): Fix array subscript.
4345 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4346 Fix count.
4347
4348 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4349
4350 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4351
4352 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
4353
4354 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4355 (is_amd): Likewise.
4356 (max_cpuid): Likewise.
4357 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4358 (init_cacheinfo): Likewise.
4359
4360 2017-05-23 Joseph Myers <joseph@codesourcery.com>
4361
4362 [BZ #21511]
4363 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4364 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4365 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4366 !__USE_XOPEN2K) || __USE_MISC].
4367 * conform/data/signal.h-data (struct sigstack): Expect type only
4368 if [!XOPEN2K8 && !POSIX2008].
4369 (sigstack): Expect function only if [XPG42 || UNIX98].
4370
4371 [BZ #21457]
4372 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4373 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4374 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4375 <bits/types/__sigset_t.h>.
4376 (ucontext_t): Use sigset_t instead of __sigset_t.
4377 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4378 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4379 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4380 <bits/types/__sigset_t.h>.
4381 (ucontext_t): Use sigset_t instead of __sigset_t.
4382 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4383 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4384 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4385 <bits/types/__sigset_t.h>.
4386 (ucontext_t): Use sigset_t instead of __sigset_t.
4387 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4388 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4389 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4390 <bits/types/__sigset_t.h>.
4391 (ucontext_t): Use sigset_t instead of __sigset_t.
4392 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4393 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4394 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4395 <bits/types/__sigset_t.h>.
4396 (ucontext_t): Use sigset_t instead of __sigset_t.
4397 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4398 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4399 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4400 <bits/types/__sigset_t.h>.
4401 (ucontext_t): Use sigset_t instead of __sigset_t.
4402 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4403 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4404 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4405 <bits/types/__sigset_t.h>.
4406 (ucontext_t): Use sigset_t instead of __sigset_t.
4407 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4408 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4409 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4410 <bits/types/__sigset_t.h>.
4411 (ucontext_t): Use sigset_t instead of __sigset_t.
4412 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4413 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4414 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4415 <bits/types/__sigset_t.h>.
4416 (ucontext_t): Use sigset_t instead of __sigset_t.
4417 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4418 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4419 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
4420 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4421 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4422 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4423 <bits/types/__sigset_t.h>.
4424 (ucontext_t): Use sigset_t instead of __sigset_t.
4425 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4426 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4427 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4428 <bits/types/__sigset_t.h>.
4429 (ucontext_t): Use sigset_t instead of __sigset_t.
4430 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4431 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4432 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4433 <bits/types/__sigset_t.h>.
4434 (ucontext_t): Use sigset_t instead of __sigset_t.
4435 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4436 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4437 <bits/ss_flags.h>.
4438 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4439 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4440 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4441 <bits/types/__sigset_t.h>.
4442 (ucontext_t): Use sigset_t instead of __sigset_t.
4443 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4444 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4445 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4446 <bits/types/__sigset_t.h>.
4447 (ucontext_t): Use sigset_t instead of __sigset_t.
4448 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4449 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4450 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4451 <bits/types/__sigset_t.h>.
4452 (ucontext_t): Use sigset_t instead of __sigset_t.
4453 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4454 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4455 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4456 <bits/types/__sigset_t.h>.
4457 (ucontext_t): Use sigset_t instead of __sigset_t.
4458 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4459 <bits/types.h>.
4460 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4461 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4462 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
4463 <bits/types/__sigset_t.h>.
4464 (ucontext_t): Use sigset_t instead of __sigset_t.
4465
4466 2017-05-22 Zack Weinberg <zackw@panix.com>
4467
4468 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4469 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4470 bits/siginfo-arch.h, only if not already defined.
4471 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4472 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4473 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4474 Likewise.
4475
4476 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4477 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4479 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4480 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4481 Unconditionally define __SI_* macros.
4482
4483 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4484
4485 [BZ #21393]
4486 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4487 and add a check for dup3 failure.
4488 * libio/freopen64.c (freopen64): Likewise.
4489 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4490 libsupport.
4491 (do_test_bz21398): New test.
4492 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4493
4494 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
4495
4496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4497 Remove invalid comment.
4498
4499 2017-05-21 Zack Weinberg <zackw@panix.com>
4500
4501 * signal/Makefile (headers): Add bits/types/sigval_t.h.
4502
4503 2017-05-20 Zack Weinberg <zackw@panix.com>
4504
4505 * bits/sigevent-consts.h
4506 * bits/siginfo-consts.h
4507 * bits/types/__sigset_t.h
4508 * bits/types/sigevent_t.h
4509 * bits/types/siginfo_t.h
4510 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4511 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4512 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4513 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4514 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4515 New system-dependent bits headers.
4516
4517 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4518 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4519 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4520 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4521 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4523 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4524 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4525 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4526 New Linux-only system-dependent bits headers.
4527
4528 * signal/bits/types/sig_atomic_t.h
4529 * signal/bits/types/sigset_t.h
4530 * signal/bits/types/sigval_t.h:
4531 New non-system-dependent bits headers.
4532
4533 * sysdeps/generic/sigsetops.h
4534 * sysdeps/unix/sysv/linux/sigsetops.h:
4535 New internal headers.
4536
4537 * include/bits/types/sig_atomic_t.h
4538 * include/bits/types/sigset_t.h
4539 * include/bits/types/sigval_t.h:
4540 New wrappers.
4541
4542 * signal/sigsetops.h
4543 * bits/siginfo.h
4544 * bits/sigset.h
4545 * sysdeps/unix/sysv/linux/bits/siginfo.h
4546 * sysdeps/unix/sysv/linux/bits/sigset.h
4547 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4548 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4549 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4551 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4552 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4553 Deleted.
4554
4555 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4556 Update lists of installed headers.
4557
4558 * posix/bits/types.h: Define __sig_atomic_t here.
4559 * signal/signal.h: Use the new bits headers; no need to handle
4560 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
4561 to define sigmask.
4562 * include/signal.h: No need to handle __need_sig_atomic_t
4563 nor __need_sigset_t. Don't define __sigemptyset.
4564
4565 * io/sys/poll.h, setjmp/setjmp.h
4566 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4567 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4568 * sysdeps/mach/hurd/i386/bits/sigcontext.h
4569 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4570 * sysdeps/pthread/bits/sigthread.h
4571 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4572 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4573 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4574 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4575 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4576 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4577 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4578 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4579 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4580 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4581 Use bits/types/__sigset_t.h.
4582
4583 * misc/sys/select.h, posix/spawn.h
4584 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4585 * sysdeps/unix/sysv/linux/sys/epoll.h
4586 * sysdeps/unix/sysv/linux/sys/signalfd.h:
4587 Use bits/types/sigset_t.h.
4588
4589 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4590 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4591 * socket/sys/socket.h: Don't include bits/sigset.h.
4592
4593 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4594 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4595 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4596 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4597 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4598 * sysdeps/unix/sysv/linux/nptl-signals.h:
4599 Include sigsetops.h.
4600
4601 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4602 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4603 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4604 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4605 now return no value.
4606
4607 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4608 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4609 "sigsetops.h".
4610
4611 * signal/sigsetops.c: Explicitly define __sigismember,
4612 __sigaddset, and __sigdelset as compatibility symbols.
4613
4614 * signal/Versions: Correct commentary on __sigpause,
4615 __sigaddset, __sigdelset, __sigismember.
4616
4617 * inet/rcmd.c: Include sigsetops.h. Convert old code using
4618 __sigblock/__sigsetmask to use __sigprocmask and friends.
4619
4620 * resolv/resolv.h: Remove __need_res_state logic.
4621 Move definition of res_state and related constants to ...
4622 * resolv/bits/types/res_state.h: ...this new file.
4623 * resolv/Makefile: Install bits/types/res_state.h.
4624 * include/bits/types/res_state.h: New wrapper.
4625 * include/list.h: Remove __need_list_t logic.
4626 Move definition of list_t to ...
4627 * include/list_t.h: ...this new file.
4628
4629 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4630 instead of list.h and resolv.h.
4631
4632 * resolv/resolv.h: Remove __need_res_state logic.
4633 Move definition of res_state and related constants to ...
4634 * resolv/bits/types/res_state.h: ...this new file.
4635 * resolv/Makefile: Install bits/types/res_state.h.
4636 * include/bits/types/res_state.h: New wrapper.
4637 * include/list.h: Remove __need_list_t logic.
4638 Move definition of list_t to ...
4639 * include/list_t.h: ...this new file.
4640
4641 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4642 instead of list.h and resolv.h.
4643
4644 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
4645
4646 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4647
4648 2017-05-20 Zack Weinberg <zackw@panix.com>
4649
4650 * sysdeps/arm/sysdep.h
4651 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4652
4653 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4654 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4655 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4656 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4657 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4658 * sysdeps/arm/armv6t2/strlen.S
4659 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4660 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4661 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4662 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4663 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4664 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4665
4666 2017-05-20 Zack Weinberg <zackw@panix.com>
4667
4668 Remove the NaCl port.
4669 * sysdeps/arm/nacl: Remove directory and contents.
4670 * sysdeps/nacl: Remove directory and contents.
4671 * abi-tags: Remove .*-.*-nacl.* entry.
4672
4673 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
4674
4675 * manual/errno.texi: Convert @comment-based errno documentation to
4676 @errno.
4677 * manual/macros.texi (@errno): New macro. Consolidate errors,
4678 their values, and messages, adding the error string to the Concept
4679 Index. Provide a warning in the comment about external (to the
4680 manual) dependencies.
4681 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4682 * sysdeps/mach/hurd/errnos.awk: Likewise.
4683
4684 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4685
4686 * bits/ss_flags.h: New file.
4687 * bits/types/stack_t.h: Likewise.
4688 * include/bits/types/struct_sigstack.h: Likewise.
4689 * signal/bits/types/struct_sigstack.h: Likewise.
4690 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4691 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4692 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4693 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4694 bits/types/stack_t.h and bits/ss_flags.h.
4695 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4696 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4697 <bits/ss_flags.h>.
4698 * bits/sigstack.h (struct sigstack): Remove.
4699 (stack_t): Likewise.
4700 (SS_ONSTACK): Likewise.
4701 (SS_DISABLE): Likewise.
4702 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4703 (struct sigstack): Likewise.
4704 (stack_t): Likewise.
4705 (SS_ONSTACK): Likewise.
4706 (SS_DISABLE): Likewise.
4707 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4708 Likewise.
4709 (stack_t): Likewise.
4710 (SS_ONSTACK): Likewise.
4711 (SS_DISABLE): Likewise.
4712 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4713 Likewise.
4714 (stack_t): Likewise.
4715 (SS_ONSTACK): Likewise.
4716 (SS_DISABLE): Likewise.
4717 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4718 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4719 Likewise.
4720 (stack_t): Likewise.
4721 (SS_ONSTACK): Likewise.
4722 (SS_DISABLE): Likewise.
4723 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4724 (struct sigstack): Likewise.
4725 (stack_t): Likewise.
4726 (SS_ONSTACK): Likewise.
4727 (SS_DISABLE): Likewise.
4728 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4729 Likewise.
4730 (stack_t): Likewise.
4731 (SS_ONSTACK): Likewise.
4732 (SS_DISABLE): Likewise.
4733 * sysdeps/arm/sys/ucontext.h: Include
4734 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4735 <bits/ss_flags.h>.
4736 * sysdeps/generic/sys/ucontext.h: Likewise.
4737 * sysdeps/i386/sys/ucontext.h: Likewise.
4738 * sysdeps/m68k/sys/ucontext.h: Likewise.
4739 * sysdeps/mips/sys/ucontext.h: Likewise.
4740 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4741 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4742 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4743 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4744 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4745 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4746 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4747 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4748 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4749 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4750 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4751 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4753 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4754 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4755
4756 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4757
4758 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4759 "edx + ecx - 16" to avoid possible addition overflow.
4760 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4761
4762 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4763
4764 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4765 (CFLAGS-splice.c): Likewise.
4766 (CFLAGS-open_by_handle_at.c): Likewise.
4767 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4768 (CFLAGS-splice.c): Likewise.
4769 (CFLAGS-open_by_handle_at.c): Likewise.
4770
4771 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4772
4773 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4774 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4775 <ldbl-compat-choose.h>.
4776 (maybe_long_double_symbol): New macro.
4777 [!declare_mgen_alias] (declare_mgen_alias): Use
4778 maybe_long_double_symbol.
4779 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4780 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4784 * Makerules [$(build-shared) = yes && !avoid-generated]
4785 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4786 [$(build-shared) = yes && !avoid-generated]
4787 ($(common-objpfx)ldbl-compat-choose.h): New target.
4788
4789 * scripts/versions.awk: Generate first-versions.h.
4790 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4791 <first-versions.h>.
4792 (LDOUBLE_cabsl_libm_version): Remove macro.
4793 (LDOUBLE_cargl_libm_version): Likewise.
4794 (LDOUBLE_cimagl_libm_version): Likewise.
4795 (LDOUBLE_conjl_libm_version): Likewise.
4796 (LDOUBLE_creall_libm_version): Likewise.
4797 (LDOUBLE_cacosl_libm_version): Likewise.
4798 (LDOUBLE_cacoshl_libm_version): Likewise.
4799 (LDOUBLE_ccosl_libm_version): Likewise.
4800 (LDOUBLE_ccoshl_libm_version): Likewise.
4801 (LDOUBLE_casinl_libm_version): Likewise.
4802 (LDOUBLE_csinl_libm_version): Likewise.
4803 (LDOUBLE_casinhl_libm_version): Likewise.
4804 (LDOUBLE_csinhl_libm_version): Likewise.
4805 (LDOUBLE_catanl_libm_version): Likewise.
4806 (LDOUBLE_catanhl_libm_version): Likewise.
4807 (LDOUBLE_ctanl_libm_version): Likewise.
4808 (LDOUBLE_ctanhl_libm_version): Likewise.
4809 (LDOUBLE_cexpl_libm_version): Likewise.
4810 (LDOUBLE_clogl_libm_version): Likewise.
4811 (LDOUBLE_cprojl_libm_version): Likewise.
4812 (LDOUBLE_csqrtl_libm_version): Likewise.
4813 (LDOUBLE_cpowl_libm_version): Likewise.
4814 (LDOUBLE_clog10l_libm_version): Likewise.
4815 (LDOUBLE___clog10l_libm_version): Likewise.
4816 (LDOUBLE_fdiml_libm_version): Likewise.
4817 (LDOUBLE_fmaxl_libm_version): Likewise.
4818 (LDOUBLE_fminl_libm_version): Likewise.
4819 (LDOUBLE_ilogbl_libm_version): Likewise.
4820 (LDOUBLE_nanl_libm_version): Likewise.
4821 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4822 FIRST_VERSION_libm_* macros.
4823 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4824 * Makerules [$(build-shared) = yes && !avoid-generated]
4825 (before-compile): Add $(common-objpfx)first-versions.h.
4826 [$(build-shared) = yes && !avoid-generated]
4827 ($(common-objpfx)first-versions.h): New target.
4828 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4829 building $(common-objpfx)versions.stmp.
4830
4831 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4832
4833 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4834 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4835 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4836 auto-generation list.
4837
4838 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4839 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4840 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4841 from auto-generation list.
4842
4843 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4844 open_by_handle_at.
4845 (CFLAGS-open_by_handle_at.c): New flag.
4846 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4847 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4848 file.
4849 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4850
4851 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4852 (CFLAGS-splice.c): New flag.
4853 * sysdeps/unix/sysv/linux/splice.c: New file.
4854 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4855 auto-generation syscall list.
4856 * misc/Makefile (CFLAGS-splice.c): New rule.
4857
4858 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4859 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4860 auto-generation syscall list.
4861 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4862 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4863
4864 * misc/Makefile (CFLAGS-fsync.c): New flag.
4865 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4866 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4867 syscall list.
4868 * sysdeps/unix/sysv/linux/fsync.c: New file.
4869 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4870 (__errno_location): Remove.
4871
4872 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4873 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4874 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4875 list.
4876 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4877
4878 * misc/Makefile (CFLAGS-msync.c): New rule.
4879 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4880 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4881 * sysdeps/unix/sysv/linux/msync.c: New file.
4882
4883 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4884 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4885 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4887 (CFLAGS-sigsuspend.c): Remove rule.
4888
4889 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4890 (CFLAGS-tee.c): New rule.
4891 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4892 auto-generated list.
4893 * sysdeps/unix/sysv/linux/tee.c: New file.
4894
4895 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4896 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4897 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4898 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4899 auto-generated list.
4900
4901 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4902 auto-generated list.
4903 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4906 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4907 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4908
4909 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4910 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4911 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4912 (__NR_pause): Undefine.
4913 * sysdeps/unix/sysv/linux/pause.c: New file.
4914 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4915 auto-generation list.
4916 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4917 Remove rule.
4918 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4919
4920 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4921
4922 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4923 comments.
4924
4925 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4926
4927 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4928 LD_HWCAP_MASK.
4929
4930 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4931
4932 * manual/conf.texi: Convert @tables of annotated @items to
4933 @vtables.
4934 * manual/lang.texi: Likewise.
4935 * manual/pattern.texi: Likewise.
4936 * manual/resource.texi: Likewise.
4937 * manual/socket.texi: Likewise.
4938
4939 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4940
4941 * manual/crypt.texi: Move a comment out of an @*x list.
4942 * manual/filesys.texi: Refactor some comments, one of which looks
4943 like a standard. Fix incorrectly separated standards.
4944 * manual/locale.texi: Invert an annotation.
4945 * manual/resource.texi: Fix incorrectly separated standards.
4946 * manual/time.texi: Refactor a @vtable that obscures an
4947 annotation.
4948 * manual/users.texi: Refactor multiple headers to occupy a single
4949 @comment.
4950
4951 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4952
4953 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4954 (sysdep_routines): Add memcmp-power8.
4955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4956 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4957 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4958 (memcmp): Add __memcmp_power8 to ifunc list.
4959 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4960 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4961
4962 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4963 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4964
4965 * math/math.h (__MATH_TG): Extend the conditions to add
4966 _Float128 support.
4967 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4968
4969 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4970
4971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4972 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4973 s_cosf-ppc64.
4974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4977 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4978
4979 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4980
4981 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4982 (gen-libm-calls): Add e_exp2F to use the template.
4983 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4984 * math/e_exp2_template.c: New file, renamed from
4985 math/e_exp2l.c, and made into a template.
4986 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4987
4988 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4989
4990 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4991 TUNABLE_TYPE_UINT_64.
4992 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4993 Simplify computation of overflow.
4994 (tunable_set_val_if_valid_range_signed,
4995 tunable_set_val_if_valid_range_unsigned): Remove and replace
4996 with this...
4997 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4998 (tunable_initialize): Adjust. Add uint64_t support.
4999 (__tunable_set_val): Add uint64_t support.
5000 * README.tunables: Document it.
5001
5002 * scripts/gen-tunables.awk: Recognize 'default' keyword in
5003 dl-tunables.list.
5004 * README.tunables: Document it.
5005
5006 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5007
5008 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5009 * sysdeps/posix/preadv64.c: Likewise.
5010 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5011 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5012 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5013 * sysdeps/posix/pwritev64.c: Likewise.
5014 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5015 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5016 * sysdeps/posix/preadv_common.c: New file.
5017 * sysdeps/posix/pwritev_common.c: Likewise.
5018
5019 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5020
5021 * sysdeps/generic/math-type-macros-float128.h
5022 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5023 wrapper templates.
5024
5025 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5026 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5027
5028 * include/complex.h (__kernel_casinhf128): New declaration.
5029 * include/float.h: New file.
5030 * include/math.h (__finitef128): Add a hidden def.
5031 (__isinff128): Likewise.
5032 (__isnanf128): Likewise.
5033 (__fpclassify): Likewise.
5034 (__issignalling): Likewise.
5035 (__expf128): Likewise.
5036 (__expm1f128): Likewise.
5037
5038 * sysdeps/generic/fix-fp-int-convert-overflow.h:
5039 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5040 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5041
5042 * sysdeps/generic/math-type-macros-float128.h: New file.
5043
5044 * sysdeps/generic/math_private.h: Include bits/floatn.h and
5045 math_private_calls.h for _Float128.
5046 (__isinff128): New inline implementation used when GCC < 7.0,
5047 since in this case __builtin_isinf_sign is broken.
5048 (fabsf128): New inline implementation that calls the builtin.
5049 (__EXPR_FLT128): New macro.
5050 (min_of_type): Optionally include _Float128 types too.
5051
5052 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5053 Declare for _Float128.
5054 (__kernel_rem_pio2): Likewise.
5055
5056 * sysdeps/ieee754/ldbl-opt/s_sin.c:
5057 (__DECL_SIMD_sincos_disablef128): New macro.
5058
5059 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5060
5061 * math/math.h: Include bits/math-finite.h for float128.
5062 (__MATH_DECLARING_FLOATN): Define to control declaration of
5063 float128 functions.
5064 * math/bits/math-finite.h (pow10): Do not declare for float128.
5065 (gamma): Likewise.
5066 (scalb): Likewise.
5067
5068 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5069 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5070
5071 * bits/floatn.h: New file.
5072 * bits/huge_val_flt128.h: Likewise.
5073
5074 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5075 (__DECL_SIMD_sinf128): Likewise.
5076 (__DECL_SIMD_sincosf128): Likewise.
5077 (__DECL_SIMD_logf128): Likewise.
5078 (__DECL_SIMD_expf128): Likewise.
5079 (__DECL_SIMD_powf128): Likewise.
5080
5081 * math/Makefile (headers): Install bits/floatn.h and
5082 bits/huge_val_flt128.h.
5083
5084 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5085 defined.
5086
5087 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5088 (isnan, gamma, nexttoward, scalb): Only define if not
5089 __MATH_DECLARING_FLOATN.
5090 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5091 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5092 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5093 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5094
5095 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5096 Include bits/cmathcalls.h to get the declarations of _Float128
5097 versions of complex functions.
5098 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5099 Define macro.
5100
5101 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5102 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5103 get the declarations of _Float128 versions of math functions.
5104 (__MATH_DECLARING_FLOATN): New macro to control declaration of
5105 _FloatN types.
5106 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5107 is type-generic, so use it without __MATH_TG.
5108 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5109 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
5110 _Float128 type and GCC < 7.0, otherwise use the builtin.
5111 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5112 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5113 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5114 New _GNU_SOURCE enabled macros.
5115
5116 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5117
5118 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5119 (signbitf): Likewise.
5120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5121 Likewise.
5122 (signbitl): Likewise.
5123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5124 Likewise.
5125 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5126 (signbitl): Likewise.
5127 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5128
5129 2017-05-12 Florian Weimer <fweimer@redhat.com>
5130
5131 [BZ #21386]
5132 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5133 parent PID. The assertion in the child is incorrect with PID
5134 namespaces.
5135
5136 2017-05-12 Joseph Myers <joseph@codesourcery.com>
5137
5138 * sysdeps/unix/sysv/linux/kernel-features.h
5139 (__ASSUME_STATFS_F_FLAGS): Remove macro.
5140 * sysdeps/unix/sysv/linux/internal_statvfs.c
5141 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5142
5143 2017-05-11 Zack Weinberg <zackw@panix.com>
5144
5145 * Makerules: New subdir configuration variables 'tests-internal'
5146 and 'test-internal-extras'. Test files in these categories will
5147 still be compiled with MODULE_NAME=nonlib. Test files in the
5148 existing categories (tests, xtests, test-srcs, test-extras) are
5149 now compiled with MODULE_NAME=testsuite.
5150 New subdir configuration variable 'modules-names-tests'. Files
5151 which are in both 'modules-names' and 'modules-names-tests' will
5152 be compiled with MODULE_NAME=testsuite instead of
5153 MODULE_NAME=extramodules.
5154 (gen-as-const-headers): Move to tests-internal.
5155 (do-tests-clean, common-mostlyclean): Support tests-internal.
5156 * Makeconfig (built-modules): Add testsuite.
5157 * Makefile: Change libof-check-installed-headers-c and
5158 libof-check-installed-headers-cxx to 'testsuite'.
5159 * Rules: Likewise. Support tests-internal.
5160 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5161 Remove extra-modules.mk.
5162
5163 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5164 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5165 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5166 very top of the file and rationalize their order.
5167 If MODULE_NAME is not defined at all, define IS_IN to always be
5168 false, and don't define _ISOMAC.
5169 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5170 true, define _ISOMAC and suppress everything else in this file,
5171 starting with the inclusion of config.h.
5172 Do check for inappropriate definitions of __OPTIMIZE__ and
5173 __FAST_MATH__ here, but only if _ISOMAC is not defined.
5174 Correct some out-of-date commentary.
5175
5176 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5177 and _Mlong_double_ before including math.h.
5178 * include/string.h: If _ISOMAC is defined, don't expose
5179 _STRING_ARCH_unaligned. Move a comment to a more appropriate
5180 location.
5181
5182 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5183 * include/time.h, include/unistd.h, include/wchar.h: No need to
5184 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5185
5186 * misc/sys/cdefs.h (__NTHNL): New macro.
5187 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5188 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5189
5190 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5191 defined, for HAVE_TUNABLES.
5192 * inet/tst-checks-posix.c: No need to define _ISOMAC.
5193 * intl/tst-gettext2.c: Provide own definition of N_.
5194 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5195 * math/test-signgam-main.c: No need to define _ISOMAC.
5196 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5197 * stdlib/tst-strtod1i.c: ...this new file.
5198 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5199 Split tests of __strtod_internal to...
5200 * stdlib/tst-strtod5i.c: ...this new file.
5201 * string/test-string.h: Include stdint.h. Duplicate definition of
5202 inhibit_loop_to_libcall here (from libc-symbols.h).
5203 * string/test-strstr.c: Provide dummy definition of
5204 libc_hidden_builtin_def when including strstr.c.
5205 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5206 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5207 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5208 Don't include init-arch.h.
5209 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5210 Don't include init-arch.h.
5211
5212 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5213 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5214 unload, unload2, circleload1, neededtest, neededtest2,
5215 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5216 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5217 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5218 ifunc tests to tests-internal.
5219 Don't add $(modules-names) to test-extras.
5220 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5221 Add tst-deadline to tests-static-internal.
5222 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5223 tests-internal.
5224 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5225 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5226 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5227 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5228 tst-sem12-static, and tst-stackguard1-static to tests-internal.
5229 Link tests-internal with libpthread also.
5230 Don't add $(modules-names) to test-extras.
5231 * nss/Makefile: Move tst-field to tests-internal.
5232 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5233 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5234 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5235 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5236 tests-internal.
5237 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5238 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5239 test-get_hwcap-static to tests-internal.
5240 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5241 tests-internal.
5242 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5243 modules-names-tests.
5244
5245 2017-05-11 Zack Weinberg <zackw@panix.com>
5246
5247 * libio/libio.h: Condition dummy definition of _IO_lock_t on
5248 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5249 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5250 _IO_funlockfile, and _IO_ftrylockfile. Only define
5251 _IO_cleanup_region_start and _IO_cleanup_region_end if not
5252 already defined.
5253 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5254 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5255 appropriately.
5256 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5257 Define _IO_lock_t_defined after defining _IO_lock_t.
5258
5259 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5260
5261 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5262 void* for argument type and use VDSO_SYMBOL macro.
5263 (is_sigtramp_address_rt): Likewise.
5264 (__backtrace): Setup expected frame pointer address for signal
5265 handling.
5266 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5267 void* for argumetn type and use VSDO_SYMBOL macro.
5268 (__backtrace): Setup expected frame pointer address for signal
5269 handling.
5270
5271 * sysdeps/unix/sysv/linux/writev.c: New file.
5272
5273 * sysdeps/unix/sysv/linux/readv.c: New file.
5274
5275 * include/unistd.h (write): Add hidden proto.
5276 * io/Makefile (CFLAGS-write.c): New define.
5277 * nptl/Makefile (CFLAGS-write.c): Likewise.
5278 * sysdeps/unix/sysv/linux/write.c: New file.
5279
5280 [BZ #21428]
5281 * include/unistd.h (read): Add hidden proto.
5282 * io/Makefile (CFLAGS-read.c): New define.
5283 * nptl/Makefile (CFLAGS-read.c): Likewise.
5284 * sysdeps/unix/sysv/linux/read.c: New file.
5285
5286 * io/Makefile (CFLAGS-creat.c): New rule.
5287 (CFLAGS-creat64.c): Likewise.
5288 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5289 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5290 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5291 * sysdeps/unix/sysv/linux/creat.c: New file.
5292 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5293 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5294 auto-generated list.
5295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5296
5297 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5298 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5299 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5300 * sysdeps/unix/sysv/linux/open.c: New file.
5301 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5302 iff __WORDSIZE != 64 and use __NR_openat when available.
5303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5304 from auto-generated list.
5305
5306 * nptl/Makefile (CFLAGS-close.c): New flag.
5307 * sysdeps/unix/sysv/linux/close.c: New file.
5308
5309 2017-05-11 DJ Delorie <dj@redhat.com>
5310
5311 * MAINTAINERS: New. Points to wiki.
5312
5313 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5314
5315 * scripts/gen-tunables.awk: Add attribute_relro to
5316 tunable_list.
5317
5318 2017-05-11 Joseph Myers <joseph@codesourcery.com>
5319
5320 [BZ #21457]
5321 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5322 (R1): Likewise.
5323 (R2): Likewise.
5324 (R3): Likewise.
5325 (R4): Likewise.
5326 (R5): Likewise.
5327 (R6): Likewise.
5328 (R7): Likewise.
5329 (R8): Likewise.
5330 (R9): Likewise.
5331 (R10): Likewise.
5332 (R11): Likewise.
5333 (R12): Likewise.
5334 (R13): Likewise.
5335 (R14): Likewise.
5336 (R15): Likewise.
5337 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5338 (REG_FS): Likewise.
5339 (REG_ES): Likewise.
5340 (REG_DS): Likewise.
5341 (REG_EDI): Likewise.
5342 (REG_ESI): Likewise.
5343 (REG_EBP): Likewise.
5344 (REG_ESP): Likewise.
5345 (REG_EBX): Likewise.
5346 (REG_EDX): Likewise.
5347 (REG_ECX): Likewise.
5348 (REG_EAX): Likewise.
5349 (REG_TRAPNO): Likewise.
5350 (REG_ERR): Likewise.
5351 (REG_EIP): Likewise.
5352 (REG_CS): Likewise.
5353 (REG_EFL): Likewise.
5354 (REG_UESP): Likewise.
5355 (REG_SS): Likewise.
5356 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5357 (R_D1): Likewise.
5358 (R_D2): Likewise.
5359 (R_D3): Likewise.
5360 (R_D4): Likewise.
5361 (R_D5): Likewise.
5362 (R_D6): Likewise.
5363 (R_D7): Likewise.
5364 (R_A0): Likewise.
5365 (R_A1): Likewise.
5366 (R_A2): Likewise.
5367 (R_A3): Likewise.
5368 (R_A4): Likewise.
5369 (R_A5): Likewise.
5370 (R_A6): Likewise.
5371 (R_A7): Likewise.
5372 (R_SP): Likewise.
5373 (R_PC): Likewise.
5374 (R_PS): Likewise.
5375 (fpregset_t): Likewise.
5376 (MCONTEXT_VERSION): Likewise.
5377 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5378 (CTX_AT): Likewise.
5379 (CTX_V0): Likewise.
5380 (CTX_V1): Likewise.
5381 (CTX_A0): Likewise.
5382 (CTX_A1): Likewise.
5383 (CTX_A2): Likewise.
5384 (CTX_A3): Likewise.
5385 (CTX_T0): Likewise.
5386 (CTX_T1): Likewise.
5387 (CTX_T2): Likewise.
5388 (CTX_T3): Likewise.
5389 (CTX_T4): Likewise.
5390 (CTX_T5): Likewise.
5391 (CTX_T6): Likewise.
5392 (CTX_T7): Likewise.
5393 (CTX_S0): Likewise.
5394 (CTX_S1): Likewise.
5395 (CTX_S2): Likewise.
5396 (CTX_S3): Likewise.
5397 (CTX_S4): Likewise.
5398 (CTX_S5): Likewise.
5399 (CTX_S6): Likewise.
5400 (CTX_S7): Likewise.
5401 (CTX_T8): Likewise.
5402 (CTX_T9): Likewise.
5403 (CTX_K0): Likewise.
5404 (CTX_K1): Likewise.
5405 (CTX_GP): Likewise.
5406 (CTX_SP): Likewise.
5407 (CTX_S8): Likewise.
5408 (CTX_RA): Likewise.
5409 (CTX_MDLO): Likewise.
5410 (CTX_MDHI): Likewise.
5411 (CTX_CAUSE): Likewise.
5412 (CTX_EPC): Likewise.
5413 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5414 inclusion of <sys/procfs.h> on [__USE_MISC].
5415 (greg_t): Condition on [__USE_MISC].
5416 (gregset_t): Likewise.
5417 (fpregset_t): Likewise.
5418 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5419 (NGREG): Likewise.
5420 (gregset_t): Likewise.
5421 (REG_R0): Likewise.
5422 (REG_R1): Likewise.
5423 (REG_R2): Likewise.
5424 (REG_R3): Likewise.
5425 (REG_R4): Likewise.
5426 (REG_R5): Likewise.
5427 (REG_R6): Likewise.
5428 (REG_R7): Likewise.
5429 (REG_R8): Likewise.
5430 (REG_R9): Likewise.
5431 (REG_R10): Likewise.
5432 (REG_R11): Likewise.
5433 (REG_R12): Likewise.
5434 (REG_R13): Likewise.
5435 (REG_R14): Likewise.
5436 (REG_R15): Likewise.
5437 (struct _libc_fpstate): Likewise.
5438 (fpregset_t): Likewise.
5439 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5440 (NFPREG): Likewise.
5441 (gregset_t): Likewise.
5442 (fpregset_t): Likewise.
5443 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5444 (R_D1): Likewise.
5445 (R_D2): Likewise.
5446 (R_D3): Likewise.
5447 (R_D4): Likewise.
5448 (R_D5): Likewise.
5449 (R_D6): Likewise.
5450 (R_D7): Likewise.
5451 (R_A0): Likewise.
5452 (R_A1): Likewise.
5453 (R_A2): Likewise.
5454 (R_A3): Likewise.
5455 (R_A4): Likewise.
5456 (R_A5): Likewise.
5457 (R_A6): Likewise.
5458 (R_A7): Likewise.
5459 (R_SP): Likewise.
5460 (R_PC): Likewise.
5461 (R_PS): Likewise.
5462 (fpregset_t): Likewise.
5463 (MCONTEXT_VERSION): Likewise.
5464 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5465 Likewise.
5466 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5467 (REG_R1): Likewise.
5468 (REG_R2): Likewise.
5469 (REG_R3): Likewise.
5470 (REG_R4): Likewise.
5471 (REG_R5): Likewise.
5472 (REG_R6): Likewise.
5473 (REG_R7): Likewise.
5474 (REG_R8): Likewise.
5475 (REG_R9): Likewise.
5476 (REG_R10): Likewise.
5477 (REG_R11): Likewise.
5478 (REG_R12): Likewise.
5479 (REG_R13): Likewise.
5480 (REG_R14): Likewise.
5481 (REG_R15): Likewise.
5482 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5483 of <arch/abi.h> on [__USE_MISC].
5484 (greg_t): Condition on [__USE_MISC].
5485 (NGREG): Likewise.
5486 (gregset_t): Likewise.
5487
5488 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5489
5490 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5491 (__pthread_rwlock_arch_t): Remove __data definition.
5492 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5493 (__pthread_rwlock_arch_t): Likewise.
5494
5495 2017-05-11 Florian Weimer <fweimer@redhat.com>
5496
5497 * resolv/inet_pton.c: Reformat in GNU style. Remove
5498 internal_function on static functions.
5499
5500 2017-05-11 Florian Weimer <fweimer@redhat.com>
5501
5502 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5503 from format_ai_flags.
5504 (format_ai_flags): New function. Incorporate flag formatting code
5505 from format_ai_one.
5506 (format_ai_canonname): New function.
5507 (format_ai_one): Remove flags parameter.
5508 (format_ai_family): Likewise.
5509 (support_format_addrinfo): Call format_ai_flags,
5510 format_ai_canonname.
5511 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5512 check_ai.
5513 (check_ai): Call check_ai_hints.
5514 (do_test): Add AI_CANONNAME tests.
5515
5516 2017-05-11 Florian Weimer <fweimer@redhat.com>
5517
5518 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5519 (gaih_inet): Likewise.
5520
5521 2017-05-10 Andreas Schwab <schwab@suse.de>
5522
5523 * nptl/tst-fork1.c: Include <support/test-driver.c>.
5524 (main): Rename to do_test and make static.
5525
5526 2017-05-10 Joseph Myers <joseph@codesourcery.com>
5527
5528 * string/rawmemchr.c: Include <libc-diag.h>.
5529 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5530 with size (size_t)-1.
5531
5532 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5533
5534 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5535 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5536 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5537
5538 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5539 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5540 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5541 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5542 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5543 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5544 * sysdeps/unix/sysv/linux/kernel-features.h
5545 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5546 socket syscalls.
5547 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5548 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5549 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5550 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5551 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5553 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5554 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5555 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5556 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5557 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5559 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5560 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5561 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5562
5563 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5564
5565 * posix/Makefile (headers): Add pthreadtypes-arch.h and
5566 thread-shared-types.h.
5567 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5568 specific thread definition.
5569 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5570 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5571 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5572 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5573 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5574 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5575 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5576 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5577 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5578 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5579 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5580 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5581 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5582 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5583 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5584 thread definition between POSIX and C11.
5585 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5586 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5587 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5588 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5589 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5590 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5591 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5592 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5593 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5594 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5595 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5596 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5597 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5598 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5599 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5600 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5601 definitions shared across all architectures.
5602
5603 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5604
5605 * sysdeps/unix/sysv/linux/kernel-features.h
5606 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5607 (__ASSUME_SENDMMSG): Likewise.
5608 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5609 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5610 sendmmsg syscall if that can be assumed to be present, socketcall
5611 otherwise, with no fallback for runtime failure.
5612
5613 * sysdeps/unix/sysv/linux/kernel-features.h
5614 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5615 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5616 (__ASSUME_RECVMMSG): Likewise.
5617 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5618 recvmmsg syscall if it can be assumed to be present, socketcall
5619 otherwise, with no fallback for runtime failure.
5620
5621 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5622 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5623
5624 * bits/libc-header-start.h:
5625 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5626 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5627 * manual/creature.texi: Likewise.
5628
5629 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5630 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5631
5632 * math/Makefile:
5633 (type-float128-suffix): New variable
5634 (type-float128-routines): Likewise
5635 (type-float128-yes): Likewise
5636 (types): Append float128 if supported
5637 (types-basic): New variable to control the use of templates for
5638 float, double, and long double, but not for float128 or newer types.
5639 (type-basic-foreach): Likewise.
5640
5641 * sysdeps/ieee754/float128/Makeconfig: New file.
5642 * sysdeps/ieee754/float128/Versions: New file.
5643
5644 2017-05-09 Joseph Myers <joseph@codesourcery.com>
5645
5646 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5647 Remove macro.
5648 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5649 prlimit64 is always available and does not give an ENOSYS error.
5650 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5651 unconditional.
5652 [!__NR_prlimit64]: Remove conditional code.
5653 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5654 prlimit64 is always available and does not give an ENOSYS error.
5655 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5656
5657 2017-05-09 Zack Weinberg <zackw@panix.com>
5658
5659 * sunrpc/tst-xdrmem2.c: Include stdint.h.
5660
5661 2017-05-09 Florian Weimer <fweimer@redhat.com>
5662
5663 [BZ #21474]
5664 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5665 (__res_maybe_init): Likewise.
5666
5667 2017-05-09 Zack Weinberg <zackw@panix.com>
5668
5669 * extra-modules.mk: Delete file.
5670 * cppflags-iterator.mk: Rename to ...
5671 * libof-iterator.mk: ...this. Adjust comments.
5672
5673 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5674 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5675 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5676 Use libof-iterator.mk instead of cppflags-iterator.mk or
5677 extra-modules.mk.
5678
5679 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5680 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5681
5682 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5683
5684 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5685
5686 2017-05-08 Carlos O'Donell <carlos@redhat.com>
5687
5688 * stdio-common/vfprintf.c (EXTSIZ): Define.
5689 (vfprintf): Use EXTSIZ.
5690 (printf_positional): Likewise.
5691
5692 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5693
5694 * sysdeps/unix/sysv/linux/kernel-features.h
5695 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5696 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5697 <kernel-features.h>.
5698 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5699
5700 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5701 (__ASSUME_GETCPU_SYSCALL): Remove macro.
5702
5703 2017-05-08 Florian Weimer <fweimer@redhat.com>
5704
5705 Prevent multiple deletion of temporary files.
5706 * support/temp_file.c (struct temp_name_list): Add owner member.
5707 (add_temp_file): Record owner.
5708 (support_delete_temp_files): Delete file only if owner matches.
5709 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5710 (do_prepare): Use create_temp_file instead of add_temp_file.
5711 Initialize temp_fd1, temp_fd2.
5712 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5713 framework remove the temporary files.
5714 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5715 (do_prepare): Use create_temp_file instead of add_temp_file.
5716 Initialize temp_fd1, temp_fd2, temp_fd3.
5717 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
5718 the test framework remove the temporary files.
5719 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5720 deletion.
5721 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5722 temporary directory. It is removed by the test framework.
5723 * dirent/tst-scandir.c (do_test): Likewise.
5724
5725 2017-05-08 Florian Weimer <fweimer@redhat.com>
5726
5727 Delete temporary files in LIFO order.
5728 * support/temp_file.c (struct temp_name_list): Replace q member
5729 with next.
5730 (add_temp_file): Add new file to front of linked list.
5731 (support_delete_temp_files): Use next member.
5732 (support_print_temp_files): Likewise.
5733
5734 2017-05-08 Florian Weimer <fweimer@redhat.com>
5735
5736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5737 sys/ultrasound.h.
5738 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5739
5740 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5741
5742 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5743 Remove.
5744 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5745 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5746 (arch_minimum_kernel): Remove.
5747 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5748 * README: Update statement about Linux kernel requirements.
5749
5750 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5751
5752 * manual/llio.texi: Add preadv and pwritev documentation.
5753
5754 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5755
5756 [BZ #21455]
5757 * bits/stdint-intn.h: New file.
5758 * bits/stdint-uintn.h: Likewise.
5759 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5760 bits/stdint-uintn.h.
5761 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5762 <stdint.h>.
5763 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5764 (__int8_t_defined): Do not define here.
5765 (int8_t): Likewise.
5766 (int16_t): Likewise.
5767 (int32_t): Likewise.
5768 (int64_t): Likewise.
5769 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5770 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5771 <stdint.h>.
5772 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5773 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5774 <bits/stdint-uintn.h>.
5775 (int8_t): Do not define here.
5776 (int16_t): Likewise.
5777 (int32_t): Likewise.
5778 (int64_t): Likewise.
5779 (uint8_t): Likewise.
5780 (uint16_t): Likewise.
5781 (uint32_t): Likewise.
5782 (uint64_t): Likewise.
5783 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5784 variable.
5785 (test-xfail-XPG42/netdb.h/conform): Likewise.
5786 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5787 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5788 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5789 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5790
5791 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5792
5793 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5794 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5795 the above.
5796 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5798
5799 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5800
5801 [BZ #21445]
5802 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5803
5804 [BZ #21457]
5805 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5806 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5807 __glibc_reserved1.
5808 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5809 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5810 (struct _fpxreg): Likewise.
5811 [!__x86_64__] (struct _fpstate): Rename field reserved to
5812 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5813 [__x86_64__] (struct _fpstate): Rename field padding to
5814 __glibc_reserved1.
5815 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5816 Rename field reserved2 to __glibc_reserved2.
5817 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5818 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5819 __glibc_reserved1.
5820 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5821 __glibc_reserved1.
5822
5823 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5824
5825 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5826 variable name.
5827
5828 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5829
5830 [BZ #21391]
5831 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5832 Only call init_cpu_features.
5833 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5834 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5835 * sysdeps/i386/dl-procinfo.h: Removed.
5836 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5837 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5838 <sysdeps/x86/dl-procinfo.h>.
5839 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5840 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5841 Include <sysdeps/x86/dl-procinfo.h> instead of
5842 <sysdeps/generic/dl-procinfo.h>.
5843 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5844 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5845 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5846 (bit_cpu_MOVBE): Likewise.
5847 (bit_cpu_BMI1): Likewise.
5848 (bit_cpu_BMI2): Likewise.
5849 (index_cpu_BMI1): Likewise.
5850 (index_cpu_BMI2): Likewise.
5851 (index_cpu_LZCNT): Likewise.
5852 (index_cpu_MOVBE): Likewise.
5853 (index_cpu_POPCNT): Likewise.
5854 (reg_BMI1): Likewise.
5855 (reg_BMI2): Likewise.
5856 (reg_LZCNT): Likewise.
5857 (reg_MOVBE): Likewise.
5858 (reg_POPCNT): Likewise.
5859 * sysdeps/x86/dl-hwcap.h: New file.
5860 * sysdeps/x86/dl-procinfo.h: Likewise.
5861 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5862 (_dl_x86_platforms): Likewise.
5863
5864 2017-05-03 DJ Delorie <dj@redhat.com>
5865
5866 [BZ #21411]
5867 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5868
5869 2017-05-03 Phil Blundell <pb@pbcl.net>
5870
5871 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5872 comments.
5873
5874 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5875
5876 [BZ #20116]
5877 * nptl/pthread_create.c: Expand comments to describe
5878 semaphore-like and mutex-like uses of PD->lock.
5879
5880 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5881
5882 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5883 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5884 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5885 auto-generation list.
5886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5887 epoll_wait.
5888 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5889 Remove epoll_wait.
5890
5891 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5892 osf_select.
5893 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5894 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5895 osf_select from auto-generation list.
5896 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5897 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5898 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5899 * sysdeps/unix/sysv/linux/select.c: New file.
5900
5901 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5902 * sysdeps/unix/sysv/linux/poll.c: New file.
5903 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5904 auto-generation list.
5905
5906 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5907
5908 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5909 New macro.
5910
5911 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5912
5913 [BZ #21179]
5914 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5915 R_SPARC_REGISTER relocations.
5916
5917 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5918
5919 * include/unistd.h (__pread): Add libc_hidden_proto.
5920 (__pread64): Likewise.
5921 (__pwrite): Likewise.
5922 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5923 (__pread64): Remove.
5924 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5925 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5926 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5927
5928 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5929
5930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5931
5932 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5933
5934 * nptl/tst-cancel4-common.c: Use libsupport.
5935 * nptl/tst-cancel4-common.h: Likewise.
5936 * nptl/tst-cancel4.c (tf_read): Likewise.
5937 (tf_readv): Likewise.
5938 (tf_write): Likewise.
5939 (tf_writev): Likewise.
5940 (tf_sleep): Likewise.
5941 (tf_usleep): Likewise.
5942 (tf_nanosleep): Likewise.
5943 (tf_select): Likewise.
5944 (tf_pselect): Likewise.
5945 (tf_poll): Likewise.
5946 (tf_ppoll): Likewise.
5947 (tf_wait): Likewise.
5948 (tf_waitpid): Likewise.
5949 (tf_waitid): Likewise.
5950 (tf_sigpause): Likewise.
5951 (tf_sigsuspend): Likewise.
5952 (tf_sigwait): Likewise.
5953 (tf_sigwaitinfo): Likewise.
5954 (tf_sigtimedwait): Likewise.
5955 (tf_pause): Likewise.
5956 (tf_accept): Likewise.
5957 (tf_send): Likewise.
5958 (tf_recv): Likewise.
5959 (tf_recvfrom): Likewise.
5960 (tf_recvmsg): Likewise.
5961 (tf_open): Likewise.
5962 (tf_close): Likewise.
5963 (tf_pread): Likewise.
5964 (tf_pwrite): Likewise.
5965 (tf_preadv): Likewise.
5966 (tf_pwritev): Likewise.
5967 (tf_fsync): Likewise.
5968 (tf_fdatasync): Likewise.
5969 (tf_msync): Likewise.
5970 (tf_sendto): Likewise.
5971 (tf_sendmsg): Likewise.
5972 (tf_creat): Likewise.
5973 (tf_connect): Likewise.
5974 (tf_tcdrain): Likewise.
5975 (tf_msgrcv): Likewise.
5976 (tf_msgsnd): Likewise.
5977 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5978 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5979
5980 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5981 expected arguments.
5982 (do_test): Adapt to use libsupport.
5983
5984 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5985
5986 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5987
5988 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5989 (PF_MAX): Set to 44.
5990 (AF_SMC): New macro.
5991
5992 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5993 kernel version to 4.11.
5994
5995 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5996
5997 [BZ #21280]
5998 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5999 signal of subnormals and adjust the exponent of power of 2 down
6000 when low part has opposite sign.
6001
6002 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6003
6004 * sysdeps/powerpc/powerpc64le/Implies: New file.
6005 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6006 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6007 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6008 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6009 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6010 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6011 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6012 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6013 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6014 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6015 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6016 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6017 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6018 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6019 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6020 * sysdeps/powerpc/preconfigure: New file.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6023
6024 2017-04-28 Joseph Myers <joseph@codesourcery.com>
6025
6026 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6027 inclusion.
6028 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6029 Remove.
6030
6031 2017-04-27 Joseph Myers <joseph@codesourcery.com>
6032
6033 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6034 (XPG3): Rename standard to XPG4.
6035 * conform/Makefile: Likewise.
6036 * conform/list-header-symbols.pl: Likewise.
6037 * conform/data/aio.h-data: Likewise.
6038 * conform/data/arpa/inet.h-data: Likewise.
6039 * conform/data/complex.h-data: Likewise.
6040 * conform/data/ctype.h-data: Likewise.
6041 * conform/data/dlfcn.h-data: Likewise.
6042 * conform/data/fcntl.h-data: Likewise.
6043 * conform/data/fenv.h-data: Likewise.
6044 * conform/data/float.h-data: Likewise.
6045 * conform/data/fmtmsg.h-data: Likewise.
6046 * conform/data/ftw.h-data: Likewise.
6047 * conform/data/grp.h-data: Likewise.
6048 * conform/data/inttypes.h-data: Likewise.
6049 * conform/data/iso646.h-data: Likewise.
6050 * conform/data/langinfo.h-data: Likewise.
6051 * conform/data/libgen.h-data: Likewise.
6052 * conform/data/limits.h-data: Likewise.
6053 * conform/data/locale.h-data: Likewise.
6054 * conform/data/math.h-data: Likewise.
6055 * conform/data/mqueue.h-data: Likewise.
6056 * conform/data/ndbm.h-data: Likewise.
6057 * conform/data/net/if.h-data: Likewise.
6058 * conform/data/netdb.h-data: Likewise.
6059 * conform/data/netinet/in.h-data: Likewise.
6060 * conform/data/poll.h-data: Likewise.
6061 * conform/data/pthread.h-data: Likewise.
6062 * conform/data/pwd.h-data: Likewise.
6063 * conform/data/sched.h-data: Likewise.
6064 * conform/data/search.h-data: Likewise.
6065 * conform/data/semaphore.h-data: Likewise.
6066 * conform/data/signal.h-data: Likewise.
6067 * conform/data/spawn.h-data: Likewise.
6068 * conform/data/stdbool.h-data: Likewise.
6069 * conform/data/stdint.h-data: Likewise.
6070 * conform/data/stdio.h-data: Likewise.
6071 * conform/data/stdlib.h-data: Likewise.
6072 * conform/data/string.h-data: Likewise.
6073 * conform/data/strings.h-data: Likewise.
6074 * conform/data/stropts.h-data: Likewise.
6075 * conform/data/sys/mman.h-data: Likewise.
6076 * conform/data/sys/resource.h-data: Likewise.
6077 * conform/data/sys/select.h-data: Likewise.
6078 * conform/data/sys/socket.h-data: Likewise.
6079 * conform/data/sys/stat.h-data: Likewise.
6080 * conform/data/sys/statvfs.h-data: Likewise.
6081 * conform/data/sys/time.h-data: Likewise.
6082 * conform/data/sys/timeb.h-data: Likewise.
6083 * conform/data/sys/types.h-data: Likewise.
6084 * conform/data/sys/uio.h-data: Likewise.
6085 * conform/data/sys/un.h-data: Likewise.
6086 * conform/data/sys/wait.h-data: Likewise.
6087 * conform/data/syslog.h-data: Likewise.
6088 * conform/data/termios.h-data: Likewise.
6089 * conform/data/tgmath.h-data: Likewise.
6090 * conform/data/time.h-data: Likewise.
6091 * conform/data/ucontext.h-data: Likewise.
6092 * conform/data/unistd.h-data: Likewise.
6093 * conform/data/utmpx.h-data: Likewise.
6094 * conform/data/varargs.h-data: Likewise.
6095 * conform/data/wchar.h-data: Likewise.
6096 * conform/data/wctype.h-data: Likewise.
6097
6098 2017-04-26 Joseph Myers <joseph@codesourcery.com>
6099
6100 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6101 version to 7 branch.
6102
6103 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
6104
6105 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6106 earlyclobber to output operand of sqrt insn.
6107 (__ieee754_sqrtf): Ditto.
6108
6109 2017-04-25 Joseph Myers <joseph@codesourcery.com>
6110
6111 [BZ #21426]
6112 * misc/bits/types/struct_iovec.h: New file.
6113 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6114 * include/bits/types/struct_iovec.h: New file.
6115 * bits/uio.h (struct iovec): Replace by inclusion of
6116 <bits/types/struct_iovec.h>.
6117 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6118 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6119 of <sys/uio.h>.
6120 * nptl/tst-cancel4.c: Include <sys/uio.h>
6121 * posix/test-errno.c: Likewise.
6122 * support/resolv_test.c: Likewise.
6123 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6124 Remove.
6125 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6126 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6127 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6128
6129 * conform/data/sys/socket.h-data (*_t): Allow.
6130
6131 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6132
6133 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6134 assignment.
6135
6136 2017-04-24 Daurnimator <quae@daurnimator.com>
6137 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6138
6139 [BZ #21340]
6140 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6141 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6142 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6143 valid flags.
6144 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6145 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6146 POSIX_SPAWN_SETSID.
6147 * sysdeps/posix/spawni.c (__spawni): Likewise.
6148 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6149 * NEWS: Add note about POSIX_SPAWN_SETSID support.
6150
6151 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6152
6153 * sysdeps/generic/math_private.h: Move the declaration of many
6154 functions to sysdeps/generic/math_private_calls.h.
6155 * sysdeps/generic/math_private_calls.h: New file with the
6156 declarations of the functions removed from math_private.h
6157 macroized by floating-point type.
6158
6159 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6160
6161 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6162 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6163 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6164 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6165 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6166 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6167
6168 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6169
6170 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6171 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6172 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6173 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6174 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6175 New Define.
6176
6177 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6178
6179 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6180 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6181 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6182 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6183 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6184 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6185
6186 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6187
6188 * sysdeps/s390/multiarch/ifunc-resolve.h
6189 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6190 * sysdeps/s390/multiarch/8bit-generic.c
6191 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6192 define ifunc resolvers.
6193
6194 2017-04-21 Florian Weimer <fweimer@redhat.com>
6195
6196 [BZ #20424]
6197 * manual/memory.texi (Replacing malloc): New section.
6198 (Allocating Storage For Program Data): Reference it.
6199 (The GNU Allocator): Likewise.
6200
6201 2017-04-20 Joseph Myers <joseph@codesourcery.com>
6202
6203 * stdlib/Versions (__strtod_internal): List explicitly, not as
6204 wildcard.
6205 (__strtof_internal): Likewise.
6206 (__strtold_internal): Likewise.
6207 (__strtol_internal): Likewise.
6208 (__strtoll_internal): Likewise.
6209 (__strtoul_internal): Likewise.
6210 (__strtoull_internal): Likewise.
6211 (__strtoq_internal): Likewise.
6212 (__strtouq_internal): Likewise.
6213 * wcsmbs/Versions (__wcstod_internal): Likewise.
6214 (__wcstof_internal): Likewise.
6215 (__wcstold_internal): Likewise.
6216 (__wcstol_internal): Likewise.
6217 (__wcstoll_internal): Likewise.
6218 (__wcstoul_internal): Likewise.
6219 (__wcstoull_internal): Likewise.
6220
6221 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6222
6223 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6224 struct timespec definition.
6225
6226 2017-04-19 Florian Weimer <fweimer@redhat.com>
6227
6228 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6229
6230 2017-04-19 Florian Weimer <fweimer@redhat.com>
6231
6232 * inet/rcmd.c (rresvport_af): Fix typo in comment.
6233 * inet/rexec.c (rexec_af): Likewise.
6234
6235 2017-04-19 Zack Weinberg <zackw@panix.com>
6236
6237 * posix/tst-mmap-offset.c: Include stdint.h.
6238 * resolv/tst-ns_name_compress.c: Include string.h.
6239 * resolv/tst-resolv-edns.c: Include resolv.h.
6240
6241 2017-04-19 Florian Weimer <fweimer@redhat.com>
6242
6243 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6244 with __glibc_likely.
6245 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6246 Replace __builtin_expect with __glibc_unlikely.
6247 * resolv/res_init.c (__res_vinit): Likewise.
6248 * resolv/res_query.c (__libc_res_nquery): Likewise.
6249 * resolv/res_send.c (__libc_res_nsend): Likewise.
6250
6251 2017-04-19 Florian Weimer <fweimer@redhat.com>
6252
6253 [BZ #15722]
6254 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6255 with SOCK_CLOEXEC.
6256 * resolv/res_send.c (send_vc, reopen): Likewise.
6257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6258 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6259 Likewise.
6260 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6261 * inet/rexec.c (rexec_af): Add comment.
6262 * inet/rcmd.c (rresvport_af): Likewise.
6263
6264 2017-04-19 Florian Weimer <fweimer@redhat.com>
6265
6266 * nscd/connections.c (have_accept4): Removed definition.
6267 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6268 accept4 works.
6269 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6270 ia64 because that was the first version with accept4 support.
6271 * support/Makefile (libsupport-routines): Add xaccept4.
6272 * support/xsocket.h (xaccept4): Declare.
6273 * support/xaccept4.c: New file.
6274 * socket/tst-accept4.c: New file.
6275 * socket/Makefile (tests): Add tst-accept4.
6276 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6277 definition.
6278 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6279 comment.
6280 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6281 implementation is available.
6282 (accept4): Use the system call if available, otherwise use the
6283 socket call.
6284 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6285 Set to 3.2.18.
6286 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6287 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6288 accept4 is unconditionally available in later 3.2 stable kernels.
6289 (__ASSUME_ACCEPT4_SYSCALL): Define.
6290 * sysdeps/unix/sysv/linux/kernel-features.h
6291 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6292 definitions.
6293 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6294 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6295
6296 2017-04-18 Joseph Myers <joseph@codesourcery.com>
6297
6298 * conform/Makefile (tests-special): Do not make addition of
6299 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6300 (generated): Do not make addition of $(conformtest-header-base)
6301 conditional on [$(cross-compiling) = no].
6302
6303 [BZ #21267]
6304 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6305 if defined by <asm/socket.h> and not previously defined.
6306 (IOCSIZE_SHIFT): Likewise.
6307 (IOC_IN): Likewise.
6308 (IOC_INOUT): Likewise.
6309 (IOC_OUT): Likewise.
6310
6311 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6312
6313 [BZ #21396]
6314 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6315 Prefer_No_AVX512 if AVX512ER isn't available.
6316 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6317 (index_arch_Prefer_No_AVX512): Likewise.
6318 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6319 AVX512 version if Prefer_No_AVX512 is set.
6320 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6321 Likewise.
6322 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6323 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6324 Likewise.
6325 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6326 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6327 Likewise.
6328 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6329 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6330 Likewise.
6331
6332 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
6333
6334 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6335 Prefer_No_VZEROUPPER if AVX512ER is available.
6336 * sysdeps/x86/cpu-features.h
6337 (bit_cpu_AVX512PF): New.
6338 (bit_cpu_AVX512ER): Likewise.
6339 (bit_cpu_AVX512CD): Likewise.
6340 (bit_cpu_AVX512BW): Likewise.
6341 (bit_cpu_AVX512VL): Likewise.
6342 (index_cpu_AVX512PF): Likewise.
6343 (index_cpu_AVX512ER): Likewise.
6344 (index_cpu_AVX512CD): Likewise.
6345 (index_cpu_AVX512BW): Likewise.
6346 (index_cpu_AVX512VL): Likewise.
6347 (reg_AVX512PF): Likewise.
6348 (reg_AVX512ER): Likewise.
6349 (reg_AVX512CD): Likewise.
6350 (reg_AVX512BW): Likewise.
6351 (reg_AVX512VL): Likewise.
6352
6353 2017-04-18 Florian Weimer <fweimer@redhat.com>
6354
6355 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6356 O_CLOEXEC is defined.
6357 * include/fcntl.h (__have_o_cloexec): Remove declaration.
6358 * io/Makefile (aux): Remove.
6359 * io/have_o_cloexec.c: Remove file.
6360 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6361 defined and works.
6362 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6363 defined.
6364 * login/utmp_file.c (O_flags): Remove definition.
6365 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
6366 O_CLOEXEC works.
6367 (pututline_file): Likewise.
6368 * malloc/mtrace.c: Assume that O_CLOEXEC works.
6369 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6370 definition.
6371 (internal_setgrent): Assume that O_CLOEXEC works.
6372 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6373 Remove definition.
6374 (internal_setgrent): Assume that O_CLOEXEC works.
6375 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6376 definition.
6377 (internal_setpwent): Assume that O_CLOEXEC works.
6378 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6379 definition.
6380 (internal_setspent): Assume that O_CLOEXEC works.
6381 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6382 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
6383 O_CLOEXEC is defined and works.
6384 * nss/Makefile (libnss_files-routines): Remove
6385 files-have_o_cloexec.
6386 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6387 defined.
6388 * nss/nss_files/files-XXX.c (internal_setent): Assume that
6389 O_CLOEXEC is defined and works.
6390 * nss/nss_files/files-alias.c (internal_setent): Likewise.
6391 * nss/nss_files/files-have_o_cloexec.c: Remove.
6392 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6393 defined.
6394 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6395 and works.
6396 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6397 definition.
6398 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6399 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6400 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6401 (__opendirat, __opendir): Adjust opendir_oflags call.
6402 (check_have_o_cloexec): Remove.
6403 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6404 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6405 defined.
6406 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6407 Remove definition.
6408
6409 2017-04-18 Florian Weimer <fweimer@redhat.com>
6410
6411 * include/unistd.h (__have_dup3): Remove declaration.
6412 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6413 dup3 is available.
6414 * libio/freopen64.c (freopen64): Likewise.
6415 * socket/Makefile (aux): Remove have_sock_cloexec.
6416 * socket/have_sock_cloexec.c: Remove file.
6417 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6418 definition.
6419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6420 Likewise.
6421 * sysdeps/nacl/kernel-features.h: Update comment.
6422
6423 2017-04-18 Florian Weimer <fweimer@redhat.com>
6424
6425 * include/unistd.h (__have_pipe2): Remove declaration.
6426 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6427 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6428 available.
6429 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6431 Remove definition.
6432
6433 2017-04-18 Florian Weimer <fweimer@redhat.com>
6434
6435 * malloc/malloc.c (cfree): Turn into compat symbol.
6436 (__cfree): Remove alias.
6437 * stdlib/stdlib.h (cfree): Remove declaration.
6438 * malloc/malloc.h (cfree): Likewise.
6439 * manual/memory.texi (Freeing after Malloc): Remove cfree.
6440 * malloc/Versions (GLIBC_2.26): Add.
6441
6442 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6443
6444 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6445 (sysdep_routines): Add strrchr-power8.
6446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6447 (strrchr): Add __strrchr_power8 to list of strrchr functions.
6448 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6449 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6450 (strrchr): Add __strrchr_power8 to ifunc list.
6451 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6452
6453 2017-04-17 Rabin Vincent <rabinv@axis.com>
6454
6455 [BZ #21357]
6456 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6457 Call free() outside of mutex.
6458
6459 2017-04-13 Florian Weimer <fweimer@redhat.com>
6460
6461 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6462 is defined.
6463 * elf/rtld.c (process_envvars): Likewise.
6464 * sysdeps/posix/shm_open.c (shm_open): Likewise.
6465 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
6466 O_NOFOLLOW directly.
6467 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6468
6469 2017-04-13 Florian Weimer <fweimer@redhat.com>
6470
6471 [BZ #21369]
6472 Remove EDNS fallback.
6473 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6474 handling.
6475 * resolv/res_send.c (send_dg): Likewise.
6476 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6477 "tcp." prefixes.
6478 (do_test): Send a "formerr."-prefixed query in an attempt to
6479 trigger EDNS fallback.
6480
6481 2017-04-13 Florian Weimer <fweimer@redhat.com>
6482
6483 [BZ #21361]
6484 Limit EDNS buffer size to 1200 bytes.
6485 * include/resolv.h (__res_nopt): Remove declaration.
6486 * resolv/Makefile (tests): tst-resolv-edns.
6487 (tst-resolv-edns): Link with -lresolv, -lpthread.
6488 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6489 interval [512, 1200].
6490 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6491 we can resize the buffer.
6492 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6493 (__res_nopt): Declare.
6494 * resolv/tst-resolv-edns.c: New file.
6495 * resolv/resolv_test.h (struct resolv_edns_info): Define.
6496 (struct resolv_response_context): Add edns member.
6497 * resolv/resolv_test.c (struct query_info): Add edns member.
6498 (parse_query): Extract EDNS information from the query.
6499 (server_thread_udp_process_one): Propagate EDNS data.
6500 (server_thread_tcp_client): Likewise.
6501
6502 2017-04-13 Florian Weimer <fweimer@redhat.com>
6503
6504 [BZ #21359]
6505 * resolv/ns_name.c (ns_name_pack): Do not require an additional
6506 byte in the destination buffer. Avoid out-of-bounds pointer
6507 arithmetic.
6508 * resolv/Makefile (tests): Add tst-ns_name_compress.
6509 (tst-ns_name_compress): Link with -lresolv.
6510 * resolv/tst-ns_name_compress.c: New file.
6511 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6512 (response): Recognize LONG_NAME.
6513 (do_test): Add LONG_NAME tests.
6514 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6515 for ns_name_unpack. Add tests for ns_name_pton and
6516 ns_name_compress.
6517
6518 2017-04-13 Florian Weimer <fweimer@redhat.com>
6519
6520 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6521 (res_nisourserver): Remove definition.
6522 (p_section, res_npquery, res_nisourserver): Remove declaration.
6523 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6524 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6525 ... here.
6526 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6527 <resolv.h>.
6528 * resolv/res_query.c: Likewise.
6529 * resolv/res_debug.c (p_section): Define as static.
6530
6531 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6532
6533 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6534 strncat-power8.
6535 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6536 __strncat_power8 to ifunc list.
6537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6538 (strncat): Add __strncat_power8 to list of strncat functions.
6539 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6540
6541 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6542
6543 [BZ #21270]
6544 * posix/tst-mmap-offset.c (do_prepare): New function.
6545 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6546 (do_test_bz21270): New function.
6547 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6548 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6549 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6550 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6551 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6552 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6553 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6554 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6555 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6556 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6557 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6559 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6560 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6561 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6562 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6563 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6564 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6565 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6566 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6567 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6568 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6569 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6570 from auto-generation list.
6571 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6573 * sysdeps/unix/sysv/linux/mmap.c: New file.
6574 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6575 offsets and support for mmap2 syscall.
6576
6577 * posix/globtest.sh: Add cleanup routine on trap 0.
6578
6579 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6580
6581 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6582 implementation-specific function name and remove unneeded
6583 macros definition.
6584 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6585 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6586 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6587 name if not defined and pass as parameter to macros accordingly.
6588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6589 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6590
6591 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6592 implementation-specific function name and remove unneeded
6593 macros definition.
6594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6599 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6600 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6601 name if not defined and pass as parameter to macros accordingly.
6602 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6603 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6604 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6605 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6606 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6607 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6608
6609 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6610 implementation-specific function name and remove unneeded macros
6611 definition.
6612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6613 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6615 function name if not defined and pass as parameter to macros
6616 accordingly.
6617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6618 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6619
6620 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6621 implementation-specific function name and remove unneeded macros
6622 definition.
6623 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6624 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6625 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6626 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6627 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6628 not defined and pass as parameter to macros accordingly.
6629 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6630 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6631 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6632 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6633
6634 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6635 strcasestr implementation name and remove unneeded macros definition.
6636 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6637 strstr implementation name and remove unneeded macros definition.
6638 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6639 name if not defined and pass as parameter to macros accordingly.
6640 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6641
6642 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6643 implementation-specific function name and remove unneeded macros
6644 definition.
6645 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6646 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6647 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6648 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6649 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6650 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6651 function name if not defined and pass as parameter to macros
6652 accordingly.
6653 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6654 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6655 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6656 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6657
6658 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6659 the strlen implementation name and remove unneeded macros definition.
6660 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6661 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6662 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6663 the strnlen implementation name and remove unneeded macros definition.
6664 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6665 name if not defined and pass as parameter to macros accordingly.
6666 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6667 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6668 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6669
6670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6671 the implementation-specific function name and remove unneeded
6672 macros definition.
6673 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6674 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6675 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6676 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6677 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6678 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6679 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6681 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6682 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6683 name if not defined and pass as parameter to macros accordingly.
6684 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6688 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6689 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6690 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6692
6693 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6694 implementation-specific function name and remove unneeded macros
6695 definition.
6696 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6697 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6698 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6699 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6700 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6701 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6702 function name if not defined.
6703 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6704 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6705
6706 2017-04-11 Paul Clarke <pc@us.ibm.com>
6707
6708 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6709 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6710 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
6711 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6712
6713 2017-04-11 Florian Weimer <fweimer@redhat.com>
6714 Zack Weinberg <zackw@panix.com>
6715
6716 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6717 readdir64 as thread-safe. Update warning about readdir_r.
6718
6719 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6720
6721 * sysdeps/unix/sysv/linux/x86/Implies: New file.
6722 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6723 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6724 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6725 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6726 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6727 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6728
6729 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6730
6731 * sysdeps/i386/dl-procinfo.c: Include
6732 <sysdeps/x86/dl-procinfo.c>.
6733 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6734 * sysdeps/x86/dl-procinfo.c: New file.
6735
6736 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6737
6738 * sysdeps/generic/math_private.h: Remove declarations of
6739 many functions that are already declared in math.h.
6740 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6741 declaration for __frexpl.
6742 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6743 the declarations for __scalbnl and fabsl.
6744
6745 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6746
6747 [BZ #20831]
6748 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6749 of __mprotect to change protection on the excess portion
6750 to disallow all access.
6751
6752 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6753
6754 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6755 HAS_CPU_FEATURE to check for SSE.
6756 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6757 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6758 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6759 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6760 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6761 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6762 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6763 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6764 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6765 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6766 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6767 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6768 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6769 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6770 (index_cpu_SSE): Likewise.
6771 (reg_SSE): Likewise.
6772
6773 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6774
6775 * posix/getopt1.c: Include <config.h>, not "config.h".
6776
6777 2017-04-07 Zack Weinberg <zackw@panix.com>
6778
6779 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6780 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6781 Mention in top-of-file boilerplate that these files are shared
6782 with gnulib.
6783 * posix/getopt.h, posix/bits/getopt_posix.h:
6784 Mention in top-of-file boilerplate that these files are NOT shared
6785 with gnulib, unlike the rest of the getopt implementation.
6786
6787 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6788 New files, intended to be shared with gnulib.
6789 * posix/bits/getopt_posix.h:
6790 New file, not intended to be shared with gnulib.
6791 * posix/getopt.h: Now just includes features.h,
6792 bits/getopt_core.h, and bits/getopt_ext.h. Will
6793 no longer be shared with gnulib.
6794 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6795 * include/bits/getopt_posix.h: New wrappers.
6796 * posix/Makefile: Install new headers.
6797 * posix/unistd.h, libio/stdio.h:
6798 Include bits/getopt_posix.h instead of getopt.h.
6799
6800 * include/libc-symbols.h: For gnulib compatibility, define
6801 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6802 _GL_ATTRIBUTE_CONST.
6803 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6804 parameters with _GL_UNUSED.
6805
6806 * posix/getopt.c: When used standalone, define __libc_use_alloca
6807 as always false and alloca to abort if called.
6808 (process_long_option): Rewrite handling of ambiguous long options
6809 to use a single boolean vector, not a linked list; use
6810 __libc_use_alloca to decide whether to allocate this using alloca.
6811 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6812
6813 * posix/getopt.c (process_long_option): New function split out
6814 from _getopt_internal_r.
6815 (_getopt_internal_r): Replace both copies of the long-option
6816 processing code with calls to process_long_option.
6817 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6818 (do_test): Differentiate argv[0] in the two subtests.
6819
6820 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6821 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6822 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6823
6824 * posix/getopt.h: Add backup definition of __nonnull for
6825 consistency with gnulib. Define __getopt_argv_const to const
6826 if not already defined.
6827 (getopt): Update doc comment from gnulib. Prototype
6828 unconditionally. Add __nonnull annotation.
6829 (__posix_getopt): Add __nonnull annotation.
6830 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6831 prototypes for consistency with gnulib. Add __nonnull
6832 annotations.
6833 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6834 (getopt_internal): Change 'argv' argument to type 'char **'.
6835 Remove now-unnecessary casts.
6836 (getopt, __posix_getopt): Eliminate repetition with a macro.
6837 Cast 'argv' to 'char **' when calling _getopt_internal.
6838 * posix/getopt1.c (getopt_long, getopt_long_only):
6839 Use __getopt_argv_const for consistency with gnulib.
6840 Cast 'argv' to 'char **' when calling _getopt_internal.
6841 (_getopt_long_r, _getopt_long_only_r):
6842 Change 'argv' argument to type 'char **'.
6843 (main): Constify 'long_options'.
6844 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6845 (_getopt_long_r, _getopt_long_only_r):
6846 Change 'argv' argument to type 'char **'.
6847
6848 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6849 (locked_vfxprintf): New helper function. Handle arbitrary
6850 multibyte strings, not just ASCII.
6851 * include/stdio.h: Declare __fxprintf_nocancel.
6852 * posix/getopt.c: When _LIBC is defined, define fprintf to
6853 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6854 to _IO_funlockfile. When neither _LIBC nor
6855 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6856 funlockfile as no-ops.
6857 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6858 the standalone error-printing code can now be used for libc as
6859 well. Add an flockfile/funlockfile pair around one case where
6860 the error message is printed in several chunks. Don't use fputc.
6861 * posix/tst-getopt-cancel.c: New test.
6862 * posix/Makefile: Run it.
6863
6864 * posix/getopt.c (_getopt_internal_r): Don't increment
6865 d->optind a second time when reporting ambiguous -W options.
6866
6867 * posix/getopt_int.h: Include getopt.h.
6868 Use impl-namespace names for all arguments to _getopt_internal and
6869 _getopt_internal_r.
6870 Declare __ordering enum outside the struct.
6871 Harmonize comments with gnulib.
6872 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6873 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6874 #ifdef TEST block and make unconditional. Do not define NULL.
6875 * posix/getopt.c: Partial merge from gnulib, covering the
6876 initial includes and global declarations, commentary, and
6877 a couple of semantically-neutral code changes.
6878
6879 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6880 Use '...' instead of `...' for quotation marks inside
6881 comments and strings.
6882
6883 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6884 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6885 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6886 * posix/getopt_int.h: Likewise.
6887 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6888 __libc_argc and __libc_argv externs, which were only used by
6889 #ifdef USE_NONOPTION_FLAGS blocks.
6890 * posix/getopt_init.c: Remove file.
6891 * posix/Makefile (routines): Remove getopt_init.
6892 * include/getopt.h: Don't declare __getopt_initialize_environment.
6893 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6894 a comment.
6895
6896 2017-04-07 Florian Weimer <fweimer@redhat.com>
6897
6898 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6899
6900 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6901
6902 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6903 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6904 to __wrap_.udiv.
6905 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6906 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6907
6908 * sysdeps/i386/symbol-hacks.h: New file.
6909 * sysdeps/m68k/symbol-hacks.h: New file.
6910 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6911 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6912 * sysdeps/unix/sysv/linux/i386/Makefile
6913 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6914 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6915 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6916 * sysdeps/unix/sysv/linux/m68k/Makefile
6917 [$(subdir) = csu] (sysdep_routines): Likewise.
6918 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6919 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6921 [$(subdir) = csu] (sysdep_routines): Likewise.
6922 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6923 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6924 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6925 [$(subdir) = csu] (sysdep_routines): Likewise.
6926 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6927 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6928 * sysdeps/wordsize-32/Makefile: Remove file.
6929 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6930 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6931
6932 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6933
6934 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6935 (TEST_FUNCTION_ARGV): New.
6936
6937 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6938
6939 * elf/next.c: Import support/test-driver.c instead of
6940 test-skeleton.c and delete TEST_FUNCTION macro definition.
6941 * elf/nodelete.c: Likewise.
6942 * elf/order2.c: Likewise.
6943 * elf/tst-_dl_addr_inside_object.c: Likewise.
6944 * elf/tst-addr1.c: Likewise.
6945 * elf/tst-align.c: Likewise.
6946 * elf/tst-align2.c: Likewise.
6947 * elf/tst-audit11.c: Likewise.
6948 * elf/tst-audit12.c: Likewise.
6949 * elf/tst-audit2.c: Likewise.
6950 * elf/tst-audit9.c: Likewise.
6951 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6952 * elf/tst-deep1.c: Likewise.
6953 * elf/tst-dl-iter-static.c: Likewise.
6954 * elf/tst-dlmodcount.c: Likewise.
6955 * elf/tst-dlmopen1.c: Likewise.
6956 * elf/tst-dlmopen2.c: Likewise.
6957 * elf/tst-dlmopen3.c: Likewise.
6958 * elf/tst-dlopen-aout.c: Likewise.
6959 * elf/tst-dlopenrpath.c: Likewise.
6960 * elf/tst-dlsym-error.c: Likewise.
6961 * elf/tst-execstack-needed.c: Likewise.
6962 * elf/tst-execstack-prog.c: Likewise.
6963 * elf/tst-execstack.c: Likewise.
6964 * elf/tst-global1.c: Likewise.
6965 * elf/tst-gnu2-tls1.c: Likewise.
6966 * elf/tst-latepthread.c: Likewise.
6967 * elf/tst-leaks1.c: Likewise.
6968 * elf/tst-linkall-static.c: Likewise.
6969 (do_test): New function.
6970 * elf/tst-nodelete-opened.c: Likewise.
6971 * elf/tst-nodelete.cc: Likewise.
6972 * elf/tst-nodelete2.c: Likewise.
6973 * elf/tst-noload.c: Likewise.
6974 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6975 * elf/tst-order-main.c: Likewise.
6976 * elf/tst-pathopt.c: Likewise.
6977 * elf/tst-pie2.c: Likewise.
6978 * elf/tst-piemod1.c: Likewise.
6979 * elf/tst-prelink.c: Likewise.
6980 * elf/tst-protected1a.c: Likewise.
6981 * elf/tst-protected1b.c: Likewise.
6982 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6983 and define _GNU_SOURCE macro.
6984 (cmdline_process_function): New function.
6985 * elf/tst-relsort1.c: Likewise.
6986 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6987 and define _GNU_SOURCE macro.
6988 (cmdline_process_function): New function.
6989 * elf/tst-thrlock.c: Likewise.
6990 * elf/tst-tls-dlinfo.c: Likewise.
6991 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6992 * elf/tst-tls1.c: Likewise.
6993 * elf/tst-tls10.c: Likewise.
6994 * elf/tst-tls11.c: Likewise.
6995 * elf/tst-tls12.c: Likewise.
6996 * elf/tst-tls13.c: Likewise.
6997 * elf/tst-tls14.c: Likewise.
6998 * elf/tst-tls15.c: Likewise.
6999 * elf/tst-tls16.c: Likewise.
7000 * elf/tst-tls17.c: Likewise.
7001 * elf/tst-tls18.c: Likewise.
7002 * elf/tst-tls19.c: Likewise.
7003 * elf/tst-tls2.c: Likewise.
7004 * elf/tst-tls3.c: Likewise.
7005 * elf/tst-tls4.c: Likewise.
7006 * elf/tst-tls5.c: Likewise.
7007 * elf/tst-tls6.c: Likewise.
7008 * elf/tst-tls7.c: Likewise.
7009 * elf/tst-tls8.c: Likewise.
7010 * elf/tst-tls9.c: Likewise.
7011 * elf/tst-tlsalign-extern.c: Likewise.
7012 * elf/tst-tlsalign.c: Likewise.
7013 * elf/tst-unique1.c: Likewise.
7014 * elf/tst-unique2.c: Likewise.
7015 * elf/vismain.c: Likewise.
7016
7017 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7018
7019 * string/test-strnlen.c (do_page_tests): New function
7020 to check length of strings ending at the page boundary.
7021 (test_main): Added call to the do_page_tests function.
7022
7023 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7024 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7025
7026 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7027 (sysdep_routines): Add strnlen-power8.
7028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7029 (strnlen): Add __strnlen_power8 to list of strnlen functions.
7030 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7031 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7032 (__strnlen): Add __strnlen_power8 to ifunc list.
7033 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7034
7035 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7036
7037 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7038 the TEST_FUNCTION macro definition.
7039 * wcsmbs/tst-mbrtowc2.c: Likewise.
7040 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7041 * wcsmbs/tst-wchar-h.c: Likewise.
7042 * wcsmbs/tst-wcpncpy.c: Likewise.
7043 * wcsmbs/tst-wcrtomb.c: Likewise.
7044 * wcsmbs/tst-wcsnlen.c: Likewise.
7045 * wcsmbs/tst-wcstof.c: Likewise.
7046
7047 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7048
7049 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7050 CALL_THREAD_FCT macro usage.
7051 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7052 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7053 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7054
7055 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7056 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7057 (__ASSUME_REQUEUE_PI): Likewise.
7058 * sysdeps/unix/sysv/linux/kernel-features.h
7059 (__ASSUME_REQUEUE_PI): Likewise.
7060 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7061 (__ASSUME_REQUEUE_PI): Likewise.
7062 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7063 (__ASSUME_REQUEUE_PI): Likewise.
7064 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7065 (__ASSUME_REQUEUE_PI): Likewise.
7066
7067 2017-04-04 Florian Weimer <fweimer@redhat.com>
7068
7069 * resolv/tst-resolv-canonname.c: New file.
7070 * resolv/Makefile (tests): Add tst-resolv-canonname.
7071 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7072
7073 2017-04-04 Florian Weimer <fweimer@redhat.com>
7074
7075 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7076 Declare.
7077 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7078 (NS_MAXCDNAME): Remove definition.
7079 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7080 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7081 (NS_MAXCDNAME): Remove definition.
7082 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7083
7084 2017-04-04 Florian Weimer <fweimer@redhat.com>
7085
7086 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7087 call whose result is not used.
7088
7089 2017-04-04 Florian Weimer <fweimer@redhat.com>
7090
7091 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7092 * resolv/Makefile (tests): Add tst-ns_name.
7093 (tst-ns_name): Link with -lresolv.
7094 (tst-ns_name.out): Depend on the input data file.
7095
7096 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
7097
7098 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7099 Clobber also r14.
7100
7101 2017-04-03 Mike Frysinger <vapier@gentoo.org>
7102
7103 [BZ #21253]
7104 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7105 slack space by 32KiB.
7106
7107 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
7108
7109 [BZ #21338]
7110 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7111 instead of incorrect do_set_arena_test
7112
7113 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7114
7115 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7116 * math/bits/math-finite.h: Likewise.
7117
7118 2017-03-31 Slava Barinov <v.barinov@samsung.com>
7119
7120 [BZ #21289]
7121 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7122
7123 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7124
7125 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7126 non expected inotify_add_watch and quotactl return.
7127
7128 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7129
7130 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7131 to int32_t.
7132 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7133 as returning int32_t.
7134
7135 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7136
7137 * math/math.h: Include bits/math-finite.h once per
7138 floating-point type.
7139 * math/bits/math-finite.h: Macroize all declarations by
7140 floating-point type.
7141
7142 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7143
7144 [BZ #21182]
7145 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7146 near end of a page.
7147 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7148 overflow calculation.
7149
7150 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
7151
7152 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7153 (IMPL) Call with 1 instead of 0 as argument.
7154
7155 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7156
7157 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7158 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7159 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7160 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7161 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7162 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7163 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7164 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7165 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7166 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7167 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7168 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7170 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7171 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7172 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7173 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7174 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7175 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7176 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7177 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7178 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7179 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7180 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7181 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7182 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7183 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7184 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7185 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7186 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7187 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7188 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7189 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7190 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7191 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7192 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7193 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7194 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7195 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7196 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7197 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7198 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7199 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7200 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7201 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7202 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7203 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7204 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7205 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7206 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7207 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7208 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7209 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7212 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7213 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7214 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7215 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7216 defined.
7217 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7218 __NR_setgroups32 if defined.
7219 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7220 if defined.
7221 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7222 __NR_setresgid32 is defined.
7223 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7224 __NR_setresuid32 if defined.
7225 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7226 __NR_setreuid32 if defined.
7227 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7228 defined.
7229 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7230 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7231 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7232 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7233 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7234 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7235 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7236 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7237 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7238 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7239 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7240 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7241 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7242 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7243 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7244 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7245 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7246 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7247 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7248 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7249 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7250 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7251 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7252 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7253 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7254 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7255 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7256 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7258 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7259 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7260 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7261 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7262 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7263 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7264 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7265 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7266 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7267 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7268 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7269 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7270 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7271 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7272 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7273 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7274 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7275 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7276 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7277 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7278 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7279 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7283 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7284 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7285 INLINE_SYSCALL_ERROR_RETURN_VALUE.
7286 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7287 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7288 defined.
7289 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7290 __NR_setgroups32 if defined.
7291 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7292 if defined.
7293 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7294 __NR_setresgid32 is defined.
7295 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7296 __NR_setresuid32 if defined.
7297 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7298 __NR_setreuid32 if defined.
7299 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7300 defined.
7301
7302 2017-03-27 Joseph Myers <joseph@codesourcery.com>
7303
7304 [BZ #21277]
7305 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7306 unconditionally.
7307 (IMAXBEL): Likewise.
7308 (IUTF8): Likewise.
7309
7310 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
7311
7312 * sysdeps/aarch64/libm-test-ulps: Update.
7313
7314 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
7315
7316 * README.tunables: Updated descriptions.
7317 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7318 * scripts/gen-tunables.awk: Updated the code related to the
7319 commit.
7320
7321 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
7322
7323 * benchtests/Makefile (string-benchset): Add memcpy-random.
7324 * benchtests/bench-memcpy-random.c: New file.
7325
7326 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7327
7328 * stdio-common/printf.h (register_printf_modifier): Change the
7329 order of __wur and __THROW.
7330 (register_printf_type): Likewise.
7331
7332 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7333
7334 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7335 test_main ().
7336 (CMDLINE_PROCESS): Use function instead of defined macro.
7337 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7338 <suppport/support.h> to use set_fortify_handler().
7339 * string/bug-envz1.c: Import support/test-driver.c instead of
7340 test-skeleton.c.
7341 * string/bug-strcoll2.c: Likewise.
7342 * string/bug-strtok1.c: Likewise.
7343 * string/stratcliff.c: Likewise.
7344 * string/test-ffs.c: Likewise.
7345 * string/test-memccpy.c: Likewise.
7346 * string/test-memchr.c: Likewise.
7347 * string/test-memcmp.c: Likewise.
7348 * string/test-memcpy.c: Likewise.
7349 * string/test-memmem.c: Likewise.
7350 * string/test-memmove.c: Likewise.
7351 * string/test-memrchr.c: Likewise.
7352 * string/test-memset.c: Likewise.
7353 * string/test-rawmemchr.c: Likewise.
7354 * string/test-strcasecmp.c: Likewise.
7355 * string/test-strcasestr.c: Likewise.
7356 * string/test-strcat.c: Likewise.
7357 * string/test-strchr.c: Likewise.
7358 * string/test-strcmp.c: Likewise.
7359 * string/test-strcpy.c: Likewise.
7360 * string/test-string.h: Likewise.
7361 * string/test-strlen.c: Likewise.
7362 * string/test-strncasecmp.c: Likewise.
7363 * string/test-strncat.c: Likewise.
7364 * string/test-strncmp.c: Likewise.
7365 * string/test-strncpy.c: Likewise.
7366 * string/test-strnlen.c: Likewise.
7367 * string/test-strpbrk.c: Likewise.
7368 * string/test-strrchr.c: Likewise.
7369 * string/test-strspn.c: Likewise.
7370 * string/test-strstr.c: Likewise.
7371 * string/tst-bswap.c: Likewise.
7372 * string/tst-cmp.c: Likewise.
7373 * string/tst-endian.c: Likewise.
7374 * string/tst-inlcall.c: Likewise.
7375 * string/tst-strcoll-overflow.c: Likewise.
7376 * string/tst-strfry.c: Likewise.
7377 * string/tst-strlen.c: Likewise.
7378 * string/tst-strtok.c: Likewise.
7379 * string/tst-strtok_r.c: Likewise.
7380 * string/tst-strxfrm.c: Likewise.
7381 * string/tst-strxfrm2.c: Likewise.
7382 * string/tst-svc.c: Likewise.
7383 * string/tst-svc2.c: Likewise.
7384
7385 2017-03-22 Zack Weinberg <zackw@panix.com>
7386
7387 * stdio-common/bug25.c: Include stdlib.h.
7388 * support/tst-support_format_dns_packet.c: Include stdio.h,
7389 stdlib.h, and string.h.
7390 * support/tst-support_record_failure.c: Include string.h.
7391 * support/tst-support_record_failure-2.sh: Adjust line number
7392 expectations and correct a typo in an error message.
7393
7394 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
7395
7396 [BZ #21258]
7397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7398 Define only if _dl_runtime_resolve is defined to
7399 _dl_runtime_resolve_sse_vex.
7400 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7401 Fallthrough to _dl_runtime_resolve_sse_vex.
7402
7403 2017-03-21 Joseph Myers <joseph@codesourcery.com>
7404
7405 * INSTALL: Regenerated.
7406
7407 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
7408
7409 * config.h.in: Add LINK_OBSOLETE_NSL.
7410 * config.make.in: Add build-obsolete-nsl.
7411 * configure.ac: Add obsolete-nsl option.
7412 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7413 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7414 * include/rpcsvc/nislib.h: Likewise.
7415 * include/rpcsvc/ypclnt.h: Likewise.
7416 * manual/install.texi: Document --enable-obsolete-nsl.
7417 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7418 * nis/nis_add.c: Replace libnsl_hidden_def with
7419 libnsl_hidden_nolink_def.
7420 * nis/nis_addmember.c: Likewise.
7421 * nis/nis_call.c: Likewise.
7422 * nis/nis_clone_obj.c: Likewise.
7423 * nis/nis_defaults.c: Likeise.
7424 * nis/nis_domain_of_r.c: Likewise.
7425 * nis/nis_error.c: Likewise.
7426 * nis/nis_file.c: Likewise.
7427 * nis/nis_free.c: Likewise.
7428 * nis_local_names.c: Likewise.
7429 * nis/nis_lookup.c: Likewise.
7430 * nis/nis_modify.c: Likewise.
7431 * nis/nis_print.c: Likewise.
7432 * nis/nis_remove.c: Likewise.
7433 * nis/nis_table.c: Likewise.
7434 * nis/nis_util.c: Likewise.
7435 * nis/nis_xdr.c: Likewise.
7436 * nis/yp_xdr.c: Likewise.
7437 * nis/ypclnt.c: Likewise.
7438 * nis/ypupdate_xdr.c: Likewise.
7439 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7440 * nis/nis_clone_dir.c: Likewise.
7441 * nis/nis_clone_res.c: Likewise.
7442 * nis/nis_creategroup.c: Likewise.
7443 * nis/nis_destroygroup.c: Likewise.
7444 * nis/nis_domain_of.c: Likewise.
7445 * nis/nis_getservlist.c: Likewise.
7446 * nis/nis_ismember.c: Likewise.
7447 * nis/nis_mkdir.c: Likewise.
7448 * nis/nis_ping.c: Likewise.
7449 * nis/nis_print_group_entry.c: Likewise.
7450 * nis/nis_removemember.c: Likewise.
7451 * nis/nis_rmdir.c: Likewise.
7452 * nis/nis_server.c: Likewise.
7453 * nis/nis_subr.c: Likewise.
7454 * nis/nis_verifygroup.c: Likewise.
7455
7456 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7457
7458 * malloc/tst-interpose-aux.c (check_for_allocations):
7459 Move compiler barrier before free.
7460
7461 2017-03-20 Joseph Myers <joseph@codesourcery.com>
7462
7463 [BZ #21279]
7464 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7465 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7466 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7467 x86_64-x32-linux.
7468 (mq_attr.mq_maxmsg): Likewise.
7469 (mq_attr.mq_msgsize): Likewise.
7470 (mq_attr.mq_curmsgs): Likewise.
7471
7472 [BZ #21278]
7473 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7474 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7475 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7476 mips-o32-linux.
7477
7478 [BZ #21268]
7479 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7480 if [__USE_MISC]
7481 (NL3): Likewise.
7482
7483 2017-03-20 Mike Frysinger <vapier@gentoo.org>
7484
7485 [BZ #21275]
7486 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7487 __stack to __stackbase.
7488 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7489 checks so we can include defined(__ia64__) first.
7490
7491 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
7492
7493 * sysdeps/unix/sysv/linux/ttyname.h: New file.
7494 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7495 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7496 Call is_pty when the link does not exist or does not match, fail
7497 with ENODEV when it returns true.
7498 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7499 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7500 Call is_pty when the link does not exist or does not match, fail
7501 with ENODEV when it returns true.
7502
7503 2017-03-18 Joseph Myers <joseph@codesourcery.com>
7504
7505 [BZ #16437]
7506 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7507 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7508 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7509 x86_64-x32-linux.
7510 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7511 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7512 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7513
7514 [BZ #21261]
7515 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7516 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7517 names for all fields.
7518 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7519 for jmp_buf field renaming.
7520 (_JMPBUF_UNWINDS_ADJ): Likewise.
7521
7522 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7523 with allow-header.
7524
7525 2017-03-17 Chris Evans <scarybeasts@gmail.com>
7526
7527 * malloc/malloc.c (unlink): Add consistency check between size and
7528 next->prev->size, to further harden against 1-byte overflows.
7529
7530 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
7531
7532 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7533 CPU_FEATURES_CPU_P.
7534
7535 2017-03-17 Joseph Myers <joseph@codesourcery.com>
7536
7537 [BZ #21259]
7538 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7539 unconditionally, not just for [__USE_MISC].
7540
7541 [BZ #17786]
7542 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7543 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7544 mips-o32-linux.
7545
7546 [BZ #21260]
7547 * sysdeps/unix/sysv/linux/alpha/Makefile
7548 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7549 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7550
7551 * conform/conformtest.pl ($cross): New variable.
7552 (--cross): New command-line option.
7553 (runtest): Skip test execution when cross-compiling.
7554 * conform/Makefile (conformtest-cross): New variable.
7555 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7556 conformtest.pl.
7557
7558 * conform/conformtest.pl ($xfail_str): New variable.
7559 (--xfail=): New command-line option.
7560 (top level): Handle expectations starting xfail[cond]-.
7561 * conform/Makefile (conformtest-xfail): New variable.
7562 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7563 conformtest.pl.
7564
7565 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7566
7567 * conform/conformtest.pl: Use compilation instead of execution
7568 tests for testing values of constants and usability in #if.
7569
7570 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7571
7572 * math/auto-libm-test-in: Mark some catan and catanh as
7573 xfail-rounding:ibm128-libgcc.
7574 * math/auto-libm-test-out-catan: Regenerate.
7575 * math/auto-libm-test-out-catanh: Likewise.
7576
7577 2017-03-16 Joseph Myers <joseph@codesourcery.com>
7578
7579 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7580 (__END_NAMESPACE_STD): Likewise.
7581 (__USING_NAMESPACE_STD): Likewise.
7582 (__BEGIN_NAMESPACE_C99): Likewise.
7583 (__END_NAMESPACE_C99): Likewise.
7584 (__USING_NAMESPACE_C99): Likewise.
7585 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7586 undefine macro.
7587 (_Mdouble_END_NAMESPACE): Likewise.
7588 * ctype/ctype.h: Do not handle C++ namespaces.
7589 * libio/bits/stdio-ldbl.h: Likewise.
7590 * libio/stdio.h: Likewise.
7591 * locale/locale.h: Likewise.
7592 * math/bits/mathcalls.h: Likewise.
7593 * setjmp/setjmp.h: Likewise.
7594 * signal/signal.h: Likewise.
7595 * stdlib/bits/stdlib-float.h: Likewise.
7596 * stdlib/bits/stdlib-ldbl.h: Likewise.
7597 * stdlib/stdlib.h: Likewise.
7598 * string/string.h: Likewise.
7599 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7600 * time/bits/types/clock_t.h: Likewise.
7601 * time/bits/types/struct_tm.h: Likewise.
7602 * time/bits/types/time_t.h: Likewise.
7603 * time/time.h: Likewise.
7604 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7605 * wcsmbs/uchar.h: Likewise.
7606 * wcsmbs/wchar.h: Likewise.
7607 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7608 * wctype/wctype.h: Do not handle C++ namespaces.
7609 * scripts/begin-end-check.pl: Remove.
7610 * Makefile (installed-headers): Likewise.
7611 (tests-special): Do not add $(objpfx)begin-end-check.out.
7612 ($(objpfx)begin-end-check.out): Remove.
7613
7614 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
7615 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7616
7617 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7618 (DL_PLATFORM_INIT): New define.
7619 (dl_platform_init): New function.
7620 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7621 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7622 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7623 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7624 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7625
7626 2017-03-15 Mike Frysinger <vapier@gentoo.org>
7627
7628 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7629 instead of PIC.
7630
7631 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7632
7633 [BZ #21094]
7634 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7635 24+24+24-bit pi for wider range of values around pi/2.
7636 * math/auto-libm-test-in: Add more tests of cos and tan.
7637 * math/auto-libm-test-out-cos: Regenerated.
7638 * math/auto-libm-test-out-tan: Likewise.
7639
7640 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
7641
7642 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7643 (RTLD_START): Don't record stack end address in _dl_start_user.
7644
7645 2017-03-15 Alexey Neyman <stilor@att.net>
7646
7647 [BZ #21088]
7648 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7649 around definitions match those around use.
7650
7651 2017-03-15 Alexey Neyman <stilor@att.net>
7652
7653 * configure.ac: Avoid empty subexpression in grep.
7654 * configure: Regenerate.
7655
7656 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7657
7658 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7659 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7660 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7661 (test_wrp_rv): Fix format.
7662 (test_wrp_rv2): New macro.
7663 (do_test): Handle mlock return on 64 bits kernels with 32 bits
7664 binaries.
7665
7666 2017-03-15 Joseph Myers <joseph@codesourcery.com>
7667
7668 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7669 Use a union when storing pointers.
7670 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7671 cast result when passing to INIT_VEC_PTRS_LOOP.
7672 (VECTOR_WRAPPER_fFF_3): Likewise.
7673 (VECTOR_WRAPPER_fFF_4): Likewise.
7674
7675 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7676
7677 * include/bits/mathcalls-helper-functions.h: New file.
7678 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7679 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7680 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7681 math/bits/mathcalls-helper-functions.h.
7682 * math/bits/mathcalls-helper-functions.h: New file.
7683 * math/math.h: Include bits/mathcalls-helper-functions.h for
7684 float, double, and long double.
7685
7686 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7687
7688 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7689 instead of feraiseexcept.
7690
7691 2017-03-15 Florian Weimer <fweimer@redhat.com>
7692
7693 [BZ #21243]
7694 * support/temp_file.c (support_delete_temp_files): Add comment
7695 about ignored errors.
7696
7697 2017-03-15 Florian Weimer <fweimer@redhat.com>
7698
7699 [BZ #21244]
7700 * support/xclose.c: New file.
7701 * support/Makefile (libsupport-routines): Add xclose.
7702 * support/xunistd.h (xclose): Declare.
7703 * support/resolv_test.c (server_thread_tcp_client)
7704 (server_thread_tcp, make_server_sockets, resolv_test_start)
7705 (resolv_test_end): Call xclose instead of close.
7706 * support/support_enter_network_namespace.c
7707 (support_enter_network_namespace): Likewise.
7708 * support/support_run_diff.c (write_to_temp_file): Likewise.
7709
7710 2017-03-15 Florian Weimer <fweimer@redhat.com>
7711
7712 * support/support_format_dns_packet.c (support_format_dns_packet):
7713 Handle CNAME records in the response. Extract RDATA names from
7714 rdata, not the whole packet. Check AAAA record length.
7715 * support/tst-support_format_dns_packet.c: New file.
7716 * support/Makefile (tests): Add tst-support_format_dns_packet.
7717 (tst-support_format_dns_packet): Link against libresolv.
7718
7719 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7720
7721 [BZ #21232]
7722 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7723 posix_fadvise64 weak_alias for static build.
7724
7725 2017-03-14 Andreas Schwab <schwab@suse.de>
7726
7727 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7728 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7729 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7730 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7731 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7732 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7733 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7734 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7735
7736 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7737
7738 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7739 posix error code.
7740 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7741
7742 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7743
7744 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7745 no_isolate usage for SH.
7746
7747 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7748
7749 [BZ #15105]
7750 [BZ #19463]
7751 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7752 * inet/rcmd.c (rcmd_af): Likewise.
7753 * inet/rexec.c (rexec_af): Likewise.
7754 * intl/dcigettext.c (_LIBC): Likewise.
7755 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7756 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7757 * locale/setlocale.c (setlocale): Likewise.
7758 * posix/spawn_faction_addopen.c
7759 (posix_spawn_file_actions_addopen): Likewise.
7760 * stdlib/putenv.c (putenv): Use __strndup.
7761 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7763 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7764 (__Need_M_And_C) Remove define/undef.
7765 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7766 (__malloc_and_calloc_defined): Remove define.
7767 * string/bits/string2.h (__strdup): Remove define.
7768 (strdup): Likewise.
7769 (__strndup): Likewise.
7770 (strndup): Likewise.
7771
7772 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7773
7774 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7775 macro.
7776 (IPV6_ADDR_PREFERENCES): Likewise.
7777 (IPV6_MINHOPCOUNT): Likewise.
7778 (IPV6_ORIGDSTADDR): Likewise.
7779 (IPV6_RECVORIGDSTADDR): Likewise.
7780 (IPV6_TRANSPARENT): Likewise.
7781 (IPV6_UNICAST_IF): Likewise.
7782 (IPV6_RECVFRAGSIZE): Likewise.
7783
7784 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7785
7786 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7787
7788 2017-03-12 Alexey Neyman <stilor@att.net>
7789
7790 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7791 in R_SH_DIR32 case is always false when inlined from
7792 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7793
7794 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7795
7796 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7797 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7798 __ASSUME_SEND_SYSCALL.
7799
7800 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7801
7802 * sunrpc/Makefile: don't build and install rpcsvc header
7803 files, rpcgen and librpcsvc.a by default.
7804
7805 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7806
7807 * math/auto-libm-test-out-catan: Regenerated.
7808 * math/auto-libm-test-out-catanh: Likewise.
7809 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7810
7811 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7812
7813 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7814 for long double with corrected test expectations.
7815
7816 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7817
7818 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7819 Define.
7820 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7821 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7822 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7823 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7824 * sysdeps/unix/sysv/linux/tile/sysdep.h
7825 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7827 (__ASSUME_RECV_SYSCALL): Define.
7828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7829 (__ASSUME_RECV_SYSCALL): Likewise.
7830 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7831 (__ASSUME_RECV_SYSCALL): Likewise.
7832 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7833 (__ASSUME_RECV_SYSCALL): Likewise.
7834 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7835 (__ASSUME_RECV_SYSCALL): Likewise.
7836 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7837 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7838 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7839 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7840 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7841 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7842 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7843 auto-generation list.
7844 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7845 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7846 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7847 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7848 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7849 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7850 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7851 __ASSUME_SENDTO_SYSCALL.
7852 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7853 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7854 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7855
7856 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7857 auto-generation list.
7858 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7859 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7860 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7861 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7862 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7864 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7865 * sysdeps/unix/sysv/linux/kernel-features.h
7866 (__ASSUME_SENDTO_SYSCALL): Define by default.
7867 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7868 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7869 __NR_sendto.
7870 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7871 (__ASSUME_SENDTO_SYSCALL): Likewise.
7872 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7873 (__ASSUME_SENDTO_SYSCALL): Likewise.
7874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7875 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7876 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7877 (__ASSUME_SENDTO_SYSCALL): Likewise.
7878 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7879 (__ASSUME_SENDTO_SYSCALL): Likewise.
7880 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7881
7882 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7883 auto-generation list.
7884 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7885 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7886 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7887 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7888 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7889 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7890 (__ASSUME_RECV_SYSCALL): New define.
7891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7892 (__ASSUME_RECV_SYSCALL): Likewise.
7893 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7894 (__ASSUME_RECV_SYSCALL): Likewise.
7895 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7896 (__ASSUME_RECV_SYSCALL): Likewise.
7897 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7898 (__ASSUME_RECV_SYSCALL): Likewise.
7899 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7900 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7901 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7902 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7903 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7904 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7905 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7906 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7907 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7908 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7909 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7910 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7911
7912 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7913 auto-generation list.
7914 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7915 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7916 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7917 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7919 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7920 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7921 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7922 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7923 * sysdeps/unix/sysv/linux/kernel-features.h
7924 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7925 __NR_recvfrom.
7926 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7927 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7928 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7929 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7930 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7931 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7932 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7933 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7934 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7935 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7936 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7937 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7938 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7939
7940 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7941 auto-generation list.
7942 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7943 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7946 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7947 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7948 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7949 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7950 * sysdeps/unix/sysv/linux/kernel-features.h
7951 (__ASSUME_CONNECT_SYSCALL): Define.
7952 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7953 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7954 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7955 (__ASSUME_CONNECT_SYSCALL): Likewise.
7956 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7957 (__ASSUME_CONNECT_SYSCALL): Likewise.
7958 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7959 (__ASSUME_CONNECT_SYSCALL): Likewise.
7960
7961 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7962 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7963 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7964 auto-generation list.
7965 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7966 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7967 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7968 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7969 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7971 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7972 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7973 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7974 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7975 * sysdeps/unix/sysv/linux/kernel-features.h
7976 (__ASSUME_ACCEPT_SYSCALL): New define.
7977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7978 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7979 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7980 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7981 (__ASSUME_ACCEPT_SYSCALL): Define.
7982 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7983 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7984 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7985 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7986 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7987 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7988 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7989 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7990 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7991
7992 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7993 Zack Weinberg <zackw@panix.com>
7994
7995 * posix/test-errno.c: New file.
7996 * posix/Makefile (tests): Add test-errno.
7997 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7998 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7999
8000 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
8001
8002 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8003
8004 2017-03-07 Florian Weimer <fweimer@redhat.com>
8005
8006 * time/tzset.c (compute_offset): Open-code min macro.
8007 (min, max, sign): Remove.
8008
8009 2017-03-07 Florian Weimer <fweimer@redhat.com>
8010
8011 [BZ #15576]
8012 Remove TZNAME_MAX limit from sysconf.
8013 * include/time.h (__tzname_cur_max, __tzname_max): Remove
8014 declaration.
8015 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8016 compute_tzname_max.
8017 (compute_tzname_max): Remove.
8018 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8019 (update_vars): Do not update __tzname_cur_max.
8020 (tzset_internal): Remove argument.
8021 (__tzset): Adjust call to tzset_internal.
8022 (__tz_convert): Likewise.
8023
8024 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8025 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8026 * manual/conf.texi (Sysconf Definition): Update comment.
8027
8028 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8029
8030 [BZ #21209]
8031 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8032 AT_SECURE processes.
8033 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8034 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8035 (test_child): Likewise.
8036 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8037
8038 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8039
8040 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8041
8042 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8043
8044 * sysdeps/s390/atomic-machine.h
8045 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8046 (__arch_compare_and_exchange_val_8_acq,
8047 __arch_compare_and_exchange_val_16_acq,
8048 __arch_compare_and_exchange_val_32_acq,
8049 __arch_compare_and_exchange_val_64_acq):
8050 Delete macro.
8051 (atomic_compare_and_exchange_val_acq,
8052 atomic_compare_and_exchange_val_rel,
8053 atomic_compare_and_exchange_bool_acq,
8054 catomic_compare_and_exchange_bool_acq,
8055 atomic_exchange_acq, atomic_exchange_rel,
8056 atomic_exchange_and_add_acq,
8057 atomic_exchange_and_add_rel,
8058 catomic_exchange_and_add, atomic_or_val,
8059 atomic_or, catomic_or, atomic_bit_test_set,
8060 atomic_and_val, atomic_and, catomic_and):
8061 Define macros with help of C11 atomic builtins.
8062
8063 2017-03-03 Justus Winter <justus@gnupg.org>
8064
8065 * sysdeps/mach/hurd/ftruncate64.c: New file.
8066 * sysdeps/mach/hurd/truncate64.c: Likewise.
8067
8068 2017-03-03 Florian Weimer <fweimer@redhat.com>
8069
8070 * time/tzfile.c (NOID): Do not define.
8071 * time/tzset.c (NOID): Likewise.
8072
8073 2017-03-03 Florian Weimer <fweimer@redhat.com>
8074
8075 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8076
8077 2017-03-02 Florian Weimer <fweimer@redhat.com>
8078
8079 * elf/get-dynamic-info.h: Remove header file inclusion guard.
8080
8081 2017-03-02 Florian Weimer <fweimer@redhat.com>
8082
8083 [BZ #21015]
8084 * manual/install.texi (Configuring and compiling): Document
8085 --enable-bind-now.
8086 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8087 (build-shlib-helper): Use $(LDFLAGS-lib.so).
8088 (format.lds): Likewise.
8089 [bind-now] (LDFLAGS-c.so): Remove.
8090 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8091 be R_X86_64_GLOB_DAT.
8092 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8093 relocation can be R_386_GLOB_DAT.
8094 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8095 relocaiton can be R_ALPHA_GLOB_DAT.
8096 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8097
8098 2017-03-01 Zack Weinberg <zackw@panix.com>
8099
8100 * include/libc-pointer-arith.h: New file. Define
8101 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8102 PTR_ALIGN_DOWN here.
8103 * include/libc-internal.h: Definitions of above macros
8104 moved from here. Don't include libc-diag.h anymore either.
8105 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8106 Don't include libc-internal.h.
8107
8108 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8109 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8110 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8111 * string/strcoll_l.c, sysdeps/nacl/brk.c
8112 * sysdeps/unix/clock_settime.c
8113 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8114 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8115 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8117 Don't include libc-internal.h.
8118
8119 * elf/get-dynamic-info.h, iconv/loop.c
8120 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8121 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8122 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8123 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8124 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8126 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8127 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8128 * sysdeps/ieee754/ldbl-128/k_tanl.c
8129 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8131 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8132 Include libc-diag.h instead of libc-internal.h.
8133
8134 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8135 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8136 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8137 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8138 * sysdeps/unix/sysv/linux/spawni.c
8139 * sysdeps/x86_64/nptl/tls.h:
8140 Include libc-pointer-arith.h instead of libc-internal.h.
8141
8142 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8143 * sysdeps/x86_64/atomic-machine.h:
8144 Add multiple include guard.
8145
8146 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8147 * string/strcasestr.c: No need to include config.h.
8148 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8149 sys/auxv.h. Don't include sysdep.h.
8150 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8151
8152 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
8153 DL_LOOKUP_ADDRESS.
8154 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8155 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8156 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8157 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8158 of ARTIFICIAL_LIMIT.
8159 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8160 declaration of __clone2.
8161
8162 2017-02-28 Florian Weimer <fweimer@redhat.com>
8163
8164 * scripts/backport-support.sh (latest_commit): New file.
8165
8166 2017-02-28 Florian Weimer <fweimer@redhat.com>
8167
8168 [BZ #20257]
8169 * inet/Makefile (routines): Add deadline.
8170 (tests-static): Add tst-deadline.
8171 * inet/net-internal.h (struct deadline_current_time)
8172 (__deadline_current_time, struct deadline, __deadline_is_infinite)
8173 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8174 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8175 * inet/deadline.c: New file.
8176 * inet/tst-deadline.c: Likewise.
8177 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8178 tst-udp-timeout, tst-udp-garbage.
8179 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8180 explicitly.
8181 (tst-udp-garbage): Likewise. Also link against thread library.
8182 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8183 struct layout is part of the ABI.
8184 (clntudp_call): Rework timeout handling.
8185 * sunrpc/tst-udp-garbage.c: New file.
8186 * sunrpc/tst-udp-nonblocking.c: Likewise.
8187 * sunrpc/tst-udp-timeout.c: Likewise.
8188
8189 2017-02-28 Florian Weimer <fweimer@redhat.com>
8190
8191 [BZ #5010]
8192 * sunrpc/svc.c (svc_is_mapped): Remove.
8193 (svc_unregister): Obtain mapped status while the service is still
8194 registered.
8195 * sunrpc/Makefile [have-thread-library] (tests): Add
8196 tst-svc_register.
8197 (tst-svc_register): Link against libc.so explicitly and the thread
8198 library.
8199 * sunrpc/tst-svc_register.c: New file.
8200
8201 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
8202
8203 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8204 * sysdeps/pthread/bits/sigthread.h: Likewise.
8205
8206 2017-02-27 Florian Weimer <fweimer@redhat.com>
8207
8208 [BZ #21115]
8209 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8210 * sunrpc/Makefile (tests): Add tst-udp-error.
8211 (tst-udp-error): Link against libc.so explicitly.
8212 * sunrpc/tst-udp-error: New file.
8213
8214 2017-02-25 Zack Weinberg <zackw@panix.com>
8215
8216 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8217 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8218
8219 * sysdeps/generic/math_ldbl.h
8220 * sysdeps/ia64/fpu/math_ldbl.h
8221 * sysdeps/ieee754/ldbl-128/math_ldbl.h
8222 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8223 * sysdeps/ieee754/ldbl-96/math_ldbl.h
8224 * sysdeps/powerpc/fpu/math_ldbl.h
8225 * sysdeps/x86_64/fpu/math_ldbl.h:
8226 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
8227 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8228 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
8229 Add copyright notices.
8230
8231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8232 Don't use EXTRACT_WORDS64.
8233
8234 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8235 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8236 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8237 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8238 Include math_ldbl.h, not math_private.h.
8239
8240 2017-02-25 Zack Weinberg <zackw@panix.com>
8241
8242 * include/libc-diag.h: New file. Define ignore_value,
8243 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8244 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8245
8246 * include/libc-internal.h: Definitions of above macros moved from
8247 here. Include libc-diag.h. Add copyright notice.
8248
8249 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8250 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8251 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8252 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8253 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8254 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8255 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8256 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8257 Include libc-diag.h instead of libc-internal.h.
8258
8259 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
8260 call to unsetenv (NULL).
8261 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
8262 call to pthread_mutexattr_destroy (NULL).
8263
8264 2017-02-25 Zack Weinberg <zackw@panix.com>
8265
8266 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8267 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8268 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
8269 gets was removed from C++ in C++14.
8270 * include/stdio.h: Remove redundant declaration of gets.
8271 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8272 be declared, since we are testing it.
8273 * stdio-common/Makefile (tst-gets.c): Compile with
8274 -Wno-deprecated-declarations.
8275 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8276 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8277 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8278 Compile with -Wno-deprecated-declarations.
8279
8280 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8281
8282 * math/libm-test-support.c (check_ulp): Use LIT() around literal
8283 numbers.
8284
8285 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8286
8287 * resolv/tst-resolv-qtypes.c (domain):
8288 Change type to const pointer to const char.
8289
8290 2017-02-24 Joseph Myers <joseph@codesourcery.com>
8291
8292 * math/Makefile (libm-tests-generated): Remove variable.
8293 (libm-tests-base-normal): New variable.
8294 (libm-tests-base-finite): Likewise.
8295 (libm-tests-base-inline): Likewise.
8296 (libm-tests-base): Likewise.
8297 (libm-tests-normal): Likewise.
8298 (libm-tests-finite): Likewise.
8299 (libm-tests-inline): Likewise.
8300 (libm-tests-vector): Likewise.
8301 (libm-tests): Define in terms of these new variables.
8302 (libm-tests-for-type): New variable.
8303 (libm-tests.o): Move definition.
8304 (tests): Move addition of $(libm-tests).
8305 (generated): Update for new and removed libm test files.
8306 ($(objpfx)libm-test.c): Remove target.
8307 ($(objpfx)libm-have-vector-test.h): Likewise.
8308 (CFLAGS-test-double-vlen2.c): Remove variable.
8309 (CFLAGS-test-double-vlen4.c): Likewise.
8310 (CFLAGS-test-double-vlen8.c): Likewise.
8311 (CFLAGS-test-float-vlen4.c): Likewise.
8312 (CFLAGS-test-float-vlen8.c): Likewise.
8313 (CFLAGS-test-float-vlen16.c): Likewise.
8314 (CFLAGS-test-float.c): Likewise.
8315 (CFLAGS-test-float-finite.c): Likewise.
8316 (CFLAGS-libm-test-support-float.c): Likewise.
8317 (CFLAGS-test-double.c): Likewise.
8318 (CFLAGS-test-double-finite.c): Likewise.
8319 (CFLAGS-libm-test-support-double.c): Likewise.
8320 (CFLAGS-test-ldouble.c): Likewise.
8321 (CFLAGS-test-ldouble-finite.c): Likewise.
8322 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8323 (libm-test-inline-cflags): New variable.
8324 (CFLAGS-test-ifloat.c): Remove variable.
8325 (CFLAGS-test-idouble.c): Likewise.
8326 (CFLAGS-test-ildouble.c): Likewise.
8327 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8328 dependencies.
8329 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8330 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8331 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8332 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8333 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8334 Likewise.
8335 (dependencies on libm-test-support-*.o): Remove.
8336 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8337 rules using iterators.
8338 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8339 Likewise.
8340 ($(objpfx)libm-test-support-$(o).o): Likewise.
8341 ($(addprefix $(objpfx),$(filter-out $(tests-static)
8342 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8343 instead.
8344 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8345 define rule instead.
8346 * math/README.libm-test: Update.
8347 * math/libm-test-acos.inc: Include libm-test-driver.c.
8348 (do_test): New function.
8349 * math/libm-test-acosh.inc: Include libm-test-driver.c.
8350 (do_test): New function.
8351 * math/libm-test-asin.inc: Include libm-test-driver.c.
8352 (do_test): New function.
8353 * math/libm-test-asinh.inc: Include libm-test-driver.c.
8354 (do_test): New function.
8355 * math/libm-test-atan.inc: Include libm-test-driver.c.
8356 (do_test): New function.
8357 * math/libm-test-atan2.inc: Include libm-test-driver.c.
8358 (do_test): New function.
8359 * math/libm-test-atanh.inc: Include libm-test-driver.c.
8360 (do_test): New function.
8361 * math/libm-test-cabs.inc: Include libm-test-driver.c.
8362 (do_test): New function.
8363 * math/libm-test-cacos.inc: Include libm-test-driver.c.
8364 (do_test): New function.
8365 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8366 (do_test): New function.
8367 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8368 (do_test): New function.
8369 * math/libm-test-carg.inc: Include libm-test-driver.c.
8370 (do_test): New function.
8371 * math/libm-test-casin.inc: Include libm-test-driver.c.
8372 (do_test): New function.
8373 * math/libm-test-casinh.inc: Include libm-test-driver.c.
8374 (do_test): New function.
8375 * math/libm-test-catan.inc: Include libm-test-driver.c.
8376 (do_test): New function.
8377 * math/libm-test-catanh.inc: Include libm-test-driver.c.
8378 (do_test): New function.
8379 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8380 (do_test): New function.
8381 * math/libm-test-ccos.inc: Include libm-test-driver.c.
8382 (do_test): New function.
8383 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8384 (do_test): New function.
8385 * math/libm-test-ceil.inc: Include libm-test-driver.c.
8386 (do_test): New function.
8387 * math/libm-test-cexp.inc: Include libm-test-driver.c.
8388 (do_test): New function.
8389 * math/libm-test-cimag.inc: Include libm-test-driver.c.
8390 (do_test): New function.
8391 * math/libm-test-clog.inc: Include libm-test-driver.c.
8392 (do_test): New function.
8393 * math/libm-test-clog10.inc: Include libm-test-driver.c.
8394 (do_test): New function.
8395 * math/libm-test-conj.inc: Include libm-test-driver.c.
8396 (do_test): New function.
8397 * math/libm-test-copysign.inc: Include libm-test-driver.c.
8398 (do_test): New function.
8399 * math/libm-test-cos.inc: Include libm-test-driver.c.
8400 (do_test): New function.
8401 * math/libm-test-cosh.inc: Include libm-test-driver.c.
8402 (do_test): New function.
8403 * math/libm-test-cpow.inc: Include libm-test-driver.c.
8404 (do_test): New function.
8405 * math/libm-test-cproj.inc: Include libm-test-driver.c.
8406 (do_test): New function.
8407 * math/libm-test-creal.inc: Include libm-test-driver.c.
8408 (do_test): New function.
8409 * math/libm-test-csin.inc: Include libm-test-driver.c.
8410 (do_test): New function.
8411 * math/libm-test-csinh.inc: Include libm-test-driver.c.
8412 (do_test): New function.
8413 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8414 (do_test): New function.
8415 * math/libm-test-ctan.inc: Include libm-test-driver.c.
8416 (do_test): New function.
8417 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8418 (do_test): New function.
8419 * math/libm-test-erf.inc: Include libm-test-driver.c.
8420 (do_test): New function.
8421 * math/libm-test-erfc.inc: Include libm-test-driver.c.
8422 (do_test): New function.
8423 * math/libm-test-exp.inc: Include libm-test-driver.c.
8424 (do_test): New function.
8425 * math/libm-test-exp10.inc: Include libm-test-driver.c.
8426 (do_test): New function.
8427 * math/libm-test-exp2.inc: Include libm-test-driver.c.
8428 (do_test): New function.
8429 * math/libm-test-expm1.inc: Include libm-test-driver.c.
8430 (do_test): New function.
8431 * math/libm-test-fabs.inc: Include libm-test-driver.c.
8432 (do_test): New function.
8433 * math/libm-test-fdim.inc: Include libm-test-driver.c.
8434 (do_test): New function.
8435 * math/libm-test-floor.inc: Include libm-test-driver.c.
8436 (do_test): New function.
8437 * math/libm-test-fma.inc: Include libm-test-driver.c.
8438 (do_test): New function.
8439 * math/libm-test-fmax.inc: Include libm-test-driver.c.
8440 (do_test): New function.
8441 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8442 (do_test): New function.
8443 * math/libm-test-fmin.inc: Include libm-test-driver.c.
8444 (do_test): New function.
8445 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8446 (do_test): New function.
8447 * math/libm-test-fmod.inc: Include libm-test-driver.c.
8448 (do_test): New function.
8449 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8450 (do_test): New function.
8451 * math/libm-test-frexp.inc: Include libm-test-driver.c.
8452 (do_test): New function.
8453 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8454 (do_test): New function.
8455 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8456 (do_test): New function.
8457 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8458 (do_test): New function.
8459 * math/libm-test-hypot.inc: Include libm-test-driver.c.
8460 (do_test): New function.
8461 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8462 (do_test): New function.
8463 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8464 (do_test): New function.
8465 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8466 (do_test): New function.
8467 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8468 (do_test): New function.
8469 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8470 (do_test): New function.
8471 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8472 (do_test): New function.
8473 * math/libm-test-isinf.inc: Include libm-test-driver.c.
8474 (do_test): New function.
8475 * math/libm-test-isless.inc: Include libm-test-driver.c.
8476 (do_test): New function.
8477 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8478 (do_test): New function.
8479 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8480 (do_test): New function.
8481 * math/libm-test-isnan.inc: Include libm-test-driver.c.
8482 (do_test): New function.
8483 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8484 (do_test): New function.
8485 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8486 (do_test): New function.
8487 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8488 (do_test): New function.
8489 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8490 (do_test): New function.
8491 * math/libm-test-iszero.inc: Include libm-test-driver.c.
8492 (do_test): New function.
8493 * math/libm-test-j0.inc: Include libm-test-driver.c.
8494 (do_test): New function.
8495 * math/libm-test-j1.inc: Include libm-test-driver.c.
8496 (do_test): New function.
8497 * math/libm-test-jn.inc: Include libm-test-driver.c.
8498 (do_test): New function.
8499 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8500 (do_test): New function.
8501 * math/libm-test-llogb.inc: Include libm-test-driver.c.
8502 (do_test): New function.
8503 * math/libm-test-llrint.inc: Include libm-test-driver.c.
8504 (do_test): New function.
8505 * math/libm-test-llround.inc: Include libm-test-driver.c.
8506 (do_test): New function.
8507 * math/libm-test-log.inc: Include libm-test-driver.c.
8508 (do_test): New function.
8509 * math/libm-test-log10.inc: Include libm-test-driver.c.
8510 (do_test): New function.
8511 * math/libm-test-log1p.inc: Include libm-test-driver.c.
8512 (do_test): New function.
8513 * math/libm-test-log2.inc: Include libm-test-driver.c.
8514 (do_test): New function.
8515 * math/libm-test-logb.inc: Include libm-test-driver.c.
8516 (do_test): New function.
8517 * math/libm-test-lrint.inc: Include libm-test-driver.c.
8518 (do_test): New function.
8519 * math/libm-test-lround.inc: Include libm-test-driver.c.
8520 (do_test): New function.
8521 * math/libm-test-modf.inc: Include libm-test-driver.c.
8522 (do_test): New function.
8523 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8524 (do_test): New function.
8525 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8526 (do_test): New function.
8527 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8528 (do_test): New function.
8529 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8530 (do_test): New function.
8531 * math/libm-test-nextup.inc: Include libm-test-driver.c.
8532 (do_test): New function.
8533 * math/libm-test-pow.inc: Include libm-test-driver.c.
8534 (do_test): New function.
8535 * math/libm-test-remainder.inc: Include libm-test-driver.c.
8536 (do_test): New function.
8537 * math/libm-test-remquo.inc: Include libm-test-driver.c.
8538 (do_test): New function.
8539 * math/libm-test-rint.inc: Include libm-test-driver.c.
8540 (do_test): New function.
8541 * math/libm-test-round.inc: Include libm-test-driver.c.
8542 (do_test): New function.
8543 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8544 (do_test): New function.
8545 * math/libm-test-scalb.inc: Include libm-test-driver.c.
8546 (do_test): New function.
8547 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8548 (do_test): New function.
8549 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8550 (do_test): New function.
8551 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8552 (do_test): New function.
8553 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8554 (do_test): New function.
8555 * math/libm-test-signbit.inc: Include libm-test-driver.c.
8556 (do_test): New function.
8557 * math/libm-test-significand.inc: Include libm-test-driver.c.
8558 (do_test): New function.
8559 * math/libm-test-sin.inc: Include libm-test-driver.c.
8560 (do_test): New function.
8561 * math/libm-test-sincos.inc: Include libm-test-driver.c.
8562 (do_test): New function.
8563 * math/libm-test-sinh.inc: Include libm-test-driver.c.
8564 (do_test): New function.
8565 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8566 (do_test): New function.
8567 * math/libm-test-tan.inc: Include libm-test-driver.c.
8568 (do_test): New function.
8569 * math/libm-test-tanh.inc: Include libm-test-driver.c.
8570 (do_test): New function.
8571 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8572 (do_test): New function.
8573 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8574 (do_test): New function.
8575 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8576 (do_test): New function.
8577 * math/libm-test-trunc.inc: Include libm-test-driver.c.
8578 (do_test): New function.
8579 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8580 (do_test): New function.
8581 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8582 (do_test): New function.
8583 * math/libm-test-y0.inc: Include libm-test-driver.c.
8584 (do_test): New function.
8585 * math/libm-test-y1.inc: Include libm-test-driver.c.
8586 (do_test): New function.
8587 * math/libm-test-yn.inc: Include libm-test-driver.c.
8588 (do_test): New function.
8589 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8590 (HAVE_VECTOR): Remove macro.
8591 (START): Do not call HAVE_VECTOR.
8592 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8593 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8594 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8595 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8596 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8597 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8598 * math/test-math-vector.h (FUNC_TEST): New macro.
8599 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8600 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8601 (double-vlen4-funcs): Likewise.
8602 (double-vlen4-avx2-funcs): Likewise.
8603 (double-vlen8-funcs): Likewise.
8604 (float-vlen4-funcs): Likewise.
8605 (float-vlen8-funcs): Likewise.
8606 (float-vlen8-avx2-funcs): Likewise.
8607 (float-vlen16-funcs): Likewise.
8608 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8609 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8610 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8611 macro.
8612 (TEST_VECTOR_sin): Likewise.
8613 (TEST_VECTOR_sincos): Likewise.
8614 (TEST_VECTOR_log): Likewise.
8615 (TEST_VECTOR_exp): Likewise.
8616 (TEST_VECTOR_pow): Likewise.
8617 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8618 Likewise.
8619 (TEST_VECTOR_sin): Likewise.
8620 (TEST_VECTOR_sincos): Likewise.
8621 (TEST_VECTOR_log): Likewise.
8622 (TEST_VECTOR_exp): Likewise.
8623 (TEST_VECTOR_pow): Likewise.
8624 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8625 Likewise.
8626 (TEST_VECTOR_sinf): Likewise.
8627 (TEST_VECTOR_sincosf): Likewise.
8628 (TEST_VECTOR_logf): Likewise.
8629 (TEST_VECTOR_expf): Likewise.
8630 (TEST_VECTOR_powf): Likewise.
8631 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8632 Likewise.
8633 (TEST_VECTOR_sinf): Likewise.
8634 (TEST_VECTOR_sincosf): Likewise.
8635 (TEST_VECTOR_logf): Likewise.
8636 (TEST_VECTOR_expf): Likewise.
8637 (TEST_VECTOR_powf): Likewise.
8638 * math/gen-libm-have-vector-test.sh: Remove file.
8639 * math/libm-test.inc: Likewise.
8640 * math/libm-test-support-double.c: Likewise.
8641 * math/libm-test-support-float.c: Likewise.
8642 * math/libm-test-support-ldouble.c: Likewise.
8643 * math/test-double-finite.c: Likewise.: Likewise.
8644 * math/test-double.c: Likewise.
8645 * math/test-float-finite.c: Likewise.
8646 * math/test-float.c: Likewise.
8647 * math/test-idouble.c: Likewise.
8648 * math/test-ifloat.c: Likewise.
8649 * math/test-ildouble.c: Likewise.
8650 * math/test-ldouble-finite.c: Likewise.
8651 * math/test-ldouble.c: Likewise.
8652 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8653 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8654 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8655 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8656 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8657 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8658 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8659 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8660 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8661 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8662
8663 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8664 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8665
8666 * math/Makefile: Add wrappers to gen-libm-calls.
8667 * math/w_acos_template.c: New file.
8668 * math/w_acosh_template.c: Likewise.
8669 * math/w_asin_template.c: Likewise.
8670 * math/w_atan2_template.c: Likewise.
8671 * math/w_atanh_template.c: Likewise.
8672 * math/w_cosh_template.c: Likewise.
8673 * math/w_exp10_template.c: Likewise.
8674 * math/w_exp2_template.c: Likewise.
8675 * math/w_exp_template.c: Likewise.
8676 * math/w_fmod_template.c: Likewise.
8677 * math/w_hypot_template.c: Likewise.
8678 * math/w_j0_template.c: Likewise.
8679 * math/w_j1_template.c: Likewise.
8680 * math/w_jn_template.c: Likewise.
8681 * math/w_lgamma_r_template.c: Likewise.
8682 * math/w_lgamma_template.c: Likewise.
8683 * math/w_log10_template.c: Likewise.
8684 * math/w_log2_template.c: Likewise.
8685 * math/w_log_template.c: Likewise.
8686 * math/w_pow_template.c: Likewise.
8687 * math/w_remainder_template.c: Likewise.
8688 * math/w_sinh_template.c: Likewise.
8689 * math/w_sqrt_template.c: Likewise.
8690 * math/w_tgamma_template.c: Likewise.: Likewise.
8691 * sysdeps/generic/math-type-macros-double.h
8692 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8693 the new wrappers.
8694 * sysdeps/generic/math-type-macros-float.h: Likewise.
8695 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8696
8697 2017-02-22 Joseph Myers <joseph@codesourcery.com>
8698
8699 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8700 New enum constant and macro.
8701
8702 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8703 kernel version to 4.10.
8704
8705 2017-02-21 Joseph Myers <joseph@codesourcery.com>
8706
8707 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8708
8709 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8710
8711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8712
8713 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8714
8715 * sysdeps/powerpc/tst-set_ppr.c: New file.
8716 Implement test cases for __ppc_set_ppr_* functions.
8717 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8718 in the list of tests.
8719
8720 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
8721
8722 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8723 instead of test-skeleton.c.
8724 (do_test): Replaced pthread_create and pthread_join with
8725 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8726 Removed unneeded status variable.
8727 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8728 instead of test-skeleton.c.
8729 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8730
8731 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8732
8733 [BZ #20313]
8734 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8735 201605L, for Unicode 9.
8736
8737 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8738
8739 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8740 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8741 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8742 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8743 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8744 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8745
8746 2017-02-19 Zack Weinberg <zackw@panix.com>
8747
8748 * rt/tst-mqueue4.c: Include stdint.h.
8749
8750 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/arm/libm-test-ulps: Update.
8753 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8754 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8755 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8756
8757 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8758
8759 [BZ #21029]
8760 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8761 * sysdeps/unix/sysv/linux/i386/Makefile
8762 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8763 (uses-6-syscall-arguments): Remove.
8764 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8765 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8766 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8767 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8768 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8769 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8770 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8771 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8772 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8773 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8774 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8775 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8776 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8777 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8778 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8779 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8780 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8781 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8782 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8783 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8784 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8785 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8786 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8787 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8788 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8789 Likewise.
8790 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8791 Likewise.
8792 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8793 Likewise.
8794 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8795 Likewise.
8796 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8797 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8798 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8799 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8800 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8801 ebp on inline assembly.
8802 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8803 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8804 Set if CAN_USE_REGISTER_ASM_EBP is set.
8805
8806 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8807
8808 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8809 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8810
8811 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8812
8813 * math/auto-libm-test-in: Add tests of catan and catanh.
8814 * math/auto-libm-test-out-catan: New generated file.
8815 * math/auto-libm-test-out-catanh: Likewise.
8816 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8817 Move tests with finite inputs, except divide-by-zero cases, to
8818 auto-libm-test-in.
8819 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8820 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8821 (libm-test-funcs-noauto): Remove catan and catanh.
8822 * sysdeps/i386/fpu/libm-test-ulps: Update.
8823 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8825
8826 * math/auto-libm-test-in: Add tests of casin and casinh.
8827 * math/auto-libm-test-out-casin: New generated file.
8828 * math/auto-libm-test-out-casinh: Likewise.
8829 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8830 Move tests with finite inputs to auto-libm-test-in.
8831 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8832 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8833 (libm-test-funcs-noauto): Remove casin and casinh.
8834 * sysdeps/i386/fpu/libm-test-ulps: Update.
8835 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8837
8838 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8839 * math/auto-libm-test-out-cacos: New generated file.
8840 * math/auto-libm-test-out-cacosh: Likewise.
8841 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8842 Move tests with finite inputs to auto-libm-test-in.
8843 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8844 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8845 (libm-test-funcs-noauto): Remove cacos and cacosh.
8846 * sysdeps/i386/fpu/libm-test-ulps: Update.
8847 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8849
8850 Revert:
8851 2017-02-16 Zack Weinberg <zackw@panix.com>
8852
8853 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8854 Don't include init-arch.h.
8855 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8856 Don't include init-arch.h.
8857
8858 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8859
8860 [BZ #21171]
8861 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8862 +Inf and raise divide-by-zero when x is negative.
8863 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8865 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8866 -Inf and raise divide-by-zero when x = +-0.
8867 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8868 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8869 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8870 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8871 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8874
8875 2017-02-16 Zack Weinberg <zackw@panix.com>
8876
8877 * scripts/build-many-glibcs.py (bot_build_mail): If the
8878 bot_config does not contain all of the necessary email-
8879 related settings, just print a warning and continue.
8880
8881 2017-02-16 Zack Weinberg <zackw@panix.com>
8882
8883 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8884 * dirent/opendir-tst1.c: Include sys/stat.h.
8885 * dirent/tst-fdopendir.c: Include sys/stat.h.
8886 * dirent/tst-fdopendir2.c: Include stdlib.h.
8887 * dirent/tst-scandir.c: Include stdbool.h.
8888 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8889 * elf/tst-tls15.c: Include stdlib.h.
8890 * elf/tst-tls16.c: Include stdlib.h.
8891 * elf/tst-tls17.c: Include stdlib.h.
8892 * elf/tst-tls18.c: Include stdlib.h.
8893 * iconv/tst-iconv6.c: Include endian.h.
8894 * iconvdata/bug-iconv11.c: Include limits.h.
8895 * io/test-utime.c: Include stdint.h.
8896 * io/tst-faccessat.c: Include sys/stat.h.
8897 * io/tst-fchmodat.c: Include sys/stat.h.
8898 * io/tst-fchownat.c: Include sys/stat.h.
8899 * io/tst-fstatat.c: Include sys/stat.h.
8900 * io/tst-futimesat.c: Include sys/stat.h.
8901 * io/tst-linkat.c: Include sys/stat.h.
8902 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8903 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8904 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8905 * io/tst-openat.c: Include stdbool.h.
8906 * io/tst-readlinkat.c: Include sys/stat.h.
8907 * io/tst-renameat.c: Include sys/stat.h.
8908 * io/tst-symlinkat.c: Include sys/stat.h.
8909 * io/tst-unlinkat.c: Include stdbool.h.
8910 * libio/bug-memstream1.c: Include stdlib.h.
8911 * libio/bug-wmemstream1.c: Include stdlib.h.
8912 * libio/tst-fwrite-error.c: Include stdlib.h.
8913 * libio/tst-memstream1.c: Include stdlib.h.
8914 * libio/tst-memstream2.c: Include stdlib.h.
8915 * libio/tst-memstream3.c: Include stdlib.h.
8916 * malloc/tst-interpose-aux.c: Include stdint.h.
8917 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8918 * nptl/tst-basic7.c: Include limits.h.
8919 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8920 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8921 * nptl/tst-cancel4_1.c: Include stddef.h.
8922 * nptl/tst-cancel4_2.c: Include stddef.h.
8923 * nptl/tst-cond16.c: Include limits.h.
8924 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8925 * nptl/tst-cond18.c: Include limits.h.
8926 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8927 * nptl/tst-cond4.c: Include stdint.h.
8928 * nptl/tst-cond6.c: Include stdint.h.
8929 * nptl/tst-stack2.c: Include limits.h.
8930 * nptl/tst-stackguard1.c: Include stddef.h.
8931 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8932 * nptl/tst-tls4moda.c: Include stddef.h.
8933 Don't include stdio.h, unistd.h, or tls.h.
8934 * nptl/tst-tls4modb.c: Include stddef.h.
8935 Don't include stdio.h, unistd.h, or tls.h.
8936 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8937 * posix/tst-getaddrinfo2.c: Include stdio.h.
8938 * posix/tst-getaddrinfo5.c: Include stdio.h.
8939 * posix/tst-pathconf.c: Include sys/stat.h.
8940 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8941 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8942 * posix/tst-regex.c: Include stdint.h.
8943 Don't include spawn.h or spawn_int.h.
8944 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8945 * posix/tst-vfork3.c: Include sys/stat.h.
8946 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8947 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8948 * resolv/tst-resolv-search.c: Include stdlib.h.
8949 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8950 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8951 * stdlib/test-canon.c: Include sys/stat.h.
8952 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8953 * string/test-memchr.c: Include stdint.h.
8954 * string/tst-cmp.c: Include stdint.h.
8955 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8956 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8957 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8958 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8959 Don't include init-arch.h.
8960 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8961 Don't include init-arch.h.
8962 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8963 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8964 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8965 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8966 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8967 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8968 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8969 * time/clocktest.c: Include stdint.h.
8970 * time/tst-posixtz.c: Include stdint.h.
8971 * timezone/tst-timezone.c: Include stdint.h.
8972
8973 2017-02-16 Zack Weinberg <zackw@panix.com>
8974
8975 * string/string.h [__USE_MISC]: Include strings.h.
8976 (__bzero, bcmp, bcopy, bzero, index, rindex)
8977 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8978 (ffs, ffsl, ffsll): Don't declare.
8979 * string/strings.h: Do not suppress the file if string.h has
8980 already been included.
8981 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8982 annotations.
8983 (index, rindex): Define inline forwarders even if
8984 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8985 (ffs): Use __attribute_const__.
8986 (ffsl, ffsll): Declare here.
8987 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8988 have now been standardized.
8989 * include/string.h (__bzero): Declare here.
8990
8991 * bits/types.h: Move to posix/bits.
8992 * include/bits/types.h: New wrapper.
8993
8994 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8995
8996 * string/bits/string2.h (strcmp): Remove define.
8997 (__strcmp_cg): Likewise.
8998 (strncmp): Likewise.
8999
9000 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
9001
9002 * include/string.h: Add __cplusplus check.
9003
9004 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9005
9006 [BZ #21134]
9007 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9008 "divide by zero" exception when the input is zero.
9009 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9010 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9011 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9012 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9013 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9014
9015 2017-02-15 Joseph Myers <joseph@codesourcery.com>
9016
9017 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9018 and include ...
9019 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
9020 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9021 to, and include ...
9022 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
9023 file.
9024 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9025 and include ...
9026 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
9027 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9028 and include ...
9029 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
9030 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9031 and include ...
9032 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
9033 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9034 and include ...
9035 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
9036 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9037 to, and include ...
9038 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
9039 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9040 and include ...
9041 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
9042
9043 2017-02-14 Joseph Myers <joseph@codesourcery.com>
9044
9045 * math/libm-test-support.h: Do not include <math-tests-arch.h>
9046 here.
9047 * math/libm-test-support.c (libm_test_init): Do not call
9048 INIT_ARCH_EXT here.
9049 * math/libm-test-driver.c: Include <math-tests-arch.h>.
9050 (main): Call INIT_ARCH_EXT.
9051
9052 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9053
9054 [BZ #21130]
9055 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9056 with the "invalid" exception raised when x is -Inf.
9057 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9058
9059 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
9060
9061 * string/bits/string2.h (strchr): Remove define.
9062
9063 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9066 tst-avx512.
9067 (test-extras): Add tst-avx-aux and tst-avx512-aux.
9068 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9069 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9070 ($(objpfx)tst-sse): New rule.
9071 ($(objpfx)tst-avx): Likewise.
9072 ($(objpfx)tst-avx512): Likewise.
9073 (CFLAGS-tst-avx-aux.c): New.
9074 (CFLAGS-tst-avxmod.c): Likewise.
9075 (CFLAGS-tst-avx512-aux.c): Likewise.
9076 (CFLAGS-tst-avx512mod.c): Likewise.
9077 * sysdeps/x86_64/tst-avx-aux.c: New file.
9078 * sysdeps/x86_64/tst-avx.c: Likewise.
9079 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9080 * sysdeps/x86_64/tst-avx512.c: Likewise.
9081 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9082 * sysdeps/x86_64/tst-avxmod.c: Likewise.
9083 * sysdeps/x86_64/tst-sse.c: Likewise.
9084 * sysdeps/x86_64/tst-ssemod.c: Likewise.
9085
9086 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9087
9088 * math/auto-libm-test-in: Add more tests of csin and csinh.
9089 * math/auto-libm-test-out-csin: Regenerated.
9090 * math/auto-libm-test-out-csinh: Likewise.
9091 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9092 auto-libm-test-in.
9093 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9094
9095 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9096
9097 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9098 libm-compat-calls-auto.
9099 (libm-compat-calls): Likewise.
9100 (libm-compat-calls-auto): Rename to libm-compat-calls and add
9101 w_lgamma_compatF and k_standardF (merged from the items above).
9102 (libm-routines): Use libm-compat-calls, instead of
9103 libm-compat-calls-auto, with type-foreach.
9104
9105 2017-02-09 Joseph Myers <joseph@codesourcery.com>
9106
9107 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9108 macro.
9109 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9110 (CFLAGS-test-ifloat.c): ... this. Remove
9111 -U__LIBC_INTERNAL_MATH_INLINES.
9112 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9113 (CFLAGS-test-idouble.c): ... this. Remove
9114 -U__LIBC_INTERNAL_MATH_INLINES.
9115 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9116 (CFLAGS-test-ildouble.c): ... this. Remove
9117 -U__LIBC_INTERNAL_MATH_INLINES.
9118
9119 2017-02-08 Joseph Myers <joseph@codesourcery.com>
9120
9121 * math/libm-test-support.c: New file. Content from
9122 math/libm-test-driver.c.
9123 * math/libm-test-support.h: Likewise.
9124 * math/libm-test-support-double.c: New file.
9125 * math/libm-test-support-float.c: Likewise.
9126 * math/libm-test-support-ldouble.c: Likewise.
9127 * math/libm-test-driver.c: Remove main comment and header
9128 includes. Include libm-test-support.h.
9129 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9130 (flag_test_errno): Remove static.
9131 (flag_test_exceptions): Likewise.
9132 (flag_test_finite): Likewise.
9133 (flag_test_inline): Likewise.
9134 (flag_test_mathvec): Likewise.
9135 (test_msg): Likewise.
9136 (NO_EXCEPTION): Remove.
9137 (INVALID_EXCEPTION): Likewise.
9138 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9139 (OVERFLOW_EXCEPTION): Likewise.
9140 (UNDERFLOW_EXCEPTION): Likewise.
9141 (INEXACT_EXCEPTION): Likewise.
9142 (INVALID_EXCEPTION_OK): Likewise.
9143 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9144 (OVERFLOW_EXCEPTION_OK): Likewise.
9145 (UNDERFLOW_EXCEPTION_OK): Likewise.
9146 (NO_INEXACT_EXCEPTION): Likewise.
9147 (EXCEPTIONS_OK): Likewise.
9148 (IGNORE_ZERO_INF_SIGN): Likewise.
9149 (TEST_NAN_SIGN): Likewise.
9150 (TEST_NAN_PAYLOAD): Likewise.
9151 (NO_TEST_INLINE): Likewise.
9152 (XFAIL_TEST): Likewise.
9153 (ERRNO_UNCHANGED): Likewise.
9154 (ERRNO_EDOM): Likewise.
9155 (ERRNO_ERANGE): Likewise.
9156 (IGNORE_RESULT): Likewise.
9157 (NON_FINITE): Likewise.
9158 (TEST_SNAN): Likewise.
9159 (NO_TEST_MATHVEC): Likewise.
9160 (__CONCATX): Likewise.
9161 (TYPE_MIN): Likewise.
9162 (TYPE_TRUE_MIN): Likewise.
9163 (TYPE_MAX): Likewise.
9164 (MIN_EXP): Likewise.
9165 (MAX_EXP): Likewise.
9166 (MANT_DIG): Likewise.
9167 (FSTR_MAX): Likewise.
9168 (ulp_idx): Likewise.
9169 (qtype_str): Remove static.
9170 (TEST_COND_binary32): Remove.
9171 (TEST_COND_binary64): Likewise.
9172 (TEST_COND_binary128): Likewise.
9173 (TEST_COND_ibm128): Likewise.
9174 (TEST_COND_intel96): Likewise.
9175 (TEST_COND_m68k96): Likewise.
9176 (TEST_COND_ibm128_libgcc): Likewise.
9177 (XFAIL_IBM128_LIBGCC): Likewise.
9178 (PAYLOAD_DIG): Likewise.
9179 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9180 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9181 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9182 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9183 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9184 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9185 (TEST_COND_long32): Likewise.
9186 (TEST_COND_long64): Likewise.
9187 (TEST_COND_before_rounding): Likewise.
9188 (TEST_COND_after_rounding): Likewise.
9189 (ulps_file_name): Likewise.
9190 (ulps_file): Likewise.
9191 (output_ulps): Likewise.
9192 (output_dir): Likewise.
9193 (noErrors): Likewise.
9194 (noTests): Likewise.
9195 (noExcTests): Likewise.
9196 (noErrnoTests): Likewise.
9197 (verbose): Likewise.
9198 (output_max_error): Likewise.
9199 (output_points): Likewise.
9200 (ignore_max_ulp): Likewise.
9201 (max_error): Likewise.
9202 (real_max_error): Likewise.
9203 (imag_max_error): Likewise.
9204 (prev_max_error): Likewise.
9205 (prev_real_max_error): Likewise.
9206 (prev_imag_max_error): Likewise.
9207 (max_valid_error): Likewise.
9208 (TYPE_DECIMAL_DIG): Likewise.
9209 (TYPE_HEX_DIG): Likewise.
9210 (fmt_ftostr): Likewise.
9211 (compare_ulp_data): Likewise.
9212 (find_ulps): Likewise.
9213 (init_max_error): Likewise.
9214 (set_max_error): Likewise.
9215 (print_float): Likewise.
9216 (print_screen): Likewise.
9217 (print_screen_max_error): Likewise.
9218 (update_stats): Likewise.
9219 (print_function_ulps): Likewise.
9220 (print_complex_function_ulps): Likewise.
9221 (fpstack_test): Likewise.
9222 (print_max_error): Likewise.
9223 (print_complex_max_error): Likewise.
9224 (test_single_exception): Likewise.
9225 (test_exceptions): Likewise.
9226 (test_single_errno): Likewise.
9227 (test_errno): Likewise.
9228 (ULPDIFF): Likewise.
9229 (ulp): Likewise.
9230 (check_float_internal): Likewise.
9231 (check_float): Likewise.
9232 (check_complex): Likewise.
9233 (check_int): Likewise.
9234 (check_long): Likewise.
9235 (check_bool): Likewise.
9236 (check_longlong): Likewise.
9237 (check_intmax_t): Likewise.
9238 (check_uintmax_t): Likewise.
9239 (enable_test): Likewise.
9240 (matherr): Likewise.
9241 (initialize): Likewise.
9242 (options): Likewise.
9243 (doc): Remove static.
9244 (argp): Likewise.
9245 (parse_opt): Remove.
9246 (check_ulp): Likewise.
9247 (libm_test_init): Likewise.
9248 (libm_test_finish): Likewise.
9249 * math/Makefile (libm-test-support): New variable.
9250 (test-extras): Add libm-test-support files.
9251 (extra-test-objs): Likewise.
9252 (CFLAGS-libm-test-support-float.c): New variable.
9253 (CFLAGS-libm-test-support-double.c): Likewise.
9254 (CFLAGS-libm-test-support-ldouble.c): Likewise.
9255 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9256 libm-test-support objects.
9257
9258 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9259
9260 * math/Makefile (libm-calls): Move w_exp...
9261 (libm-compat-calls-auto): Here.
9262
9263 * math/w_expl.c: Add suffix "_compat" to filename.
9264 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9265 * sysdeps/ia64/fpu/w_expf.c: Likewise.
9266 * sysdeps/ia64/fpu/w_exp.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9268 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9272
9273 * math/w_expl_compat.c: New file, copied from above.
9274 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9275 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9276 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9278 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9281 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9282
9283 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9284 to filename.
9285 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9286
9287 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9288 copied from above and adjusted for the new filenames.
9289 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9290
9291 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9292
9293 * math/Makefile (libm-calls): Move w_lgammaF...
9294 (libm-compat-calls-auto): Here.
9295
9296 * math/w_lgamma.c: Add suffix "_compat2" to filename.
9297 * math/w_lgammaf.c: Likewise.
9298 * math/w_lgammal.c: Likewise.
9299
9300 * math/w_lgamma_compat2.c: New file, copied from above.
9301 * math/w_lgammaf_compat2.c: Likewise.
9302 * math/w_lgammal_compat2.c: Likewise.
9303
9304 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
9305
9306 * math/Makefile (libm-calls): Move w_lgammaF_r...
9307 (libm-compat-calls-auto): Here.
9308
9309 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9310 * math/w_lgammaf_r.c: Likewise.
9311 * math/w_lgammal_r.c: Likewise.
9312 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9313 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9314 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9315
9316 * math/w_lgamma_r_compat.c: New file, copied from above.
9317 * math/w_lgammaf_r_compat.c: Likewise.
9318 * math/w_lgammal_r_compat.c: Likewise.
9319 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9320 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9321 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9322
9323 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9324 to filename.
9325 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9326
9327 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9328 copied from above and adjusted for the new filenames.
9329 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9330
9331 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
9332
9333 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9334 calculation in SYSCALL_ERROR_HANDLER().
9335
9336 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
9337
9338 * manual/contrib.texi: Fix typo.
9339
9340 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9341
9342 [BZ #21109]
9343 * elf/dl-tunable-types.h (tunable_callback_t): Accept
9344 tunable_val_t as argument.
9345 * elf/dl-tunables.c (__tunable_set_val): Add comment.
9346 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9347 argument.
9348 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9349
9350 2017-02-08 Kir Kolyshkin <kir@openvz.org>
9351
9352 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9353 Add PTRACE_EVENT_STOP.
9354 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9355 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9356 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9358 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9359 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9360
9361 2017-02-07 Joseph Myers <joseph@codesourcery.com>
9362
9363 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9364 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9365 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9366 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9367 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9368 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9369 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9370 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9371 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9372 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9373
9374 [BZ #21112]
9375 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9376 12 bits zero.
9377 (cp_l): Update for new value of cp_h.
9378 * math/auto-libm-test-in: Add another test of pow.
9379 * math/auto-libm-test-out-pow: Regenerated.
9380
9381 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9382
9383 * manual/contrib.texi: Fix typo.
9384
9385 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9386
9387 [BZ #15998]
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9389 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9391
9392 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9393
9394 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9395 STRCHR as __strchr_power8.
9396 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9397 strlen as __strlen_power8.
9398
9399 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9400
9401 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9402 unaligned load for shorter strings.
9403 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9404
9405 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9406
9407 * math/libm-test-driver.c (flag_test_errno): New variable.
9408 (flag_test_exceptions): Likewise.
9409 (flag_test_finite): Likewise.
9410 (flag_test_inline): Likewise.
9411 (flag_test_mathvec): Likewise.
9412 (test_msg): Likewise.
9413 (ulp_idx): Likewise.
9414 (qtype_str): Likewise.
9415 (ULP_IDX): Remove macro.
9416 (QTYPE_STR): Likewise.
9417 (find_ulps): Use ulp_idx not ULP_IDX.
9418 (print_function_ulps): Use qtype_str, printed with %s, not
9419 QTYPE_STR, printed with concatentation to format string.
9420 (print_complex_function_ulps): Likewise.
9421 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9422 (test_errno): Use flag_test_errno not TEST_ERRNO.
9423 (enable_test): Use flag_test_inline, flag_test_finite and
9424 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9425 TEST_MATHVEC.
9426 (libm_test_init): New function. Factored out of main.
9427 (libm_test_finish): Likewise.
9428 (main): Call libm_test_init and libm_test_finish and move most
9429 code to those functions.
9430
9431 * math/libm-test-driver.c (STRX): New macro.
9432 (STR): Likewise.
9433 (STR_FLOAT): Likewise.
9434 (STR_VEC_LEN): Likewise.
9435 (TEST_MSG): Likewise. Define here instead of expecting to be
9436 defined by including file.
9437 * math/test-double-finite.c (TEST_MSG): Remove macro.
9438 * math/test-double-vlen2.h (TEST_MSG): Likewise.
9439 * math/test-double-vlen4.h (TEST_MSG): Likewise.
9440 * math/test-double-vlen8.h (TEST_MSG): Likewise.
9441 * math/test-double.c (TEST_MSG): Likewise.
9442 * math/test-float-finite.c (TEST_MSG): Likewise.
9443 * math/test-float-vlen16.h (TEST_MSG): Likewise.
9444 * math/test-float-vlen4.h (TEST_MSG): Likewise.
9445 * math/test-float-vlen8.h (TEST_MSG): Likewise.
9446 * math/test-float.c (TEST_MSG): Likewise.
9447 * math/test-idouble.c (TEST_MSG): Likewise.
9448 * math/test-ifloat.c (TEST_MSG): Likewise.
9449 * math/test-ildouble.c (TEST_MSG): Likewise.
9450 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9451 * math/test-ldouble.c (TEST_MSG): Likewise.
9452
9453 * math/libm-test.inc: Move all tests of individual functions to
9454 libm-test-*.inc and #include libm-test-*.c files.
9455 (acos_test_data): Remove.
9456 (acos_test): Likewise.
9457 (acosh_test_data): Likewise.
9458 (acosh_test): Likewise.
9459 (asin_test_data): Likewise.
9460 (asin_test): Likewise.
9461 (asinh_test_data): Likewise.
9462 (asinh_test): Likewise.
9463 (atan_test_data): Likewise.
9464 (atan_test): Likewise.
9465 (atanh_test_data): Likewise.
9466 (atanh_test): Likewise.
9467 (atan2_test_data): Likewise.
9468 (atan2_test): Likewise.
9469 (cabs_test_data): Likewise.
9470 (cabs_test): Likewise.
9471 (cacos_test_data): Likewise.
9472 (cacos_test): Likewise.
9473 (cacosh_test_data): Likewise.
9474 (cacosh_test): Likewise.
9475 (canonicalize_test_data): Likewise.
9476 (canonicalize_test): Likewise.
9477 (carg_test_data): Likewise.
9478 (carg_test): Likewise.
9479 (casin_test_data): Likewise.
9480 (casin_test): Likewise.
9481 (casinh_test_data): Likewise.
9482 (casinh_test): Likewise.
9483 (catan_test_data): Likewise.
9484 (catan_test): Likewise.
9485 (catanh_test_data): Likewise.
9486 (catanh_test): Likewise.
9487 (cbrt_test_data): Likewise.
9488 (cbrt_test): Likewise.
9489 (ccos_test_data): Likewise.
9490 (ccos_test): Likewise.
9491 (ccosh_test_data): Likewise.
9492 (ccosh_test): Likewise.
9493 (ceil_test_data): Likewise.
9494 (ceil_test): Likewise.
9495 (cexp_test_data): Likewise.
9496 (cexp_test): Likewise.
9497 (cimag_test_data): Likewise.
9498 (cimag_test): Likewise.
9499 (clog_test_data): Likewise.
9500 (clog_test): Likewise.
9501 (clog10_test_data): Likewise.
9502 (clog10_test): Likewise.
9503 (conj_test_data): Likewise.
9504 (conj_test): Likewise.
9505 (copysign_test_data): Likewise.
9506 (copysign_test): Likewise.
9507 (cos_test_data): Likewise.
9508 (cos_test): Likewise.
9509 (cosh_test_data): Likewise.
9510 (cosh_test): Likewise.
9511 (cpow_test_data): Likewise.
9512 (cpow_test): Likewise.
9513 (cproj_test_data): Likewise.
9514 (cproj_test): Likewise.
9515 (creal_test_data): Likewise.
9516 (creal_test): Likewise.
9517 (csin_test_data): Likewise.
9518 (csin_test): Likewise.
9519 (csinh_test_data): Likewise.
9520 (csinh_test): Likewise.
9521 (csqrt_test_data): Likewise.
9522 (csqrt_test): Likewise.
9523 (ctan_test_data): Likewise.
9524 (ctan_test): Likewise.
9525 (ctanh_test_data): Likewise.
9526 (ctanh_test): Likewise.
9527 (erf_test_data): Likewise.
9528 (erf_test): Likewise.
9529 (erfc_test_data): Likewise.
9530 (erfc_test): Likewise.
9531 (exp_test_data): Likewise.
9532 (exp_test): Likewise.
9533 (exp10_test_data): Likewise.
9534 (exp10_test): Likewise.
9535 (pow10_test): Likewise.
9536 (exp2_test_data): Likewise.
9537 (exp2_test): Likewise.
9538 (expm1_test_data): Likewise.
9539 (expm1_test): Likewise.
9540 (fabs_test_data): Likewise.
9541 (fabs_test): Likewise.
9542 (fdim_test_data): Likewise.
9543 (fdim_test): Likewise.
9544 (floor_test_data): Likewise.
9545 (floor_test): Likewise.
9546 (fma_test_data): Likewise.
9547 (fma_test): Likewise.
9548 (fmax_test_data): Likewise.
9549 (fmax_test): Likewise.
9550 (fmaxmag_test_data): Likewise.
9551 (fmaxmag_test): Likewise.
9552 (fmin_test_data): Likewise.
9553 (fmin_test): Likewise.
9554 (fminmag_test_data): Likewise.
9555 (fminmag_test): Likewise.
9556 (fmod_test_data): Likewise.
9557 (fmod_test): Likewise.
9558 (fpclassify_test_data): Likewise.
9559 (fpclassify_test): Likewise.
9560 (frexp_test_data): Likewise.
9561 (frexp_test): Likewise.
9562 (fromfp_test_data): Likewise.
9563 (fromfp_test): Likewise.
9564 (fromfpx_test_data): Likewise.
9565 (fromfpx_test): Likewise.
9566 (getpayload_test_data): Likewise.
9567 (getpayload_test): Likewise.
9568 (hypot_test_data): Likewise.
9569 (hypot_test): Likewise.
9570 (ilogb_test_data): Likewise.
9571 (ilogb_test): Likewise.
9572 (iscanonical_test_data): Likewise.
9573 (iscanonical_test): Likewise.
9574 (iseqsig_test_data): Likewise.
9575 (iseqsig_test): Likewise.
9576 (isfinite_test_data): Likewise.
9577 (isfinite_test): Likewise.
9578 (finite_test): Likewise.
9579 (isgreater_test_data): Likewise.
9580 (isgreater_test): Likewise.
9581 (isgreaterequal_test_data): Likewise.
9582 (isgreaterequal_test): Likewise.
9583 (isinf_test_data): Likewise.
9584 (isinf_test): Likewise.
9585 (isless_test_data): Likewise.
9586 (isless_test): Likewise.
9587 (islessequal_test_data): Likewise.
9588 (islessequal_test): Likewise.
9589 (islessgreater_test_data): Likewise.
9590 (islessgreater_test): Likewise.
9591 (isnan_test_data): Likewise.
9592 (isnan_test): Likewise.
9593 (isnormal_test_data): Likewise.
9594 (isnormal_test): Likewise.
9595 (issignaling_test_data): Likewise.
9596 (issignaling_test): Likewise.
9597 (issubnormal_test_data): Likewise.
9598 (issubnormal_test): Likewise.
9599 (isunordered_test_data): Likewise.
9600 (isunordered_test): Likewise.
9601 (iszero_test_data): Likewise.
9602 (iszero_test): Likewise.
9603 (j0_test_data): Likewise.
9604 (j0_test): Likewise.
9605 (j1_test_data): Likewise.
9606 (j1_test): Likewise.
9607 (jn_test_data): Likewise.
9608 (jn_test): Likewise.
9609 (lgamma_test_data): Likewise.
9610 (lgamma_test): Likewise.
9611 (gamma_test): Likewise.
9612 (llogb_test_data): Likewise.
9613 (llogb_test): Likewise.
9614 (lrint_test_data): Likewise.
9615 (lrint_test): Likewise.
9616 (llrint_test_data): Likewise.
9617 (llrint_test): Likewise.
9618 (log_test_data): Likewise.
9619 (log_test): Likewise.
9620 (log10_test_data): Likewise.
9621 (log10_test): Likewise.
9622 (log1p_test_data): Likewise.
9623 (log1p_test): Likewise.
9624 (log2_test_data): Likewise.
9625 (log2_test): Likewise.
9626 (logb_test_data): Likewise.
9627 (logb_test): Likewise.
9628 (lround_test_data): Likewise.
9629 (lround_test): Likewise.
9630 (llround_test_data): Likewise.
9631 (llround_test): Likewise.
9632 (modf_test_data): Likewise.
9633 (modf_test): Likewise.
9634 (nearbyint_test_data): Likewise.
9635 (nearbyint_test): Likewise.
9636 (nextafter_test_data): Likewise.
9637 (nextafter_test): Likewise.
9638 (nextup_test_data): Likewise.
9639 (nextup_test): Likewise.
9640 (nextdown_test_data): Likewise.
9641 (nextdown_test): Likewise.
9642 (nexttoward_test_data): Likewise.
9643 (nexttoward_test): Likewise.
9644 (pow_test_data): Likewise.
9645 (pow_test): Likewise.
9646 (remainder_test_data): Likewise.
9647 (remainder_test): Likewise.
9648 (drem_test): Likewise.
9649 (remquo_test_data): Likewise.
9650 (remquo_test): Likewise.
9651 (rint_test_data): Likewise.
9652 (rint_test): Likewise.
9653 (round_test_data): Likewise.
9654 (round_test): Likewise.
9655 (roundeven_test_data): Likewise.
9656 (roundeven_test): Likewise.
9657 (scalb_test_data): Likewise.
9658 (scalb_test): Likewise.
9659 (scalbn_test_data): Likewise.
9660 (scalbn_test): Likewise.
9661 (ldexp_test): Likewise.
9662 (scalbln_test_data): Likewise.
9663 (scalbln_test): Likewise.
9664 (setpayload_test_data): Likewise.
9665 (setpayload_test): Likewise.
9666 (setpayloadsig_test_data): Likewise.
9667 (setpayloadsig_test): Likewise.
9668 (signbit_test_data): Likewise.
9669 (signbit_test): Likewise.
9670 (sin_test_data): Likewise.
9671 (sin_test): Likewise.
9672 (sincos_test_data): Likewise.
9673 (sincos_test): Likewise.
9674 (sinh_test_data): Likewise.
9675 (sinh_test): Likewise.
9676 (sqrt_test_data): Likewise.
9677 (sqrt_test): Likewise.
9678 (tan_test_data): Likewise.
9679 (tan_test): Likewise.
9680 (tanh_test_data): Likewise.
9681 (tanh_test): Likewise.
9682 (tgamma_test_data): Likewise.
9683 (tgamma_test): Likewise.
9684 (totalorder_test_data): Likewise.
9685 (totalorder_test): Likewise.
9686 (totalordermag_test_data): Likewise.
9687 (totalordermag_test): Likewise.
9688 (trunc_test_data): Likewise.
9689 (trunc_test): Likewise.
9690 (ufromfp_test_data): Likewise.
9691 (ufromfp_test): Likewise.
9692 (ufromfpx_test_data): Likewise.
9693 (ufromfpx_test): Likewise.
9694 (y0_test_data): Likewise.
9695 (y0_test): Likewise.
9696 (y1_test_data): Likewise.
9697 (y1_test): Likewise.
9698 (yn_test_data): Likewise.
9699 (yn_test): Likewise.
9700 (significand_test_data): Likewise.
9701 (significand_test): Likewise.
9702 * math/Makefile (auto-libm-test-out-files): Remove variable.
9703 (libm-test-funcs-noauto): New variable.
9704 (libm-test-funcs-all): Likewise.
9705 (libm-test-c-auto): Likewise.
9706 (libm-test-c-noauto): Likewise.
9707 (libm-tests-generated): Add $(libm-test-c-auto) and
9708 $(libm-test-c-noauto).
9709 (generated): Do not add auto-libm-test-out.
9710 (libm-test-c-auto-obj): New variable.
9711 (libm-test-c-noauto-obj): Likewise.
9712 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9713 ($(libm-test-c-noauto-obj)): New static pattern rule.
9714 ($(libm-test-c-auto-obj)): Likewise.
9715 (libm-test-incs): New variable.
9716 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9717 and pass it to gen-libm-have-vector-test.sh.
9718 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9719 be passed on command line.
9720 * math/libm-test-acos.inc: New file. Content from
9721 math/libm-test.inc.
9722 * math/libm-test-acosh.inc: Likewise.
9723 * math/libm-test-asin.inc: Likewise.
9724 * math/libm-test-asinh.inc: Likewise.
9725 * math/libm-test-atan.inc: Likewise.
9726 * math/libm-test-atan2.inc: Likewise.
9727 * math/libm-test-atanh.inc: Likewise.
9728 * math/libm-test-cabs.inc: Likewise.
9729 * math/libm-test-cacos.inc: Likewise.
9730 * math/libm-test-cacosh.inc: Likewise.
9731 * math/libm-test-canonicalize.inc: Likewise.
9732 * math/libm-test-carg.inc: Likewise.
9733 * math/libm-test-casin.inc: Likewise.
9734 * math/libm-test-casinh.inc: Likewise.
9735 * math/libm-test-catan.inc: Likewise.
9736 * math/libm-test-catanh.inc: Likewise.
9737 * math/libm-test-cbrt.inc: Likewise.
9738 * math/libm-test-ccos.inc: Likewise.
9739 * math/libm-test-ccosh.inc: Likewise.
9740 * math/libm-test-ceil.inc: Likewise.
9741 * math/libm-test-cexp.inc: Likewise.
9742 * math/libm-test-cimag.inc: Likewise.
9743 * math/libm-test-clog.inc: Likewise.
9744 * math/libm-test-clog10.inc: Likewise.
9745 * math/libm-test-conj.inc: Likewise.
9746 * math/libm-test-copysign.inc: Likewise.
9747 * math/libm-test-cos.inc: Likewise.
9748 * math/libm-test-cosh.inc: Likewise.
9749 * math/libm-test-cpow.inc: Likewise.
9750 * math/libm-test-cproj.inc: Likewise.
9751 * math/libm-test-creal.inc: Likewise.
9752 * math/libm-test-csin.inc: Likewise.
9753 * math/libm-test-csinh.inc: Likewise.
9754 * math/libm-test-csqrt.inc: Likewise.
9755 * math/libm-test-ctan.inc: Likewise.
9756 * math/libm-test-ctanh.inc: Likewise.
9757 * math/libm-test-erf.inc: Likewise.
9758 * math/libm-test-erfc.inc: Likewise.
9759 * math/libm-test-exp.inc: Likewise.
9760 * math/libm-test-exp10.inc: Likewise.
9761 * math/libm-test-exp2.inc: Likewise.
9762 * math/libm-test-expm1.inc: Likewise.
9763 * math/libm-test-fabs.inc: Likewise.
9764 * math/libm-test-fdim.inc: Likewise.
9765 * math/libm-test-floor.inc: Likewise.
9766 * math/libm-test-fma.inc: Likewise.
9767 * math/libm-test-fmax.inc: Likewise.
9768 * math/libm-test-fmaxmag.inc: Likewise.
9769 * math/libm-test-fmin.inc: Likewise.
9770 * math/libm-test-fminmag.inc: Likewise.
9771 * math/libm-test-fmod.inc: Likewise.
9772 * math/libm-test-fpclassify.inc: Likewise.
9773 * math/libm-test-frexp.inc: Likewise.
9774 * math/libm-test-fromfp.inc: Likewise.
9775 * math/libm-test-fromfpx.inc: Likewise.
9776 * math/libm-test-getpayload.inc: Likewise.
9777 * math/libm-test-hypot.inc: Likewise.
9778 * math/libm-test-ilogb.inc: Likewise.
9779 * math/libm-test-iscanonical.inc: Likewise.
9780 * math/libm-test-iseqsig.inc: Likewise.
9781 * math/libm-test-isfinite.inc: Likewise.
9782 * math/libm-test-isgreater.inc: Likewise.
9783 * math/libm-test-isgreaterequal.inc: Likewise.
9784 * math/libm-test-isinf.inc: Likewise.
9785 * math/libm-test-isless.inc: Likewise.
9786 * math/libm-test-islessequal.inc: Likewise.
9787 * math/libm-test-islessgreater.inc: Likewise.
9788 * math/libm-test-isnan.inc: Likewise.
9789 * math/libm-test-isnormal.inc: Likewise.
9790 * math/libm-test-issignaling.inc: Likewise.
9791 * math/libm-test-issubnormal.inc: Likewise.
9792 * math/libm-test-isunordered.inc: Likewise.
9793 * math/libm-test-iszero.inc: Likewise.
9794 * math/libm-test-j0.inc: Likewise.
9795 * math/libm-test-j1.inc: Likewise.
9796 * math/libm-test-jn.inc: Likewise.
9797 * math/libm-test-lgamma.inc: Likewise.
9798 * math/libm-test-llogb.inc: Likewise.
9799 * math/libm-test-llrint.inc: Likewise.
9800 * math/libm-test-llround.inc: Likewise.
9801 * math/libm-test-log.inc: Likewise.
9802 * math/libm-test-log10.inc: Likewise.
9803 * math/libm-test-log1p.inc: Likewise.
9804 * math/libm-test-log2.inc: Likewise.
9805 * math/libm-test-logb.inc: Likewise.
9806 * math/libm-test-lrint.inc: Likewise.
9807 * math/libm-test-lround.inc: Likewise.
9808 * math/libm-test-modf.inc: Likewise.
9809 * math/libm-test-nearbyint.inc: Likewise.
9810 * math/libm-test-nextafter.inc: Likewise.
9811 * math/libm-test-nextdown.inc: Likewise.
9812 * math/libm-test-nexttoward.inc: Likewise.
9813 * math/libm-test-nextup.inc: Likewise.
9814 * math/libm-test-pow.inc: Likewise.
9815 * math/libm-test-remainder.inc: Likewise.
9816 * math/libm-test-remquo.inc: Likewise.
9817 * math/libm-test-rint.inc: Likewise.
9818 * math/libm-test-round.inc: Likewise.
9819 * math/libm-test-roundeven.inc: Likewise.
9820 * math/libm-test-scalb.inc: Likewise.
9821 * math/libm-test-scalbln.inc: Likewise.
9822 * math/libm-test-scalbn.inc: Likewise.
9823 * math/libm-test-setpayload.inc: Likewise.
9824 * math/libm-test-setpayloadsig.inc: Likewise.
9825 * math/libm-test-signbit.inc: Likewise.
9826 * math/libm-test-significand.inc: Likewise.
9827 * math/libm-test-sin.inc: Likewise.
9828 * math/libm-test-sincos.inc: Likewise.
9829 * math/libm-test-sinh.inc: Likewise.
9830 * math/libm-test-sqrt.inc: Likewise.
9831 * math/libm-test-tan.inc: Likewise.
9832 * math/libm-test-tanh.inc: Likewise.
9833 * math/libm-test-tgamma.inc: Likewise.
9834 * math/libm-test-totalorder.inc: Likewise.
9835 * math/libm-test-totalordermag.inc: Likewise.
9836 * math/libm-test-trunc.inc: Likewise.
9837 * math/libm-test-ufromfp.inc: Likewise.
9838 * math/libm-test-ufromfpx.inc: Likewise.
9839 * math/libm-test-y0.inc: Likewise.
9840 * math/libm-test-y1.inc: Likewise.
9841 * math/libm-test-yn.inc: Likewise.
9842 * math/README.libm-test: Update.
9843
9844 * math/gen-auto-libm-tests.c: Update comment about use of program.
9845 (generate_output): Add argument FUNCTION.
9846 (main): Require extra argument. Pass function name to
9847 generate_output.
9848 * math/Makefile (generated): Add auto-libm-test-out.
9849 (libm-test-funcs-auto): New variable.
9850 (auto-libm-test-out-files): New variable.
9851 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9852 Concatenate those files to form $(objpfx)auto-libm-test-out and
9853 use it as input to gen-libm-test.pl.
9854 * math/README.libm-test: Update.
9855 * math/auto-libm-test-out: Remove.
9856 * math/auto-libm-test-out-acos: New generated file.
9857 * math/auto-libm-test-out-acosh: Likewise.
9858 * math/auto-libm-test-out-asin: Likewise.
9859 * math/auto-libm-test-out-asinh: Likewise.
9860 * math/auto-libm-test-out-atan: Likewise.
9861 * math/auto-libm-test-out-atan2: Likewise.
9862 * math/auto-libm-test-out-atanh: Likewise.
9863 * math/auto-libm-test-out-cabs: Likewise.
9864 * math/auto-libm-test-out-carg: Likewise.
9865 * math/auto-libm-test-out-cbrt: Likewise.
9866 * math/auto-libm-test-out-ccos: Likewise.
9867 * math/auto-libm-test-out-ccosh: Likewise.
9868 * math/auto-libm-test-out-cexp: Likewise.
9869 * math/auto-libm-test-out-clog: Likewise.
9870 * math/auto-libm-test-out-clog10: Likewise.
9871 * math/auto-libm-test-out-cos: Likewise.
9872 * math/auto-libm-test-out-cosh: Likewise.
9873 * math/auto-libm-test-out-cpow: Likewise.
9874 * math/auto-libm-test-out-csin: Likewise.
9875 * math/auto-libm-test-out-csinh: Likewise.
9876 * math/auto-libm-test-out-csqrt: Likewise.
9877 * math/auto-libm-test-out-ctan: Likewise.
9878 * math/auto-libm-test-out-ctanh: Likewise.
9879 * math/auto-libm-test-out-erf: Likewise.
9880 * math/auto-libm-test-out-erfc: Likewise.
9881 * math/auto-libm-test-out-exp: Likewise.
9882 * math/auto-libm-test-out-exp10: Likewise.
9883 * math/auto-libm-test-out-exp2: Likewise.
9884 * math/auto-libm-test-out-expm1: Likewise.
9885 * math/auto-libm-test-out-fma: Likewise.
9886 * math/auto-libm-test-out-hypot: Likewise.
9887 * math/auto-libm-test-out-j0: Likewise.
9888 * math/auto-libm-test-out-j1: Likewise.
9889 * math/auto-libm-test-out-jn: Likewise.
9890 * math/auto-libm-test-out-lgamma: Likewise.
9891 * math/auto-libm-test-out-log: Likewise.
9892 * math/auto-libm-test-out-log10: Likewise.
9893 * math/auto-libm-test-out-log1p: Likewise.
9894 * math/auto-libm-test-out-log2: Likewise.
9895 * math/auto-libm-test-out-pow: Likewise.
9896 * math/auto-libm-test-out-sin: Likewise.
9897 * math/auto-libm-test-out-sincos: Likewise.
9898 * math/auto-libm-test-out-sinh: Likewise.
9899 * math/auto-libm-test-out-sqrt: Likewise.
9900 * math/auto-libm-test-out-tan: Likewise.
9901 * math/auto-libm-test-out-tanh: Likewise.
9902 * math/auto-libm-test-out-tgamma: Likewise.
9903 * math/auto-libm-test-out-y0: Likewise.
9904 * math/auto-libm-test-out-y1: Likewise.
9905 * math/auto-libm-test-out-yn: Likewise.
9906
9907 * math/Makefile (generated): Do not include libm-test.stmp.
9908 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9909 on $(objpfx)libm-test.stmp.
9910 ($(objpfx)libm-test.stmp): Remove rule.
9911 ($(objpfx)libm-test-ulps.h): New rule.
9912 ($(objpfx)libm-test.c): Likewise.
9913 ($(objpfx)libm-have-vector-test.h): Likewise.
9914 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9915 individual generated files, not libm-test.stmp.
9916
9917 * math/gen-libm-test.pl ($output_dir): Remove variable.
9918 ($srcdir): Likewise.
9919 ($opt_a): New variable.
9920 ($opt_c): Likewise.
9921 ($opt_C): Likewise.
9922 ($opt_H): Likewise.
9923 (-n): Make option take argument and use it as NewUlps output.
9924 (-a): New option. Use its argument for auto-libm-test-out input.
9925 (-c): New option. Use its argument for libm-test.inc input.
9926 (-C): New option. Use its argument for libm-test.c output.
9927 (-H): New option. Use its argument for libm-test-ulps.h output.
9928 (top level): Only process inputs needed to generate outputs
9929 specified by command-line options. Only generate outputs
9930 specified by command-line options.
9931 * math/README.libm-test: Update example gen-libm-test.pl command.
9932 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9933 commands.
9934 (regen-ulps): Likewise.
9935
9936 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9937
9938 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9939 * include/string.h (index): Remove define.
9940 (rindex): Likewise.
9941 * misc/getttyent.c (__getttyent): Rename index to strchr.
9942 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9943 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9944
9945 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9946
9947 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9948 * math/libm-test.inc: Move all contents, other than tests of
9949 individual functions, to libm-test-driver.c.
9950 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9951 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9952 [!FE_UPWARD] (FE_UPWARD): Likewise.
9953 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9954 (NO_EXCEPTION): Likewise.
9955 (INVALID_EXCEPTION): Likewise.
9956 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9957 (OVERFLOW_EXCEPTION): Likewise.
9958 (UNDERFLOW_EXCEPTION): Likewise.
9959 (INEXACT_EXCEPTION): Likewise.
9960 (INVALID_EXCEPTION_OK): Likewise.
9961 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9962 (OVERFLOW_EXCEPTION_OK): Likewise.
9963 (UNDERFLOW_EXCEPTION_OK): Likewise.
9964 (NO_INEXACT_EXCEPTION): Likewise.
9965 (EXCEPTIONS_OK): Likewise.
9966 (IGNORE_ZERO_INF_SIGN): Likewise.
9967 (TEST_NAN_SIGN): Likewise.
9968 (TEST_NAN_PAYLOAD): Likewise.
9969 (NO_TEST_INLINE): Likewise.
9970 (XFAIL_TEST): Likewise.
9971 (ERRNO_UNCHANGED): Likewise.
9972 (ERRNO_EDOM): Likewise.
9973 (ERRNO_ERANGE): Likewise.
9974 (IGNORE_RESULT): Likewise.
9975 (NON_FINITE): Likewise.
9976 (TEST_SNAN): Likewise.
9977 (NO_TEST_MATHVEC): Likewise.
9978 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9979 (__CONCATX): Likewise.
9980 (TYPE_MIN): Likewise.
9981 (TYPE_TRUE_MIN): Likewise.
9982 (TYPE_MAX): Likewise.
9983 (MIN_EXP): Likewise.
9984 (MAX_EXP): Likewise.
9985 (MANT_DIG): Likewise.
9986 (FSTR_MAX): Likewise.
9987 (ULP_IDX): Likewise.
9988 (QTYPE_STR): Likewise.
9989 (TEST_COND_binary32): Likewise.
9990 (TEST_COND_binary64): Likewise.
9991 (TEST_COND_binary128): Likewise.
9992 (TEST_COND_ibm128): Likewise.
9993 (TEST_COND_intel96): Likewise.
9994 (TEST_COND_m68k96): Likewise.
9995 (TEST_COND_ibm128_libgcc): Likewise.
9996 (XFAIL_IBM128_LIBGCC): Likewise.
9997 (PAYLOAD_DIG): Likewise.
9998 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9999 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10000 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10001 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10002 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10003 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10004 (TEST_COND_long32): Likewise.
10005 (TEST_COND_long64): Likewise.
10006 (TEST_COND_before_rounding): Likewise.
10007 (TEST_COND_after_rounding): Likewise.
10008 (lit_pi_3_m_4_d): Likewise.
10009 (lit_pi_3_m_4_ln10_m_d): Likewise.
10010 (lit_pi_2_ln10_m_d): Likewise.
10011 (lit_pi_4_ln10_m_d): Likewise.
10012 (lit_pi_ln10_d): Likewise.
10013 (lit_pi_2_d): Likewise.
10014 (lit_pi_4_d): Likewise.
10015 (lit_pi): Likewise.
10016 (lit_e): Likewise.
10017 (ulps_file_name): Likewise.
10018 (ulps_file): Likewise.
10019 (output_ulps): Likewise.
10020 (output_dir): Likewise.
10021 (noErrors): Likewise.
10022 (noTests): Likewise.
10023 (noExcTests): Likewise.
10024 (noErrnoTests): Likewise.
10025 (verbose): Likewise.
10026 (output_max_error): Likewise.
10027 (output_points): Likewise.
10028 (ignore_max_ulp): Likewise.
10029 (plus_zero): Likewise.
10030 (minus_zero): Likewise.
10031 (plus_infty): Likewise.
10032 (minus_infty): Likewise.
10033 (qnan_value_pl): Likewise.
10034 (qnan_value): Likewise.
10035 (snan_value_pl): Likewise.
10036 (snan_value): Likewise.
10037 (max_value): Likewise.
10038 (min_value): Likewise.
10039 (min_subnorm_value): Likewise.
10040 (snan_value_ld): Likewise.
10041 (max_error): Likewise.
10042 (real_max_error): Likewise.
10043 (imag_max_error): Likewise.
10044 (prev_max_error): Likewise.
10045 (prev_real_max_error): Likewise.
10046 (prev_imag_max_error): Likewise.
10047 (max_valid_error): Likewise.
10048 (TYPE_DECIMAL_DIG): Likewise.
10049 (TYPE_HEX_DIG): Likewise.
10050 (fmt_ftostr): Likewise.
10051 (compare_ulp_data): Likewise.
10052 (find_ulps): Likewise.
10053 (init_max_error): Likewise.
10054 (set_max_error): Likewise.
10055 (print_float): Likewise.
10056 (print_screen): Likewise.
10057 (print_screen_max_error): Likewise.
10058 (update_stats): Likewise.
10059 (print_function_ulps): Likewise.
10060 (print_complex_function_ulps): Likewise.
10061 (fpstack_test): Likewise.
10062 (print_max_error): Likewise.
10063 (print_complex_max_error): Likewise.
10064 (test_single_exception): Likewise.
10065 (test_exceptions): Likewise.
10066 (test_single_errno): Likewise.
10067 (test_errno): Likewise.
10068 (ULPDIFF): Likewise.
10069 (ulp): Likewise.
10070 (check_float_internal): Likewise.
10071 (check_float): Likewise.
10072 (check_complex): Likewise.
10073 (check_int): Likewise.
10074 (check_long): Likewise.
10075 (check_bool): Likewise.
10076 (check_longlong): Likewise.
10077 (check_intmax_t): Likewise.
10078 (check_uintmax_t): Likewise.
10079 (enable_test): Likewise.
10080 (struct test_f_f_data): Likewise.
10081 (struct test_ff_f_data): Likewise.
10082 (struct test_fj_f_data): Likewise.
10083 (struct test_fi_f_data): Likewise.
10084 (struct test_fl_f_data): Likewise.
10085 (struct test_if_f_data): Likewise.
10086 (struct test_fff_f_data): Likewise.
10087 (struct test_fiu_M_data): Likewise.
10088 (struct test_fiu_U_data): Likewise.
10089 (struct test_c_f_data): Likewise.
10090 (struct test_f_f1_data): Likewise.
10091 (struct test_fF_f1_data): Likewise.
10092 (struct test_ffI_f1_data): Likewise.
10093 (struct test_c_c_data): Likewise.
10094 (struct test_cc_c_data): Likewise.
10095 (struct test_f_i_data): Likewise.
10096 (struct test_ff_i_data): Likewise.
10097 (struct test_f_l_data): Likewise.
10098 (struct test_f_L_data): Likewise.
10099 (struct test_fFF_11_data): Likewise.
10100 (struct test_Ff_b1_data): Likewise.
10101 (IF_ROUND_INIT_): Likewise.
10102 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10103 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10104 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10105 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10106 (ROUND_RESTORE_): Likewise.
10107 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10108 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10109 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10110 (ROUND_RESTORE_FE_UPWARD): Likewise.
10111 (RM_): Likewise.
10112 (RM_FE_DOWNWARD): Likewise.
10113 (RM_FE_TONEAREST): Likewise.
10114 (RM_FE_TOWARDZERO): Likewise.
10115 (RM_FE_UPWARD): Likewise.
10116 (COMMON_TEST_SETUP): Likewise.
10117 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10118 (COMMON_TEST_CLEANUP): Likewise.
10119 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10120 (RUN_TEST_f_f): Likewise.
10121 (RUN_TEST_LOOP_f_f): Likewise.
10122 (RUN_TEST_fp_f): Likewise.
10123 (RUN_TEST_LOOP_fp_f): Likewise.
10124 (RUN_TEST_2_f): Likewise.
10125 (RUN_TEST_LOOP_2_f): Likewise.
10126 (RUN_TEST_ff_f): Likewise.
10127 (RUN_TEST_LOOP_ff_f): Likewise.
10128 (RUN_TEST_LOOP_fj_f): Likewise.
10129 (RUN_TEST_fi_f): Likewise.
10130 (RUN_TEST_LOOP_fi_f): Likewise.
10131 (RUN_TEST_fl_f): Likewise.
10132 (RUN_TEST_LOOP_fl_f): Likewise.
10133 (RUN_TEST_if_f): Likewise.
10134 (RUN_TEST_LOOP_if_f): Likewise.
10135 (RUN_TEST_fff_f): Likewise.
10136 (RUN_TEST_LOOP_fff_f): Likewise.
10137 (RUN_TEST_fiu_M): Likewise.
10138 (RUN_TEST_LOOP_fiu_M): Likewise.
10139 (RUN_TEST_fiu_U): Likewise.
10140 (RUN_TEST_LOOP_fiu_U): Likewise.
10141 (RUN_TEST_c_f): Likewise.
10142 (RUN_TEST_LOOP_c_f): Likewise.
10143 (RUN_TEST_f_f1): Likewise.
10144 (RUN_TEST_LOOP_f_f1): Likewise.
10145 (RUN_TEST_fF_f1): Likewise.
10146 (RUN_TEST_LOOP_fF_f1): Likewise.
10147 (RUN_TEST_fI_f1): Likewise.
10148 (RUN_TEST_LOOP_fI_f1): Likewise.
10149 (RUN_TEST_ffI_f1_mod8): Likewise.
10150 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10151 (RUN_TEST_Ff_b1): Likewise.
10152 (RUN_TEST_LOOP_Ff_b1): Likewise.
10153 (RUN_TEST_Ffp_b1): Likewise.
10154 (RUN_TEST_LOOP_Ffp_b1): Likewise.
10155 (RUN_TEST_c_c): Likewise.
10156 (RUN_TEST_LOOP_c_c): Likewise.
10157 (RUN_TEST_cc_c): Likewise.
10158 (RUN_TEST_LOOP_cc_c): Likewise.
10159 (RUN_TEST_f_i): Likewise.
10160 (RUN_TEST_LOOP_f_i): Likewise.
10161 (RUN_TEST_f_i_tg): Likewise.
10162 (RUN_TEST_LOOP_f_i_tg): Likewise.
10163 (RUN_TEST_ff_b): Likewise.
10164 (RUN_TEST_LOOP_ff_b): Likewise.
10165 (RUN_TEST_ff_i_tg): Likewise.
10166 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10167 (RUN_TEST_f_b): Likewise.
10168 (RUN_TEST_LOOP_f_b): Likewise.
10169 (RUN_TEST_f_b_tg): Likewise.
10170 (RUN_TEST_LOOP_f_b_tg): Likewise.
10171 (RUN_TEST_f_l): Likewise.
10172 (RUN_TEST_LOOP_f_l): Likewise.
10173 (RUN_TEST_f_L): Likewise.
10174 (RUN_TEST_LOOP_f_L): Likewise.
10175 (RUN_TEST_fFF_11): Likewise.
10176 (RUN_TEST_LOOP_fFF_11): Likewise.
10177 (VEC_SUFF): Likewise.
10178 (STR_CONCAT): Likewise.
10179 (STR_CON3): Likewise.
10180 (HAVE_VECTOR): Likewise.
10181 (START): Likewise.
10182 (END): Likewise.
10183 (END_COMPLEX): Likewise.
10184 (ALL_RM_TEST): Likewise.
10185 (matherr): Likewise.
10186 (initialize): Likewise.
10187 (options): Likewise.
10188 (doc): Likewise.
10189 (parse_opt): Likewise.
10190 (argp): Likewise.
10191 (check_ulp): Likewise.
10192 (main): Likewise.
10193 (do_test): New function. Call tests of individual functions
10194 previously called from main.
10195
10196 * math/libm-test.inc: Remove comment listing functions tested and
10197 not tested.
10198
10199 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10200
10201 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10202 (allocate_stack): Remove COLORING_INCREMENT usage.
10203 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10204 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10205
10206 2017-02-06 Joseph Myers <joseph@codesourcery.com>
10207
10208 * manual/libm-err-tab.pl (@all_functions): Change to
10209 %all_functions. Initialize as empty.
10210 (parse_ulps): Add to %all_functions based on functions found in
10211 ulps files. Ignore results for non-default rounding modes and
10212 vector functions.
10213 (print_platforms): Use %all_platforms.
10214 * manual/math.texi (Errors in Math Functions): Document omissions
10215 from the table.
10216
10217 * math/Makefile (before-compile): Remove.
10218
10219 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10220
10221 [BZ #21075]
10222 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10223 unused assignment.
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10225
10226 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10227
10228 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10229 Add __glibc_unlikely hint.
10230
10231 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10232
10233 [BZ #16640]
10234 * sysdeps/i386/i686/strtok.S: Remove file.
10235 * sysdeps/i386/i686/strtok_r.S: Likewise.
10236 * sysdeps/i386/strtok.S: Likewise.
10237 * sysdeps/i386/strtok_r.S: Likewise.
10238 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10239 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10240 * sysdeps/x86_64/strtok.S: Likewise.
10241 * sysdeps/x86_64/strtok_r.S: Likewise.
10242
10243 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10244 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10245 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10246 (__ASSUME_FADVISE64_AS_64_64): Define.
10247 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10248 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10249 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10250 __ALIGNMENT_ARG usage.
10251 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10252 __NR_fadvise64_64 if it is not defined.
10253
10254 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
10255
10256 * version.h (RELEASE): Set to "development"
10257 (VERSION): Set to 2.25.90.
10258 * NEWS: Add 2.26 section.
10259
10260 * version.h (RELEASE): Set to "stable"
10261 (VERSION): Set to 2.25.
10262 * include/features.h (__GLIBC_MINOR__): Set to 25.
10263
10264 * manual/contrib.texi: Add more contributors from this release
10265 and past releases.
10266
10267 * NEWS (2.25): Add list of bugs fixed.
10268
10269 * NEWS: Add missing news items.
10270
10271 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10272
10273 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10274 parent if child exited in that manner. Print WEXITSTATUS
10275 instead of the raw status.
10276 (do_test_prep): Rename to do_test.
10277 (do_test): Return the result of run_executable_sgid.
10278 (TEST_FUNCTION_ARGV): Adjust.
10279
10280 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
10281 Florian Weimer <fweimer@redhat.com>
10282 Carlos O'Donell <carlos@redhat.com>
10283
10284 [BZ #20915]
10285 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10286 Do not initialize DTV.
10287 * nptl/allocatestack.c (init_one_static_tls): Likewise.
10288
10289 2017-02-03 David S. Miller <davem@davemloft.net>
10290
10291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10300 (libm-sysdep_routines): Update.
10301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10306 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10307 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10308 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10309 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10311 Likewise.
10312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10314 Likewise.
10315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10317 Likewise.
10318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10320 Likewise.
10321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10323 (libm-sysdep_routines): Update.
10324
10325 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
10326
10327 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10328 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10329 against unrelocated shared library.
10330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10331
10332 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10333
10334 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10335 * elf/tst-env-setuid-tunables.c
10336 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10337 GLIBC_TUNABLES is removed in a setgid process.
10338
10339 [BZ #21073]
10340 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10341 * elf/dl-tunables.c (tunables_strdup): Remove.
10342 (get_next_env): Also return the previous envp.
10343 (parse_tunables): Erase tunables of category
10344 TUNABLES_SECLEVEL_SXID_ERASE.
10345 (maybe_enable_malloc_check): Make MALLOC_CHECK_
10346 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10347 (__tunables_init)[TUNABLES_FRONTEND ==
10348 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10349 after parsing.
10350 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10351 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10352 * elf/dl-tunables.h (struct _tunable): Change member is_secure
10353 to security_level.
10354 * elf/dl-tunables.list: Add security_level annotations for all
10355 tunables.
10356 * scripts/gen-tunables.awk: Recognize and generate enum values
10357 for security_level.
10358 * elf/tst-env-setuid.c: New test case.
10359 * elf/tst-env-setuid-tunables: new test case.
10360 * elf/Makefile (tests-static): Add them.
10361
10362 2017-02-01 Richard Henderson <rth@twiddle.net>
10363
10364 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10365 adjusting the byte count.
10366
10367 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
10368
10369 * conform/Makefile (linknamespace-libs): Define.
10370
10371 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10372 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10373 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10374 operands.
10375
10376 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
10377
10378 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10379
10380 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
10381
10382 [BZ #21081]
10383 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10384 (L(stosb)): Add VZEROUPPER before ret.
10385
10386 2016-01-28 Carlos O'Donell <carlos@redhat.com>
10387 Alexey Makhalov <amakhalov@vmware.com>
10388 Florian Weimer <fweimer@redhat.com>
10389
10390 [BZ #20116]
10391 * nptl/pthread_create.c: Document concurrency notes.
10392 Enhance thread creation notes.
10393 (create_thread): Use bool *stopped_start.
10394 (START_THREAD_DEFN): Comment ownership of PD.
10395 (__pthread_create_2_1): Add local bool stopped_start and use
10396 that instead of pd->stopped_start where appropriate.
10397 * nptl/createthread.c (create_thread): Use bool *stopped_start.
10398 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10399 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10400 * nptl/tst-create-detached.c: New file.
10401 * nptl/Makefile (tests): Add tst-create-detached.
10402 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10403 Reference the enhanced thread creation notes.
10404 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10405 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10406 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10407 (__pthread_current_priority): Likewise.
10408 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10409 xpthread_attr_init, xpthread_attr_setdetachstate, and
10410 xpthread_attr_setstacksize.
10411 * support/xpthread_attr_destroy.c: New file.
10412 * support/xpthread_attr_init.c: New file.
10413 * support/xpthread_attr_setdetachstate.c: New file.
10414 * support/xpthread_attr_setstacksize.c: New file.
10415 * support/xthread.h: Define prototypes for xpthread_attr_destroy
10416 xpthread_attr_init, xpthread_attr_setdetachstate, and
10417 xpthread_attr_setstacksize.
10418
10419 2017-01-27 Florian Weimer <fweimer@redhat.com>
10420
10421 * nptl/Makefile (tests): Add tst-robust-fork.
10422 * nptl/tst-robust-fork.c: New file.
10423 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10424 xpthread_mutex_consistent, xpthread_mutex_destroy,
10425 xpthread_mutex_init, xpthread_mutexattr_destroy,
10426 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10427 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10428 xpthread_mutexattr_settype.
10429 * support/xmmap.c: New file.
10430 * support/xmunmap.c: Likewise.
10431 * support/xpthread_mutex_consistent.c: Likewise.
10432 * support/xpthread_mutex_destroy.c: Likewise.
10433 * support/xpthread_mutex_init.c: Likewise.
10434 * support/xpthread_mutexattr_destroy.c: Likewise.
10435 * support/xpthread_mutexattr_init.c: Likewise.
10436 * support/xpthread_mutexattr_setprotocol.c: Likewise.
10437 * support/xpthread_mutexattr_setpshared.c: Likewise.
10438 * support/xpthread_mutexattr_setrobust.c: Likewise.
10439 * support/xpthread_mutexattr_settype.c: Likewise.
10440 * support/xthread.h (xpthread_mutexattr_destroy)
10441 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10442 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10443 (xpthread_mutexattr_settype, xpthread_mutex_init)
10444 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10445 * support/xunistd.h (xmmap, xmunmap): Likewise.
10446
10447 2017-01-25 Florian Weimer <fweimer@redhat.com>
10448
10449 * string/Makefile (xtests): Add comment.
10450 (LOCALES): Add en_GB.UTF-8.
10451 (tst-strcoll-overflow.out): Depend on generated locales.
10452 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10453 (SIZE, TIMEOUT): Update comments.
10454 (do_test): Define as static. Fail test if setlocale fails.
10455 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
10456 messages.
10457 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10458 TIMEOUT at 300 seconds should be enough to run this test
10459 successfully.
10460
10461 2017-01-24 Jakub Jelinek <jakub@redhat.com>
10462
10463 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10464 /* FALLTHRU */ comments.
10465
10466 2017-01-24 James Clarke <jrtc27@jrtc27.com>
10467
10468 [BZ #21053]
10469 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10470 constants instead of the old R* ones.
10471 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10472 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10473 (NGREG): ... to this, to fit in with other architectures.
10474 (gpregset_t): Use new NGREG macro.
10475 [__USE_GNU]: Remove condition; all architectures other than tile
10476 are unconditional.
10477 (R*): Rename to REG_R*.
10478
10479 2017-01-20 DJ Delorie <dj@redhat.com>
10480
10481 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10482 (tunable_set_val_if_valid_range_signed) ... this, and ...
10483 (tunable_set_val_if_valid_range_unsigned) ... this.
10484 (tunable_initialize): Call the correct one of the above based on type.
10485
10486 2017-01-20 Joseph Myers <joseph@codesourcery.com>
10487
10488 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10489 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10490 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10491 * sysdeps/microblaze/libm-test-ulps: Likewise.
10492 * sysdeps/sh/libm-test-ulps: Likewise.
10493
10494 * math/README.libm-test: Update list of characters for input and
10495 output types.
10496
10497 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10498
10499 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10500 (__lll_unlock_elision): Fix adapt_count decrement.
10501
10502 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
10503
10504 * README.pretty-printers (Known issues): Warn about printers not
10505 always covering everything.
10506 * nptl/nptl-printers.py (MutexPrinter): Change output.
10507 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10508
10509 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10510
10511 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10512 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10513 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10514 (__lll_lock_elision): Do not test futex before starting a
10515 transaction. Use __glibc_likely instead of __builtin_expect.
10516 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10517 (__lll_trylock_elision): Do not test futex before starting a
10518 transaction. Use __glibc_likely instead of __builtin_expect.
10519
10520 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
10521
10522 * po/Makefile (update-translations): New target.
10523
10524 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10525
10526 [BZ #21061]
10527 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10528
10529 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
10530
10531 * elf/dl-tunables (get_next_env): Always advance envp.
10532 * stdlib/tst-empty-env.c: New test case.
10533 * stdlib/Makefile (tests): Use it.
10534
10535 2017-01-19 Joseph Myers <joseph@codesourcery.com>
10536
10537 [BZ #21047]
10538 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10539 name for instruction.
10540 [!__SOFTFP__] (_FPU_SETCW): Likewise.
10541
10542 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10543
10544 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10545 for make install.
10546
10547 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
10548
10549 * po/bg.po: Merge from Translation Project.
10550 * po/fr.po: Likewise.
10551 * po/ko.po: Likewise.
10552 * po/nl.po: Likewise.
10553 * po/sv.po: Likewise.
10554
10555 2017-01-18 Joseph Myers <joseph@codesourcery.com>
10556
10557 * manual/install.texi (Tools for Compilation): Update GCC version
10558 known to work to build glibc.
10559 * INSTALL: Regenerated.
10560
10561 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10562
10563 [BZ #21006]
10564 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10565
10566 2017-01-16 Joseph Myers <joseph@codesourcery.com>
10567
10568 [BZ #21045]
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10570 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10571 to __sigprocmask.
10572
10573 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
10574
10575 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10576 wrap-around.
10577 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10578
10579 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10580
10581 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10582
10583 * NEWS: Fix typo.
10584
10585 2016-01-13 Torvald Riegel <triegel@redhat.com>
10586
10587 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10588 barriers and comments.
10589 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10590 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10591 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10592
10593 2016-01-13 Torvald Riegel <triegel@redhat.com>
10594
10595 [BZ #19402]
10596 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10597 mutexes.
10598
10599 2016-01-13 Torvald Riegel <triegel@redhat.com>
10600
10601 [BZ #20985]
10602 * nptl/Makefile: Adapt.
10603 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10604 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10605 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10606 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10607 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10608 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10609 lll_robust* functions and adapt.
10610 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10611 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10612 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10613 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10614 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10615 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10617 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10618 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10619 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10620 __lll_robust_timedlock, __lll_robust_unlock): Remove.
10621 * nptl/lowlevelrobustlock.c: Remove file.
10622 * nptl/lowlevelrobustlock.sym: Likewise.
10623 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10624 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10625
10626 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10627
10628 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10629
10630 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
10631
10632 * po/cs.po: Merge translations from the Translation Project.
10633 * po/de.po: Likewise.
10634 * po/pl.po: Likewise.
10635 * po/ru.po: Likewise.
10636 * po/tr.po: Likewise.
10637 * po/uk.po: Likewise.
10638 * po/vi.po: Likewise.
10639 * po/zh_CN.po: Likewise.
10640
10641 2017-01-12 Joseph Myers <joseph@codesourcery.com>
10642
10643 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10644
10645 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10646 object.
10647
10648 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #16458]
10651 * bits/uintn-identity.h: New file.
10652 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10653 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10654 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10655 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10656 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10657 * string/endian.h: Include <bits/uintn-identity.h>.
10658 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10659 __uint16_identity.
10660 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10661 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10662 __uint32_identity.
10663 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10664 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10665 __uint64_identity.
10666 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10667 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10668 __uint16_identity.
10669 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10670 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10671 __uint32_identity.
10672 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10673 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10674 __uint64_identity.
10675 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10676 * string/Makefile (headers): Add bits/uintn-identity.h.
10677 (tests): Add test-endian-types.
10678 * string/test-endian-types.c: New file.
10679 * inet/Makefile (tests): Add test-hnto-types.
10680 * inet/test-hnto-types.c: New file.
10681
10682 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10683
10684 * po/be.po: Update from Translation Project.
10685 * po/bg.po: Likewise.
10686 * po/ca.po: Likewise.
10687 * po/cs.po: Likewise.
10688 * po/da.po: Likewise.
10689 * po/de.po: Likewise.
10690 * po/el.po: Likewise.
10691 * po/eo.po: Likewise.
10692 * po/es.po: Likewise.
10693 * po/fi.po: Likewise.
10694 * po/fr.po: Likewise.
10695 * po/gl.po: Likewise.
10696 * po/hr.po: Likewise.
10697 * po/hu.po: Likewise.
10698 * po/ia.po: Likewise.
10699 * po/id.po: Likewise.
10700 * po/it.po: Likewise.
10701 * po/ja.po: Likewise.
10702 * po/ko.po: Likewise.
10703 * po/lt.po: Likewise.
10704 * po/nb.po: Likewise.
10705 * po/nl.po: Likewise.
10706 * po/pl.po: Likewise.
10707 * po/pt_BR.po: Likewise.
10708 * po/ru.po: Likewise.
10709 * po/rw.po: Likewise.
10710 * po/sk.po: Likewise.
10711 * po/sl.po: Likewise.
10712 * po/sv.po: Likewise.
10713 * po/tr.po: Likewise.
10714 * po/uk.po: Likewise.
10715 * po/vi.po: Likewise.
10716 * po/zh_CN.po: Likewise.
10717 * po/zh_TW.po: Likewise.
10718
10719 2017-01-11 Joseph Myers <joseph@codesourcery.com>
10720
10721 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10722 -Wformat-truncation instead of -Wformat-length.
10723 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10724 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10725 GCC 7.
10726 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10727 (do_test): Ignore -Wformat-truncation for GCC 7.
10728
10729 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10730 buffer used to print long int value.
10731
10732 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10733 one byte. Print it with %ld, cast to long int.
10734
10735 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10736
10737 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10738 (re.fullmatch, subprocess.run): Likewise.
10739
10740 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10741
10742 * po/libc.pot: Regenerate.
10743
10744 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10745
10746 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10747 (min_strlen): Likewise.
10748 (disable_tunable): Likewise.
10749 (maybe_disable_malloc_check): Rename to
10750 maybe_enable_malloc_check.
10751 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10752 if /etc/suid-debug file exists.
10753 (__tunables_init): Update caller.
10754 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10755 secure.
10756
10757 2016-01-10 Torvald Riegel <triegel@redhat.com>
10758
10759 * nptl/DESIGN-rwlock.txt: Remove.
10760 * nptl/lowlevelrwlock.sym: Remove.
10761 * nptl/Makefile: Add new tests.
10762 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10763 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10764 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10765 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10766 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10767 PTHREAD_RWLOCK_FUTEX_USED): New.
10768 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10769 implementation.
10770 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10771 (__pthread_rwlock_rdlock): Adapt.
10772 * nptl/pthread_rwlock_timedrdlock.c
10773 (pthread_rwlock_timedrdlock): Adapt.
10774 * nptl/pthread_rwlock_timedwrlock.c
10775 (pthread_rwlock_timedwrlock): Adapt.
10776 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10777 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10778 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10779 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10780 (__pthread_rwlock_wrlock): Adapt.
10781 * nptl/tst-rwlock10.c: Adapt.
10782 * nptl/tst-rwlock11.c: Adapt.
10783 * nptl/tst-rwlock17.c: New file.
10784 * nptl/tst-rwlock18.c: New file.
10785 * nptl/tst-rwlock19.c: New file.
10786 * nptl/tst-rwlock2b.c: New file.
10787 * nptl/tst-rwlock8.c: Adapt.
10788 * nptl/tst-rwlock9.c: Adapt.
10789 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10790 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10791 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10792 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10793 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10794 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10795 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10796 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10797 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10798 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10799 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10800 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10801 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10802 (pthread_rwlock_t): Adapt.
10803 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10804 (pthread_rwlock_t): Adapt.
10805 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10806 * nptl/nptl-printers.py (): Adapt.
10807 * nptl/nptl_lock_constants.pysym: Adapt.
10808 * nptl/test-rwlock-printers.py: Adapt.
10809 * nptl/test-rwlockattr-printers.c: Adapt.
10810 * nptl/test-rwlockattr-printers.py: Adapt.
10811
10812 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10813
10814 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10815 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10816 (fma_test_data): Likewise.
10817 (hypot_test_data): Likewise.
10818 (log1p_test_data): Likewise.
10819 (modf_test_data): Likewise.
10820 (pow_test_data): Likewise.
10821 (remainder_test_data): Likewise.
10822 (remquo_test_data): Likewise.
10823 (scalb_test_data): Likewise.
10824 (scalbn_test_data): Likewise.
10825 (scalbln_test_data): Likewise.
10826 * math/gen-libm-test.pl (parse_args): Transform
10827 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10828 on the rounding mode.
10829
10830 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10831
10832 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10833 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10834 and those that can underflow to zero.
10835 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10836 add others.
10837 * math/auto-libm-test-out: Regenerated.
10838
10839 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10840 supported.
10841 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10842 modes support if not supported.
10843
10844 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10845 Add libc.so PLT entry.
10846 (__tls_get_addr): Make ld.so PLT entry optional.
10847
10848 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10849
10850 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10851 * string/bits/string3.h: ... here.
10852
10853 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10854
10855 [BZ #21028]
10856 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10857 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10858 if EXCEPTION_TESTS returns false.
10859
10860 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10861
10862 [BZ #20558]
10863 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10864 strings_fortified.h.
10865 [__USE_MISC] (bzero): Likewise.
10866 [__USE_MISC] (explicit_bzero): Likewise.
10867 * string/strings.h: Include strings_fortified.h.
10868 * string/Makefile (headers): Add strings_fortified.h.
10869 * string/bits/strings_fortified.h: New file.
10870 * include/bits/strings_fortified.h: Likewise.
10871
10872 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10873
10874 * elf/tst-tls13.c (TIMEOUT): Remove.
10875 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10876 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10877 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10878 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10879 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10880
10881 [BZ #21026]
10882 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10883 (readahead): New syscall entry.
10884
10885 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10886
10887 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10888 around tests of strncat with large sizes.
10889
10890 * malloc/tst-malloc.c: Include <libc-internal.h>.
10891 (do_test): Disable -Walloc-size-larger-than= around tests of
10892 malloc with negative sizes.
10893 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10894 (do_test): Disable -Walloc-size-larger-than= around tests of
10895 malloc and realloc with negative sizes.
10896 * malloc/tst-realloc.c: Include <libc-internal.h>.
10897 (do_test): Disable -Walloc-size-larger-than= around tests of
10898 realloc with negative sizes.
10899
10900 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10901 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10902 allowed to 16 ulps.
10903 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10904 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10905 * math/auto-libm-test-out: Regenerated.
10906
10907 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10908
10909 * math/Makefile (libm-calls): Move wrappers...
10910 (libm-compat-call-auto): Here.
10911 (libm-routines): Add items in libm-compat-calls-auto.
10912 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10913 the filenames of the wrappers that have been renamed.
10914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10916
10917 * math/w_acos.c: Add _compat suffix to filename.
10918 * math/w_acosf.c: Likewise.
10919 * math/w_acosh.c: Likewise.
10920 * math/w_acoshf.c: Likewise.
10921 * math/w_acoshl.c: Likewise.
10922 * math/w_acosl.c: Likewise.
10923 * math/w_asin.c: Likewise.
10924 * math/w_asinf.c: Likewise.
10925 * math/w_asinl.c: Likewise.
10926 * math/w_atan2.c: Likewise.
10927 * math/w_atan2f.c: Likewise.
10928 * math/w_atan2l.c: Likewise.
10929 * math/w_atanh.c: Likewise.
10930 * math/w_atanhf.c: Likewise.
10931 * math/w_atanhl.c: Likewise.
10932 * math/w_cosh.c: Likewise.
10933 * math/w_coshf.c: Likewise.
10934 * math/w_coshl.c: Likewise.
10935 * math/w_exp10.c: Likewise.
10936 * math/w_exp10f.c: Likewise.
10937 * math/w_exp10l.c: Likewise.
10938 * math/w_exp2.c: Likewise.
10939 * math/w_exp2f.c: Likewise.
10940 * math/w_exp2l.c: Likewise.
10941 * math/w_fmod.c: Likewise.
10942 * math/w_fmodf.c: Likewise.
10943 * math/w_fmodl.c: Likewise.
10944 * math/w_hypot.c: Likewise.
10945 * math/w_hypotf.c: Likewise.
10946 * math/w_hypotl.c: Likewise.
10947 * math/w_j0.c: Likewise.
10948 * math/w_j0f.c: Likewise.
10949 * math/w_j0l.c: Likewise.
10950 * math/w_j1.c: Likewise.
10951 * math/w_j1f.c: Likewise.
10952 * math/w_j1l.c: Likewise.
10953 * math/w_jn.c: Likewise.
10954 * math/w_jnf.c: Likewise.
10955 * math/w_jnl.c: Likewise.
10956 * math/w_log10.c: Likewise.
10957 * math/w_log10f.c: Likewise.
10958 * math/w_log10l.c: Likewise.
10959 * math/w_log2.c: Likewise.
10960 * math/w_log2f.c: Likewise.
10961 * math/w_log2l.c: Likewise.
10962 * math/w_log.c: Likewise.
10963 * math/w_logf.c: Likewise.
10964 * math/w_logl.c: Likewise.
10965 * math/w_pow.c: Likewise.
10966 * math/w_powf.c: Likewise.
10967 * math/w_powl.c: Likewise.
10968 * math/w_remainder.c: Likewise.
10969 * math/w_remainderf.c: Likewise.
10970 * math/w_remainderl.c: Likewise.
10971 * math/w_scalb.c: Likewise.
10972 * math/w_scalbf.c: Likewise.
10973 * math/w_scalbl.c: Likewise.
10974 * math/w_sinh.c: Likewise.
10975 * math/w_sinhf.c: Likewise.
10976 * math/w_sinhl.c: Likewise.
10977 * math/w_sqrt.c: Likewise.
10978 * math/w_sqrtf.c: Likewise.
10979 * math/w_sqrtl.c: Likewise.
10980 * math/w_tgamma.c: Likewise.
10981 * math/w_tgammaf.c: Likewise.
10982 * math/w_tgammal.c: Likewise.
10983
10984 * math/w_acos_compat.c: New file copied from above and
10985 adjusted for new #includes path
10986 * math/w_acosf_compat.c: Likewise.
10987 * math/w_acosh_compat.c: Likewise.
10988 * math/w_acoshf_compat.c: Likewise.
10989 * math/w_acoshl_compat.c: Likewise.
10990 * math/w_acosl_compat.c: Likewise.
10991 * math/w_asin_compat.c: Likewise.
10992 * math/w_asinf_compat.c: Likewise.
10993 * math/w_asinl_compat.c: Likewise.
10994 * math/w_atan2_compat.c: Likewise.
10995 * math/w_atan2f_compat.c: Likewise.
10996 * math/w_atan2l_compat.c: Likewise.
10997 * math/w_atanh_compat.c: Likewise.
10998 * math/w_atanhf_compat.c: Likewise.
10999 * math/w_atanhl_compat.c: Likewise.
11000 * math/w_cosh_compat.c: Likewise.
11001 * math/w_coshf_compat.c: Likewise.
11002 * math/w_coshl_compat.c: Likewise.
11003 * math/w_exp10_compat.c: Likewise.
11004 * math/w_exp10f_compat.c: Likewise.
11005 * math/w_exp10l_compat.c: Likewise.
11006 * math/w_exp2_compat.c: Likewise.
11007 * math/w_exp2f_compat.c: Likewise.
11008 * math/w_exp2l_compat.c: Likewise.
11009 * math/w_fmod_compat.c: Likewise.
11010 * math/w_fmodf_compat.c: Likewise.
11011 * math/w_fmodl_compat.c: Likewise.
11012 * math/w_hypot_compat.c: Likewise.
11013 * math/w_hypotf_compat.c: Likewise.
11014 * math/w_hypotl_compat.c: Likewise.
11015 * math/w_j0_compat.c: Likewise.
11016 * math/w_j0f_compat.c: Likewise.
11017 * math/w_j0l_compat.c: Likewise.
11018 * math/w_j1_compat.c: Likewise.
11019 * math/w_j1f_compat.c: Likewise.
11020 * math/w_j1l_compat.c: Likewise.
11021 * math/w_jn_compat.c: Likewise.
11022 * math/w_jnf_compat.c: Likewise.
11023 * math/w_jnl_compat.c: Likewise.
11024 * math/w_log10_compat.c: Likewise.
11025 * math/w_log10f_compat.c: Likewise.
11026 * math/w_log10l_compat.c: Likewise.
11027 * math/w_log2_compat.c: Likewise.
11028 * math/w_log2f_compat.c: Likewise.
11029 * math/w_log2l_compat.c: Likewise.
11030 * math/w_log_compat.c: Likewise.
11031 * math/w_logf_compat.c: Likewise.
11032 * math/w_logl_compat.c: Likewise.
11033 * math/w_pow_compat.c: Likewise.
11034 * math/w_powf_compat.c: Likewise.
11035 * math/w_powl_compat.c: Likewise.
11036 * math/w_remainder_compat.c: Likewise.
11037 * math/w_remainderf_compat.c: Likewise.
11038 * math/w_remainderl_compat.c: Likewise.
11039 * math/w_scalb_compat.c: Likewise.
11040 * math/w_scalbf_compat.c: Likewise.
11041 * math/w_scalbl_compat.c: Likewise.
11042 * math/w_sinh_compat.c: Likewise.
11043 * math/w_sinhf_compat.c: Likewise.
11044 * math/w_sinhl_compat.c: Likewise.
11045 * math/w_sqrt_compat.c: Likewise.
11046 * math/w_sqrtf_compat.c: Likewise.
11047 * math/w_sqrtl_compat.c: Likewise.
11048 * math/w_tgamma_compat.c: Likewise.
11049 * math/w_tgammaf_compat.c: Likewise.
11050 * math/w_tgammal_compat.c: Likewise.
11051
11052 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11053 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11054 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11055 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11056 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11057 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11058 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11059 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11060 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11061 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11062 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11063 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11064 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11065 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11066 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11067 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11068 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11069 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11070 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11071 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11072 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11073 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11074 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11075 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11076 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11077 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11078 * sysdeps/ia64/fpu/w_log.c: Likewise.
11079 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11080 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11081 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11082 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11083 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11084 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11085 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11086 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11087 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11088 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11089 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11090 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11091 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11092 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11093 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11094 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11095 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11096 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11097 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11098 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11099 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11100 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11101 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11102 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11103 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11104 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11105 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11106 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11107 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11108 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11109 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11110 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11111 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11112 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11115 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11117 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11118 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11119 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11121 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11123 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11124 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11125 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11127 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11129 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11130 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11131 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11132 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11133 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11135 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11136 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11137 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11138 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11139 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11141 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11143 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11145 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11147 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11149 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11151 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11153 Likewise.
11154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11155 Likewise.
11156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11158 Likewise.
11159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11160 Likewise.
11161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11162 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11163 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11164 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11165 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11166 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11167 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11172 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11173 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11174 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11175 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11176
11177 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11178 and adjusted for new #includes path
11179 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11180 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11181 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11182 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11183 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11184 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11185 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11186 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11187 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11188 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11189 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11190 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11191 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11192 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11193 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11194 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11195 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11196 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11197 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11198 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11199 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11200 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11201 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11202 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11203 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11204 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11205 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11206 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11207 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11208 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11209 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11210 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11211 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11212 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11213 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11214 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11215 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11216 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11217 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11218 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11219 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11220 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11221 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11222 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11223 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11224 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11225 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11226 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11227 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11228 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11229 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11230 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11231 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11232 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11233 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11234 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11235 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11236 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11237 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11238 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11239 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11240 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11241 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11242 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11243 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11244 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11245 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11246 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11247 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11248 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11249 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11250 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11251 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11252 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11253 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11254 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11255 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11256 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11257 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11258 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11259 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11260 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11261 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11262 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11263 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11264 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11265 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11266 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11267 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11268 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11269 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11270 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11271 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11272 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11273 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11274 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11275 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11276 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11277 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11279 Likewise.
11280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11281 Likewise.
11282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11283 Likewise.
11284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11285 Likewise.
11286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11287 Likewise.
11288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11289 Likewise.
11290 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11291 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11292 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11293 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11294 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11295 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11297 Likewise.
11298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11299 Likewise.
11300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11301 Likewise.
11302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11303 Likewise.
11304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11306 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11307 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11308
11309 2017-01-04 Joseph Myers <joseph@codesourcery.com>
11310
11311 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11312 __jmp_buf_internal_tag.
11313
11314 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11315 preserve NaN payload if [__mips_nan2008].
11316 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11317
11318 [BZ #21022]
11319 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11320
11321 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11322
11323 * sysdeps/i386/fpu/libm-test-ulps: Update.
11324
11325 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11326
11327 * sysdeps/ia64/strcat.c: Remove file.
11328 * sysdeps/powerpc/strcat.c: Likewise.
11329 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11330 C implementation.
11331 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11332 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11333
11334 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11335 Steven Munroe <sjmunroe@us.ibm.com>
11336 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11337
11338 [BZ #20822]
11339 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11340 (__lll_lock_elision): Access adapt_count via C11 atomics.
11341 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11342 (__lll_trylock_elision): Likewise.
11343 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11344 (__lll_unlock_elision): Update adapt_count variable inside the
11345 critical section using C11 atomics.
11346
11347 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11348
11349 * math/test-fenvinline.c (do_test): Disable tests of raised
11350 exceptions if !EXCEPTION_TESTS (FLOAT).
11351
11352 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11353
11354 [BZ #19390]
11355 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11356 maximum string size.
11357 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11358 in pointer addition.
11359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11360 Likewise.
11361
11362 2017-01-03 Joseph Myers <joseph@codesourcery.com>
11363
11364 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11365 passed to tst-ldconfig-X.sh.
11366
11367 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
11368
11369 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11370
11371 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11372
11373 [BZ #21019]
11374 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11375 New syscall entry.
11376 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11377 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11378 lseek.
11379
11380 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11381 power4 glibc for powerpc-linux-gnu.
11382
11383 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11384
11385 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11386 semctl.
11387
11388 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11389
11390 * math/test-nearbyint-except.c: Include <stdbool.h>.
11391 (any_supported): New variable.
11392 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
11393 set any_supported.
11394 (do_test): Return 77 if no floating-point type supported
11395 exceptions.
11396
11397 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11398 condition on [__mips_hard_float].
11399
11400 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11401
11402 [BZ #21014]
11403 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11404 in pointer addition.
11405 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11406
11407 2017-01-02 Torvald Riegel <triegel@redhat.com>
11408
11409 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11410 new condvar.
11411
11412 2017-01-02 Joseph Myers <joseph@codesourcery.com>
11413
11414 * scripts/build-many-glibcs.py (Context.checkout): Default
11415 binutils version to 2.28 branch.
11416
11417 2017-01-01 Florian Weimer <fweimer@redhat.com>
11418
11419 * support/support_format_netent.c (support_format_netent): Work
11420 around alpha struct netent definition difference.
11421
11422 2017-01-01 Florian Weimer <fweimer@redhat.com>
11423
11424 * support/xwrite.c (xwrite): Use %td for pointer difference.
11425
11426 2017-01-01 Florian Weimer <fweimer@redhat.com>
11427
11428 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11429 have-tunables only.
11430 (tests-static): Add tst-malloc-usable-static-tunables for
11431 have-tunables only.
11432
11433 2017-01-01 Joseph Myers <joseph@codesourcery.com>
11434
11435 * scripts/config.guess: Update to version 2017-01-01.
11436 * scripts/config.sub: Update to version 2017-01-01.
11437
11438 * NEWS: Update copyright dates.
11439 * catgets/gencat.c (print_version): Likewise.
11440 * csu/version.c (banner): Likewise.
11441 * debug/catchsegv.sh: Likewise.
11442 * debug/pcprofiledump.c (print_version): Likewise.
11443 * debug/xtrace.sh (do_version): Likewise.
11444 * elf/ldconfig.c (print_version): Likewise.
11445 * elf/ldd.bash.in: Likewise.
11446 * elf/pldd.c (print_version): Likewise.
11447 * elf/sotruss.sh: Likewise.
11448 * elf/sprof.c (print_version): Likewise.
11449 * iconv/iconv_prog.c (print_version): Likewise.
11450 * iconv/iconvconfig.c (print_version): Likewise.
11451 * locale/programs/locale.c (print_version): Likewise.
11452 * locale/programs/localedef.c (print_version): Likewise.
11453 * login/programs/pt_chown.c (print_version): Likewise.
11454 * malloc/memusage.sh (do_version): Likewise.
11455 * malloc/memusagestat.c (print_version): Likewise.
11456 * malloc/mtrace.pl: Likewise.
11457 * manual/libc.texinfo: Likewise.
11458 * nptl/version.c (banner): Likewise.
11459 * nscd/nscd.c (print_version): Likewise.
11460 * nss/getent.c (print_version): Likewise.
11461 * nss/makedb.c (print_version): Likewise.
11462 * posix/getconf.c (main): Likewise.
11463 * scripts/test-installation.pl: Likewise.
11464 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11465
11466 * All files with FSF copyright notices: Update copyright dates
11467 using scripts/update-copyrights.
11468 * intl/plural.c: Regenerated.
11469 * locale/programs/charmap-kw.h: Likewise.
11470 * locale/programs/locfile-kw.h: Likewise.
11471
11472 2016-12-31 Florian Weimer <fweimer@redhat.com>
11473
11474 [BZ #20593]
11475 Update DNS RR type definitions.
11476 * scripts/gen-rrtypes.py: New file.
11477 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11478 BIND-internal RR type not used on the Internet. Add ns_t_ds,
11479 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11480 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11481 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11482 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11483 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11484 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11485 ns_t_ta, ns_t_dlv.
11486 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11487 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11488 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11489 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11490 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11491 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11492 Define.
11493 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
11494 entry for ns_t_zxfr.
11495
11496 2016-12-31 Florian Weimer <fweimer@redhat.com>
11497
11498 [BZ #18784]
11499 CVE-2015-5180
11500 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11501 T_UNSPEC. Adjust value.
11502 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11503 * resolv/res_query.c (__libc_res_nquery): Likewise.
11504 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11505 QTYPEs.
11506 * resolv/tst-resolv-qtypes.c: New file.
11507 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11508 (tst-resolv-qtypes): Link against libresolv and libpthread.
11509
11510 2016-12-31 Florian Weimer <fweimer@redhat.com>
11511
11512 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11513
11514 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
11515
11516 * manual/tunables.texi: New chapter.
11517 * manual/Makefile (chapters): Add it.
11518 * manual/probes.texi (@node): Point to the Tunables chapter.
11519
11520 * Makeconfig (have-tunables): Check for non-negative instead
11521 of positive.
11522 * configure.ac: Add 'valstring' as a valid value for
11523 --enable-tunables.
11524 * configure: Regenerate.
11525 * elf/Makefile (have-tunables): Check for non-negative instead
11526 of positive.
11527 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11528 dl-tunables.c.
11529 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11530 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11531 (tunables_strdup): Likewise.
11532 (disable_tunables): Likewise.
11533 (parse_tunables): Likewise.
11534 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11535 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11536 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11537 (TUNABLES_FRONTEND_yes): New macro, define as
11538 TUNABLES_FRONTEND_valstring by default.
11539 * manual/install.texi: Document new acceptable values for
11540 --enable-tunables.
11541 * INSTALL: Regenerate.
11542
11543 * config.make.in (have-loop-to-function): Define.
11544 * elf/Makefile (CFLAGS-dl-tunables.c): Add
11545 -fno-tree-loop-distribute-patterns.
11546 * elf/dl-tunables.c: Include libc-internals.h.
11547 (GLIBC_TUNABLES): New macro.
11548 (tunables_strdup): New function.
11549 (parse_tunables): New function.
11550 (min_strlen): New function.
11551 (__tunables_init): Use the new functions and macro.
11552 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11553 * malloc/tst-malloc-usable-tunables.c: New test case.
11554 * malloc/tst-malloc-usable-static-tunables.c: New test case.
11555 * malloc/Makefile (tests, tests-static): Add tests.
11556
11557 * manual/install.texi: Add --enable-tunables option.
11558 * INSTALL: Regenerate.
11559 * README.tunables: New file.
11560 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11561 (before-compile): Generate dl-tunable-list.h early.
11562 * config.h.in: Add HAVE_TUNABLES.
11563 * config.make.in: Add have-tunables.
11564 * configure.ac: Add --enable-tunables option.
11565 * configure: Regenerate.
11566 * csu/init-first.c (__libc_init_first): Move
11567 __libc_init_secure earlier...
11568 * csu/init-first.c (LIBC_START_MAIN):... to here.
11569 Include dl-tunables.h, libc-internal.h.
11570 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11571 binaries.
11572 * elf/Makefile (dl-routines): Add dl-tunables.
11573 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11574 namespace.
11575 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11576 only when !HAVE_TUNABLES.
11577 * elf/rtld.c (process_envvars): Likewise.
11578 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11579 (_dl_sysdep_start): Call __tunables_init.
11580 * elf/dl-tunable-types.h: New file.
11581 * elf/dl-tunables.c: New file.
11582 * elf/dl-tunables.h: New file.
11583 * elf/dl-tunables.list: New file.
11584 * malloc/tst-malloc-usable-static.c: New test case.
11585 * malloc/Makefile (tests-static): Add it.
11586 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11587 Define TUNABLE_NAMESPACE.
11588 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11589 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
11590 callback functions.
11591 (ptmalloc_init): Set tunable values.
11592 * scripts/gen-tunables.awk: New file.
11593 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11594 (_dl_sysdep_start): Call __tunables_init.
11595
11596 2016-12-31 Florian Weimer <fweimer@redhat.com>
11597
11598 * resolv/resolv.h (RES_BLAST): Deprecate.
11599 * resolv/res_debug.c (p_option): Remove RES_BLAST.
11600 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11601 to RES_BLAST.
11602
11603 2016-12-27 Florian Weimer <fweimer@redhat.com>
11604
11605 [BZ #19582]
11606 Deprecate RES_USE_INET6.
11607 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11608 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11609 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11610 RES_USE_INET6.
11611 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11612 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11613 (_nss_nisplus_gethostbyaddr_r): Likewise.
11614 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11615 of res_use_inet6.
11616 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11617 instead of RES_USE_INET6.
11618 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11619 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11620 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11621 Likewise.
11622 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11623 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11624 Likewise.
11625 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11626 (_nss_dns_gethostbyname_r): Likewise.
11627 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11628 alternate RES_USE_INET6 handling.
11629 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11630 instead of RES_USE_INET6.
11631 * resolv/res_init.c (res_setoptions): Likewise.
11632 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11633 * resolv/resolv-internal.h: New file.
11634 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11635 make the deprecation warning non-fatal.
11636 * resolv/README (Using the resolver in multi-threaded code): Drop
11637 reference to RES_USE_INET6.
11638 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11639 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11640
11641 2016-12-31 Florian Weimer <fweimer@redhat.com>
11642
11643 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11644 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11645 tst-resolv-search.
11646 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11647 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11648 with libresolv and libpthread.
11649 * resolv/tst-bug18665.c: New file.
11650 * resolv/tst-bug18665-tcp: Likewise.
11651 * resolv/tst-res_use_inet6: Likewise.
11652 * resolv/tst-resolv-basic: Likewise.
11653 * resolv/tst-resolv-network: Likewise.
11654 * resolv/tst-resolv-search: Likewise.
11655 * support/Makefile (libsupport-routines): Add check_addrinfo,
11656 check_dns_packet, check_hostent, check_netent, resolv_test,
11657 support_format_address_family, support_format_addrinfo,
11658 support_format_dns_packet, support_format_herrno,
11659 support_format_hostent, support_format_netent, support_run_diff,
11660 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11661 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11662 xstrdup, xwrite.
11663 * support/check_addrinfo.c: New file.
11664 * support/check_dns_packet.c: Likewise.
11665 * support/check_hostent.c: Likewise.
11666 * support/check_netent.c: Likewise.
11667 * support/check_nss.h: Likewise.
11668 * support/format_nss.h: Likewise.
11669 * support/resolv_test.c: Likewise.
11670 * support/resolv_test.h: Likewise.
11671 * support/run_diff.h: Likewise.
11672 * support/support_format_address_family.c: Likewise.
11673 * support/support_format_addrinfo.c: Likewise.
11674 * support/support_format_dns_packet.c: Likewise.
11675 * support/support_format_herrno.c: Likewise.
11676 * support/support_format_hostent.c: Likewise.
11677 * support/support_format_netent.c: Likewise.
11678 * support/support_run_diff.c: Likewise.
11679 * support/xaccept.c: Likewise.
11680 * support/xbind.c: Likewise.
11681 * support/xconnect.c: Likewise.
11682 * support/xfclose.c: Likewise.
11683 * support/xfopen.c: Likewise.
11684 * support/xgetsockname.c: Likewise.
11685 * support/xlisten.c: Likewise.
11686 * support/xmemstream.c: Likewise.
11687 * support/xmemstream.h: Likewise.
11688 * support/xpoll.c: Likewise.
11689 * support/xpthread_once.c: Likewise.
11690 * support/xrecvfrom.c: Likewise.
11691 * support/xsendto.c: Likewise.
11692 * support/xsetsockopt.c: Likewise.
11693 * support/xstdio.h: Likewise.
11694 * support/xstrdup.c: Likewise.
11695 * support/support.h (xstrdup): Declare.
11696 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11697 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11698 * support/xthread.h (xpthread_once): Likwise.
11699 * support/xunistd.h (xwrite): Declare.
11700
11701 2016-12-31 Florian Weimer <fweimer@redhat.com>
11702
11703 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11704 (test_verbose): Declare.
11705 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11706 * support/support_test_main.c (default_options): Likewise.
11707 (usage, support_test_main): Handle 'v'.
11708 (test_verbose): Define.
11709 * support/tst-support_record_failure.c (do_test): Use
11710 test_verbose.
11711 * support/tst-support_record_failure-2.sh (different_status): Add
11712 --verbose test.
11713
11714 2016-12-31 Florian Weimer <fweimer@redhat.com>
11715
11716 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11717 test failures are recorded.
11718 * support/check.c (support_print_failure_impl): Call
11719 support_record_failure.
11720 (support_exit_failure_impl): Call support_record_failure if status
11721 indicates failure.
11722 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11723 * support/xasprintf.c (xasprintf): Likewise.
11724 * support/xfork.c (xfork): Likewise.
11725 * support/xpthread_check_return.c (xpthread_check_return):
11726 Likewise.
11727 * support/xsocket.c (xsocket): Likeweise.
11728 * support/xwaitpid.c (xwaitpid): Likewise.
11729 * support/support_record_failure.c (struct test_failures): Adjust
11730 to coding style.
11731 * support/support_test_verify_impl.c (support_test_verify_impl):
11732 Adjust error messages.
11733 * support/tst-support_record_failure-2.sh (different_status):
11734 Adjust error messages.
11735
11736 2016-12-31 Florian Weimer <fweimer@redhat.com>
11737
11738 * support/namespace.h: New file.
11739 * support/support_become_root.c: Likewise.
11740 * support/support_enter_network_namespace.c: Likewise.
11741 * support/tst-support-namespace.c: Likewise.
11742 * support/xsocket.c: Likewise.
11743 * support/xsocket.h: Likewise.
11744 * support/Makefile (libsupport-routines): Add support_become_root,
11745 support_enter_network_namespace, xsocket.
11746 (tests): Add tst-support-namespace.
11747
11748 2016-12-31 Florian Weimer <fweimer@redhat.com>
11749
11750 [BZ #17252]
11751 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11752 __USE_GNU.
11753
11754 2016-12-31 Torvald Riegel <triegel@redhat.com>
11755
11756 [BZ #13165]
11757 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11758 use new algorithm.
11759 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11760 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11761 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11762 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11763 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11764 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11765 __condvar_cleanup_waiting, __condvar_dec_grefs,
11766 __pthread_cond_wait_common): New.
11767 (__condvar_cleanup): Remove.
11768 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11769 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11770 Likewise.
11771 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11772 Likewise.
11773 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11774 * nptl/tst-cond1.c: Add comment.
11775 * nptl/tst-cond20.c (do_test): Adapt.
11776 * nptl/tst-cond22.c (do_test): Likewise.
11777 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11778 structure.
11779 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11780 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11781 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11782 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11783 Likewise.
11784 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11785 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11786 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11787 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11788 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11789 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11790 Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11792 Likewise.
11793 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11794 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11795 (COND_CLOCK_BITS): Adapt.
11796 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11797 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11798 __PTHREAD_COND_SHARED_MASK): New.
11799 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11800 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11801 * nptl/nptl_lock_constants.pysym: Adapt.
11802 * nptl/test-cond-printers.py: Adapt.
11803 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11804 cond_compat_check_and_clear): Adapt.
11805 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11806 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11807 (__pthread_cond_timedwait): ... and move here.
11808 * nptl/DESIGN-condvar.txt: Remove file.
11809 * nptl/lowlevelcond.sym: Likewise.
11810 * nptl/pthread_cond_timedwait.c: Likewise.
11811 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11812 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11813 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11814 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11815 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11816 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11817 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11818 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11819 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11820 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11821 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11822 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11827
11828 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11829
11830 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11831 (fromfp): New declaration.
11832 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11833 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11834 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11835 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11836 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11837 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11838 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11839 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11840 * math/math.h: Include <bits/types.h>.
11841 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11842 constant and macro.
11843 (FP_INT_DOWNWARD): Likewise.
11844 (FP_INT_TOWARDZERO): Likewise.
11845 (FP_INT_TONEARESTFROMZERO): Likewise.
11846 (FP_INT_TONEAREST): Likewise.
11847 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11848 (fromfpf): Likewise.
11849 (fromfpl): Likewise.
11850 (ufromfp): Likewise.
11851 (ufromfpf): Likewise.
11852 (ufromfpl): Likewise.
11853 (fromfpx): Likewise.
11854 (fromfpxf): Likewise.
11855 (fromfpxl): Likewise.
11856 (ufromfpx): Likewise.
11857 (ufromfpxf): Likewise.
11858 (ufromfpxl): Likewise.
11859 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11860 s_fromfpxF and s_ufromfpxF.
11861 * math/gen-fromfp-tests.py: New file.
11862 * math/gen-fromfp-tests-inputs: Likewise.
11863 * math/libm-test.inc: Include <stdint.h>
11864 (check_intmax_t): New function.
11865 (check_uintmax_t): Likewise.
11866 (struct test_fiu_M_data): New type.
11867 (struct test_fiu_U_data): Likewise.
11868 (RUN_TEST_fiu_M): New macro.
11869 (RUN_TEST_LOOP_fiu_M): Likewise.
11870 (RUN_TEST_fiu_U): Likewise.
11871 (RUN_TEST_LOOP_fiu_U): Likewise.
11872 (fromfp_test_data): New array.
11873 (fromfp_test): New function.
11874 (fromfpx_test_data): New array.
11875 (fromfpx_test): New function.
11876 (ufromfp_test_data): New array.
11877 (ufromfp_test): New function.
11878 (ufromfpx_test_data): New array.
11879 (ufromfpx_test): New function.
11880 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11881 ufromfpx_test.
11882 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11883 characters.
11884 * math/test-tgmath-ret.c: Include <stdint.h>.
11885 (rm): New variable.
11886 (width): Likewise.
11887 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11888 called function.
11889 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11890 CHECK_RET_CONST_TYPE.
11891 (CHECK_RET_CONST_DOUBLE): Likewise.
11892 (CHECK_RET_CONST_LDOUBLE): Likewise.
11893 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11894 macros.
11895 (fromfp): New CHECK_RET_CONST call.
11896 (ufromfp): Likewise.
11897 (fromfpx): Likewise.
11898 (ufromfpx): Likewise.
11899 (do_test): Call check_return_fromfp, check_return_ufromfp,
11900 check_return_fromfpx and check_return_ufromfpx.
11901 * math/test-tgmath.c: Include <stdint.h>
11902 (NCALLS): Increase to 138.
11903 (F(compile_test)): Initialize i. Call fromfp functions.
11904 (F(fromfp)): New function.
11905 (F(fromfpx)): Likewise.
11906 (F(ufromfp)): Likewise.
11907 (F(ufromfpx)): Likewise.
11908 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11909 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11910 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11911 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11912 ufromfpxl.
11913 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11914 ufromfp and ufromfpx.
11915 * math/fromfp.h: New file.
11916 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11917 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11918 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11920 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11921 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11922 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11923 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11924 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11925 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11926 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11938 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11942 ufromfp, fromfpx and ufromfpx.
11943 (CFLAGS-nldbl-fromfp.c): New variable.
11944 (CFLAGS-nldbl-fromfpx.c): Likewise.
11945 (CFLAGS-nldbl-ufromfp.c): Likewise.
11946 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11947 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11948 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11949 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11950 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11951 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11952 * sysdeps/nacl/libm.abilist: Update.
11953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11966 Likewise.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11968 Likewise.
11969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11970 Likewise.
11971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11972 Likewise.
11973 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11979 Likewise.
11980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11981 Likewise.
11982 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11985
11986 2016-12-30 Florian Weimer <fweimer@redhat.com>
11987
11988 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11989 compat-gethnamaddr.
11990 (CPPFLAGS): Remove.
11991 * resolv/gethnamaddr.c: Rename ...
11992 * resolv/compat-gethnamaddr.c: ... to this file.
11993 (_endhtent): Make static.
11994 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11995 symbol.
11996 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11997 compat symbol.
11998 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11999 symbol.
12000 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12001 Turn into compat symbol.
12002 * include/resolv.h (_endhtent): Remove declaration.
12003
12004 2016-12-30 Joseph Myers <joseph@codesourcery.com>
12005
12006 * bits/types.h (__intmax_t): New typedef.
12007 (__uintmax_t): Likewise.
12008 * sysdeps/generic/stdint.h: Include <bits/types.h>.
12009 (intmax_t): Define using __intmax_t.
12010 (uintmax_t): Define using __uintmax_t.
12011
12012 * support/Makefile (tests-special): Make definition conditional on
12013 [$(run-built-tests) = yes].
12014 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12015 on [$(run-built-tests) = yes].
12016
12017 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
12018
12019 * Rules (tests): Add tests-printers-programs to tests to be
12020 built.
12021
12022 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12023
12024 * sysvipc/Makefile (tests): Add test-sysvshm.
12025 * sysvipc/test-sysvshm.c: New file.
12026
12027 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12028 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12029 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12030 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12031 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12032 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12033 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12034 Likewise.
12035 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12036 Likewise.
12037 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12038 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12039 is defined.
12040
12041 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12042 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12043 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12044 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12045 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12046 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12047 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12048 Likewise.
12049 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12050 Likewise.
12051 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12052 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12053 defined.
12054
12055 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12056 oldshmctl.
12057 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12058 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12059 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12060 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12061 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12062 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12063 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12064 Likewise.
12065 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12066 Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12068 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12069 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12070 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12071 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12072 implementation.
12073 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12074 if it is defined.
12075
12076 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12077 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12078 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12079 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12080 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12081 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12082 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12083 Likewise.
12084 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12085 Likewise.
12086 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12087 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12088 Define to __NR_osf_shmat.
12089 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12090 defined.
12091
12092 * sysvipc/Makefile (tests): Add test-sysvsem.
12093 * sysvipc/test-sysvsem.c: New file.
12094
12095 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12096 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12097 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12098 Likewise.
12099 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12100 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12101 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12102 Likewise.
12103 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12104 Likewise.
12105 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12106 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12107 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12108 add a comment about s390 syscall difference from default one.
12109 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12110 syscall if it is defined.
12111
12112 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12113 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12114 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12115 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12116 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12117 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12118 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12119 Likewise.
12120 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12121 Likewise.
12122 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12123 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12124 defined.
12125
12126 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12127 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12128 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12129 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12130 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12131 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12132 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12133 Likewise.
12134 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12135 Likewise.
12136 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12137 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12138 if it is defined.
12139
12140 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12141 oldsemctl.
12142 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12143 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12144 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12145 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12146 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12147 implementation.
12148 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12149 syscall if it is defined.
12150 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12151 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12152 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12153 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12154 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12155 Likewise.
12156 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12157
12158 * sysvipc/Makefile (tests): Add test-sysvmsg.
12159 * sysvipc/test-sysvmsg.c: New file.
12160 * support/check.h (FAIL_UNSUPPORTED): New define.
12161
12162 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12163 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12164 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12165 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12166 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12167 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12168 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12169 Likewise.
12170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12171 Likewise.
12172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12173 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12174 define.
12175
12176 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12177 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12178 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12179 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12180 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12181 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12182 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12183 Likewise.
12184 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12185 Likewise.
12186 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12187 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12188 if defined.
12189
12190 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12191 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12192 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12193 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12194 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12195 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12196 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12197 Likewise.
12198 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12199 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12200 Likewise.
12201 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12202 if defined.
12203 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12204
12205 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12206 oldmsgctl.
12207 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12208 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12209 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12210 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12211 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12212 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12213 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12214 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12215 Likewise.
12216 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12217 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12218 implementation.
12219 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12220 if defined.
12221
12222 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12223 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12224 definition and define its own.
12225 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12226 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12227 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12228 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12229 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12230 definitions to common header.
12231 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12232 operation from ipc_ops.h.
12233
12234 * sysdeps/unix/sysv/linux/kernel-features.h
12235 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12236 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12237 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12238 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12239 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12240 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12241 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12242 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12243 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12244 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12245 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12246 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12247 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12248 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12249 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12250
12251 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12252
12253 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12254 overflow in pointer addition.
12255
12256 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12257
12258 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12259 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12261 (strchr): Add __strchr_power8 to list of strchr functions.
12262 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12263 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12264 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12265 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12266 (strchr): Add __strchr_power8 to ifunc list.
12267 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12268 (__strchrnul): Add __strchrnul_power8 to ifunc list.
12269 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12270 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12271
12272 2016-12-28 Florian Weimer <fweimer@redhat.com>
12273
12274 * support/Makefile (libsupport-routines): Add
12275 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12276 (tests): Add tst-support_record_failure.
12277 (tests-special): tst-support_record_failure-2.
12278 (tst-support_record_failure-2.out): Depend on
12279 tst-support_record_failure-2.sh and tst-support_record_failure.
12280 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12281 (support_test_verify_impl, support_record_failure)
12282 (support_report_failure, support_report_failure_reset): Declare.
12283 * support/support_test_main.c (adjust_exit_status): New function.
12284 (support_test_main): Call it to incorporate record test failures.
12285 * support/support_test_verify_impl.c: New file.
12286 * support/support_record_failure.c: Likewise.
12287 * support/tst-support_record_failure.c: Likewise.
12288 * support/tst-support_record_failure-2.sh: Likewise.
12289 * support/xunistd.h: Likewise.
12290 * support/xfork.c: Likewise.
12291 * support/xwaitpid.c: Likewise.
12292
12293 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
12294
12295 * scripts/check-c++-types.sh: Add comments.
12296
12297 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
12298
12299 [BZ #19514]
12300 * resolv/res_send.c: Fix typo in comment.
12301 * sysdeps/i386/i386-mcount.S: Likewise.
12302 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12303 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12304 * sysdeps/sparc/sparc-mcount.S: Likewise.
12305
12306 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12307
12308 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12309 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12310 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12311 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12313 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12314 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12315 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12316
12317 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12318
12319 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12320
12321 2016-12-27 Florian Weimer <fweimer@redhat.com>
12322
12323 [BZ #17252]
12324 * posix/unistd.h (getentropy): Declare.
12325
12326 2016-12-27 Florian Weimer <fweimer@redhat.com>
12327
12328 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12329 Remove.
12330 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12331 (cmd): Remove spoof, nospoof, spoofalert.
12332 (parse_line): Ignore spoof-related lines.
12333 (do_init): Do not process RESOLV_SPOOF_CHECK.
12334
12335 2016-12-27 Florian Weimer <fweimer@redhat.com>
12336
12337 [BZ #20964]
12338 sunrpc: Always obtain AF_INET addresses from NSS.
12339 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12340 * sunrpc/rpc_gethostbyname.c: New file.
12341 * sunrpc/Makefile (routines): Add it.
12342 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12343 * sunrpc/clnt_simp.c (callrpc): Likewise.
12344 * sunrpc/getrpcport.c (getrpcport): Likewise.
12345
12346 2016-12-27 Florian Weimer <fweimer@redhat.com>
12347
12348 * sunrpc/rpcinfo.c: Remove.
12349 * sunrpc/Makefile: Remove comments referring to rpcinfo.
12350
12351 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12352
12353 [BZ #19387]
12354 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12355 addition.
12356 * string/test-memchr.c (do_test): Remove alignment limitation.
12357 (test_main): Add test that trigger BZ #19387.
12358
12359 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12360
12361 [BZ #7065]
12362 Enable stack protectore if requested by ./configure.
12363 * Makeconfig (+stack-protector): New variable.
12364 (+cflags): Use it.
12365
12366 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12367
12368 [BZ #7065]
12369 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12371 (__rt_sigreturn_stub): Use inhibit_stack_protector.
12372 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12373 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12374
12375 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12376
12377 [BZ #7065]
12378 * login/Makefile (pt_chown-cflags): Remove.
12379 * nscd/Makefile (CFLAGS-nscd): Likewise.
12380 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12381
12382 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12383
12384 [BZ #7065]
12385 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12386 non-libc-linking testcase.
12387
12388 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12389 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12390 Florian Weimer <fweimer@redhat.com>
12391
12392 [BZ #7065]
12393 PLT avoidance for __stack_chk_fail*.
12394 * debug/Makefile (CFLAGS-stack_chk_fail.c)
12395 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12396 * debug/stack_chk_fail.c (__stack_chk_fail): Add
12397 __stack_chk_fail_local alias.
12398 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12399 (__stack_chk_fail): Turn into hidden reference to
12400 __stack_chk_fail_local.
12401
12402 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12403
12404 [BZ #7065]
12405 * configure.ac: Add check for unsupported stack-protection level.
12406 (libc_cv_predef_stack_protector): Remove.
12407 (no_ssp): New variable.
12408 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12409 (stack_protector): Set to -fno-stack-protector similarly.
12410 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12411 (libc_cv_asm_set_directive): Likewise.
12412 (libc_cv_protected_data): Likewise.
12413 (libc_cv_z_combreloc): Likewise.
12414 (libc_cv_hashstyle): Likewise.
12415 (libc_cv_has_glob_dat): Likewise.
12416 (libc_cv_output_format): Likewise.
12417 (libc_cv_output_format): Likewise.
12418 (libc_cv_ehdr_start): Likewise.
12419 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12420 (LIBC_LINKER_FEATURE): Likewise.
12421 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12422
12423 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12424
12425 [BZ #7065]
12426 * elf/Makefile (dummy-stack-chk-fail): New.
12427 (librtld.map): Use it.
12428
12429 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12430
12431 [BZ #7065]
12432 Compile the dynamic linker without stack protection.
12433 * elf/Makefile (elide-stack-protector): New.
12434 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12435 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12436 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12437 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12438
12439 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12440
12441 [BZ #7065]
12442 * config.make.in (have-ssp, no-stack-protector): New.
12443 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12444 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12445 (CFLAGS-sbrk.op): Likewise.
12446 (CFLAGS-brk.o): Likewise.
12447 (CFLAGS-brk.op): Likewise.
12448 * string/Makefile (CFLAGS-memcpy.c): Likewise.
12449 (CFLAGS-wordcopy.c): Likewise.
12450
12451 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12452
12453 [BZ #7065]
12454 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12455 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12456 * include/libc-symbols.h (inhibit_stack_protector): New macro.
12457 (__ifunc_resolver): Use it.
12458 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12459 inhibit_stack_protector.
12460 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12461 * elf/ifuncmain7.c (foo_ifunc): Likewise.
12462 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12463 (foo_protected_ifunc): Likewise.
12464 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12465 (foo_protected_ifunc): Likewise.
12466 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12467 * sysdeps/nacl/nacl_interface_query.c
12468 (nacl_interface_query_ifunc): Likewise.
12469 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12471 Likewise.
12472 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12473 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12474 the generated vDSO syscall resolver.
12475
12476 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12477 Florian Weimer <fweimer@redhat.com>
12478
12479 [BZ #7065]
12480 Initialize the stack guard earlier when linking statically.
12481 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12482 (__pthread_initialize_minimal): Declare.
12483 * csu/libc-start.c (__pthread_initialize_minimal): Remove
12484 declaration.
12485 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
12486 stack canary and apply_irel initialization up. Call
12487 __pthread_initialize_minimal only if linked in.
12488 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12489 constant values.
12490 (__pthread_initialize_minimal): Remove.
12491 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12492 (__pthread_initialize_minimal_internal): Do not call
12493 __libc_setup_tls.
12494
12495 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
12496
12497 [BZ #7065]
12498 * configure.ac (libc_cv_ssp): Move up.
12499 (libc_cv_ssp_strong): Likewise.
12500 (libc_cv_ssp_all): New.
12501 (stack_protector): Augment, adding -fstack-protector-all.
12502 (no_stack_protector): New.
12503 (STACK_PROTECTOR_LEVEL): New.
12504 (AC_ARG_ENABLE(stack-protector)): New configure flag.
12505 * manual/install.texi (--enable-stack-protector): Document it.
12506 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12507
12508 2016-12-24 Carlos O'Donell <carlos@redhat.com>
12509
12510 * README.pretty-printers: Must specify CPPFLAGS-* also.
12511 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12512 (CPPFLAGS-test-mutex-printers.c): Define.
12513 (CPPFLAGS-test-condattr-printers.c): Define.
12514 (CPPFLAGS-test-cond-printers.c): Define.
12515 (CPPFLAGS-test-rwlockattr-printers.c): Define.
12516 (CPPFLAGS-test-rwlock-printers.c): Define.
12517
12518 * nss/Makefile [ifeq (yes,$(have-thread-library))]
12519 (tests): Add tst-cancel-getpwuid_r.
12520 * nss/tst-cancel-getpwuid_r.c: New file.
12521
12522 [BZ #11941]
12523 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12524 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12525 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12526 tst-nodelete-dlclose.
12527 (modules-names): Add tst-nodelete-dlclose-dso and
12528 tst-nodelete-dlclose-plugin.
12529 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12530 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12531 ($(objpfx)tst-nodelete-dlclose): Define.
12532 ($(objpfx)tst-nodelete-dlclose.out): Define.
12533
12534 2016-12-23 Florian Weimer <fweimer@redhat.com>
12535
12536 * scripts/test_printers_common.py: Log GDB output in case of
12537 Python detection failure.
12538
12539 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12540
12541 * configure.ac: Check for python3 or python.
12542 * configure: Regenerated.
12543 * config.make.in (PYTHON): New variable.
12544 * benchtests/Makefile: Don't define PYTHON.
12545 (bench): Define target only if PYTHON was defined.
12546 * Rules: Don't define PYTHON.
12547 Define pretty printer targets only if PYTHON was defined.
12548 (tests-printers): Add to tests-unsupported if PYTHON is not
12549 found.
12550 (python-flags, python-invoke): Remove.
12551 (tests-printers-out): Use PYTHON instead of python-invoke.
12552
12553 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12554
12555 [BZ #20978]
12556 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12557 Compare name == NULL, not name != NULL.
12558
12559 * manual/texinfo.tex: Update to version 2016-09-18.18 with
12560 trailing whitespace removed.
12561 * scripts/config.guess: Update to version 2016-10-02.
12562 * scripts/config.sub: Update to version 2016-11-19.
12563 * scripts/install-sh: Update to version 2016-01-11.22.
12564 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12565 * scripts/move-if-change: Update to version 2016-01-11 22:04.
12566
12567 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
12568
12569 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12570 (do_one_test) Restore original string so iteration works.
12571 * string/string-inlines.c (do_test): Create better input strings.
12572 (test_main) Reduce number of testruns.
12573 * string/string-inlines.c (__old_strsep_1c): New function.
12574 (__old_strsep_2c): Likewise.
12575 (__old_strsep_3c): Likewise.
12576 * string/strsep.c (__strsep): Remove case of small delim string.
12577 Call strcspn directly rather than strpbrk.
12578 * string/bits/string2.h (__strsep): Remove define.
12579 (__strsep_1c): Remove.
12580 (__strsep_2c): Remove.
12581 (__strsep_3c): Remove.
12582 (strsep): Remove.
12583 * sysdeps/unix/sysv/linux/internal_statvfs.c
12584 (__statvfs_getflags): Rename to __strsep.
12585
12586 2016-12-21 Florian Weimer <fweimer@redhat.com>
12587
12588 * csu/libc-tls.c (_dl_tls_setup): Remove.
12589 * elf/dl-tls.c (_dl_tls_setup): Likewise.
12590 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12591 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12592
12593 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12594
12595 [BZ #7065]
12596 * sysdeps/x86_64/Makefile [$(subdir) = elf]
12597 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12598
12599 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
12600 Florian Weimer <fweimer@redhat.com>
12601
12602 [BZ #7065]
12603 * csu/Makefile (tests): Empty assignment and document it.
12604 (tests-static): Remove.
12605 * csu/tst-empty.c: Move to...
12606 * misc/tst-empty.c: ... here. Switch to new test driver.
12607 * csu/tst-atomic.c: Move to...
12608 * misc/tst-atomic.c: ... here. Switch to new test driver.
12609 * csu/tst-atomic-long.c: Move to...
12610 * misc/tst-atomic-long.c: ... here.
12611 * misc/Makefile (tests): Add tst-empty, tst-atomic,
12612 tst-atomic-long.
12613 (tests-static): Add tst-empty.
12614
12615 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
12616
12617 * manual/nss.texi: Change incorrect @vtable to @table.
12618 * manual/arith.texi: Convert @tables of variables to @vtables
12619 and remove unnecessary indexing.
12620 * manual/filesys.texi: Likewise.
12621 * manual/llio.texi: Likewise.
12622 * manual/memory.texi: Likewise.
12623 * manual/process.texi: Likewise.
12624 * manual/resource.texi: Likewise.
12625 * manual/search.texi: Likewise.
12626 * manual/signal.texi: Likewise.
12627 * manual/socket.texi: Likewise.
12628 * manual/stdio.texi: Likewise.
12629 * manual/sysinfo.texi: Likewise.
12630 * manual/syslog.texi: Likewise.
12631 * manual/terminal.texi: Likewise.
12632 * manual/time.texi: Likewise.
12633 * manual/users.texi: Likewise.
12634
12635 2016-12-21 Joseph Myers <joseph@codesourcery.com>
12636
12637 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12638 (roundeven): New declaration.
12639 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12640 macro.
12641 * math/Versions (roundeven): New libm symbol at version
12642 GLIBC_2.25.
12643 (roundevenf): Likewise.
12644 (roundevenl): Likewise.
12645 * math/Makefile (libm-calls): Add s_roundevenF.
12646 * math/libm-test.inc (roundeven_test_data): New array.
12647 (roundeven_test): New function.
12648 (main): Call roundeven_test.
12649 * math/test-tgmath.c (NCALLS): Increase to 134.
12650 (F(compile_test)): Call roundeven.
12651 (F(roundeven)): New function.
12652 * manual/arith.texi (Rounding Functions): Document roundeven,
12653 roundevenf and roundevenl.
12654 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12655 * include/math.h (roundeven): Use libm_hidden_proto.
12656 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12657 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12658 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12663 roundeven.
12664 (CFLAGS-nldbl-roundeven.c): New variable.
12665 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12666 * sysdeps/nacl/libm.abilist: Update.
12667 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12668 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12669 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12670 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12672 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12673 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12680 Likewise.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12682 Likewise.
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12684 Likewise.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12686 Likewise.
12687 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12690 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12691 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12693 Likewise.
12694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12695 Likewise.
12696 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12697 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12698 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12699
12700 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12701
12702 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12703 preprocessor indentation inside #if.
12704
12705 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12706
12707 * math/libm-test.inc (fmt_ftostr): New function.
12708 (print_float, check_float_internal): Replace some uses of
12709 FTOSTR with uses of fmt_ftostr.
12710 (print_max_error, print_complex_max_error, print_function_ulps)
12711 (print_complex_function_ulps): Remove uses of the macros
12712 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12713 * math/test-double.h (FTOSTR): Define to strfromd.
12714 (PRINTF_EXPR): Delete.
12715 (PRINTF_XEXPR): Likewise.
12716 (PRINTF_NEXPR): Likewise.
12717 * math/test-float.h (FTOSTR): Define to strfromf.
12718 (PRINTF_EXPR): Delete.
12719 (PRINTF_XEXPR): Likewise.
12720 (PRINTF_NEXPR): Likewise.
12721 * math/test-ldouble.h (FTOSTR): Define to strfroml.
12722 (PRINTF_EXPR): Delete.
12723 (PRINTF_XEXPR): Likewise.
12724 (PRINTF_NEXPR): Likewise.
12725
12726 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12727
12728 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12729 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12730 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12731 (__lll_lock_elision): Decrement adapt_count while unlocking
12732 instead of before locking.
12733 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12734 (__lll_trylock_elision): Likewise.
12735 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12736 (__lll_unlock_elision): Likewise.
12737
12738 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12739
12740 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12741 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12742 Use __libc_tbegin_retry macro.
12743
12744 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12745
12746 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12747 Add -msoft-float.
12748 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12749 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12750 Use __libc_t* transaction macros instead of __builtin_t*.
12751 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12752 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12753
12754 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12755
12756 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12757 (__lll_lock_elision): Use atomics to load / store adapt_count.
12758 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12759 (__lll_trylock_elision): Likewise.
12760
12761 2016-12-20 Florian Weimer <fweimer@redhat.com>
12762
12763 Do not require memset elimination in explicit_bzero test.
12764 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12765 (enum test_expectation): Add NO_EXPECTATIONS.
12766 (subtests): NO_EXPECTATIONS for ordinary clear.
12767 (check_test_buffer): Handle NO_EXPECTATIONS.
12768 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12769
12770 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12771
12772 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12773 (fmaxmag): New declaration.
12774 (fminmag): Likewise.
12775 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12776 macro.
12777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12778 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12779 (fmaxmagf): Likewise.
12780 (fmaxmagl): Likewise.
12781 (fminmag): Likewise.
12782 (fminmagf): Likewise.
12783 (fminmagl): Likewise.
12784 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12785 * math/s_fmaxmag_template.c: New file.
12786 * math/s_fminmag_template.c: Likewise.
12787 * math/libm-test.inc (fmaxmag_test_data): New array.
12788 (fmaxmag_test): New function.
12789 (fminmag_test_data): New array.
12790 (fminmag_test): New function.
12791 (main): Call fmaxmag_test and fminmag_test.
12792 * math/test-tgmath.c (NCALLS): Increase to 132.
12793 (F(compile_test)): Call fmaxmag and fminmag.
12794 (F(fminmag)): New function.
12795 (F(fmaxmag)): Likewise.
12796 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12797 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12798 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12799 fminmag.
12800 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12801 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12802 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12805 and fminmag.
12806 (CFLAGS-nldbl-fmaxmag.c): New variable.
12807 (CFLAGS-nldbl-fminmag.c): Likewise.
12808 * sysdeps/nacl/libm.abilist: Update.
12809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12822 Likewise.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12824 Likewise.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12826 Likewise.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12828 Likewise.
12829 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12835 Likewise.
12836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12837 Likewise.
12838 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12841
12842 2016-12-19 Torvald Riegel <triegel@redhat.com>
12843
12844 [BZ #20973]
12845 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12846 wake-up in robust mutexes.
12847 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12848
12849 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12850
12851 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12852 (CFLAGS-bench-fmaxf.c): New rule.
12853 (CFLAGS-bench-fminf.c): Likewise.
12854 * benchtests/fmaxf-inputs: New file.
12855 * benchtests/fminf-inputs: Likewise.
12856
12857 * benchtests/Makefile (bench-math): Add fmin and fmax.
12858 (CFLAGS-bench-fmax.c): New rule.
12859 (CFLAGS-bench-fmin.c): Likewise.
12860 * benchtests/fmax-inputs: New file.
12861 * benchtests/fmin-inputs: Likewise.
12862
12863 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12864 parenthesis.
12865 (CMDLINE_PROCESS): Define using function instead of macro.
12866 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12867 of test-skeleton.
12868 * benchtests/bench-memchr.c: Likewise.
12869 * benchtests/bench-memcmp.c: Likewise.
12870 * benchtests/bench-memcpy-large.c: Likewise.
12871 * benchtests/bench-memcpy.c: Likewise.
12872 * benchtests/bench-memmem.c: Likewise.
12873 * benchtests/bench-memmove-large.c: Likewise.
12874 * benchtests/bench-memmove.c: Likewise.
12875 * benchtests/bench-memset-large.c: Likewise.
12876 * benchtests/bench-memset.c: Likewise.
12877 * benchtests/bench-rawmemchr.c: Likewise.
12878 * benchtests/bench-strcasecmp.c: Likewise.
12879 * benchtests/bench-strcasestr.c: Likewise.
12880 * benchtests/bench-strcat.c: Likewise.
12881 * benchtests/bench-strchr.c: Likewise.
12882 * benchtests/bench-strcmp.c: Likewise.
12883 * benchtests/bench-strcpy.c: Likewise.
12884 * benchtests/bench-strcpy_chk.c: Likewise.
12885 * benchtests/bench-strlen.c: Likewise.
12886 * benchtests/bench-strncasecmp.c: Likewise.
12887 * benchtests/bench-strncmp.c: Likewise.
12888 * benchtests/bench-strncpy.c: Likewise.
12889 * benchtests/bench-strnlen.c: Likewise.
12890 * benchtests/bench-strpbrk.c: Likewise.
12891 * benchtests/bench-strrchr.c: Likewise.
12892 * benchtests/bench-strsep.c: Likewise.
12893 * benchtests/bench-strspn.c: Likewise.
12894 * benchtests/bench-strstr.c: Likewise.
12895 * benchtests/bench-strtok.c: Likewise.
12896
12897 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12898
12899 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12900 stepping identification.
12901 (init_cpu_features): Add handle of Haswell.
12902
12903 2016-11-25 Jim Meyering <meyering@fb.com>
12904
12905 [BZ #20386]
12906 Let gcc detect assert(a = 1) errors.
12907 * assert/assert.h (assert): Rewrite, retaining the old definintion
12908 when required, but otherwise putting the expression as-is in an "if"
12909 expression (hence, with no added parentheses) within a statement
12910 expression.
12911
12912 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12913
12914 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12915 DSO.
12916
12917 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12918
12919 * Rules (python-flags, python-invoke): New.
12920 ($(test-printers-out)): Use $(python-flags).
12921
12922 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12923
12924 * manual/arith.texi (Math Error Reporting): Document that sNaN
12925 arguments are not considered domain errors.
12926
12927 2016-12-16 Zack Weinberg <zackw@panix.com>
12928 Florian Weimer <fweimer@redhat.com>
12929 Nick Mathewson <nickm@torproject.org>
12930
12931 * string/explicit_bzero.c: New routine.
12932 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12933 * string/Makefile (routines, strop-tests, tests): Add them.
12934 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12935 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12936
12937 * debug/explicit_bzero_chk.c: New routine.
12938 * debug/Makefile (routines): Add it.
12939 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12940 * string/bits/string3.h: Fortify explicit_bzero.
12941
12942 * manual/string.texi: Document explicit_bzero.
12943 * NEWS: Mention addition of explicit_bzero.
12944
12945 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12946 data before returning, using explicit_bzero.
12947 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12948 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12949 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12950
12951 * include/string.h: Redirect internal uses of explicit_bzero
12952 to __explicit_bzero_chk[_internal].
12953 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12954 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12955 * sysdeps/arm/nacl/libc.abilist
12956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12957 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12958 * sysdeps/unix/sysv/linux/arm/libc.abilist
12959 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12960 * sysdeps/unix/sysv/linux/i386/libc.abilist
12961 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12962 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12963 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12964 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12965 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12966 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12967 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12968 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12969 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12974 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12975 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12976 * sysdeps/unix/sysv/linux/sh/libc.abilist
12977 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12978 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12981 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12982 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12983 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12984 Add entries for explicit_bzero and __explicit_bzero_chk.
12985
12986 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12987
12988 * math/fenv.h
12989 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12990 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12991 * math/test-fe-snans-always-signal.c: New file.
12992 * math/Makefile (tests): Add test-fe-snans-always-signal.
12993 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12994 * manual/arith.texi (Infinity and NaN): Document
12995 FE_SNANS_ALWAYS_SIGNAL.
12996
12997 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12998
12999 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
13000 bracket.
13001
13002 2016-12-16 Joseph Myers <joseph@codesourcery.com>
13003
13004 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13005 before calling execv.
13006
13007 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13008
13009 [BZ #20971]
13010 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13011 overflow in pointer addition.
13012 * string/test-memchr.c (do_test): Add an argument to pass as
13013 the size on memchr.
13014 (test_main): Add check for SIZE_MAX.
13015
13016 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13017
13018 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13019 (libm-calls): Add w_scalblnF.
13020 * math/w_scalbln.c: Remove.
13021 * math/w_scalblnf.c: Likewise.
13022 * math/w_scalblnl.c: Likewise.
13023 * math/w_scalbln_template.c: New file with type-generic
13024 implementation based on math/w_scalbln.c.
13025 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13026 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13027
13028 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13029
13030 [BZ #20947]
13031 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13032 either is a signaling NaN.
13033 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
13034 follow fmaxl more closely.
13035 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13036 when either is a signaling NaN.
13037 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13038 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13039 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13040 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13041 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13042 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13043 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13044 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13045 (fmin_test_data): Likewise.
13046
13047 2016-12-15 Andreas Schwab <schwab@suse.de>
13048
13049 * support/support_test_main.c (support_test_main): Don't shadow
13050 file-local variable test_pid.
13051
13052 2016-12-15 Joseph Myers <joseph@codesourcery.com>
13053
13054 [BZ #20947]
13055 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13056 either is a signaling NaN.
13057 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13058
13059 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13060
13061 [BZ #20947]
13062 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13063 when either is a signaling NaN.
13064 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13065
13066 * bits/long-double.h: New file.
13067 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13068 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13069 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13070 * sysdeps/mips/bits/long-double.h: Likewise.
13071 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13072 * math/Makefile (headers): Add bits/long-double.h.
13073 * misc/sys/cdefs.h: Include <bits/long-double.h>.
13074 * stdlib/strtold.c: Include <bits/long-double.h> instead of
13075 <bits/wordsize.h>.
13076 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13077 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13078 * math/math.h: Do not include <bits/mathdef.h>.
13079 * sysdeps/aarch64/bits/mathdef.h: Remove file.
13080 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13081 inclusion.
13082 * sysdeps/ia64/bits/mathdef.h: Remove file.
13083 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13084 * sysdeps/mips/bits/mathdef.h: Likewise.
13085 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13086 * sysdeps/s390/bits/mathdef.h: Likewise.
13087 * sysdeps/sparc/bits/mathdef.h: Likewise.
13088 * sysdeps/x86/bits/mathdef.h: Likewise.
13089 * sysdeps/s390/s390-32/bits/wordsize.h
13090 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13091 conditional code.
13092 * sysdeps/s390/s390-64/bits/wordsize.h
13093 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13094 Likewise.
13095 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13096 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13097 Likewise.
13098 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13099 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13100 Likewise.
13101 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13102 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13103 Likewise.
13104
13105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13106 <linux/falloc.h>.
13107 (FALLOC_FL_KEEP_SIZE): Remove.
13108 (FALLOC_FL_PUNCH_HOLE): Likewise.
13109 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13110 (FALLOC_FL_ZERO_RANGE): Likewise.
13111
13112 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13113
13114 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13115
13116 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13117
13118 * sysdeps/unix/sysv/linux/renameat.c: New file.
13119 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13120
13121 * sysdeps/unix/sysv/linux/rename.c: New file.
13122 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13123
13124 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13125
13126 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13127 * string/strtok.c (strtok): Change to tailcall __strtok_r.
13128 * string/strtok_r.c (__strtok_r): Optimize for performance.
13129 * string/string-inlines.c (__old_strtok_r_1c): New function.
13130 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13131
13132 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13133
13134 * math/Makefile (gen-libm-calls): Add w_log1pF.
13135 (libm-calls): Remove w_log1pF.
13136 * math/w_log1p.c: Remove.
13137 * math/w_log1pf.c: Likewise.
13138 * math/w_log1pl.c: Likewise.
13139 * math/w_log1p_template.c: New file with type-generic
13140 implementation based on math/w_log1p.c.
13141 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13142 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13143
13144 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
13145
13146 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13147
13148 2016-12-14 Joseph Myers <joseph@codesourcery.com>
13149
13150 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13151 kernel version to 4.9.
13152
13153 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
13154
13155 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13156 ($(inst_libdir)/libm.a): Fix rule to create the target only.
13157
13158 2016-12-13 Andreas Schwab <schwab@suse.de>
13159
13160 * sysdeps/powerpc/dl-procinfo.c: Don't define
13161 _dl_powerpc_platforms.
13162 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13163 constants instead of referencing _dl_powerpc_platforms.
13164 (_dl_platform_string): Remove.
13165
13166 2016-12-13 Florian Weimer <fweimer@redhat.com>
13167
13168 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13169
13170 2016-12-13 Florian Weimer <fweimer@redhat.com>
13171
13172 * Rules (binaries-shared-tests, binaries-pie-tests)
13173 (binaries-static-tests): Link with $(link-extra-libs-tests).
13174 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13175 Remove $(link-extra-libs-tests).
13176
13177 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13178
13179 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13180 (sysdep_routines): Add strncmp_power9.
13181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13182 (strncmp): Add __strncmp_power9 to list of strncmp functions.
13183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13184 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13185 (strncmp): Add __strncmp_power9 to ifunc list.
13186 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13187
13188 2016-12-12 Florian Weimer <fweimer@redhat.com>
13189
13190 [BZ #17252]
13191 Add getentropy, getrandom.
13192 * stdlib/sys/random.h: New file.
13193 (headers): Add it.
13194 * stdlib/Makefile (routines): Add getentropy, getrandom.
13195 (tests): Add tst-getrandom.
13196 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13197 * stdlib/getentropy.c: New file.
13198 * stdlib/getrandom.c: Likewise.
13199 * stdlib/tst-getrandom.c: Likewise.
13200 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13201 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13202 * manual/crypt.texi (Unpredictable Bytes): New section.
13203 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13204 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13205 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13207 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13212 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13213 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13214 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13215 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13220 Likewise.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13222 Likewise.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13235
13236 2016-12-10 Florian Weimer <fweimer@redhat.com>
13237
13238 [BZ #20956]
13239 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13240 as additional compiler barriers.
13241 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13242 (fn2, do_test): Declare with external linkage.
13243 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13244 (do_test): Declare with external linkage.
13245 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13246 (do_test): Declare with external linkage.
13247 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13248 (do_test): Declare with external linkage.
13249
13250 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
13251
13252 * support/support_test_main.c (support_test_main): Use correct
13253 timeout.
13254
13255 2016-12-09 Carlos O'Donell <carlos@redhat.com>
13256 Florian Weimer <fweimer@redhat.com>
13257
13258 [BZ #16421]
13259 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13260 and __u6_addr32 members.
13261 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13262 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13263 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13264 Use __u6_addr32.
13265 * inet/tst-checks.c: Use <support/test-driver.c>
13266 * inet/tst-checks-posix.c: New file.
13267 * inet/Makefile (tests): Add it.
13268 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13269
13270 2016-12-09 Florian Weimer <fweimer@redhat.com>
13271
13272 New subdirectory support for build and test infrastructure.
13273 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
13274 setting install-lib.
13275 * Makeconfig (link-extra-libs-tests): Define.
13276 (+link-pie-tests, +link-static-tests, +link-tests): Use
13277 link-extra-libs-tests.
13278 (rpath-dirs, all-subdirs): Add support.
13279 (built-modules): Add libsupport.
13280 (libsupport): Define.
13281 * support: New directory.
13282 * support/Makefile: New file.
13283 * support/check.c: Likewise.
13284 * support/check.h: Likewise.
13285 * support/delayed_exit.c: Likewise.
13286 * support/ignore_stderr.c: Likewise.
13287 * support/oom_error.c: Likewise.
13288 * support/set_fortify_handler.c: Likewise.
13289 * support/support.h: Likewise.
13290 * support/temp_file-internal.h: Likewise.
13291 * support/temp_file.c: Likewise.
13292 * support/test-driver.c: Likewise.
13293 * support/test-driver.h: Likewise.
13294 * support/test_main.c: Likewise.
13295 * support/write_message.c: Likewise.
13296 * support/xasprintf.c: Likewise.
13297 * support/xcalloc.c: Likewise.
13298 * support/xmalloc.c: Likewise.
13299 * support/xpthread_barrier_destroy.c: Likewise.
13300 * support/xpthread_barrier_init.c: Likewise.
13301 * support/xpthread_barrier_wait.c: Likewise.
13302 * support/xpthread_cancel.c: Likewise.
13303 * support/xpthread_check_return.c: Likewise.
13304 * support/xpthread_cond_wait.c: Likewise.
13305 * support/xpthread_create.c: Likewise.
13306 * support/xpthread_detach.c: Likewise.
13307 * support/xpthread_join.c: Likewise.
13308 * support/xpthread_mutex_lock.c: Likewise.
13309 * support/xpthread_mutex_unlock.c: Likewise.
13310 * support/xpthread_sigmask.c: Likewise.
13311 * support/xpthread_spin_lock.c: Likewise.
13312 * support/xpthread_spin_unlock.c: Likewise.
13313 * support/xrealloc.c: Likewise.
13314 * support/xsignal.h: Likewise.
13315 * support/xthread.h: Likewise.
13316 * support_tempfile.h: Likewise.
13317 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13318 (TEST_DATA_LIMIT): Remove unused macro.
13319 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
13320 <support/check.h>.
13321 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13322 (ignore_stderr, set_fortify_handler): Remove. Now in
13323 <support/support.h>.
13324 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
13325 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13326 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13327 (xpthread_join): Remove. Now in <support/xthread.h>.
13328 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13329 Introduce legacy wrappers.
13330 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13331 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13332 (write_message): Remove.
13333 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13334 test-skeleton.c.
13335 * io/test-open-tmpfile: Likewise.
13336 * io/tst-posix_fallocate-common.c: Likewise.
13337 * libio/tst-fseek.c: Likewise.
13338 * malloc/tst-malloc-backtrace.c: Likewise.
13339 * malloc/tst-malloc-fork-deadlock.c: Likewise.
13340 * malloc/tst-malloc-thread-exit.c: Likewise.
13341 * nptl/tst-cancel7.c: Likewise.
13342 * nptl/tst-cleanup0.c: Likewise.
13343 * posix/tst-posix_fadvise-common.c: Likewise.
13344 * rt/tst-shm.c: Likewise.
13345 * time/bug-getdate1.c: Likewise.
13346 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13347 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13348 * elf/Makefile (tst-piemod1.so): Link against libsupport.
13349
13350 2016-12-08 Joseph Myers <joseph@codesourcery.com>
13351
13352 * Rules [$(run-built-tests) != no] (tests-expected): Add
13353 $(tests-printers).
13354 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13355
13356 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
13357
13358 [BZ #20539]
13359 * math/Makefile (install-lib-ldscripts): Add libm.a.
13360 (install_subdir): Remove.
13361 (install-others): Add.
13362 ($(inst_libdir)/libm.a): Add rule for installation as
13363 linker script.
13364 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13365
13366 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
13367
13368 * INSTALL: Regenerated.
13369 * Makeconfig: Add comments and whitespace to make the control flow
13370 clearer.
13371 (+link-printers-tests, +link-pie-printers-tests,
13372 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13373 built-rtld-LDFLAGS, link-libc-rpath,
13374 link-libc-tests-after-rpath-link,
13375 link-libc-printers-tests): New.
13376 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13377 link-libc-tests): Use the new variables as required.
13378 * Makerules ($(py-const)): New rule.
13379 generated: Add $(py-const).
13380 * README.pretty-printers: New file.
13381 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13382 (others): Depend on $(py-const).
13383 (tests): Depend on $(tests-printers-programs) or
13384 $(tests-printers-out),
13385 as required. Pass $(tests-printers) to merge-test-results.sh.
13386 * manual/install.texi: Add requirements for testing the pretty
13387 printers.
13388 * nptl/Makefile (gen-py-const-headers, pretty-printers,
13389 tests-printers, CFLAGS-test-mutexattr-printers.c
13390 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13391 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13392 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13393 * nptl/nptl-printers.py: New file.
13394 * nptl/nptl_lock_constants.pysym: Likewise.
13395 * nptl/test-cond-printers.c: Likewise.
13396 * nptl/test-cond-printers.py: Likewise.
13397 * nptl/test-condattr-printers.c: Likewise.
13398 * nptl/test-condattr-printers.py: Likewise.
13399 * nptl/test-mutex-printers.c: Likewise.
13400 * nptl/test-mutex-printers.py: Likewise.
13401 * nptl/test-mutexattr-printers.c: Likewise.
13402 * nptl/test-mutexattr-printers.py: Likewise.
13403 * nptl/test-rwlock-printers.c: Likewise.
13404 * nptl/test-rwlock-printers.py: Likewise.
13405 * nptl/test-rwlockattr-printers.c: Likewise.
13406 * nptl/test-rwlockattr-printers.py: Likewise.
13407 * scripts/gen-py-const.awk: Likewise.
13408 * scripts/test_printers_common.py: Likewise.
13409 * scripts/test_printers_exceptions.py: Likewise.
13410
13411 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13412
13413 * scripts/build-many-glibcs.py (Context.__init__): Take strip
13414 argument.
13415 (Glibc.build_glibc): Strip installed shared libraries if
13416 requested.
13417 (get_parser): Add --strip option.
13418 (main): Update Context call.
13419
13420 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13421 Dominik Vogt <vogt@linux.vnet.ibm.com>
13422
13423 [BZ #20847]
13424 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13425 array bounds for else branch.
13426 (__execvpe): Style fixes.
13427 * posix/tst-vfork3.c (run_script): New function.
13428 (create_script): Likewise.
13429 (do_test): Use run_script internal function.
13430 (do_prepare): Use create_script internal function.
13431
13432 2016-12-07 Andreas Schwab <schwab@suse.de>
13433
13434 * sysdeps/unix/sysv/linux/x86/elision-conf.h
13435 (__elision_available): Don't declare.
13436 * sysdeps/unix/sysv/linux/x86/elision-conf.c
13437 (__elision_available): Don't define.
13438 (elision_init): Don't set __elision_available.
13439
13440 2016-12-07 Joseph Myers <joseph@codesourcery.com>
13441
13442 [BZ #20940]
13443 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13444 return Inf for arguments Inf and sNaN.
13445 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13446 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13447 Likewise.
13448 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13449 Likewise.
13450 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13451 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13452 for arguments Inf and sNaN. When returning a NaN, compute it by
13453 arithmetic on the arguments.
13454 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13455 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13456 arguments.
13457
13458 2016-12-06 Joseph Myers <joseph@codesourcery.com>
13459
13460 [BZ #20916]
13461 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13462 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
13463 to compute result.
13464 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13465 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13466
13467 2016-12-05 Torvald Riegel <triegel@redhat.com>
13468
13469 * include/atomic.h (__atomic_check_size_ls): New.
13470 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13471 atomic_store_release): Use it.
13472 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13473 (elision_adapt, ELIDE_LOCK): Use atomics.
13474 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13475 atomics and improve code comments.
13476 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13477 (__lll_trylock_elision): Likewise.
13478
13479 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13480
13481 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13482 programs.
13483
13484 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13485
13486 [BZ #20916]
13487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13488 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
13489 arguments to compute result.
13490 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13491 1 for arguments (sNaN, 0) or (1, sNaN).
13492 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13494
13495 [BZ #20919]
13496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13497 NaN first argument when raised to power 0.
13498 * math/w_pow.c (__pow): Do not check for NaN or zero results from
13499 raising to power zero.
13500 * math/w_powf.c (__powf): Likewise.
13501 * math/w_powl.c (__powl): Likewise.
13502 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13503 pow (0, 0) or pow (NaN, 0).
13504
13505 2016-12-02 Carlos O'Donell <carlos@redhat.com>
13506
13507 [BZ #20918]
13508 * configure.ac: Test for static NSS cryptographic libraries and set
13509 libc_cv_static_nss_crypt.
13510 * configure: Regenerate.
13511 * config.make.in (static-nss-crypt): Define.
13512 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13513 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13514 (CFLAGS-tst-linkall-static.c): Define.
13515 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13516 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13517 ($(objpfx)tst-linkall-static): Define.
13518 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13519 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13520
13521 2016-12-02 Florian Weimer <fweimer@redhat.com>
13522
13523 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13524 (one-hundred, tst-tls-many-dynamic-modules): Define.
13525 (modules-names): Add $(tst-tls-many-dynamic-modules).
13526 (tst-tls-manydynamic%mod.os): Build with special preprocessor
13527 macros.
13528 (tst-tls-manydynamic): Link against libdl, libpthread.
13529 (tst-tls-manydynamic.out): The test needs the test modules at run
13530 time.
13531 * elf/tst-tls-manydynamic.c: New file.
13532 * elf/tst-tls-manydynamic.h: Likewise.
13533 * elf/tst-tls-manydynamicmod.c: Likewise.
13534
13535 2016-12-02 Florian Weimer <fweimer@redhat.com>
13536
13537 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13538 (TLS_DTV_UNALLOCATED): Add.
13539 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13540 offsets.
13541
13542 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13543
13544 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13545
13546 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
13547
13548 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13549 Add -fno-optimize-sibling-calls.
13550
13551 2016-12-02 Joseph Myers <joseph@codesourcery.com>
13552
13553 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13554 New declaration.
13555 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13556 macro.
13557 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13558 New macro.
13559 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13560 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13561 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13562 (llogbf): Likewise.
13563 (llogbl): Likewise.
13564 * math/Makefile (gen-libm-calls): Add w_llogbF.
13565 (tests): Add test-fp-llogb-constants.
13566 * math/w_llogb_template.c: New file. Based on
13567 math/w_ilogb_template.c.
13568 * math/libm-test.inc (llogb_test_data): New array.
13569 (llogb_test): New function.
13570 (main): Call llogb_test.
13571 * math/test-fp-llogb-constants.c: New file. Based on
13572 math/test-fp-ilogb-constants.c.
13573 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13574 (do_test): Call check_return_llogb.
13575 * math/test-tgmath.c (NCALLS): Increase to 126.
13576 (F(compile_test)): Call llogb.
13577 (F(llogb)): New function.
13578 * manual/math.texi (Exponents and Logarithms): Document llogb,
13579 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13580 * manual/libm-err-tab.pl (@all_functions): Add llogb.
13581 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13582 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13584 (CFLAGS-nldbl-llogb.c): New variable.
13585 * sysdeps/nacl/libm.abilist: Update.
13586 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13587 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13588 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13589 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13590 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13591 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13592 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13593 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13594 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13595 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13596 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13597 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13599 Likewise.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13601 Likewise.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13603 Likewise.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13605 Likewise.
13606 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13607 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13608 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13609 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13610 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13612 Likewise.
13613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13614 Likewise.
13615 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13618
13619 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13620
13621 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13622 _Float128 instead of long double.
13623 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13624
13625 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13626 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13627 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13628 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13629 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13630 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13631 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13632 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13633 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13634 Likewise.
13635
13636 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13637
13638 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13639 Remove redirection to __strrchr_ppc.
13640
13641 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13642
13643 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13644 (sysdep_routines): Add strcmp_power9.
13645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13646 (strcmp): Add __strcmp_power9 to list of strcmp functions.
13647 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13648 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13649 (strcmp): Add __strcmp_power9 to ifunc list.
13650 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13651
13652 2016-12-01 Joseph Myers <joseph@codesourcery.com>
13653
13654 * bits/fp-logb.h: New file.
13655 * sysdeps/ia64/bits/fp-logb.h: Likewise.
13656 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13657 * sysdeps/x86/bits/fp-logb.h: Likewise.
13658 * math/Makefile (headers): Add bits/fp-logb.h.
13659 * math/math.h: Include <bits/fp-logb.h>.
13660 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13661 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13662 * bits/mathdef.h (FP_ILOGB0): Remove.
13663 (FP_ILOGBNAN): Likewise.
13664 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13665 (FP_ILOGBNAN): Likewise.
13666 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13667 (FP_ILOGBNAN): Likewise.
13668 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13669 (FP_ILOGBNAN): Likewise.
13670 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13671 (FP_ILOGBNAN): Likewise.
13672 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13673 (FP_ILOGBNAN): Likewise.
13674 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13675 (FP_ILOGBNAN): Likewise.
13676 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13677 (FP_ILOGBNAN): Likewise.
13678 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13679 (FP_ILOGBNAN): Likewise.
13680 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13681 (FP_ILOGBNAN): Likewise.
13682
13683 * scripts/build-many-glibcs.py: Add bot to usage message. Import
13684 time module.
13685 (Context.__init__): Initialize self.logsdir_old.
13686 (Context.run_builds): Handle bot action.
13687 (Context.bot_cycle): Copy logs directory before running builds.
13688 (Context.bot_run_self): Take argument for whether to check
13689 subprocess result. Flush stdout before running subprocess.
13690 (Context.bot): New function.
13691 (get_parser): Allow bot action.
13692
13693 2016-11-30 Joseph Myers <joseph@codesourcery.com>
13694
13695 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13696 Import email.mime.text, email.utils and smtplib modules.
13697 (Context.__init__): Initialize self.bot_config_json.
13698 (Context.run_builds): Handle bot-cycle action.
13699 (Context.load_bot_config_json): New function.
13700 (Context.part_build_old): Likewise.
13701 (Context.bot_cycle): Likewise.
13702 (Context.bot_build_mail): Likewise.
13703 (Context.bot_run_self): Likewise.
13704 (get_parser): Allow bot-cycle action.
13705
13706 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13707
13708 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13709 Remove redirection to __stpcpy_ppc.
13710
13711 2016-11-30 Florian Weimer <fweimer@redhat.com>
13712
13713 Remove __libc_memalign from ld.so because it is unused.
13714 * elf/dl-minimal.c: Update comment on the malloc implementation.
13715 (malloc): Renamed from __libc_memalign, replacing the original
13716 malloc implementation. Replace the align parameter with
13717 MALLOC_ALIGNMENT.
13718 * elf/Versions (ld): Update comment and remove __libc_memalign.
13719 * sysdeps/nacl/ld.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13746 * sysdeps/generic/localplt.data (ld.so): Likewise.
13747 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13748 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13749 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13750 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13751 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13752 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13753 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13754 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13755 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13757 (ld.so): Likewise.
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13759 (ld.so): Likewise.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13761 Likewise.
13762 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13763 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13764 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13765 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13766 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13767
13768 2016-11-30 Florian Weimer <fweimer@redhat.com>
13769
13770 [BZ #16628]
13771 Implement _dl_catch_error, _dl_signal_error in libc.so.
13772 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13773 (catch_hook): Define as thread-local or regular variable,
13774 depending on DL_ERROR_BOOTSTRAP.
13775 (CATCH_HOOK): Remove.
13776 (dl_signal_error, _dl_catch_error): Use
13777 catch_hook. Add hidden definition for libc.
13778 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13779 for DL_ERROR_BOOTSTRAP only.
13780 * elf/dl-error.c: New file.
13781 * elf/dl-error-minimal.c: Likewise.
13782 * elf/tst-latepthread.c: Likewise.
13783 * elf/tst-latepthreadmod.c: Likewise.
13784 * elf/Makefile (routines): Add dl-error.
13785 (dl-routines): Remove dl-error.
13786 (rtld-routines): Add dl-error-minimal.
13787 [build-shared] (tests): Add tst-latepthread.
13788 (module-names): Add tst-latepthreadmod.
13789 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13790 symbol.
13791 (tst-latepthreadmod.so): Link against libpthread.
13792 (tst-latepthread): Link against libdbl.
13793 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13794 _dl_catch_error.
13795 [ld] (GLIBC_PRIVATE): Likewise.
13796 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13797 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13798 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13799 directly.
13800 * elf/dl-tsd.c: Remove file.
13801 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13802 _dl_catch_error, _dl_signal_error.
13803 (_dl_initial_error_catch_tsd): Remove definition.
13804 (do_preload): Remove initialization of dl_error_catch_tsd.
13805 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13806 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13807 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13808 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13809 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13810 set dl_error_catch_tsd.
13811 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13812 _dl_error_catch_tsd member.
13813 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13814 members.
13815 (_dl_initial_error_catch_tsd): Remove declaration.
13816 (_dl_dprintf): Provide definition for use outside of ld.so.
13817 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13818 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13819 prototype for libc.
13820 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13821 _dl_catch_error.
13822 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13823 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13824 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13825 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13826 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13827 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13828 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13829 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13830 Likewise.
13831 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13833 (ld.so): Likewise.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13835 (ld.so): Likewise.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13837 Likewise.
13838 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13839 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13840 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13841 Likewise.
13842 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13843 Likewise.
13844 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13845
13846 2016-11-30 Florian Weimer <fweimer@redhat.com>
13847
13848 [BZ #4099]
13849 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13850 _IO_BUFSIZ (8192).
13851
13852 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13853
13854 * PROJECTS: Remove file.
13855
13856 2016-11-29 Florian Weimer <fweimer@redhat.com>
13857
13858 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13859
13860 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13861 Steve Ellcey <sellcey@caviumnetworks.com>
13862
13863 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13864 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13865 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13866 fxstatat.
13867 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13868 lxstat.
13869 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13870 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13871 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13872 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13873 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13874 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13875 __xstat.
13876
13877 2016-11-29 Florian Weimer <fweimer@redhat.com>
13878
13879 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13880 Define.
13881 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13882 definition.
13883
13884 2016-11-29 Florian Weimer <fweimer@redhat.com>
13885
13886 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13887 version and turn into strong alias. Remove compat symbol.
13888
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13890 (__longjmp): Remove.
13891
13892 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13893
13894 * bits/fp-fast.h: New file.
13895 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13896 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13897 * math/Makefile (headers): Add bits/fp-fast.h.
13898 * math/math.h: Include <bits/fp-fast.h>.
13899 * bits/mathdef.h (FP_FAST_FMA): Remove.
13900 (FP_FAST_FMAF): Likewise.
13901 (FP_FAST_FMAL): Likewise.
13902 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13903 (FP_FAST_FMAF): Likewise.
13904 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13905 (FP_FAST_FMAF): Likewise.
13906 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13907 (FP_FAST_FMAF): Likewise.
13908 (FP_FAST_FMAL): Likewise.
13909 * sysdeps/arm/bits/mathdef.h: Remove file.
13910 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13911 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13912 * sysdeps/tile/bits/mathdef.h: Likewise.
13913
13914 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13915
13916 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13917 * math/w_ilogb.c: Remove.
13918 * math/w_ilogbf.c: Likewise.
13919 * math/w_ilogbl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13921 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13922 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13923 (libm-calls): Remove w_ilogbF.
13924 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13925 (LDOUBLE_ilogbl_libm_version): New macro.
13926
13927 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13928
13929 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13930 [!__STRICT_ANSI__ && !__cplusplus].
13931
13932 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13933
13934 [BZ #20750]
13935 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13936 of PIC.
13937
13938 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13939 Yury Norov <ynorov@caviumnetworks.com>
13940 Steve Ellcey <sellcey@caviumnetworks.com>
13941
13942 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13943 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13944 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13945 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13946 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13947 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13948 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13949 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13950 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13951 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13952 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13953 to get correct reg name for ILP32.
13954 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13955 (RELA_SIZE): New Macro.
13956 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13957 to support ILP32.
13958 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13959 cast for ILP32 mode.
13960 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13961 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13962 * sysdeps/aarch64/memset.S (__memset): Ditto.
13963 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13964 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13965 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13966 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13967 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13968 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13969 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13970 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13971 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13972 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13973 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13974 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13975 change PTR_MANGLE call to use register numbers instead of names.
13976 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13977 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13978 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13979 * sysdeps/aarch64/start.S (_start): Ditto.
13980 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13981 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13982 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13983 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13984 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13985 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13986 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13987 Make defined values dependent on __ILP32__.
13988 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13989 (sem_t): Change __align type.
13990 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13991 PTR_SIZE): New Macros.
13992 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13993 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13994 Set when in ILP32 mode.
13995 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13996 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13997 Set elf flags for ILP32.
13998 (add_system_dir): Set ILP32 library directories.
13999 * sysdeps/unix/sysv/linux/aarch64/init-first.c
14000 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14001 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14002 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14003 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14004 New Macros.
14005 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14006
14007 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
14008
14009 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14010 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14011 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14012
14013 2016-11-28 Joseph Myers <joseph@codesourcery.com>
14014
14015 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14016 <asm/cachectl.h>.
14017
14018 2016-11-27 Zack Weinberg <zackw@panix.com>
14019
14020 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14021 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14022
14023 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14024
14025 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14026 error_t to fix usage in C++ programs.
14027
14028 2016-11-26 Joseph Myers <joseph@codesourcery.com>
14029
14030 * scripts/build-many-glibcs.py: Import datetime module.
14031 (Context.__init__): Load JSON build state. Initialize list of
14032 status logs.
14033 (Context.run_builds): Update saved build state.
14034 (Context.add_makefile_cmdlist): Update list of status logs.
14035 (Context.load_build_state_json): New function.
14036 (Context.store_build_state_json): Likewise.
14037 (Context.clear_last_build_state): Likewise.
14038 (Context.update_build_state): Likewise.
14039 (CommandList.status_logs): Likewise.
14040
14041 2016-11-25 Joseph Myers <joseph@codesourcery.com>
14042
14043 * scripts/build-many-glibcs.py (Context.__init__): Save text of
14044 script being executed.
14045 (Context.get_script_text): New function.
14046 (Context.exec_self): Likewise.
14047 (Context.checkout): Re-exec script if changed by checkout process.
14048
14049 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14050
14051 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14052 (setpayloadsig): New declaration.
14053 * math/Versions (setpayloadsig): New libm symbol at version
14054 GLIBC_2.25.
14055 (setpayloadsigf): Likewise.
14056 (setpayloadsigl): Likewise.
14057 * math/Makefile (libm-calls): Add s_setpayloadsigF.
14058 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14059 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14060 (setpayloadsig_test_data): New array.
14061 (setpayloadsig_test): New function.
14062 (main): Call setpayloadsig_test.
14063 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14064 setpayloadsigf and setpayloadsigl.
14065 * manual/libm-err-tab.pl: Update comment on interfaces without
14066 ulps tabulated.
14067 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14068 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14073 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14074 setpayloadsig.
14075 (CFLAGS-nldbl-setpayloadsig.c): New variable.
14076 * sysdeps/nacl/libm.abilist: Update.
14077 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14082 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14090 Likewise.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14092 Likewise.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14094 Likewise.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14096 Likewise.
14097 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14098 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14099 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14100 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14103 Likewise.
14104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14105 Likewise.
14106 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14109
14110 * scripts/build-many-glibcs.py: Import json module.
14111 (Context.__init__): Take replace_sources argument. Load
14112 versions.json.
14113 (Context.load_versions_json): New function.
14114 (Context.store_json): Likewise.
14115 (Context.store_versions_json): Likewise.
14116 (Context.set_component_version): Likewise.
14117 (Context.checkout): Update versions.json. Check for and handle
14118 changes of version. Prefer previously explicitly specified
14119 version to default version.
14120 (Context.checkout_vcs): Return a revision identifier.
14121 (Context.git_checkout): Likewise.
14122 (Context.gcc_checkout): Likewise.
14123 (get_parser): Add --replace-sources option.
14124 (main): Pass replace_sources argument to Context call.
14125
14126 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14127
14128 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14129 * nptl/allocatestack.c (allocate_stack): Likewise.
14130 (__reclaim_stacks): Likewise.
14131 (setxid_signal_thread): Obtain pid through syscall.
14132 * nptl/nptl-init.c (sigcancel_handler): Likewise.
14133 (sighandle_setxid): Likewise.
14134 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14135 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14136 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14137 Likewise.
14138 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14139 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14140 comment.
14141 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14142 * nptl/descr.h (struct pthread): Change comment about pid value.
14143 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14144 pid assert.
14145 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14146 Do not set pid value.
14147 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14148 pid cache check.
14149 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14150 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14151 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14152 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14153 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14154 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14155 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14156 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14157 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14158 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14159 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14160 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14161 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14162 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14163 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14164 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14165 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14166 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14167 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14168 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14169 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14170 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14171 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14172 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14173 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14177 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14178 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14181 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14183 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14184 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14185 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14186 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14187 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14188 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14189 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14190 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14191 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14194 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14195 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14196 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14197 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14198 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14199 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14200 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14201 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14202 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14203 struct access.
14204 (clone_test): Remove function.
14205 (do_test): Rewrite to take in consideration pid is not cached anymore.
14206
14207 2016-11-24 Joseph Myers <joseph@codesourcery.com>
14208
14209 * bits/flt-eval-method.h: New file.
14210 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14211 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14212 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14213 * math/Makefile (headers): Add bits/flt-eval-method.h.
14214 * math/math.h: Include <bits/flt-eval-method.h>.
14215 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14216 [__USE_ISOC99] (double_t): Likewise.
14217 * bits/mathdef.h (float_t): Remove.
14218 (double_t): Likewise.
14219 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14220 (double_t): Likewise.
14221 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14222 (double_t): Likewise.
14223 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14224 (double_t): Likewise.
14225 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14226 (double_t): Likewise.
14227 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14228 (double_t): Likewise.
14229 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14230 (double_t): Likewise.
14231 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14232 (double_t): Likewise.
14233 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14234 (double_t): Likewise.
14235 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14236 (double_t): Likewise.
14237 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14238 (double_t): Likewise.
14239 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14240 (double_t): Likewise.
14241 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14242 (double_t): Likewise.
14243 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14244 (double_t): Likewise.
14245
14246 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
14247
14248 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14249 instead of PIC.
14250
14251 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14252
14253 [BZ #20859]
14254 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14255 (-0x7fffffff) instead of 0x80000001.
14256 * math/test-fp-ilogb-constants.c: New file.
14257 * math/Makefile (tests): Add test-fp-ilogb-constants.
14258
14259 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
14260
14261 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14262 (_init): Use it in place of hardcoded R_MIPS_JALR.
14263 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14264 (_init): Use it in place of hardcoded R_MIPS_JALR.
14265 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14266 (_init): Use it in place of hardcoded R_MIPS_JALR.
14267
14268 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14269
14270 [BZ #20787]
14271 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14272 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14273 (double_t): Do not define to double if [__x86_64__] when
14274 __FLT_EVAL_METHOD__ is nonzero.
14275 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14276 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14277 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14278 test-flt-eval-method-387 and test-flt-eval-method-sse.
14279 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14280 variable.
14281 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14282
14283 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
14284
14285 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14286 use of -fno-isolate-erroneous-paths options for tilepro.
14287
14288 2016-11-23 Florian Weimer <fweimer@redhat.com>
14289
14290 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14291 structure initialization is no longer needed.
14292
14293 2016-11-23 Joseph Myers <joseph@codesourcery.com>
14294
14295 [BZ #20855]
14296 * bits/mathdef.h (float_t): Define to float.
14297 * math/test-flt-eval-method.c: New file.
14298 * math/Makefile (tests): Add test-flt-eval-method.
14299 (CFLAGS-test-flt-eval-method.c): New variable.
14300
14301 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
14302
14303 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14304 and __fstatfs. Make them aliases of __fstatfs64 if
14305 STATFS_IS_STATFS64 is set to non-zero.
14306 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14307 and __statfs64.
14308 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14309 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14310 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14311 for __statfs and statfs.
14312 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14313 to 0.
14314 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14315 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14316 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14317 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14318 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14319 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14322 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14323 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14324 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14325 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14326
14327 2016-11-22 Andreas Schwab <schwab@suse.de>
14328
14329 * misc/mkstemp.c: Include <fcntl.h>.
14330 * misc/mkstemps.c: Likewise.
14331 * misc/mkostemp.c: Likewise.
14332 * misc/mkostemps.c: Likewise.
14333
14334 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
14335
14336 [BZ #20847]
14337 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14338 array bounds.
14339 (__execvpe): Likewise.
14340
14341 2016-11-22 Joseph Myers <joseph@codesourcery.com>
14342
14343 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14344 -fno-isolate-erroneous-paths options for tilepro.
14345
14346 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
14347
14348 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14349 to 0 when in 32 bit mode.
14350 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14351 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14352 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14353 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14355 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14356 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14357 XSTAT_IS_XSTAT64 test.
14358 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14359 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14360 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14361 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14362 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14363 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14364 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14365 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14366 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14367 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14368 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14369
14370 2016-11-19 Joseph Myers <joseph@codesourcery.com>
14371
14372 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14373 (setpayload): New declaration.
14374 * math/Versions (setpayload): New libm symbol at version
14375 GLIBC_2.25.
14376 (setpayloadf): Likewise.
14377 (setpayloadl): Likewise.
14378 * math/Makefile (libm-calls): Add s_setpayloadF.
14379 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14380 test_Ff_b1_data.
14381 (RUN_TEST_Ff_b1): New macro.
14382 (RUN_TEST_LOOP_Ff_b1): Likewise.
14383 (canonicalize_test_data): Update type.
14384 (setpayload_test_data): New array.
14385 (setpayload_test): New function.
14386 (main): Call setpayload_test.
14387 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14388 setpayloadf and setpayloadl.
14389 * manual/libm-err-tab.pl: Update comment on interfaces without
14390 ulps tabulated.
14391 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14392 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14393 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14394 Likewise.
14395 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14396 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14397 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14401 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14402 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14403 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14404 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14405 setpayload.
14406 (CFLAGS-nldbl-setpayload.c): New variable.
14407 * sysdeps/nacl/libm.abilist: Update.
14408 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14421 Likewise.
14422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14423 Likewise.
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14425 Likewise.
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14427 Likewise.
14428 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14434 Likewise.
14435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14436 Likewise.
14437 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14440
14441 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14442
14443 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14444 * include/unistd.h: Extend comment about __access_noerrno return
14445 semantics.
14446 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14447 (access_common): Correct typo for EACCES.
14448
14449 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
14450
14451 * sysdeps/tile/math-tests.h: New file.
14452
14453 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14454 (__old_set_dataplane): Rename from set_dataplane and make a
14455 compatibility symbol.
14456 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14457 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14458 sys/dataplane.h.
14459
14460 2016-11-18 Joseph Myers <joseph@codesourcery.com>
14461
14462 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14463 script quote words in command output to log suitably for input to
14464 the shell.
14465
14466 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
14467 Maciej W. Rozycki <macro@imgtec.com>
14468
14469 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14470 `.Lno_weak_fn' label.
14471 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14472 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14473
14474 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14475 Yury Norov <ynorov@caviumnetworks.com>
14476
14477 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14478 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14479 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14480 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14481 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14483 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14485 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14486 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14487 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14488 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14489 (sysdep_routines): Remove oldgetrlimit64.
14490 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14491 (sysdep_routines): Likewise.
14492 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14493 (sysdep_routines): Likewise.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14495 [$(subdir) = resource] (sysdep_routines): Likewise.
14496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14497 [$(subdir) = resource] (sysdep_routines): Likewise.
14498 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14499 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14500 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14501 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14502 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14503 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14504 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14505 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14506 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14509 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14510 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14511 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14512 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14513 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14514 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14515 setrlimit and getrlimit.
14516 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14518 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14521 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14522 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14523 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14524 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14525 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14526 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14527 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14528 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14529 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14530 (__old_getrlimit64): Add compatibility symbol.
14531 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14532
14533 2016-11-17 Joseph Myers <joseph@codesourcery.com>
14534
14535 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14536 newly built gmp, mpfr and mpc.
14537
14538 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14539
14540 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14541
14542 * conform/Makefile (linknamespace-libs): Rename to
14543 linknamespace-libs-thr.
14544 (linknamespace-libs-posix): New variable.
14545 (linknamespace-libs-xsi): Likewise.
14546 (linknamespace-libs-XPG3): Include libcrypt.a.
14547 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14548 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14549 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14550 (linknamespace-libs-XOPEN2K): Likewise.
14551 (linknamespace-libs-XOPEN2K8): Likewise.
14552 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14553
14554 [BZ #20829]
14555 * stdio-common/Versions (__snprintf): Add to version
14556 GLIBC_PRIVATE.
14557 * include/stdio.h (__snprintf): Use libc_hidden_proto.
14558 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14559 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14560 of snprintf.
14561 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14562
14563 2016-11-16 Zack Weinberg <zackw@panix.com>
14564
14565 * string/string.h: Remove obsolete comment stating that
14566 strcoll_l and strxfrm_l have not yet been standardized.
14567
14568 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14569
14570 * hurd/hurd.h (__hurd_fail_noerrno): New function.
14571 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14572 __access_noerrno.
14573 * io/access.c (__access_noerrno): New function.
14574 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14575 (hurd_fail_seterrno): Likewise.
14576 (access_common): Likewise.
14577 (__access_noerrno): Likewise.
14578 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14579 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14580 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14581 macro.
14582
14583 2016-11-16 Joseph Myers <joseph@codesourcery.com>
14584
14585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14586 Only declare fpregs if [__SH_FPU_ANY__].
14587
14588 2016-11-15 Joseph Myers <joseph@codesourcery.com>
14589
14590 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14591 Make code unconditional.
14592 [!(__SH4__ || __SH4A__)]: Remove conditional code.
14593
14594 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
14595
14596 * manual/sysinfo.texi (S_APPEND): Delete.
14597 (S_IMMUTABLE): Likewise.
14598
14599 2016-11-15 Denis Kaganovich <mahatma@eu.by>
14600 Magnus Granberg <zorry@gentoo.org>
14601 Mike Frysinger <vapier@gentoo.org>
14602
14603 [BZ #20662]
14604 * configure.ac (libc_cv_predef_stack_protector): Also check for
14605 __stack_chk_fail_local symbols.
14606 * configure: Regenerated.
14607
14608 2016-11-15 Florian Weimer <fweimer@redhat.com>
14609
14610 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14611 (libc_hidden_def): Remove redefinition.
14612 (__sigsetjmp): Add hidden definition.
14613 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14614 (libc_hidden_def): Remove redefinition.
14615 (__sigsetjmp): Add hidden definition.
14616
14617 2016-11-14 Joseph Myers <joseph@codesourcery.com>
14618
14619 * scripts/build-many-glibcs.py (os.path): Do not import.
14620 (Context): Inherit explicitly from object. Remove blank line
14621 between class and docstring.
14622 (Config): Likewise.
14623 (Glibc): Likewise.
14624 (Command): Likewise.
14625 (CommandList): Likewise.
14626 (Context.write_files): Store chmod mode in a variable.
14627
14628 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14629 LIBC_SLIBDIR_RTLDDIR for tilegx32.
14630 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14631
14632 2016-11-14 Zack Weinberg <zackw@panix.com>
14633
14634 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14635 creating or re-creating it.
14636
14637 * string/bits/string2.h: Fix typo in comment.
14638
14639 2016-11-14 Zack Weinberg <zackw@panix.com>
14640
14641 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14642 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14643 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14644 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14645 of redirected function names.
14646
14647 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14648 as well. Document that MESSAGE must be a single string literal.
14649
14650 2016-11-11 Joseph Myers <joseph@codesourcery.com>
14651
14652 * scripts/build-many-glibcs.py: New file.
14653
14654 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14655 (do_test): Disable -Wmaybe-uninitialized around uses of
14656 except_mask.
14657
14658 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14659
14660 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
14661
14662 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14663 (atomic_store_release): Provide tilepro-specific implementations.
14664
14665 2016-11-10 Joseph Myers <joseph@codesourcery.com>
14666
14667 * math/math.h (__MATH_TG): New macro.
14668 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14669 [__USE_ISOC99] (signbit): Likewise.
14670 [__USE_ISOC99] (isfinite): Likewise.
14671 [__USE_ISOC99] (isnan): Likewise.
14672 [__USE_ISOC99] (isinf): Likewise.
14673 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14674 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14675 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14676 __MATH_TG and __MATH_EVAL_FMT2.
14677 * sysdeps/generic/math_private.h (fabs_tg): Define using
14678 __MATH_TG.
14679 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14680 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14681 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14682 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14683 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14684 macro.
14685 (__iscanonical): Likewise.
14686 (iscanonical): Define using __MATH_TG.
14687
14688 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14689
14690 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14691 guards.
14692
14693 * sysdeps/unix/sysv/linux/access.c: New file.
14694 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14695
14696 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
14697
14698 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14699 and __WORDSIZE32_PTRDIFF_LONG.
14700
14701 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
14702
14703 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14704
14705 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14706
14707 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14708 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14709 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14710 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14711 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14713 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14714 * sysdeps/unix/sysv/linux/truncate.c: New file.
14715 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14716 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14717 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14718 Remove.
14719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14720 Likewise.
14721
14722 * posix/tst-truncate-common.c: New file.
14723 * posix/tst-truncate.c: Use tst-truncate-common.c.
14724 * posix/tst-truncate64.c: Likewise and add LFS tests.
14725 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14726 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14727 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14728 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14729 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14731 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14732 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14733 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14734 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14735 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14736 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14737 Remove.
14738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14739 Likewise.
14740
14741 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14742
14743 [BZ #20790]
14744 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14745 to MAXLINESIZE.
14746 * sunrpc/bug20790.x: New file.
14747 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14748 variable.
14749 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14750 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14751
14752 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14753
14754 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14755
14756 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14757 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14758 calloc, realloc, free, memalign and __libc_memalign rather than
14759 making them optional.
14760
14761 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14762 for libc.so.
14763
14764 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14765
14766 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14767 ptw-lseek64.
14768 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14769 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14770 Likewise.
14771 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14772 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14773 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14774 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14775 * sysdeps/unix/sysv/linux/lseek.c: New file.
14776 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14777 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14778 __libc_lseek64 from auto-generation.
14779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14780 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14781
14782 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14783
14784 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14785 * nptl/tst-cleanup1.c (do_test): Likewise.
14786 * nptl/tst-cleanup3.c (do_test): Likewise.
14787 * nptl/tst-key1.c (do_test): Likewise.
14788 * nptl/tst-key2.c (tf, do_test): Likewise.
14789 * nptl/tst-key3.c (tf, do_test): Likewise.
14790 * nptl/tst-stdio1.c (do_test): Likewise.
14791 * nptl/tst-stdio2.c (do_test): Likewise.
14792
14793 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14794 * nptl/tst-kill6.c (handler): Likewise.
14795 * nptl/tst-tls2.c (CB): Likewise.
14796 * nptl/tst-tls3.c (CB): Likewise.
14797
14798 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14799
14800 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14801
14802 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14803 Steve Ellcey <sellcey@caviumnetworks.com>
14804
14805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14806 __ASSUME_ST_INO_64_BIT as 0
14807 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14808 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14809 over the code where __ASSUME_ST_INO_64_BIT is used.
14810 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14811 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14812 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14813
14814 2016-11-07 Florian Weimer <fweimer@redhat.com>
14815
14816 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14817 Document ABI exposure of the __kind offset.
14818 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14819 Mention reason for the __kind offset exposure in the ABI.
14820 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14821 Likewise.
14822 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14823 Likewise.
14824 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14825 Likewise.
14826 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14827 (struct __pthread_mutex_s): Likewise.
14828 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14829 Likewise.
14830 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14831 Likewise.
14832 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14833 Likewise.
14834 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14835 Likewise.
14836 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14837 Likewise.
14838 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14839 Likewise.
14840 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14841 (struct __pthread_mutex_s): Likewise.
14842 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14843 (struct __pthread_mutex_s): Likewise.
14844 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14845 Likewise.
14846
14847 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14848
14849 * test-skeleton.c: Document do_test usage.
14850
14851 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14852
14853 * iconv/gconv.h (__gconv_info): Define __data element using a
14854 zero-length array.
14855
14856 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14857
14858 * math/test-tgmath2.c: Split up test function.
14859
14860 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14861
14862 * Rules (tests-expected): New variable, depending on
14863 $(run-built-tests).
14864 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14865 $(tests).
14866
14867 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14868 $(tests-unsupported).
14869
14870 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14871
14872 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14873 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14874
14875 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14876
14877 [BZ #20768]
14878 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14879 __fegetenv instead of fegetenv.
14880
14881 [BZ #14139]
14882 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14883 (find_files): Obtain platform name from libm-test-ulps-name and
14884 store in %pplatforms.
14885 (canonicalize_platform): Remove.
14886 (print_platforms): Use $pplatforms directly.
14887 (by_platforms): Do not allow for platforms missing from
14888 %pplatforms.
14889 * sysdeps/aarch64/libm-test-ulps-name: New file.
14890 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14891 * sysdeps/arm/libm-test-ulps-name: Likewise.
14892 * sysdeps/generic/libm-test-ulps-name: Likewise.
14893 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14894 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14895 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14896 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14897 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14898 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14899 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14900 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14901 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14902 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14903 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14904 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14905 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14906 * sysdeps/sh/libm-test-ulps-name: Likewise.
14907 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14908 * sysdeps/tile/libm-test-ulps-name: Likewise.
14909 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14910
14911 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14912
14913 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14914 (test-xfail-check-execstack): New variable.
14915
14916 * sysdeps/mips/localplt.data: New file.
14917
14918 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14919 Steve Ellcey <sellcey@caviumnetworks.com>
14920
14921 * bits/wordsize.h: Add documentation.
14922 * sysdeps/aarch64/bits/wordsize.h : New file
14923 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14924 definitions.
14925 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14926 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14927 with #if instead of #ifdef.
14928 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14929 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14930 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14931 Add or change defines.
14932 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14933 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14934 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14935 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14936 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14937 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14938 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14939 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14940 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14942 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14943 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14944 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14945 * sysdeps/x86/bits/wordsize.h: Likewise.
14946
14947 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14948 Kevin Petit <kevin.petit@arm.com>
14949
14950 * sysdeps/aarch64/memchr.S (__memchr): New file.
14951
14952 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14953
14954 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14955
14956 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14957
14958 [BZ #19398]
14959 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14960 $(linknamespace-symlists-tests).
14961
14962 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14963
14964 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14965
14966 2016-11-02 Florian Weimer <fweimer@redhat.com>
14967 Carlos O'Donell <carlos@redhat.com>
14968
14969 [Bug #20729]
14970 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14971 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14972 for -Os related change.
14973
14974 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14975
14976 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14977
14978 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14979
14980 [BZ #19673]
14981 * manual/math.texi (Exponents and Logarithms): Correct description
14982 of clog10.
14983
14984 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14985
14986 [Bz #20729]
14987 * locale/weight.h: Include libc-internal.h.
14988 * locale/weightwc.h: Likewise.
14989 * nptl/nptl_dbP.h: Likewise.
14990
14991 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14992
14993 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14994 when it is MACH_PORT_NULL.
14995
14996 2016-10-31 Andreas Schwab <schwab@suse.de>
14997
14998 [BZ #20707]
14999 * posix/glob.c (glob): Initialize pglob before checking for
15000 GLOB_BRACE. Don't call glob recursively if pattern contains no
15001 valid brace expression despite GLOB_BRACE.
15002 * posix/globtest.sh: Test it.
15003
15004 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15005
15006 [BZ #20729]
15007 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15008 Define.
15009 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15010 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15011 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15012 for seq2.back_us and seq1.back_us only for -Os compiles.
15013 * locale/weightwc.h (findix): Likewise.
15014 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15015 DB_GET_FIELD_ADDRESS only for -Os compiles.
15016 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15017 for slen only for -Os compiles.
15018 * string/strcoll_l.c (get_next_seq): Ignore
15019 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15020 for -Os compiles.
15021
15022 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15023 * include/crypt.h: New file.
15024
15025 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15026
15027 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15028 from test-skeleton.c.
15029 (statclass): Replace calls to write with calls to write_message.
15030
15031 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15032
15033 * math/math.h
15034 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15035 New macro.
15036 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15037 Likewise.
15038 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15039 Likewise.
15040 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15041 SNANL.
15042 * math/test-double.h (snan_value_MACRO): New macro.
15043 * math/test-float.h (snan_value_MACRO): Likewise.
15044 * math/test-ldouble.h (snan_value_MACRO): Likewise.
15045 * math/libm-test.inc (issignaling_test_data): Add tests of
15046 snan_value_MACRO.
15047
15048 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15049
15050 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15051 behavior when eliding a lock not held by the current thread.
15052 * sysdeps/powerpc/nptl/elide.h: Likewise.
15053
15054 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15055
15056 [BZ #20728]
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15058 branch to _exit() by a function call.
15059
15060 2016-10-28 Florian Weimer <fweimer@redhat.com>
15061
15062 * malloc/malloc.c: Update chunk layout comments.
15063 (chunk_main_arena): Update comment.
15064
15065 2016-10-28 Florian Weimer <fweimer@redhat.com>
15066
15067 * crypt/sha256.c, crypt/sha256-block.c,
15068 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15069 sha256_process_block to __sha256_process_block.
15070 * crypt/sha512.c, crypt/sha512-block.c,
15071 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15072 sha512_process_block to __sha512_process_block.
15073
15074 2016-10-28 Carlos O'Donell <carlos@redhat.com>
15075
15076 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15077
15078 * math/test-nan-overflow.c: Include stdlib.h for malloc.
15079
15080 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
15081
15082 [BZ #20019]
15083 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15084 definition in unrelocated shared library.
15085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15086
15087 2016-10-28 Florian Weimer <fweimer@redhat.com>
15088
15089 [BZ #20729]
15090 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15091 * sysdeps/unix/sysv/linux/i386/Makefile
15092 (uses-6-syscall-arguments): Define.
15093 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15094 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15095 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15096 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15097 Likewise.
15098 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15099 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15100 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15101 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15102 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15103 (CFLAGS-fallocate64.os): Likewise.
15104 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15105 (CFLAGS-pthread_rwlock_timedrdlock.os)
15106 (CFLAGS-pthread_rwlock_timedwrlock.o)
15107 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15108 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15109 (CFLAGS-sem_timedwait.os): Likewise.
15110
15111 2016-10-28 Florian Weimer <fweimer@redhat.com>
15112
15113 * elf/tst-linkall-static.c: New file.
15114 * elf/Makefile (tests-static): Add tst-linkall-static.
15115 (tst-linkall-static): Link against static libraries.
15116
15117 2016-10-27 Florian Weimer <fweimer@redhat.com>
15118
15119 * malloc/malloc.c (sysmalloc): Initialize previous size field of
15120 mmaped chunks.
15121
15122 2016-10-28 Florian Weimer <fweimer@redhat.com>
15123
15124 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15125 members to mchunk_prev_size, mchunk_size.
15126 (chunk_main_arena): Reverse sense and rename from
15127 chunk_non_main_arena.
15128 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15129 mchunk_size instead of size.
15130 (set_non_main_arena): Define.
15131 (chunksize): Use chunksize_nomask instead of direct member access.
15132 (chunksize_nomask): Define.
15133 (next_chunk): Use chunksize instead of direct member access.
15134 (prev_size, set_prev_size): Define.
15135 (prev_chunk): Use prev_size instead of direct member access.
15136 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15137 (inuse_bit_at_offset, set_inuse_bit_at_offset)
15138 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15139 (mchunk_prev_size, mchunk_size): Poison tokens.
15140 (unlink): Use chunksize_nomask, prev_size accessors.
15141 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15142 (do_check_free_chunk): Use prev_size accessor.
15143 (sysmalloc): Use set_prev_size, set_head accessors.
15144 (munmap_chunk, mremap_chunk): Use prev_size accessor.
15145 (__libc_free): Use chunksize_nomask accessor.
15146 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15147 chunk_main_arena accessors.
15148 (_int_free): Use chunksize_nomask, prev_size accessors.
15149 (malloc_consolidate): Use chunksize, prev_size accessors.
15150 (_int_realloc): Use chunksize_nomask accessor.
15151 (_int_memalign): Use set_prev_size accessor.
15152 (__malloc_info): Use chunksize_nomask accessor.
15153 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15154 accessors.
15155 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15156 (heap_trim): Use chunksize_nomask, prev_size accessors.
15157
15158 2016-10-28 Joseph Myers <joseph@codesourcery.com>
15159
15160 [BZ #19380]
15161 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15162 for inexact results.
15163 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15164 of inexact result where mpfr_subnormalize is the only inexact
15165 step.
15166 * stdlib/tst-strtod-round-data.h: Regenerated.
15167 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15168 Define to 0.
15169 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15170
15171 2016-10-27 David S. Miller <davem@davemloft.net>
15172
15173 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15174
15175 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
15176
15177 * malloc/malloc.c (do_set_mallopt_check): New function.
15178 (do_set_mmap_threshold): Likewise.
15179 (do_set_mmaps_max): Likewise.
15180 (do_set_top_pad): Likewise.
15181 (do_set_perturb_byte): Likewise.
15182 (do_set_trim_threshold): Likewise.
15183 (do_set_arena_max): Likewise.
15184 (do_set_arena_test): Likewise.
15185 (__libc_mallopt): Use them.
15186
15187 2016-10-26 Joseph Myers <joseph@codesourcery.com>
15188
15189 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15190 (canonicalize): New declaration.
15191 * math/Versions (canonicalize): New libm symbol at version
15192 GLIBC_2.25.
15193 (canonicalizef): Likewise.
15194 (canonicalizel): Likewise.
15195 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15196 * math/s_canonicalize_template.c: New file.
15197 * math/libm-test.inc: Update comment on functions tested and
15198 testing of NaN payloads.
15199 (TEST_NAN_PAYLOAD): New macro.
15200 (NO_TEST_INLINE): Update value.
15201 (XFAIL_TEST): Likewise.
15202 (ERRNO_UNCHANGED): Likewise.
15203 (ERRNO_EDOM): Likewise.
15204 (ERRNO_ERANGE): Likewise.
15205 (IGNORE_RESULT): Likewise.
15206 (NON_FINITE): Likewise.
15207 (TEST_SNAN): Likewise.
15208 (NO_TEST_MATHVEC): Likewise.
15209 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15210 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15211 (struct test_Ffp_b1_data): New type.
15212 (RUN_TEST_Ffp_b1): New macro.
15213 (RUN_TEST_LOOP_Ffp_b1): Likewise.
15214 (canonicalize_test_data): New array.
15215 (canonicalize_test): New function.
15216 (main): Call canonicalize_test.
15217 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15218 canonicalizef and canonicalizel.
15219 * manual/libm-err-tab.pl: Update comment on interfaces without
15220 ulps tabulated.
15221 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15222 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15223 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15224 canonicalize.
15225 (CFLAGS-nldbl-canonicalize.c): New variable.
15226 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15227 to ...
15228 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15229 ... here.
15230 (do_test): Also test canonicalizel.
15231 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15232 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15233 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15234 file.
15235 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15236 Use libm_hidden_def.
15237 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15238 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15239 (do_test): Also test canonicalizel.
15240 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15241 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15242 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15243 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15244 libm_hidden_def.
15245 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15246 macro.
15247 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15248 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15249 * sysdeps/nacl/libm.abilist: Update.
15250 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15252 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15253 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15255 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15256 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15257 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15258 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15261 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15263 Likewise.
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15265 Likewise.
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15267 Likewise.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15269 Likewise.
15270 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15272 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15273 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15274 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15276 Likewise.
15277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15278 Likewise.
15279 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15280 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15281 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15282
15283 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15284 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15285 getpayload.
15286 (CFLAGS-nldbl-getpayload.c): New variable.
15287
15288 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15289
15290 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15291 integer from the format string.
15292
15293 2016-10-26 Florian Weimer <fweimer@redhat.com>
15294
15295 [BZ #19473]
15296 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15297 declarations.
15298 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15299 weak aliases.
15300 * malloc/hooks.c (__malloc_get_state): Remove definition.
15301 (malloc_get_state): New stub implementation as
15302 compatibility symbol.
15303 (malloc_set_state): Rename from __malloc_set_state. Turn into
15304 compat symbol.
15305 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15306 malloc_set_state.
15307 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15308
15309 2016-10-26 Florian Weimer <fweimer@redhat.com>
15310
15311 * iconvdata/iso646.c (enum variant): Drop illegal_var.
15312 (names): Turn into concatenation of strings.
15313 (gconv_init): Adapt iteration over names.
15314
15315 2016-10-26 Florian Weimer <fweimer@redhat.com>
15316
15317 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15318 make const.
15319 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15320 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15321 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15322 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15323 character in sbconv.
15324 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15325 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15326 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15327
15328 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
15329
15330 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15331
15332 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15333 (M_TRIM_THRESHOLD): Likewise.
15334
15335 * manual/memory.texi (M_ARENA_TEST): Add documentation.
15336 (M_ARENA_MAX): Likewise.
15337 * malloc/malloc.c: Remove obsolete comment.
15338
15339 * manual/memory.texi: Add environment variable alternatives to
15340 setting mallopt parameters.
15341
15342 2016-10-26 Carlos O'Donell <carlos@redhat.com>
15343
15344 * include/atomic.h
15345 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15346 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15347
15348 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15349
15350 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15351 * stdlib/tst-strfrom.h: New file.
15352 * stdlib/tst-strfrom.c: New file.
15353 * stdlib/tst-strfrom-locale.c: New file.
15354
15355 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15356 * stdlib/bug-strtod2.c: Likewise.
15357 * stdlib/tst-strtod-round-skeleton.c: Likewise.
15358 * stdlib/tst-strtod6.c: Likewise.
15359 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15360
15361 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15362
15363 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15364 * manual/arith.texi: Document strfromd, strfromf, strfroml.
15365 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15366 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15367 * stdlib/stdlib.h (strfromd): New declaration.
15368 (strfromf): Likewise.
15369 (strfroml): Likewise.
15370 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
15371 strfrom.
15372 * stdlib/strfromd.c: New file.
15373 * stdlib/strfromf.c: Likewise.
15374 * stdlib/strfroml.c: Likewise.
15375 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15376 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15377 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15378 * sysdeps/arm/nacl/libc.abilist: Update.
15379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15407
15408 2016-10-25 Joseph Myers <joseph@codesourcery.com>
15409
15410 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15411 instead of cmpli.
15412 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15413 instead of cmpli.
15414
15415 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
15416
15417 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15418 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15419 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15420 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15421 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15422 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15423
15424 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15425
15426 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15427 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15428 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15429 SYSCALL_LL64_PRW.
15430 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15431 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15432 __ASSUME_PRW_DUMMY_ARG.
15433 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15434 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15435 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15436 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15437 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15438 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15439
15440 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
15441
15442 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15443
15444 2016-10-22 Florian Weimer <fweimer@redhat.com>
15445
15446 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15447 "C++", to override a potential extern "C" directive around the
15448 header file inclusion.
15449
15450 2016-10-21 Joseph Myers <joseph@codesourcery.com>
15451
15452 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15453
15454 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15455
15456 * sysdeps/powerpc/fpu/fenv_private.h:
15457 (_FPU_MASK_ALL): Rename to...
15458 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15459 XE FPSCR bits.
15460
15461 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15462
15463 (_FPU_MASK_ROUNDING): Rename to...
15464 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15465 NI bits.
15466
15467 (_FPU_MASK_EXCEPT_ROUND): Rename to...
15468 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15469 bits and rounding bits.
15470
15471 (__libc_feholdbits_ppc): New inline function to mask, set,
15472 and pontentially clear FSPCR bits, and change MSR[FE] bits.
15473 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15474 (libc_feholdexcept_setround_ppc): Likewise.
15475
15476 (__libc_femergeenv_ppc): New function to dynamically mask both
15477 old and new FP environments and merge.
15478 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15479 (libc_feresetround_ppc): Likewise.
15480 (libc_feupdateenv_test_ppc): Likewise.
15481 (libc_feupdateenv_ppc): Likewise.
15482
15483 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15484 of ISA RN bits, and update macro names.
15485 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15486 effectively the same as the previously mentioned function.
15487
15488 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15489 usage with fe_resetround_ppc.
15490
15491 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15492 to be used.
15493 (libc_feholdexcept_setround_ctxf): Likewise.
15494 (libc_feholdexcept_setround_ctxl): Likewise.
15495
15496 2016-10-21 Florian Weimer <fweimer@redhat.com>
15497
15498 [BZ #20715]
15499 * math/math.h [__cplusplus] (iszero): Define as function template.
15500 * math/Makefile [CXX] (tests): Add test-math-iszero.
15501 (CFLAGS-test-math-iszero.cc): Set.
15502 * math/test-math-iszero.cc: New file.
15503
15504 2016-10-20 Joseph Myers <joseph@codesourcery.com>
15505
15506 [BZ #20660]
15507 * sysdeps/arm/e_sqrt.c: New file.
15508 * sysdeps/arm/e_sqrtf.c: Likewise.
15509
15510 2016-10-19 Joseph Myers <joseph@codesourcery.com>
15511
15512 [BZ #20718]
15513 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15514 not use floating-point comparisons to test sign.
15515 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15516 Likewise.
15517
15518 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15519 (getpayload): New declaration.
15520 * math/Versions (getpayload): New libm symbol at version
15521 GLIBC_2.25.
15522 (getpayloadf): Likewise.
15523 (getpayloadl): Likewise.
15524 * math/Makefile (libm-calls): Add s_getpayloadF.
15525 * math/libm-test.inc: Include <nan-high-order-bit.h>.
15526 (struct test_f_f_data): Add comment.
15527 (RUN_TEST_fp_f): New macro.
15528 (RUN_TEST_LOOP_fp_f): Likewise.
15529 (getpayload_test_data): New array.
15530 (getpayload_test): New function.
15531 (main): Call getpayload_test.
15532 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15533 descriptor.
15534 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15535 getpayloadf and getpayloadl.
15536 * manual/libm-err-tab.pl: Update comment on interfaces without
15537 ulps tabulated.
15538 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15539 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15540 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15544 * sysdeps/nacl/libm.abilist: Update.
15545 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15548 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15549 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15550 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15551 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15553 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15554 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15556 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15558 Likewise.
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15560 Likewise.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15562 Likewise.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15564 Likewise.
15565 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15566 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15567 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15571 Likewise.
15572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15573 Likewise.
15574 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15577
15578 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15579
15580 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15581 tst-fallocate{64}.
15582 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15583 on syscall return.
15584
15585 2016-10-17 Carlos O'Donell <carlos@redhat.com>
15586
15587 [BZ #20689]
15588 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15589 usable.
15590
15591 2016-10-17 Joseph Myers <joseph@codesourcery.com>
15592
15593 * sysdeps/generic/nan-high-order-bit.h: New file.
15594 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15595 * sysdeps/mips/nan-high-order-bit.h: Likewise.
15596 * sysdeps/hppa/math_private.h: Remove file.
15597 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15598 not define here.
15599 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15600 <nan-high-order-bit.h>.
15601 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15602 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15603 <nan-high-order-bit.h>.
15604 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15605 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15606 <nan-high-order-bit.h>.
15607 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15608 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15609 <nan-high-order-bit.h>.
15610 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15611 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15612 <nan-high-order-bit.h>.
15613 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15614 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15615 <nan-high-order-bit.h>.
15616 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15617 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15618 <nan-high-order-bit.h>.
15619 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15620 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15621 <nan-high-order-bit.h>.
15622 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15623 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15624 <nan-high-order-bit.h>.
15625 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15626 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15627 <nan-high-order-bit.h>.
15628 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15629 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15630 <nan-high-order-bit.h>.
15631 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15632 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15633 <nan-high-order-bit.h>.
15634 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15635 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15636 <nan-high-order-bit.h>.
15637 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15638 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15639 <nan-high-order-bit.h>.
15640 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15641 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15642 <nan-high-order-bit.h>.
15643 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15644 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15645 <nan-high-order-bit.h>.
15646 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15647 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15648 <nan-high-order-bit.h>.
15649 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15650 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15651 <nan-high-order-bit.h>.
15652 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15653
15654 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15655
15656 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15657
15658 2016-09-22 John David Anglin <dave.anglin@bell.net>
15659
15660 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15661 abort-instr.h.
15662 (EFAULT): Remove conditional define.
15663 (ENOSYS): Likewise.
15664 (atomic_compare_and_exchange_val_acq): Use instruction nullification
15665 instead of conditional branch instructions.
15666
15667 2016-10-15 Joseph Myers <joseph@codesourcery.com>
15668
15669 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15670 (totalordermag): New declaration.
15671 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15672 New macro.
15673 * math/Versions (totalordermag): New libm symbol at version
15674 GLIBC_2.25.
15675 (totalordermagf): Likewise.
15676 (totalordermagl): Likewise.
15677 * math/Makefile (libm-calls): Add s_totalordermagF.
15678 * math/libm-test.inc (totalordermag_test_data): New array.
15679 (totalordermag_test): New function.
15680 (main): Call totalordermag_test.
15681 * math/test-tgmath.c (NCALLS): Increase to 125.
15682 (F(compile_test)): Call totalordermag.
15683 (F(totalordermag)): New function.
15684 * manual/arith.texi (FP Comparison Functions): Document
15685 totalordermag, totalordermagf and totalordermagl.
15686 * manual/libm-err-tab.pl: Update comment on interfaces without
15687 ulps tabulated.
15688 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15689 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15690 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15695 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15696 totalordermag.
15697 (CFLAGS-nldbl-totalordermag.c): New variable.
15698 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15699 (do_test): Also test totalordermagl.
15700 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15701 Likewise.
15702 * sysdeps/nacl/libm.abilist: Update.
15703 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15707 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15708 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15714 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15716 Likewise.
15717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15718 Likewise.
15719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15720 Likewise.
15721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15722 Likewise.
15723 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15724 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15725 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15726 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15727 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15729 Likewise.
15730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15731 Likewise.
15732 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15735
15736 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15737
15738 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15739 boolean.
15740
15741 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15742
15743 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15744 raising FE_INVALID with feraisexcept in case where part of
15745 argument is infinite, subtract that part of argument from itself.
15746 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15747 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15748 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15749
15750 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15751
15752 * math/libm-test.inc (totalorder_test_data): Add more tests.
15753
15754 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15755
15756 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15757 Undefine weak_alias and add a comment why mips64 require
15758 versioning.
15759
15760 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15761
15762 [BZ #20647]
15763 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15764 maximum CPUID level is less than 2.
15765
15766 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15767
15768 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15769 (totalorder): New declaration.
15770 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15771 New macro.
15772 * math/Versions (totalorder): New libm symbol at version
15773 GLIBC_2.25.
15774 (totalorderf): Likewise.
15775 (totalorderl): Likewise.
15776 * math/Makefile (libm-calls): Add s_totalorderF.
15777 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15778 string.
15779 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15780 (qnan_value_pl): Likewise.
15781 (snan_value_pl): Likewise.
15782 (qnan_value): Define using qnan_value_pl.
15783 (snan_value): Define using snan_value_pl.
15784 (struct test_ff_i_data): Add comment about which tests use this
15785 structure.
15786 (RUN_TEST_ff_b): New macro.
15787 (RUN_TEST_LOOP_ff_b): Likewise.
15788 (totalorder_test_data): New array.
15789 (totalorder_test): New function.
15790 (main): Call totalorder_test.
15791 * math/test-tgmath.c (NCALLS): Increase to 122.
15792 (F(compile_test)): Call totalorder.
15793 (F(totalorder)): New function.
15794 * manual/arith.texi (FP Comparison Functions): Document
15795 totalorder, totalorderf and totalorderl.
15796 * manual/libm-err-tab.pl: Update comment on interfaces without
15797 ulps tabulated.
15798 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15799 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15800 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15805 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15806 totalorder.
15807 (CFLAGS-nldbl-totalorder.c): New variable.
15808 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15809 file.
15810 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15811 Add test-totalorderl-ldbl-128ibm.
15812 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15813 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15814 test-totalorderl-ldbl-96.
15815 * sysdeps/nacl/libm.abilist: Update.
15816 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15817 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15818 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15819 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15820 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15821 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15822 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15823 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15824 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15825 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15829 Likewise.
15830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15831 Likewise.
15832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15833 Likewise.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15835 Likewise.
15836 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15837 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15838 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15839 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15842 Likewise.
15843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15844 Likewise.
15845 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15846 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15848
15849 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15850
15851 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15852 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15853 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15854 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15855 remove ENOSYS implementation.
15856 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15857 Consolidate all Linux implementations.
15858
15859 2016-10-11 Florian Weimer <fweimer@redhat.com>
15860
15861 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15862 * resolv/herror.c (herror): Cast away const-ness.
15863 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15864 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15865
15866 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15867
15868 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15869 instead of M_NAN + M_NAN.
15870 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15871
15872 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15873
15874 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15875 unused variable 'p'.
15876
15877 2016-10-09 Alan Modra <amodra@gmail.com>
15878 Andreas Schwab <schwab@linux-m68k.org>
15879
15880 [BZ #20554]
15881 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15882 [PIC && !SHARED]: Set up PIC register for PLT call.
15883
15884 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15885
15886 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15887 conditional on value of [__FLT_EVAL_METHOD__].
15888 * math/test-iseqsig-excess-precision.c: New file.
15889 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15890
15891 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15892
15893 * math/s_iseqsig_template.c: Include math-private.h.
15894
15895 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15896 * posix/tst-posix_fadvise.c: New file.
15897 * posix/tst-posix_fadvise64.c: Likewise.
15898 * posix/tst-posix_fadvise-common.c: Likewise.
15899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15900 (__ASSUME_FADVISE64_64_6ARG): Define.
15901 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15902 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15903 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15904 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15905 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15906 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15907 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15908 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15909 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15910 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15911 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15912 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15915 Likewise.
15916 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15917 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15918 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15919 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15920 Alias to __posix_fadvise64_l32.
15921 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15922 Add compat definition to posix_fadvise64.
15923 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15924 Add versioned definition to posix_fadvise64.
15925 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15926 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15927 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15928 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15929 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15930
15931 * io/Makefile (tests): Add tst-posix_fallocate and
15932 tst-posix_fallocate64.
15933 * io/tst-posix_fallocate-common.c: New file.
15934 * io/tst-posix_fallocate.c: Likewise.
15935 * io/tst-posix_fallocate64.c: Likewise.
15936 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15937 file.
15938 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15939 Likewise.
15940 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15941 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15942 Likewise.
15943 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15944 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15945 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15946 SYSCALL_LL to pass both offset and len arguments.
15947 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15948 Likewise.
15949 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15950 __libc_pwrite64 alias used by posix_fallocate64.
15951
15952 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15953 tst-fallocate64.
15954 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15955 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15956 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15957 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15958 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15959 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15960 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15961 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15962 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15963 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15964 macro on offset argument.
15965 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15966 SYSCALL_LL64 on offset argument.
15967
15968 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15969 tst-fallocate64.
15970 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15971 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15972 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15973 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15974 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15975 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15976 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15977 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15978 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15979 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15980 macro on offset argument.
15981 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15982 SYSCALL_LL64 on offset argument.
15983 * test-skeleton.c (FAIL_RET): Add macro.
15984 (FAIL_EXIT): Likewise.
15985 (FAIL_EXIT1): Likewise.
15986 (_FAIL): Likewise.
15987
15988 2016-10-07 Florian Weimer <fweimer@redhat.com>
15989
15990 [BZ #20629]
15991 resolv: Remove RES_USEBSTRING and its implementation.
15992 * resolv/resolv.h (RES_USEBSTRING): Remove.
15993 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15994 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15995 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15996 (labellen): Remove extended label types support.
15997 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15998 * resolv/res_init.c (res_setoptions): Likewise.
15999 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16000
16001 2016-10-07 Florian Weimer <fweimer@redhat.com>
16002
16003 resolv: Remove RES_NOIP6DOTINT and its implementation.
16004 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16005 (RES_NOIP6DOTINT): Remove.
16006 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16007 handling.
16008 * resolv/res_debug.c (p_option): Likewise.
16009 * resolv/res_init.c (res_setoptions): Likewise.
16010 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16011
16012 2016-10-07 Florian Weimer <fweimer@redhat.com>
16013
16014 resolv: Deprecate unimplemented flags.
16015 * misc/sys/cdefs.h (__glibc_macro_warning1)
16016 (__glibc_macro_warning): Define.
16017 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16018 (RES_KEEPTSIG): Mark as deprecated.
16019 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16020 RES_NOCHECKNAME, RES_KEEPTSIG.
16021 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16022
16023 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16024
16025 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16026 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16027 Use strong_alias to create symbols for glibc verison 2.19.
16028
16029 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16030
16031 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16032
16033 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16034
16035 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16036
16037 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16038
16039 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16040
16041 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16042
16043 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16044 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16045 in header for using it as type for ifunc function because __GI_* symbols
16046 for ppc32 do not target the ifunc symbols.
16047 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16048
16049 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16050
16051 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16052 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16053 libc_ifunc_hidden_def.
16054 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16055 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16056 Redirect ifunced function in header for using it as type of ifunc'ed
16057 function. Redefine libc_hidden_def to use fallback non ifunc'ed
16058 function for __GI_* symbol.
16059 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16060 * include/libc-symbols.h
16061 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16062
16063 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16064
16065 [BZ #20478]
16066 * sysdeps/s390/multiarch/ifunc-resolve.h
16067 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16068 to create ifunc symbols.
16069 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16070 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16071 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16072 for using it as type for ifunc function.
16073 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16074 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16075 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16076 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16077 * sysdeps/s390/multiarch/strcat.c: Likewise.
16078 * sysdeps/s390/multiarch/strchr.c: Likewise.
16079 * sysdeps/s390/multiarch/strcmp.c: Likewise.
16080 * sysdeps/s390/multiarch/strcpy.c: Likewise.
16081 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16082 * sysdeps/s390/multiarch/strlen.c: Likewise.
16083 * sysdeps/s390/multiarch/strncmp.c: Likewise.
16084 * sysdeps/s390/multiarch/strncpy.c: Likewise.
16085 * sysdeps/s390/multiarch/strnlen.c: Likewise.
16086 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16087 * sysdeps/s390/multiarch/strrchr.c: Likewise.
16088 * sysdeps/s390/multiarch/strspn.c: Likewise.
16089 * sysdeps/s390/multiarch/wcschr.c: Likewise.
16090 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16091 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16092 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16093 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16094 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16095 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16096 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16097 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16098 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16099 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16100 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16101
16102 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16103
16104 * include/libc-symbols.h (__ifunc_resolver):
16105 New macro is used by __ifunc* macros.
16106 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16107 depending on HAVE_GCC_IFUNC.
16108 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16109 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16111 Redirect ifunced function in header for using as type for ifunc function.
16112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16116 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16117 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16118 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16119 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16120 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16121 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16122 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16123 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16124 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16125 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16131 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16132 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16133 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16134 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16135 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16136 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16137 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16138 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16139 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16140 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16141 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16142 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16143 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16144 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16146 Add libc_hidden_def() and use libc_ifunc_hidden() macro
16147 instead of libc_ifunc() macro.
16148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16149 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16150
16151 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16152
16153 * config.h.in (HAVE_GCC_IFUNC): New undef.
16154 * configure.ac: Add check if gcc supports attribute ifunc feature.
16155 * configure: Regenerated.
16156 * manual/install.texi: Add recommendation for gcc with
16157 indirect-function support.
16158 * INSTALL: Regenerated.
16159
16160 2016-10-06 Joseph Myers <joseph@codesourcery.com>
16161
16162 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16163 macro.
16164 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16165 (__iseqsig): New declaration.
16166 * math/s_iseqsig_template.c: New file.
16167 * math/Versions (__iseqsigf): New libm symbol at version
16168 GLIBC_2.25.
16169 (__iseqsig): Likewise.
16170 (__iseqsigl): Likewise.
16171 * math/libm-test.inc (iseqsig_test_data): New array.
16172 (iseqsig_test): New function.
16173 (main): Call iseqsig_test.
16174 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16175 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16176 * manual/libm-err-tab.pl: Update comment on interfaces without
16177 ulps tabulated.
16178 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16179 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16180 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16181 * sysdeps/nacl/libm.abilist: Update.
16182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16183 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16184 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16185 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16192 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16193 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16195 Likewise.
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16197 Likewise.
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16199 Likewise.
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16201 Likewise.
16202 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16208 Likewise.
16209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16210 Likewise.
16211 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16214
16215 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16216
16217 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16218 do_sincos_2, sloww, sloww1): Update comments.
16219
16220 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16221 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16222
16223 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16224 K boolean and rename it.
16225 (__sin): Adjust.
16226 (__cos): Adjust.
16227
16228 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16229 Siddhesh Poyarekar <siddhesh@sourceware.org>
16230
16231 * manual/nss.texi: Fix typos in the manual.
16232
16233 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
16234
16235 * manual/contrib.texi: Fix typos in the manual.
16236
16237 * manual/maint.texi: Fix typos in the manual.
16238
16239 * manual/install.texi: Fix typos in the manual.
16240 * INSTALL: Regenerated.
16241
16242 * manual/lang.texi: Fix typos in the manual.
16243
16244 * manual/probes.texi: Fix typos in the manual.
16245
16246 * manual/threads.texi: Fix typos in the manual.
16247
16248 * manual/debug.texi: Fix typos in the manual.
16249
16250 * manual/crypt.texi: Fix typos in the manual.
16251
16252 * manual/conf.texi: Fix typos in the manual.
16253
16254 * manual/sysinfo.texi: Fix typos in the manual.
16255
16256 * manual/users.texi: Fix typos in the manual.
16257
16258 * manual/job.texi: Fix typos in the manual.
16259
16260 * manual/process.texi: Fix typos in the manual.
16261
16262 * manual/argp.texi: Fix typos in the manual.
16263 * manual/getopt.texi: Likewise.
16264 * manual/startup.texi: Likewise.
16265
16266 * manual/signal.texi: Fix typos in the manual.
16267
16268 * manual/setjmp.texi: Fix typos in the manual.
16269
16270 * manual/resource.texi: Fix typos in the manual.
16271
16272 * manual/time.texi: Fix typos in the manual.
16273
16274 * manual/arith.texi: Fix typos in the manual.
16275
16276 * manual/math.texi: Fix typos in the manual.
16277
16278 * manual/syslog.texi: Fix typos in the manual.
16279
16280 * manual/terminal.texi: Fix typos in the manual.
16281
16282 * manual/socket.texi: Fix typos in the manual.
16283
16284 * manual/filesys.texi: Fix typos in the manual.
16285
16286 * manual/llio.texi: Fix typos in the manual.
16287
16288 * manual/stdio.text: Fix typos in the manual.
16289
16290 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16291
16292 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16293 instead of K1.
16294
16295 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16296 SHIFT_QUADRANT and make it bool.
16297 (do_sincos_2): Likewise.
16298 (sloww): Likewise.
16299 (sloww1): Likewise.
16300 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16301 (__cos): Likewise.
16302
16303 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16304
16305 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16306
16307 2016-10-04 Joseph Myers <joseph@codesourcery.com>
16308
16309 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16310 Define to __WORDSIZE, not conditional on [LONG_MAX ==
16311 0x7fffffffL].
16312 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16313
16314 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16315
16316 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16317 inline by __inline__.
16318 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16319 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16320 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16321 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16322 sigset_t from signal.h.
16323 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16324 which is already required.
16325
16326 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16327
16328 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16329
16330 2016-10-03 Joseph Myers <joseph@codesourcery.com>
16331
16332 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16333 (struct tcp_repair_window): New type.
16334
16335 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16336
16337 * libio/tst-memstream3.c: Include string.h.
16338
16339 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16340
16341 [BZ #18241]
16342 [BZ #20181]
16343 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16344 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16345 write position is at the end the buffer.
16346 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16347 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16348 (_IO_str_seekoff): Set correct offset from negative displacement and
16349 set EINVAL for invalid ones.
16350 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16351 buffer length.
16352 (_IO_wstr_switch_to_get_mode): New function.
16353 (_IO_wstr_seekoff): Set correct offset from negative displacement and
16354 set EINVAL for invalid ones.
16355 * libio/tst-memstream3.c: New file.
16356 * libio/tst-wmemstream3.c: Likewise.
16357 * manual/examples/memstrm.c: Remove warning when priting size_t.
16358
16359 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16360
16361 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16362 macro to use __builtin_fma.
16363 * sysdeps/x86_64/fpu/dla.h: Remove file.
16364
16365 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16366 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16367 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16368
16369 2016-09-30 Carlos O'Donell <carlos@redhat.com>
16370
16371 [BZ #20292]
16372 * elf/Makefile (routines): Add dl-addr-obj.
16373 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16374 tst-_dl_addr_inside_object.
16375 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16376 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16377 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16378 [ifeq (yesyes,$(have-fpie)$(build-shared))]
16379 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16380 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16381 * elf/dl-open.c: Likewise.
16382 * elf/dl-addr-obj.c: New file.
16383 * elf/tst-_dl_addr_inside_object.c: New file.
16384
16385 2016-09-30 Joseph Myers <joseph@codesourcery.com>
16386
16387 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16388 <bits/iscanonical.h>.
16389 * bits/iscanonical.h: New file.
16390 * math/s_iscanonicall.c: Likewise.
16391 * math/Versions (__iscanonicall): New libm symbol at version
16392 GLIBC_2.25.
16393 * math/libm-test.inc (iscanonical_test_data): New array.
16394 (iscanonical_test): New function.
16395 (main): Call iscanonical_test.
16396 * math/Makefile (headers): Add bits/iscanonical.h.
16397 (type-ldouble-routines): Add s_iscanonicall.
16398 * manual/arith.texi (Floating Point Classes): Document
16399 iscanonical.
16400 * manual/libm-err-tab.pl: Update comment on interfaces without
16401 ulps tabulated.
16402 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16403 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16404 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16405 Likewise.
16406 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16407 test-iscanonical-ldbl-128ibm.
16408 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16409 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16410 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16411 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16412 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16413 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16414 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16416 Likewise.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16418 Likewise.
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16420 Likewise.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16422 Likewise.
16423 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16424 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16425
16426 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16427
16428 * string/bits/string3.h: Remove C++ style comments.
16429
16430 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
16431
16432 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16433 instead of ternary condition.
16434 (do_sincos_2): Likewise.
16435 (__sin): Likewise.
16436 (__cos): Likewise.
16437 (slow): Likewise.
16438 (sloww): Likewise.
16439 (sloww1): Likewise.
16440 (bsloww): Likewise.
16441 (bsloww1): Likewise.
16442
16443 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16444 instead of ternary condition.
16445 (do_sin_slow): Likewise.
16446 (do_sincos_1): Likewise.
16447 (do_sincos_2): Likewise.
16448 (__cos): Likewise.
16449 (sloww): Likewise.
16450 (sloww1): Likewise.
16451 (sloww2): Likewise.
16452 (bsloww): Likewise.
16453 (bsloww1): Likewise.
16454 (bsloww2): Likewise.
16455
16456 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16457 check from here...
16458 (slow2): ... and here...
16459 (__sin): ... to here.
16460
16461 2016-09-28 Joseph Myers <joseph@codesourcery.com>
16462
16463 * math/math.h
16464 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16465 Cast argument to its own type.
16466 * math/test-iszero-excess-precision.c: New file.
16467 * math/Makefile (tests): Add test-iszero-excess-precision.
16468 (CFLAGS-test-iszero-excess-precision.c): New variable.
16469
16470 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16471
16472 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16473 field, add err field.
16474 (__spawni_child): Report error through err member instead of pipe.
16475 (__spawnix): Likewise.
16476
16477 2016-09-28 Zack Weinberg <zackw@panix.com>
16478
16479 * scripts/check-installed-headers.sh: Generalize treatment of
16480 sys/elf.h to all target architectures.
16481
16482 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16483 deleted typedef ucontext_t.
16484
16485 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16486
16487 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16488 (__INTERNAL_SYSCALL1): Likewise.
16489 (__INTERNAL_SYSCALL2): Likewise.
16490 (__INTERNAL_SYSCALL3): Likewise.
16491 (__INTERNAL_SYSCALL4): Likewise.
16492 (__INTERNAL_SYSCALL5): Likewise.
16493 (__INTERNAL_SYSCALL6): Likewise.
16494 (__INTERNAL_SYSCALL7): Likewise.
16495 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16496 (__INTERNAL_SYSCALL_NARGS): Likewise.
16497 (__INTERNAL_SYSCALL_DISP): Likewise.
16498 (INTERNAL_SYSCALL_CALL): Likewise.
16499 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16500 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16501 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16502 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16503 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16504 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16505 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16506 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16507 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16508 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16509 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16510 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16511 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16512
16513 2016-09-23 Joseph Myers <joseph@codesourcery.com>
16514
16515 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16516 macro.
16517 * math/libm-test.inc (iszero_test_data): New array.
16518 (iszero_test): New function.
16519 (main): Call iszero_test.
16520 * manual/arith.texi (Floating Point Classes): Document iszero.
16521 * manual/libm-err-tab.pl: Update comment on interfaces without
16522 ulps tabulated.
16523
16524 2016-09-23 Zack Weinberg <zackw@panix.com>
16525
16526 * scripts/check-installed-headers.sh: New script.
16527 * Rules: In each directory that defines header files to be installed,
16528 run check-installed-headers.sh on them as a special test.
16529 * Makefile: Likewise for the headers installed at top level.
16530
16531 * include/aliases.h, include/alloca.h, include/argz.h
16532 * include/arpa/nameser.h, include/arpa/nameser_compat.h
16533 * include/elf.h, include/envz.h, include/err.h
16534 * include/execinfo.h, include/fpu_control.h, include/getopt.h
16535 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16536 * include/link.h, include/malloc.h, include/mcheck.h
16537 * include/mntent.h, include/netinet/ether.h
16538 * include/nss.h, include/obstack.h, include/printf.h
16539 * include/pty.h, include/resolv.h, include/rpc/auth.h
16540 * include/rpc/auth_des.h, include/rpc/auth_unix.h
16541 * include/rpc/clnt.h, include/rpc/des_crypt.h
16542 * include/rpc/key_prot.h, include/rpc/netdb.h
16543 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16544 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16545 * include/rpc/rpc_msg.h, include/rpc/svc.h
16546 * include/rpc/svc_auth.h, include/rpc/xdr.h
16547 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16548 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16549 * include/rpcsvc/ypupd.h, include/shadow.h
16550 * include/stdio_ext.h, include/sys/epoll.h
16551 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16552 * include/sys/prctl.h, include/sys/profil.h
16553 * include/sys/statfs.h, include/sys/sysctl.h
16554 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16555 * sysdeps/arm/nacl/include/bits/setjmp.h
16556 * sysdeps/mips/include/sys/asm.h
16557 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16558 * sysdeps/unix/sysv/linux/include/sys/timex.h
16559 * sysdeps/x86/fpu/include/bits/fenv.h:
16560 Add #ifndef _ISOMAC guard around internal declarations.
16561 Add multiple-inclusion guard if not already present.
16562
16563 2016-09-23 Zack Weinberg <zackw@panix.com>
16564
16565 * sysdeps/generic/sys/ucontext.h
16566 * sysdeps/arm/sys/ucontext.h
16567 * sysdeps/i386/sys/ucontext.h
16568 * sysdeps/m68k/sys/ucontext.h
16569 * sysdeps/mips/sys/ucontext.h
16570 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16571 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16572 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16573 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16574 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16575 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16576 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16577 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16578 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16579 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16580 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16581 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16582 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16583 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16584 Include both bits/sigcontext.h and bits/sigstack.h.
16585 Fix grammar error in comment, if present.
16586
16587 * bits/sigstack.h
16588 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16589 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16590 * sysdeps/unix/sysv/linux/bits/sigstack.h
16591 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16592 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16593 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16594 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16595 * bits/sigcontext.h
16596 * sysdeps/mach/hurd/i386/bits/sigcontext.h
16597 * sysdeps/unix/sysv/linux/bits/sigcontext.h
16598 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16599 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16600 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
16601 as well as signal.h, if this was not already allowed. Request
16602 definition of size_t if necessary. Minimize semantically-null
16603 differences across files.
16604
16605 2016-09-23 Zack Weinberg <zackw@panix.com>
16606
16607 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16608 Remove all logic conditional on __need macros. Move all the
16609 conditionally defined types to their own headers...
16610 * time/bits/types/clock_t.h: Define clock_t here.
16611 * time/bits/types/clockid_t.h: Define clockid_t here.
16612 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16613 * time/bits/types/struct_timespec.h: Define struct timespec here.
16614 * time/bits/types/struct_timeval.h: Define struct timeval here.
16615 * time/bits/types/struct_tm.h: Define struct tm here.
16616 * time/bits/types/time_t.h: Define time_t here.
16617 * time/bits/types/timer_t.h: Define timer_t here.
16618 * time/Makefile: Install the new headers.
16619
16620 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16621 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16622 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16623 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16624 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16625 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16626 * sysdeps/unix/sysv/linux/bits/resource.h
16627 * sysdeps/unix/sysv/linux/bits/timex.h
16628 * sysdeps/unix/sysv/linux/mips/bits/resource.h
16629 * sysdeps/unix/sysv/linux/net/ppp_defs.h
16630 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16631 * sysdeps/unix/sysv/linux/sys/acct.h
16632 * sysdeps/unix/sysv/linux/sys/timerfd.h
16633 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16634 * time/sys/time.h, time/sys/timeb.h
16635 Use the new bits/types headers.
16636
16637 * include/time.h: Remove __need logic.
16638 * include/bits/time.h
16639 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16640 * include/bits/types/time_t.h, include/bits/types/timer_t.h
16641 * include/bits/types/struct_itimerspec.h
16642 * include/bits/types/struct_timespec.h
16643 * include/bits/types/struct_timeval.h
16644 * include/bits/types/struct_tm.h:
16645 New wrapper headers.
16646
16647 2016-09-23 Zack Weinberg <zackw@panix.com>
16648
16649 * sysdeps/mach/hurd/net/if_ppp.h
16650 * sysdeps/unix/sysv/linux/net/if_ppp.h:
16651 Only define struct ifpppstatsreq and struct ifpppcstatsreq
16652 if __USE_MISC is defined, to ensure struct ifreq is declared.
16653
16654 * inet/netinet/ether.h: Condition all function prototypes
16655 on __USE_MISC, to ensure struct ether_addr is declared.
16656
16657 * socket/bits/types/struct_osockaddr.h: New header.
16658 * include/bits/types/struct_osockaddr.h: New wrapper.
16659 * socket/Makefile: Install the new header.
16660 * socket/sys/socket.h, inet/protocols/talkd.h:
16661 Refer to bits/types/struct_osockaddr.h for the definition of
16662 struct osockaddr.
16663
16664 2016-09-23 Zack Weinberg <zackw@panix.com>
16665
16666 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16667 * inet/protocols/routed.h, inet/protocols/talkd.h
16668 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16669 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16670 * sysdeps/generic/netinet/if_ether.h
16671 * sysdeps/generic/netinet/in_systm.h
16672 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16673 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16674 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16675 * sysdeps/mach/hurd/net/if_arp.h
16676 * sysdeps/mach/hurd/net/if_ppp.h
16677 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16678 * sysdeps/unix/sysv/linux/bits/in.h
16679 * sysdeps/unix/sysv/linux/net/ethernet.h
16680 * sysdeps/unix/sysv/linux/net/if_arp.h
16681 * sysdeps/unix/sysv/linux/net/if_ppp.h
16682 * sysdeps/unix/sysv/linux/net/if_shaper.h
16683 * sysdeps/unix/sysv/linux/net/route.h
16684 * sysdeps/unix/sysv/linux/netinet/if_ether.h
16685 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16686 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16687 * sysdeps/unix/sysv/linux/netipx/ipx.h
16688 * sysdeps/unix/sysv/linux/sys/acct.h
16689 * include/arpa/nameser.h, include/resolv.h:
16690 Change all uses of u_char to unsigned char,
16691 u_short and ushort to unsigned short, u_int and uint to unsigned int,
16692 u_long and ulong to unsigned long, u_int8_t to uint8_t,
16693 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16694 and u_int64_t and u_quad_t to uint64_t.
16695
16696 * mach/sys/reboot.h: Remove two casts of integer literals
16697 to the types they already have.
16698
16699 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16700 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16701 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16702 from referring to 'unsigned char' to 'uint8_t' for consistency with
16703 the macro definition below.
16704
16705 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16706 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16707 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16708 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16709 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16710 * sysdeps/unix/sysv/linux/sys/acct.h
16711 * include/arpa/nameser.h, include/resolv.h:
16712 Fix indentation disrupted by mechanical edits.
16713
16714 * inet/protocols/talkd.h, resolv/arpa/nameser.h
16715 * sysdeps/generic/netinet/in_systm.h
16716 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16717 * sysdeps/gnu/netinet/udp.h
16718 * sysdeps/unix/sysv/linux/net/ethernet.h
16719 * sysdeps/unix/sysv/linux/net/if_arp.h
16720 * sysdeps/unix/sysv/linux/net/if_ppp.h
16721 * sysdeps/unix/sysv/linux/net/if_shaper.h
16722 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16723 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16724 * sysdeps/unix/sysv/linux/netipx/ipx.h
16725 * sysdeps/unix/sysv/linux/sys/acct.h
16726 Include stdint.h for uintNN_t definitions.
16727 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16728
16729 2016-09-23 Zack Weinberg <zackw@panix.com>
16730
16731 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16732 * sysdeps/unix/sysv/linux/netrose/rose.h:
16733 Include sys/socket.h and netax25/ax25.h.
16734
16735 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16736 * resolv/arpa/nameser_compat.h:
16737 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16738
16739 * sysdeps/unix/sysv/linux/sys/quota.h:
16740 Use __caddr_t instead of caddr_t.
16741 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16742 Use __clockid_t instead of clockid_t.
16743
16744 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16745
16746 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16747 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16748 expanding it.
16749
16750 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16751 Define __glibc_c99_flexarr_available to 1 when the compiler
16752 supports C99-compatible flexible array members, 0 otherwise.
16753 * sysdeps/unix/sysv/linux/bits/socket.h
16754 * sysdeps/mach/hurd/bits/socket.h
16755 * bits/socket.h: Use __glibc_c99_flexarr_available in
16756 definitions of struct cmsghdr and CMSG_DATA.
16757
16758 2016-09-23 Florian Weimer <fweimer@redhat.com>
16759
16760 * manual/nss.texi (NSS Modules Interface): Adjust function return
16761 type to enum nss_status. Document errnop argument. Clarify
16762 h_errnop semantics. Fix cross-reference formatting.
16763 (NSS Module Function Internals): Mention that *errnop needs to be
16764 set on failure, but not to zero.
16765
16766 2016-09-23 Florian Weimer <fweimer@redhat.com>
16767
16768 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16769 (get_random_name): New functions.
16770 (check_wrapper_flags_mode): Use linkat to give the new file a name
16771 determined by get_random_name.
16772 (do_test): Add calls to test open64 and openat64.
16773
16774 2016-09-23 Florian Weimer <fweimer@redhat.com>
16775
16776 * test-skeleton.c: Remove #include <stdarg.h>.
16777
16778 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16779
16780 [BZ #19826]
16781 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16782 initialization of static TLS entries.
16783 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16784 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16785
16786 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16787
16788 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16789 _hurd_malloc_fork_prepare.
16790 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16791 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16792 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16793 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16794 (_hurd_fork_child_hook): Drop malloc_fork_child.
16795 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16796 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16797 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16798 after locking locks (notably hurd_dtable_lock). Call
16799 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16800 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16801 __malloc_fork_unlock_child.
16802 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16803
16804 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16805
16806 * soft-fp/extendhftf2.c: New.
16807 * soft-fp/fixhfti.c: Likewise.
16808 * soft-fp/fixunshfti.c: Likewise.
16809 * soft-fp/floattihf.c: Likewise.
16810 * soft-fp/floatuntihf.c: Likewise.
16811 * soft-fp/half.h: Likewise.
16812 * soft-fp/trunctfhf2.c: Likewise.
16813
16814 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16815
16816 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16817 macro.
16818 * math/libm-test.inc (issubnormal_test_data): New array.
16819 (issubnormal_test): New function.
16820 * manual/arith.texi (Floating Point Classes): Document
16821 issubnormal.
16822 * manual/libm-err-tab.pl: Update comment on interfaces without
16823 ulps tabulated.
16824
16825 * sysdeps/generic/stdint.h: Define
16826 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16827 <bits/libc-header-start.h> instead of including <features.h>.
16828 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16829 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16830 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16831 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16832 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16833 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16834 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16835 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16836 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16837 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16838 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16839 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16840 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16841 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16842 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16843 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16844 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16845 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16846 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16847 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16848 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16849 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16850 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16851 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16852 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16853 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16854 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16855 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16856 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16857 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16858 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16859 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16860 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16861 * manual/arith.texi (Integers): Document these macros for types
16862 specified by width properties.
16863 * manual/lang.texi (Width of Type): Document these macros for
16864 other standard typedefs.
16865 * stdlib/tst-width-stdint.c: New file.
16866 * stdlib/Makefile (tests): Add tst-width-stdint.
16867
16868 2016-09-21 Florian Weimer <fweimer@redhat.com>
16869
16870 [BZ #20016]
16871 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16872 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16873 Move ...
16874 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16875 ... here, as compatibility symbols in a new file.
16876 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16877 * resolv/res_init.c (__res_vinit): Adjust member names.
16878 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16879 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16880 (res_send_rhook): Remove.
16881 (struct __res_state): Rename qhook, rhook members.
16882
16883 2016-09-21 Florian Weimer <fweimer@redhat.com>
16884
16885 malloc: Use __libc_lock wrappers.
16886 * malloc/arena.c (list_lock, free_list_lock): Define using
16887 __libc_lock_define_initialized.
16888 (arena_lock): Adjust formatting.
16889 * malloc/malloc.c (struct malloc_state): Define mutex using
16890 __libc_lock_define.
16891 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16892 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16893 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16894 (mutex_unlock, mutex_trylock): Remove.
16895 (__pthread_initialize): Remove unused macro.
16896 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16897 (mutex_unlock, mutex_trylock): Remove.
16898
16899 2016-09-21 Florian Weimer <fweimer@redhat.com>
16900
16901 [BZ #20592]
16902 Remove RR type classification macros.
16903 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16904 (ns_t_udp_p, ns_t_xfr_p): Remove.
16905
16906 2016-09-21 Florian Weimer <fweimer@redhat.com>
16907
16908 Remove misleading version information.
16909 * resolv/arpa/nameser.h (__NAMESER): Remove.
16910 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16911
16912 2016-09-21 Florian Weimer <fweimer@redhat.com>
16913
16914 Remove the always-defined BIND_4_COMPAT macro.
16915 * resolv/arpa/nameser.h: Unconditionally include
16916 <arpa/nameser_compat.h>.
16917 (BIND_4_COMPAT): Remove.
16918 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16919
16920 2016-09-21 Florian Weimer <fweimer@redhat.com>
16921
16922 [BZ #20591]
16923 Remove obsolete DNSSEC support.
16924 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16925 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16926 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16927 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16928 (ns_cert_types): Add comment.
16929 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16930 separately.
16931 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16932 (dst_s_dns_key_id): Remove.
16933 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16934 variables.
16935
16936 2016-09-21 Florian Weimer <fweimer@redhat.com>
16937
16938 [BZ #20524]
16939 * manual/string.texi (String/Array Comparison): Clarify the
16940 strverscmp behavior.
16941
16942 2016-09-21 Florian Weimer <fweimer@redhat.com>
16943
16944 * test-skeleton.c (xasprintf): Add function.
16945 * io/tst-open-tmpfile.c: New test.
16946 * io/Makefile (tests): Add it.
16947
16948 2016-09-21 Florian Weimer <fweimer@redhat.com>
16949
16950 Avoid running $(CXX) during build to obtain header file paths.
16951 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16952 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16953 * Makerules (cstdlib, cmath): Remove variables. Use
16954 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16955 * configure: Regenerate.
16956
16957 2016-09-21 Florian Weimer <fweimer@redhat.com>
16958
16959 * Makeconfig (all-object-suffixes): Include .op only if
16960 $(build-profile).
16961
16962 2016-09-21 Florian Weimer <fweimer@redhat.com>
16963
16964 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16965 conditionals. Do not define PATH_MAX.
16966
16967 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16968
16969 * posix/Makefile (tests): Add tst-spawn3.
16970 * posix/tst-spawn3.c: New file.
16971 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16972 if it is already opened for open action.
16973
16974 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16975 all signals when executing the clone vfork child.
16976 (SIGALL_SET): Remove macro.
16977
16978 * nptl/Makefile (tests): Add tst-exec5.
16979 * nptl/tst-exec5.c: New file.
16980 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16981 asynchronous cancellation.
16982
16983 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16984
16985 * hurd/exc2signal.c: #include <hurd/signal.h>
16986 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16987 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16988 accordingly.
16989 * mach/mach_error.c (mach_error): Fix old-style function definition.
16990 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16991
16992 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16993
16994 * math/Makefile (libm-calls): Remove s_nanF.
16995 (gen-libm-calls): Add s_nanF.
16996
16997 * math/s_nan.c: Refactor into ...
16998 * math/s_nan_template.c: New file.
16999
17000 * math/s_nanf.c: Removed.
17001 * math/s_nanl.c: Removed.
17002 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17003 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17004
17005 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17006 (LDOUBLE_nanl_libm_version): New macro.
17007
17008 * sysdeps/generic/math-type-macros-double.h:
17009 (M_STRTO_NAN): New macro.
17010 * sysdeps/generic/math-type-macros-float.h: Likewise.
17011 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17012
17013 * sysdeps/generic/math-type-macros.h: Document
17014 M_STRTO_NAN.
17015
17016 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17017
17018 * math/s_nanf.c: Remove __nanf undef.
17019 * math/s_nan.c: Remove __nan undef.
17020 * math/s_nanl.c: Remove __nanl undef.
17021
17022 * sysdeps/generic/math_private.h (__nan): Remove macro
17023 override.
17024 (__nanf): Likewise.
17025 (__nanl): Likewise.
17026
17027 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17028
17029 * math/Makefile (gen-all-calls): New variable.
17030 (generated): Replace gen-libm-calls with gen-all-calls.
17031 (gen-libm-templates.stmp): Likewise. Also, ensure
17032 the output directory exists or is created and add
17033 dependency on the Makefile.
17034 (calls): Move s_ldexpF into gen-calls.
17035 (gen-calls): New variable.
17036
17037 * math/s_ldexpf.c: Removed.
17038 * math/s_ldexpl.c: Removed.
17039 * math/s_ldexp.c: Refactored into ...
17040 * math/s_ldexp_template.c: New file.
17041
17042 * sysdeps/generic/math-type-macros-double.h: Remove
17043 redundant fall-through definition of declare_mgen_alias.
17044 (declare_mgen_alias_2): New macro.
17045
17046 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17047 New macro for function aliased to two exported symbols.
17048
17049 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17050 new template file.
17051 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17052
17053 2016-09-20 Florian Weimer <fweimer@redhat.com>
17054
17055 * Makeconfig (all-object-suffixes): Remove .og.
17056 * Makerules (elide-routines.og): Remove.
17057 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17058 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17059 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17060
17061 2016-09-20 Florian Weimer <fweimer@redhat.com>
17062
17063 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17064 .os objects.
17065
17066 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17067
17068 [BZ #20615]
17069 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17070 fpu directory by non-fpu.
17071 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17072 on non-fpu directory from a fpu directory.
17073
17074 2016-09-19 Joseph Myers <joseph@codesourcery.com>
17075
17076 * include/limits.h: Define
17077 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17078 <bits/libc-header-start.h> instead of including <features.h>.
17079 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17080 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17081 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17082 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17083 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17084 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17085 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17086 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17087 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17088 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17089 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17090 * manual/lang.texi (Width of Type): Document these macros.
17091 * stdlib/tst-width.c: New file.
17092 * stdlib/Makefile (tests): Add tst-width.
17093
17094 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17095
17096 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17097 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17098
17099 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17100
17101 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17102 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17103 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17104
17105 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17106
17107 [BZ #18243]
17108 * rt/Makefile (test): Add tst-shm-cancel.
17109 * rt/tst-shm-cancel.c: New file.
17110 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17111
17112 [BZ #18243]
17113 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17114 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17115 definition.
17116 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17117 uncontended case.
17118 * nptl/sem_wait.c (__new_sem_wait): Likewise.
17119 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17120 (tf): Fix check for uncontended case.
17121 (do_test): Likewise.
17122 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17123 (tf): Fix check for uncontended case.
17124 (do_test): Likewise.
17125 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17126 (tf): Fix check for uncontended case.
17127 (do_test): Likewise.
17128 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17129 (tf): Fix check for uncontended case.
17130 (do_test): Likewise.
17131
17132 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17133 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17134
17135 [BZ #15765]
17136 * nptl/Makefile (tests): Add tst-sem16.
17137 * nptl/tst-sem16.c: New file.
17138 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17139
17140 * nptl/sem_open.c (sem_open): Init pad value to 0.
17141 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17142 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17143
17144 2016-09-15 Florian Weimer <fweimer@redhat.com>
17145
17146 [BZ #20611]
17147 * inet/Makefile (routines): Add inet6_scopeid_pton.
17148 (tests): Add tst-inet6_scopeid_pton.
17149 * inet/inet6_scopeid_pton.c: New file.
17150 * inet/net-internal.h: Likewise.
17151 * inet/tst-inet6_scopeid_pton.c: New test.
17152 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17153 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17155
17156 2016-09-14 Florian Weimer <fweimer@redhat.com>
17157
17158 Remove support for compiling wrappers with PTW.
17159 * sysdeps/nptl/Makeconfig: Drop ptw- support.
17160 * nptl/Makefile (pthread-compat-wrappers): Define.
17161 (libpthread-routines): Use pthread-compat-wrappers.
17162 * sysdeps/unix/sysv/linux/alpha/Makefile
17163 (libpthread-routines, libpthread-shared-only-routines): Remove
17164 ptw- prefix.
17165 * sysdeps/s390/nptl/Makefile
17166 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17167 * sysdeps/ia64/nptl/Makefile
17168 (libpthread-routines, libpthread-shared-only-routines): Likewise.
17169 * sysdeps/nacl/Makefile (libpthread-routines): Use
17170 pthread-compat-wrappers to filter the routines list instead of the
17171 ptw- prefix.
17172
17173 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17174
17175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17176 with L() and remove explicit suffix, convert real literals
17177 which can be equivalentally substituted with integers, and
17178 transform -L(x) to L(-x).
17179
17180 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17181 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17182 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17183 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17184 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17185 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17228 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17230
17231 2016-09-13 Florian Weimer <fweimer@redhat.com>
17232
17233 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17234
17235 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
17236
17237 * malloc/Makefile (tests): Remove individual static test names
17238 and just add all of tests-static.
17239
17240 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17241
17242 2016-09-07 Joseph Myers <joseph@codesourcery.com>
17243
17244 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17245 file.
17246
17247 * sysdeps/sparc/fpu/fegetmode.c: New file.
17248 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17249
17250 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17251 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17252
17253 * sysdeps/s390/fpu/fegetmode.c: New file.
17254 * sysdeps/s390/fpu/fesetmode.c: Likewise.
17255
17256 * sysdeps/powerpc/fpu/fegetmode.c: New file.
17257 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17258 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17259 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17260 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17261 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17262
17263 * sysdeps/mips/fpu/fegetmode.c: New file.
17264 * sysdeps/mips/fpu/fesetmode.c: Likewise.
17265
17266 * sysdeps/m68k/fpu/fegetmode.c: New file.
17267 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17268
17269 * sysdeps/ia64/fpu/fegetmode.c: New file.
17270 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17271
17272 * sysdeps/hppa/fpu/fegetmode.c: New file.
17273 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17274
17275 * sysdeps/arm/fegetmode.c: New file.
17276 * sysdeps/arm/fesetmode.c: Likewise.
17277
17278 * sysdeps/alpha/fpu/fegetmode.c: New file.
17279 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17280
17281 * sysdeps/aarch64/fpu/fegetmode.c: New file.
17282 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17283
17284 * math/fegetmode.c: New file.
17285 * math/fesetmode.c: Likewise.
17286 * sysdeps/i386/fpu/fegetmode.c: Likewise.
17287 * sysdeps/i386/fpu/fesetmode.c: Likewise.
17288 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17289 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17290 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17291 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17292 declaration.
17293 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17294 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17295 typedef.
17296 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17297 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17298 (femode_t): New typedef.
17299 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17300 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17301 (femode_t): New typedef.
17302 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17303 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17304 (femode_t): New typedef.
17305 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17306 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17307 (femode_t): New typedef.
17308 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17309 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17310 (femode_t): New typedef.
17311 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17312 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17313 (femode_t): New typedef.
17314 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17315 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17316 (femode_t): New typedef.
17317 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17318 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17319 (femode_t): New typedef.
17320 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17321 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17322 (femode_t): New typedef.
17323 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17324 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17325 (femode_t): New typedef.
17326 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17327 declaration.
17328 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17329 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17330 (femode_t): New typedef.
17331 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17332 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17333 (femode_t): New typedef.
17334 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17335 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17336 (femode_t): New typedef.
17337 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17338 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17339 (femode_t): New typedef.
17340 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17341 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17342 (femode_t): New typedef.
17343 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17344 * manual/arith.texi (FE_DFL_MODE): Document macro.
17345 (fegetmode): Document function.
17346 (fesetmode): Likewise.
17347 * math/Versions (fegetmode): New libm symbol at version
17348 GLIBC_2.25.
17349 (fesetmode): Likewise.
17350 * math/Makefile (libm-support): Add fegetmode and fesetmode.
17351 (tests): Add test-femode and test-femode-traps.
17352 * math/test-femode-traps.c: New file.
17353 * math/test-femode.c: Likewise.
17354 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17355 alias for __fe_dfl_env.
17356 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17357 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17358 (__fe_dfl_mode): Likewise.
17359 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17360 version GLIBC_2.25.
17361 * sysdeps/nacl/libm.abilist: Update.
17362 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17363 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17364 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17365 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17366 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17367 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17368 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17369 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17370 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17371 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17372 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17373 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17375 Likewise.
17376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17377 Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17379 Likewise.
17380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17381 Likewise.
17382 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17383 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17384 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17385 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17386 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17388 Likewise.
17389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17390 Likewise.
17391 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17392 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17393 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17394
17395 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
17396
17397 [BZ #20495]
17398 [BZ #20508]
17399 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17400 processors, set Use_dl_runtime_resolve_slow and set
17401 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17402 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17403 New.
17404 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17405 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17406 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17407 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17408 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17409 if Use_dl_runtime_resolve_opt is set. Use
17410 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17411 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17412 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
17413 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17414 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17415 New.
17416 (_dl_runtime_resolve_opt): Likewise.
17417 (_dl_runtime_profile): Define only if _dl_runtime_profile is
17418 defined.
17419
17420 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
17421
17422 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17423 __libc_memalign with "+ RELA R_390_GLOB_DAT".
17424
17425 2016-09-06 Florian Weimer <fweimer@redhat.com>
17426
17427 Convert malloc to __libc_lock. Automated part, using this Perl
17428 s/// command:
17429 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17430 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17431 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17432 conversion.
17433
17434 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
17435
17436 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17437 (linknamespace-symlists-tests): Likewise.
17438 (linknamespace-header-tests): Likewise.
17439
17440 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
17441
17442 [BZ #19810]
17443 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17444 * elf/tst-noload.c: New test case.
17445 * elf/Makefile (tests): Add tst-noload.
17446
17447 2016-09-02 Roland McGrath <roland@hack.frob.com>
17448
17449 * sysdeps/nacl/dup.c: Add libc_hidden_def.
17450
17451 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17452 not any more.
17453
17454 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17455
17456 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17457
17458 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17459 (do_cos_slow): Likewise.
17460 (do_sin): Likewise.
17461 (do_sin_slow): Likewise.
17462 (slow): Likewise.
17463 (slow1): Likewise.
17464 (slow2): Likewise.
17465 (sloww): Likewise.
17466 (sloww1): Likewise.
17467 (sloww2): Likewise.
17468 (bsloww): Likewise.
17469 (bsloww1): Likewise.
17470 (bsloww2): Likewise.
17471 (cslow2): Likewise.
17472
17473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17474
17475 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17476 arguments. Consolidate input partitioning from callers here.
17477 (do_cos_slow): Likewise.
17478 (do_sin): Likewise.
17479 (do_sin_slow): Likewise.
17480 (do_sincos_1): Remove the no longer necessary input partitioning.
17481 (do_sincos_2): Likewise.
17482 (__sin): Likewise.
17483 (__cos): Likewise.
17484 (slow1): Likewise.
17485 (slow2): Likewise.
17486 (sloww1): Likewise.
17487 (sloww2): Likewise.
17488 (bsloww1): Likewise.
17489 (bsloww2): Likewise.
17490 (cslow2): Likewise.
17491
17492 2016-09-02 Florian Weimer <fweimer@redhat.com>
17493
17494 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17495 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
17496 outside of allocated array.
17497
17498 2016-09-02 Florian Weimer <fweimer@redhat.com>
17499
17500 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17501 instead of MB_CUR_MAX to avoid variable-length array.
17502
17503 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17504
17505 * math/Makefile (libm-calls): Remove k_rem_pio2F.
17506 (type-double-routines): Add k_rem_pio2.
17507 (type-float-routines): Add k_rem_pio2f.
17508
17509 * sysdeps/generic/math_private.h:
17510 (__kernel_rem_pio2l): Removed.
17511
17512 * math/k_rem_pio2l.c: Removed.
17513 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17514 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17515 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17516 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17517
17518 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17519
17520 * math/Makefile (gen-libm-calls): Add s_fmin
17521 (libm-calls): Remove above.
17522
17523 * math/s_fmin.c: Refactor into ...
17524 * math/s_fmin_template.c: New file.
17525
17526 * math/s_fminf.c: Removed.
17527 * math/s_fminl.c: Removed.
17528 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17529 (LDOUBLE_fmin_libm_version): New macro.
17530
17531 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17532 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17533
17534 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17535
17536 * math/Makefile: (gen-libm-calls): Add s_fmax.
17537 (libm-calls): Remove above.
17538
17539 * math/s_fmax.c: Refactor into ...
17540 * math/s_fmax_template.c: New file.
17541 * math/s_fmaxf.c: Removed.
17542 * math/s_fmaxl.c: Removed.
17543
17544 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17545 (LDOUBLE_fmaxl_libm_version): New macro.
17546
17547 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17548 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17549
17550 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17551 s_fmin.c to pick the aarch64 version of the file.
17552 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17553 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17554
17555 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17556
17557 * math/Makefile: (gen-libm-calls): Add s_nextdown.
17558 (libm-calls): Remove above.
17559
17560 * math/s_nextdown.c: Refactor into ...
17561 * math/s_nextdown_template.c: New file.
17562 * math/s_nextdownf.c: Removed.
17563 * math/s_nextdownl.c: Removed.
17564
17565 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17566
17567 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17568
17569 * math/Makefile (gen-libm-calls): Add s_fdim.
17570 (libm-calls): Move to above.
17571
17572 * math/s_fdim.c: Renamed and refactored into to ...
17573 * math/s_fdim_template.c: New file.
17574 * math/s_fdiml.c: Removed.
17575 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17576 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17577
17578 * sysdeps/generic/math-type-macros-double.h:
17579 (declare_mgen_alias): Don't declare if already declared.
17580 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17581 Likewise.
17582
17583 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17584 (declare_mgen_alias): Don't declare if already declared.
17585 (M_LIBM_NEED_COMPAT): Likewise.
17586 (declare_mgen_libm_compat): Likewise.
17587 (LDOUBLE_fdiml_libm_version): New macro.
17588
17589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17590 Include math/s_fdim.c now that ldbl-opt version is not needed.
17591 (declare_mgen_alias): New macro to disable aliasing.
17592
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17594 (declare_mgen_alias): Likewise.
17595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17596 (declare_mgen_alias): Likewise.
17597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17598 (declare_mgen_alias): Likewise.
17599 (M_LIBM_NEED_COMPAT): Likewise.
17600
17601 2016-09-01 Florian Weimer <fweimer@redhat.com>
17602
17603 [BZ #20525]
17604 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17605 Include <linux/quota.h>.
17606 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17607 and btodb.
17608 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17609 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17610 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17611 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17612 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17613 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17614 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17615 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17616 types.
17617 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17618 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17619
17620 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17621
17622 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17623 (gammal_positive): Fix spacing.
17624 (__ieee754_gammal_r): Likewise.
17625
17626 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17627
17628 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17629 (_Float128): Define as long double, always.
17630 (L): Apply long double type suffix, always.
17631
17632 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17633 _Float128, excepting comments.
17634
17635 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17642 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17643 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17644 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17645 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17647 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17648 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17649 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17650 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17651 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17654 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17655 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17658 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17701 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17702 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17703
17704 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17705 _Float128, and include math_private.h.
17706 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17707
17708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17709 long double semantics.
17710 (_Float128): Likewise.
17711 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17715
17716 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17717
17718 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17719 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17720 * sysdeps/s390/configure: Regenerated.
17721 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17722 instruction for raising over-/underflow if z196 zarch is supported
17723 by default.
17724 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17725
17726 2016-08-30 Svante Signell <svante.signell@gmail.com>
17727
17728 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17729 it point to a dumb buffer for RPC to fill it.
17730
17731 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17732
17733 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17734 instead of if/else.
17735 (do_sin_slow): Likewise.
17736 (do_sincos_1): Use fabs instead of if/else.
17737 (do_sincos_2): Likewise.
17738 (__sin): Likewise.
17739 (__cos): Likewise.
17740 (slow2): Likewise.
17741 (sloww): Likewise.
17742 (sloww1): Likewise. Drop argument M.
17743 (sloww2): Use fabs instead of if/else.
17744 (bsloww): Likewise.
17745 (bsloww1): Likewise.
17746 (bsloww2): Likewise.
17747
17748 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17749 fall through comment.
17750 (do_sincos_1): Likewise.
17751
17752 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17753 Consolidate switch cases 0 and 2.
17754
17755 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17756
17757 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17758 (libm-calls): Remove the above.
17759
17760 * math/s_cexp_template.c: Update using type-generic macros.
17761 * math/s_clog10_template.c: Likewise.
17762 * math/s_cpow_template.c: Likewise.
17763 * math/s_clog_template.c: Likewise.
17764 * math/s_cproj_template.c: Likewise.
17765 * math/s_csqrt_template.c: Likewise.
17766
17767 * math/s_cexp.c: Removed.
17768 * math/s_cexpf.c: Removed.
17769 * math/s_cexpl.c: Removed.
17770 * math/s_clog10.c: Removed.
17771 * math/s_clog10f.c: Removed.
17772 * math/s_clog10l.c: Removed.
17773 * math/s_cpow.c: Removed.
17774 * math/s_cpowf.c: Removed.
17775 * math/s_cpowl.c: Removed.
17776 * math/s_clog.c: Removed.
17777 * math/s_clogf.c: Removed.
17778 * math/s_clogl.c: Removed.
17779 * math/s_cproj.c: Removed.
17780 * math/s_cprojf.c: Removed.
17781 * math/s_cprojl.c: Removed.
17782 * math/s_csqrt.c: Removed.
17783 * math/s_csqrtf.c: Removed.
17784 * math/s_csqrtl.c: Removed.
17785
17786 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17787 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17788 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17789 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17790 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17791 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17792
17793 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17794 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17795 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17796 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17797 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17798 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17799 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17800 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17801 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17802 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17803 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17804
17805 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17806 version.
17807
17808 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17809 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17810 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17811 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17812
17813 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17814
17815 * s_cexp_template.c: Copy of s_cexp.c.
17816 * s_clog_template.c: Copy of s_clog.c.
17817 * s_clog10_template.c: Copy of s_clog10.c.
17818 * s_cpow_template.c: Copy of s_cpow.c.
17819 * s_cproj_template.c: Copy of s_cproj.c.
17820 * s_csqrt_template.c: Copy of s_csqrt.c.
17821
17822 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17823
17824 [BZ #20517]
17825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17826 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17827 exported.
17828
17829 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17830
17831 * math/fetestexceptflag.c: New file.
17832 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17833 Stefan Liebler.
17834 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17835 (fetestexceptflag): New function declaration.
17836 * manual/arith.texi (fetestexceptflag): Document function.
17837 * math/Versions (fetestexceptflag): New libm symbol at version
17838 GLIBC_2.25.
17839 * math/Makefile (libm-support): Add fetestexceptflag.
17840 (tests): Add test-fetestexceptflag.
17841 * math/test-fetestexceptflag.c: New file.
17842 * sysdeps/nacl/libm.abilist: Update.
17843 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17856 Likewise.
17857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17858 Likewise.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17860 Likewise.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17862 Likewise.
17863 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17869 Likewise.
17870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17871 Likewise.
17872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17875
17876 2016-08-26 Florian Weimer <fweimer@redhat.com>
17877
17878 [BZ #20432]
17879 Avoid strong references to malloc-internal symbols when linking
17880 statically, to support statically interposed mallocs.
17881 * include/libc-symbols.h (call_function_static_weak): New macro.
17882 * malloc/Makefile (tests): Add tst-interpose-nothread,
17883 tst-interpose-thread, tst-interpose-static-nothread,
17884 tst-interpose-static-thread.
17885 (tests-static): Add tst-interpose-static-nothread,
17886 tst-interpose-static-thread.
17887 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17888 tst-interpose-aux-thread.o.
17889 (test-extras): Add tst-interpose-aux-nothread,
17890 tst-interpose-aux-thread.
17891 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17892 tst-interpose-aux-nothread.o.
17893 (tst-interpose-thread, tst-interpose-static-thread): Link with
17894 tst-interpose-aux-thread.o and libthread.
17895 * malloc/tst-interpose-aux-nothread.c: New file.
17896 * malloc/tst-interpose-aux-thread.c: Likewise.
17897 * malloc/tst-interpose-aux.c: Likewise.
17898 * malloc/tst-interpose-aux.h: Likewise.
17899 * malloc/tst-interpose-nothread.c: Likewise.
17900 * malloc/tst-interpose-skeleton.c: Likewise.
17901 * malloc/tst-interpose-static-nothread.c: Likewise.
17902 * malloc/tst-interpose-static-thread.c: Likewise.
17903 * malloc/tst-interpose-thread.c: Likewise.
17904 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17905 * sysdeps/mach/hurd/fork.c (__fork): Only call
17906 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17907 __malloc_fork_unlock_child if defined.
17908 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17909
17910 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17911
17912 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17913 timespec C99 designated initialization.
17914
17915 2016-08-26 Florian Weimer <fweimer@redhat.com>
17916
17917 [BZ #19946]
17918 Avoid expected SIGALRM signals.
17919 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17920 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17921 (xpthread_create, xpthread_detach, xpthread_join)
17922 (delayed_exit_thread, delayed_exit): New functions.
17923 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17924 (tf): Use xpthread_cond_wait.
17925 (do_test): Likewise. Replace alarm with delayed_exit.
17926 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17927 (do_test): Call delayed_exit. Report failure.
17928 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17929 (do_test): Call delayed_exit.
17930 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17931 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17932 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17933 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17934 error.
17935 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17936 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17937 error.
17938 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17939 (do_test): Call delayed_exit.
17940 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17941 (do_test): Call delayed_exit.
17942 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17943 (do_test): Call delayed_exit instead of alarm. Use
17944 xpthread_mutex_lock.
17945 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17946 (do_test): Call delayed_exit instead of alarm. Use
17947 xpthread_mutex_lock.
17948 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17949 (do_test): Call delayed_exit instead of alarm.
17950 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17951 (do_test): Call delayed_exit instead of alarm. Use
17952 xpthread_spin_lock.
17953 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17954 (do_test): Call delayed_exit instead of alarm. Use
17955 xpthread_join.
17956
17957 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17958
17959 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17960 adjust CFA when allocating register save area on re-aligned
17961 stack.
17962
17963 2016-08-26 Florian Weimer <fweimer@redhat.com>
17964
17965 * string/tst-cmp.c: New test.
17966 * string/Makefile (tests): Add it.
17967
17968 2016-08-25 Mark Wielaard <mark@klomp.org>
17969
17970 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17971 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17972 (check_tree_recurse): Use newly defined accessors.
17973 (check_tree): Likewise.
17974 (maybe_split_for_insert): Likewise.
17975 (__tfind): Likewise.
17976 (__tdelete): Likewise.
17977 (trecurse): Likewise.
17978 (tdestroy_recurse): Likewise.
17979 (__tsearch): Likewise. And add asserts for malloc alignment.
17980 (__twalk): Cast root to node in case CHECK_TREE is defined.
17981
17982 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17983
17984 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17985
17986 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17987
17988 * math/Makefile (libm-gen-calls): Add
17989 catan, catanh, ctan, ctanh.
17990 (libm-calls): Remove the above.
17991
17992 * math/s_catan_template.c: Update using type-generic macros.
17993 * math/s_catanh_template.c: Likewise.
17994 * math/s_ctan_template.c: Likewise.
17995 * math/s_ctanh_template.c: Likewise.
17996
17997 * math/s_catanf.c: Removed.
17998 * math/s_catan.c: Removed.
17999 * math/s_catanl.c: Removed.
18000 * math/s_catanhf.c: Removed.
18001 * math/s_catanh.c: Removed.
18002 * math/s_catanhl.c: Removed.
18003 * math/s_ctanf.c: Removed.
18004 * math/s_ctan.c: Removed.
18005 * math/s_ctanl.c: Removed.
18006 * math/s_ctanhf.c: Removed.
18007 * math/s_ctanh.c: Removed.
18008 * math/s_ctanhl.c: Removed.
18009
18010 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18011 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18012 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18013 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18014 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18015 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18016
18017 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18018 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18019 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18020 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18021
18022 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18023
18024 * s_catan_template.c: Copy of s_catan.c.
18025 * s_catanh_template.c: Copy of s_catanh.c.
18026 * s_ctan_template.c: Copy of s_ctan.c.
18027 * s_ctanh_template.c: Copy of s_ctanh.c.
18028
18029 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18030
18031 * math/Makefile (gen-libm-calls): Move
18032 casin, casinh, csin, csinh here.
18033 (libm-calls): Remove the above.
18034
18035 * math/s_casin_template.c: Update using type-generic macros.
18036 * math/s_casinh_template.c: Likewise.
18037 * math/s_csin_template.c: Likewise.
18038 * math/s_csinh_template.c: Likewise.
18039 * math/k_casinh_template.c: Likewise.
18040
18041 * math/s_casinf.c: Removed.
18042 * math/s_casin.c: Removed.
18043 * math/s_casinl.c: Removed.
18044 * math/s_casinh.c: Removed.
18045 * math/s_casinhf.c: Removed.
18046 * math/s_casinhl.c: Removed.
18047 * math/s_csin.c: Removed.
18048 * math/s_csinf.c: Removed.
18049 * math/s_csinl.c: Removed.
18050 * math/s_csinh.c: Removed.
18051 * math/s_csinhf.c: Removed.
18052 * math/s_csinhl.c: Removed.
18053 * math/k_casinh.c: Removed.
18054 * math/k_casinhf.c: Removed.
18055 * math/k_casinhl.c: Removed.
18056
18057 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18058 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18059 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18060 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18061
18062 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18063 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18064 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18065 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18066 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18067 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18068 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18069 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18070
18071 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18072 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18073 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18074 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18075
18076 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18077 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18078 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18079 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18080
18081 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18082
18083 * s_casin_template.c: Copy of s_casin.c.
18084 * s_casinh_template.c: Copy of s_casinh.c.
18085 * s_csin_template.c: Copy of s_csin.c.
18086 * s_csinh_template.c: Copy of s_csinh.c.
18087 * k_casinh_template.c: Copy of k_casinh.c.
18088
18089 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
18090
18091 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18092
18093 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18094
18095 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18096 (mul_split) Remove, rename as mul_splitl, remove
18097 redundant float.h include, and include via mul_splitl.h
18098
18099 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18101 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18102 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18103 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18104
18105 * math/mul_splitl.h: New file.
18106
18107 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18108 Move into mul_split.h, and remove redundant float.h include.
18109
18110 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18114
18115 * math/mul_split.h: New file.
18116
18117 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18118
18119 * math/Makefile (libm-gen-calls): Move
18120 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18121 (libm-calls): Remove above.
18122
18123 * math/s_cacos_template.c: Update using type-generic macros.
18124 * math/s_cacosh_template.c: Likewise.
18125 * math/s_ccos_template.c: Likewise.
18126 * math/s_ccosh_template.c: Likewise.
18127
18128 * math/s_cacosf.c: Removed.
18129 * math/s_cacos.c: Removed.
18130 * math/s_cacosl.c: Removed.
18131 * math/s_cacoshf.c: Removed.
18132 * math/s_cacosh.c: Removed.
18133 * math/s_cacoshl.c: Removed.
18134 * math/s_ccosf.c: Removed.
18135 * math/s_ccos.c: Removed.
18136 * math/s_ccosl.c: Removed.
18137 * math/s_ccoshf.c: Removed.
18138 * math/s_ccosh.c: Removed.
18139 * math/s_ccoshl.c: Removed.
18140
18141 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18142 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18143 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18144 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18145 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18146 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18147
18148 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18149 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18150 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18151 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18152
18153 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18154 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18155 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18156 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18157
18158 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18159
18160 * s_cacos_template.c: Copy of s_cacos.c.
18161 * s_cacosh_template.c: Copy of s_cacosh.c.
18162 * s_ccos_template.c: Copy of s_ccos.c.
18163 * s_ccosh_template.c: Copy of s_ccosh.c.
18164
18165 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18166
18167 * stdlib/tst-strtod-round-skeleton.c:
18168 Refactored from tst-strtod-round.c.
18169
18170 (L_): New macro to apply literal modifier.
18171 (FNPFX): New macro to select str or wcs prefix.
18172 (CHAR): New macro to choose wchar_t or char.
18173 (STRM): New macro to choose printf for tested character type.
18174
18175 (STRTO): New macro to choose appropriate string -> real function.
18176 (FNPFXS): Stringitized version of FNPFX.
18177 (STR): Support for above macro.
18178 (STRX): Likewise.
18179
18180 (TEST): Update with above macros.
18181 (test): Likewise.
18182 (GEN_ONE_TEST): Likewise.
18183 (test_in_one_mode): Likewise.
18184
18185 * stdlib/tst-strtod-round.c: New file.
18186 * wcsmbs/tst-wcstod-round.c: New file.
18187
18188 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18189 (tst-wcstod-round): Add libm depencency for fesetround.
18190
18191 2016-08-19 Zack Weinberg <zackw@panix.com>
18192
18193 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18194
18195 2016-08-18 Torvald Riegel <triegel@redhat.com>
18196
18197 [BZ #20477]
18198 * resolv/res_hconf.c (do_init): Use atomic access.
18199 * resolv/res_hconf.h: Add comments.
18200 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18201 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18203
18204 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
18205
18206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18207 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18209 Likewise.
18210
18211 2016-08-18 Florian Weimer <fweimer@redhat.com>
18212
18213 [BZ #16907]
18214 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18215 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18216 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18217 (__attribute__): Remove definition.
18218
18219 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18220
18221 * sysdeps/ieee754/ldbl-128/e_asinl.c:
18222 Remove unused sqrtl declaration.
18223
18224 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18225
18226 * math/Makefile: (gen-libm-templates.stmp): New rule.
18227 (libm-calls): Move carg conj cimag and cabs into ...
18228 (gen-libm-calls): New variable.
18229 (generated): Inform Make objects from gen-libm-calls
18230 may be generated.
18231
18232 * sysdeps/generic/math-type-macros.h: New file.
18233 * sysdeps/generic/math-type-macros-float.h: Likewise.
18234 * sysdeps/generic/math-type-macros-double.h: Likewise.
18235 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18236 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18237 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18238
18239 * math/cabs.c: Refactor into
18240 * math/cabs_template.c: new file.
18241 * math/cabsf.c: Removed.
18242 * math/cabsl.c: Removed.
18243 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18244 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18245
18246 * math/carg.c: Refactor into
18247 * math/carg_template.c: new file.
18248 * math/cargf.c: Removed.
18249 * math/cargl.c: Removed.
18250 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18251 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18252
18253 * math/conj.c: Refactor into
18254 * math/conj_template.c: new file.
18255 * math/conjf.c: Removed.
18256 * math/conjl.c: Removed.
18257 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18258 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18259
18260 * math/cimag.c: Refactor into
18261 * math/cimag_template.c: new file.
18262 * math/cimagf.c: Removed.
18263 * math/cimagl.c: Removed.
18264 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18265 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18266
18267 * math/cimag.c: Refactor into
18268 * math/cimag_template.c: new file.
18269 * math/cimagf.c: Removed.
18270 * math/cimagl.c: Removed.
18271 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18272 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18273
18274 2016-08-17 Florian Weimer <fweimer@redhat.com>
18275
18276 Reduce time to expected nptl/tst-once5 failure.
18277 * nptl/tst-once5.cc (TIMEOUT): Define.
18278
18279 2016-08-17 Florian Weimer <fweimer@redhat.com>
18280
18281 [BZ #20452]
18282 Avoid additional copies of objects in libc.a in static libraries.
18283 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18284 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18285 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18286 rt-sysdep.
18287 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18288 Add nptl-sysdep.
18289 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18290 Add ptw-sysdep.
18291 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18292 rt-sysdep.
18293 * sysdeps/unix/sysv/linux/alpha/Makefile
18294 (libpthread-shared-only-routines): Add ptw-sysdep,
18295 ptw-sigprocmask, ptw-rt_sigaction.
18296 * sysdeps/unix/sysv/linux/ia64/Makefile
18297 (librt-shared-only-routines): Add rt-sysdep.
18298 * sysdeps/unix/sysv/linux/i386/Makefile
18299 (libpthread-shared-only-routines): Add libc-do-syscall.
18300 * sysdeps/unix/sysv/linux/microblaze/Makefile
18301 (libpthread-shared-only-routines): Add sysdep.
18302 * sysdeps/unix/sysv/linux/powerpc/Makefile
18303 (librt-shared-only-routines): Add rt-sysdep.
18304 (libpthread-shared-only-routines): Add sysdep.
18305 * sysdeps/unix/sysv/linux/s390/Makefile
18306 (librt-shared-only-routines): Add rt-sysdep.
18307 * sysdeps/unix/sysv/linux/sparc/Makefile
18308 (librt-shared-only-routines): Add rt-sysdep.
18309 (libpthread-shared-only-routines): Add sysdep.
18310 * sysdeps/unix/sysv/linux/tile/Makefile
18311 (libpthread-shared-only-routines): Likewise.
18312
18313 2016-08-16 Joseph Myers <joseph@codesourcery.com>
18314
18315 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18316 Mask implicit bit out of unpacked value.
18317 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18320
18321 * sysdeps/sparc/fpu/fesetexcept.c: New file.
18322
18323 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18324
18325 * sysdeps/s390/fpu/fesetexcept.c: New file.
18326
18327 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18328 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18329 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18330
18331 * sysdeps/mips/fpu/fesetexcept.c: New file.
18332
18333 * sysdeps/m68k/fpu/fesetexcept.c: New file.
18334
18335 * sysdeps/ia64/fpu/fesetexcept.c: New file.
18336
18337 * sysdeps/hppa/fpu/fesetexcept.c: New file.
18338
18339 * sysdeps/arm/fesetexcept.c: New file.
18340
18341 * sysdeps/alpha/fpu/fesetexcept.c: New file.
18342
18343 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18344
18345 * math/fesetexcept.c: New file.
18346 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18347 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18348 * math/fenv.h: Define
18349 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18350 <bits/libc-header-start.h> instead of including <features.h>.
18351 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18352 declaration.
18353 * manual/arith.texi (fesetexcept): Document function.
18354 * math/Versions (fesetexcept): New libm symbol at version
18355 GLIBC_2.25.
18356 * math/Makefile (libm-support): Add fesetexcept.
18357 (tests): Add test-fesetexcept and test-fesetexcept-traps.
18358 * math/test-fesetexcept.c: New file.
18359 * math/test-fesetexcept-traps.c: Likewise.
18360 * sysdeps/nacl/libm.abilist: Update.
18361 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18374 Likewise.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18376 Likewise.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18378 Likewise.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18380 Likewise.
18381 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18383 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18385 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18387 Likewise.
18388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18389 Likewise.
18390 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18391 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18392 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18393
18394 2016-08-16 Florian Weimer <fweimer@redhat.com>
18395
18396 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18397 New.
18398 (do_test): Apply default_stack_size_in_mb if not set.
18399 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18400
18401 2016-08-15 Andreas Schwab <schwab@suse.de>
18402
18403 [BZ #20435]
18404 CVE-2016-6323
18405 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18406 as .cantunwind.
18407
18408 2016-08-12 Joseph Myers <joseph@codesourcery.com>
18409
18410 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18411 comment from fraiseexcpt.c.
18412
18413 * math/test-fexcept.c (feraiseexcept_exact): New function.
18414 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18415 (test_except): Likewise.
18416
18417 2016-08-10 Joseph Myers <joseph@codesourcery.com>
18418
18419 [BZ #20455]
18420 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18421 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18422 to be restored.
18423
18424 * math/test-fexcept-traps.c: New file.
18425 * math/test-fexcept.c: Likewise.
18426 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18427 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18428 macro.
18429 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18430 (EXCEPTION_SET_FORCES_TRAP): Likewise.
18431
18432 2016-08-09 Torvald Riegel <triegel@redhat.com>
18433
18434 * include/atomic.h (atomic_fetch_and_relaxed,
18435 atomic_fetch_and_release, atomic_fetch_or_release,
18436 atomic_fetch_xor_release): New.
18437
18438 2016-08-06 Christian Seiler <christian@iwakd.de>
18439
18440 [BZ #20444]
18441 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18442 MACH_PORT_NULL.
18443
18444 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18445
18446 * math/s_fdim.c: Avoid alias renamed.
18447 * math/s_fdimf.c: Likewise.
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18449 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18450 Add s_fdimf-vis3, s_fdim-vis3.
18451 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18452 (CFLAGS-s_fdim-vis3.c): Likewise.
18453 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18454 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18455
18456 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18457
18458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18459 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18460 Remove s_fdimf-vis3, s_fdim-vis3.
18461 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18462 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18469 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18470 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18471
18472 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
18473
18474 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18475 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18476 -Wa,-Av9a -mvis.
18477
18478 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18479
18480 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18481 LIT() to individual constants in simple expressions
18482 after splitting on spaces.
18483 (_apply_lit): Rename replaced version, and use it to
18484 apply to what appears to be a token.
18485
18486 * math/libm-test.inc: Fix many, many issues with
18487 spacing.
18488
18489 2016-08-05 Joseph Myers <joseph@codesourcery.com>
18490
18491 * math/math.h: Move comment about <bits/mathdef.h> definitions
18492 above inclusion of <bits/mathdef.h>. Do not mention
18493 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18494
18495 2016-08-05 Torvald Riegel <triegel@redhat.com>
18496
18497 * include/atomic.h (atomic_exchange_relaxed): New.
18498
18499 2016-08-04 Joseph Myers <joseph@codesourcery.com>
18500
18501 * math/e_scalb.c: Do not include <fenv.h>.
18502 (invalid_fn): Do calculation resulting in NaN instead of raising
18503 FE_INVALID and returning a NaN explicitly.
18504 * math/e_scalbf.c: Do not include <fenv.h>.
18505 (invalid_fn): Do calculation resulting in NaN instead of raising
18506 FE_INVALID and returning a NaN explicitly.
18507 * math/e_scalbl.c: Do not include <fenv.h>.
18508 (invalid_fn): Do calculation resulting in NaN instead of raising
18509 FE_INVALID and returning a NaN explicitly.
18510
18511 2016-08-04 Carlos O'Donell <carlos@redhat.com>
18512
18513 * po/de.po: Updated from Translation Project.
18514 * po/fi.po: Likewise.
18515 * po/sv.po: Likewise.
18516
18517 2016-08-04 Florian Weimer <fweimer@redhat.com>
18518
18519 [BZ #20452]
18520 Use sysdep.o from libc.a in static libraries.
18521 * sysdeps/unix/sysv/linux/i386/Makefile
18522 (libpthread-shared-only-routines): Add sysdep.
18523 (librt-shared-only-routines): Likewise.
18524
18525 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18526
18527 * math/tgmath.h (nextdown): Define if
18528 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18529 (nextup): Likewise.
18530
18531 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18532 macro.
18533 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18534 Document.
18535 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18536 Document macro.
18537 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18538 (exp10f): Likewise.
18539 (exp10l): Likewise.
18540 * math/bits/mathcalls.h (exp10): Declare if
18541 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18542
18543 * manual/arith.texi (nextup): Fix typo in last change.
18544
18545 2016-08-03 Zack Weinberg <zackw@panix.com>
18546
18547 [BZ #19239]
18548 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18549 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18550 define major, minor, and makedev to issue deprecation warnings on use.
18551 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18552 previously-activated deprecation warnings for these macros and prevent
18553 subsequent inclusions of this header from having any effect.
18554 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18555 including <sys/sysmacros.h>, and undefine it again afterward.
18556
18557 2016-08-03 Zack Weinberg <zackw@panix.com>
18558
18559 * sysdeps/generic/sys/sysmacros.h: Delete file.
18560 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18561 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18562 * bits/sysmacros.h: ... here; this encoding is now the generic
18563 encoding. Now defines only the following macros:
18564 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18565 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18566 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18567
18568 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18569 bits/sysmacros.h and the above new macros to generate the
18570 public implementations of major, minor, and makedev.
18571 * misc/tst-makedev.c: New test.
18572 * include/sys/sysmacros.h: New wrapper.
18573
18574 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18575 (routines): Add makedev.
18576 (tests): Add tst-makedev.
18577 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18578 gnu_dev_makedev.
18579 * posix/Makefile (headers): Remove sys/sysmacros.h.
18580 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18581
18582 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18583 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18584 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18585 * sysdeps/unix/sysv/linux/alpha/libc.abilist
18586 * sysdeps/unix/sysv/linux/arm/libc.abilist
18587 * sysdeps/unix/sysv/linux/hppa/libc.abilist
18588 * sysdeps/unix/sysv/linux/i386/libc.abilist
18589 * sysdeps/unix/sysv/linux/ia64/libc.abilist
18590 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18591 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18592 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18593 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18594 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18595 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18596 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18597 * sysdeps/unix/sysv/linux/nios2/libc.abilist
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18602 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18603 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18604 * sysdeps/unix/sysv/linux/sh/libc.abilist
18605 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18606 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18609 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18610 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18611 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18612 Add GLIBC_2.25.
18613
18614 * include/features.h (__glibc_clang_prereq): New macro.
18615 * misc/sys/cdefs.h (__glibc_clang_has_extension)
18616 (__attribute_deprecated_msg__): New macros.
18617
18618 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18619
18620 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18621 macro.
18622 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18623 * manual/arith.texi (issignaling): Document as ISO from TS
18624 18661-1:2014.
18625 (nextup): Likewise.
18626 (nextupf): Likewise.
18627 (nextupl): Likewise.
18628 (nextdown): Likewise.
18629 (nextdownf): Likewise.
18630 (nextdownl): Likewise.
18631 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18632 macro.
18633 * math/math.h: Define
18634 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18635 <bits/libc-header-start.h> instead of including <features.h>.
18636 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18637 [__USE_GNU].
18638 * math/bits/mathcalls.h (nextdown): Declare if
18639 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18640 (nextup): Likewise.
18641 (__issignaling): Likewise.
18642
18643 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18644
18645 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18646 check, and remove __glibc_likely hint
18647 from FP_INFINITE check.
18648 * s_csinhf.c (__csinhf): Likewise.
18649
18650 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18651 hint from FP_INFINITE check.
18652 * s_csinhl.c (__csinhl): Likewise.
18653
18654 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18655
18656 * math/Makefile (libm-calls): Insert F placeholder into
18657 object names. Move w_lgamma_compat* routines into
18658 (libm-compat-calls): New variable.
18659 (libm-compat-calls-ldouble-yes): New variable.
18660 (calls): Insert F placeholder.
18661 (generated): Redefine using new type-foreach macro call.
18662 (routines): Likewise.
18663
18664 (types): New variable to hold a list of symbolic names
18665 for each type supported by the target machine.
18666 (libm-routines): Redefine using new types variable.
18667 (type-foreach): macro to replace fooF with the
18668 appropriately suffixed foo for each types.
18669
18670 (type-ldouble-suffix): New variable.
18671 (type-ldouble-routines): Likewise.
18672 (type-ldouble-yes): Likewise.
18673 (type-double-suffix): Likewise.
18674 (type-double-routines): Likewise.
18675 (type-float-suffix): Likewise.
18676 (type-float-routines): Likewise.
18677
18678 (dbl-only-routines): Remove.
18679 (long-c-yes): Likewise.
18680 (long-m-routines): Likewise.
18681 (long-m-support): Likewise.
18682 (long-m-yes): Likewise.
18683 (test-longdouble-yes): Likewise.
18684
18685 (test-float.o): Simplify by increasing the scope of the
18686 recipe which adds libm-test.stmp to the vector types.
18687 (test-ifloat.o): Likewise.
18688 (test-float-finite.o): Likewise.
18689 (test-double.o): Likewise
18690 (test-idouble.o): Likewise.
18691 (test-double-finite.o): Likewise.
18692 (test-ldouble.o): Likewise
18693 (test-ildoubl.o): Likewise.
18694 (test-ldouble-finite.o): Likewise.
18695
18696 (libm-tests): Redefine type tests using foreach and the
18697 list of types in types.
18698
18699 (CPPFLAGS-test-ildoubl.c): Rename to
18700 (CPPFLAGS-test-ildouble.c): New variable
18701
18702 * math/test-ildoubl.c: Rename to
18703 * math/test-ildouble.c: New file.
18704
18705 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18706
18707 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18708 Use fabsl instead of fabs.
18709 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18710 Likewise.
18711 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18712 Add long double suffix to constant to ensure proper
18713 promotion to long double.
18714
18715 2016-08-03 Tom Tromey <tom@tromey.com>
18716
18717 [BZ #20311]
18718 * nptl_db/Makefile (headers): Add proc_service.h.
18719 * nptl_db/proc_service.h: Add include guard. Use
18720 __BEGIN/__END_DECLS.
18721 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18722 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18723 arguments.
18724
18725
18726 2016-08-03 Florian Weimer <fweimer@redhat.com>
18727
18728 [BZ #17730]
18729 Avoid using memalign for TCB allocations.
18730 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18731 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18732 Avoid alignment gap in the TLS_DTV_AT_TP case.
18733 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18734 determine the pointer to free.
18735 * nptl/tst-tls3-malloc.c: New test.
18736 * nptl/Makefile (tests): Add it.
18737 (tst-tls3-malloc): Link with libdl, libpthread.
18738 (LDFLAGS-tst-tls3-malloc): Set.
18739 (tst-tls3-malloc.out): Depend on DSO used in test.
18740
18741 2016-08-03 Florian Weimer <fweimer@redhat.com>
18742
18743 [BZ #17730]
18744 Avoid using memalign for TLS allocations.
18745 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18746 is_static member with to_free member.
18747 (union dtv): Use struct dtv_pointer.
18748 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18749 dtv_pointer instead of is_static.
18750 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18751 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18752 instead of val.
18753 (allocate_dtv_entry): New function.
18754 (allocate_and_init): Return struct dtv_pointer. Call
18755 allocate_dtv_entry instead of __libc_memalign.
18756 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18757 instead of val.
18758 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18759 instead of is_static. Adjust call to allocate_and_init.
18760 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18761 struct dtv_pointer instead of val.
18762
18763 2016-08-03 Florian Weimer <fweimer@redhat.com>
18764
18765 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18766 (MALLOC_ALIGN_MASK): Move ...
18767 * malloc/malloc-internal.h: ... to here.
18768 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18769
18770 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18771
18772 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18773 (UDP_ENCAP_GTP1U): Likewise.
18774
18775 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18776 (PF_MAX): Update value.
18777 (AF_QIPCRTR): New macro.
18778
18779 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18780
18781 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18782 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18783 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18785 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18786 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18787 s_truncf-vis3, s_trunc-vis3.
18788 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18789 (CFLAGS-s_ceil-vis3.c): Likewise.
18790 (CFLAGS-s_floorf-vis3.c): Likewise.
18791 (CFLAGS-s_floor-vis3.c): Likewise.
18792 (CFLAGS-s_truncf-vis3.c): Likewise.
18793 (CFLAGS-s_trunc-vis3.c): Likewise.
18794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18802 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18803 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18804 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18805 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18806
18807 2016-08-02 David S. Miller <davem@davemloft.net>
18808
18809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18810 (__nearbyint_vis3): Don't check for sNaN before float register is
18811 loaded with the incoming argument.
18812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18813 (__nearbyintf_vis3): Likewise.
18814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18815 Likewise.
18816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18817 Likewise.
18818
18819 * string/test-strncmp.c (do_test_limit): Make sure the test data
18820 stream is aligned as required for the type "CHAR".
18821 (do_test): Likewise.
18822
18823 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18824
18825 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18826 by beq instructions jumping to the end of the function.
18827 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18828 clobber list. Use "i" constraint instead of "X".
18829 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18830 of "X".
18831
18832 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18833
18834 * bits/libc-header-start.h: New file.
18835 * Makefile (headers): Add bits/libc-header-start.h.
18836 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18837 (__GLIBC_USE): New macro.
18838 * libio/stdio.h: Define
18839 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18840 <bits/libc-header-start.h> instead of including <features.h>.
18841 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18842 (open_memstream): Likewise.
18843 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18844 (__asprintf): Likewise.
18845 (asprintf): Likewise.
18846 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18847 (getdelim): Likewise.
18848 (getline): Likewise.
18849 * string/string.h: Define
18850 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18851 <bits/libc-header-start.h> instead of including <features.h>.
18852 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18853 (strndup): Likewise.
18854 * wcsmbs/wchar.h: Define
18855 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18856 <bits/libc-header-start.h> instead of including <features.h>.
18857 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18858 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18859
18860 2016-08-02 Florian Weimer <fweimer@redhat.com>
18861
18862 Support linking against compatibility symbols, for use in tests.
18863 * include/libc-symbols.h (symbol_version_reference): New macro.
18864 (symbol_version): Use it.
18865 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18866 (compat_symbol): Use compat_symbol_reference.
18867 (compat_symbol_1, compat_symbol_2): Remove.
18868 (compat_symbol_reference, compat_symbol_reference_1)
18869 (compat_symbol_reference_2): New macro. Use
18870 symbol_version_reference.
18871
18872 2016-08-02 Florian Weimer <fweimer@redhat.com>
18873
18874 [BZ #19469]
18875 * malloc/Makefile (CPPFLAGS): Compile tests with
18876 -DTEST_NO_MALLOPT.
18877 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18878
18879 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18880
18881 [BZ #20033]
18882 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18883 finite version.
18884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18886 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18887 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18888 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18890 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18891 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18892 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18893 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18894 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18895 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18896 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18897 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18898 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18899 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18900 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18901 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18902 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18903 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18904 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18905 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18906 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18907 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18908 in zero power.
18909
18910 2016-08-02 Florian Weimer <fweimer@redhat.com>
18911
18912 [BZ #20370]
18913 * malloc/arena.c (get_free_list): Update comment. Assert that
18914 arenas on the free list have no attached threads.
18915 (remove_from_free_list): New function.
18916 (reused_arena): Call it.
18917
18918 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18919
18920 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18921 when it is a NaN.
18922 [_IEEE_FP_INEXACT] Remove.
18923 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18924 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18925 when it is a NaN.
18926 [_IEEE_FP_INEXACT] Remove.
18927 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18928 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18929 when it is a NaN.
18930 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18931 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18932 when its absolute value is greater than 0x1.0p52.
18933 [_IEEE_FP_INEXACT] Remove.
18934 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18935 when its absolute value is greater than 0x1.0p23.
18936 [_IEEE_FP_INEXACT] Remove.
18937
18938 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18939
18940 * version.h (RELEASE): Set to "development"
18941 (VERSION): Set to 2.24.90.
18942 * NEWS: Add 2.25 section.
18943
18944 * version.h (RELEASE): Set to "stable"
18945 (VERSION): Set to 2.24.
18946 * include/features.h (__GLIBC_MINOR__): Set to 24.
18947
18948 * NEWS: Add 2.24 fixed bugs.
18949 * po/libc.pot: Regenerate.
18950
18951 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18952
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18954 [$(subdir) = math] (libm-sysdep_routines): Remove.
18955 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18956 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18957 s_truncf-vis3, s_trunc-vis3.
18958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18960 file.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18996 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18997 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18998 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18999 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19000 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19001 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19002 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19003 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19004
19005 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
19006
19007 [BZ #20384]
19008 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19009 test-double-libmvec-sincos-avx-main.o,
19010 test-double-libmvec-sincos-avx2-main.o,
19011 test-double-libmvec-sincos-main.o,
19012 test-float-libmvec-sincosf-avx-main.o,
19013 test-float-libmvec-sincosf-avx2-main.o and
19014 test-float-libmvec-sincosf-main.o.
19015 test-float-libmvec-sincosf-avx512-main.o.
19016 ($(objpfx)test-double-libmvec-sincos): Also link with
19017 $(objpfx)test-double-libmvec-sincos-main.o.
19018 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19019 $(objpfx)test-double-libmvec-sincos-avx-main.o.
19020 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19021 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19022 ($(objpfx)test-float-libmvec-sincosf): Also link with
19023 $(objpfx)test-float-libmvec-sincosf-main.o.
19024 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19025 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19026 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19027 test-double-libmvec-sincos-avx512-main.o and
19028 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19029 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19030 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19031 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19032 (CFLAGS-test-double-libmvec-sincos.c): Removed.
19033 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19034 (CFLAGS-test-double-libmvec-sincos-main.c): New.
19035 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19036 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19037 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19038 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19039 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19040 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19041 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19042 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19043 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19044 -DREQUIRE_AVX2.
19045 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19046 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19047 -DREQUIRE_AVX512F.
19048 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19049 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19050 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19051 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19052 file.
19053 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19054 Likewise.
19055 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19056 Likewise.
19057 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19058 Likewise.
19059 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19060 Likewise.
19061 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19062 Likewise.
19063 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19064 Likewise.
19065 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19066 Likewise.
19067
19068 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
19069
19070 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19071
19072 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
19073
19074 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19075 and typo in a comment about AT_HWCAP entry.
19076
19077 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19078
19079 * sysdeps/aarch64/libm-test-ulps: Updated.
19080
19081 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19082
19083 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19084 of r13 as it is not restored in mvcle case.
19085
19086 2016-07-19 Mike Frysinger <vapier@gentoo.org>
19087
19088 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19089 Rename "ret" to "__ret".
19090 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19091 inline_syscall5, inline_syscall6): Likewise.
19092
19093 2016-07-19 Will Newton <will.newton@gmail.com>
19094
19095 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19096 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19097 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19098 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19099 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19100
19101 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
19102
19103 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19104 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19105 -mfpmath=387 with $(rtld-CFLAGS).
19106 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19107 $(rtld-CFLAGS).
19108
19109 2016-07-18 Ross Burton <ross.burton@intel.com>
19110 Khem Raj <raj.khem@gmail.com>
19111
19112 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19113 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19114 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19115 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19116 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19117 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19118 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19119 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19120 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19121 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19122 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19123 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19124 R_METAG_TLS_DTPOFF): New.
19125
19126 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
19127 Matt Clay <mclay@lycos.com>
19128
19129 [BZ #20357]
19130 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19131 to call __mpsin/__mpcos and to negate values.
19132 * math/auto-libm-test-in: Add test.
19133 * math/auto-libm-test-out: Regenerate.
19134
19135 2016-07-18 Zack Weinberg <zackw@panix.com>
19136
19137 * grp/Makefile: Don't install the internal header grp-merge.h.
19138
19139 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19140
19141 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19142
19143 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
19144
19145 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19146
19147 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19148
19149 [BZ #15368]
19150 * sysdeps/unix/sysv/linux/nptl-signals.h
19151 (__nptl_clear_internal_signals): New function.
19152 (__libc_signal_block_all): Likewise.
19153 (__libc_signal_block_app): Likewise.
19154 (__libc_signal_restore_set): Likewise.
19155 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19156 implementation.
19157 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19158 the cached pid/tid value in pthread structure.
19159
19160 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
19161
19162 [BZ #20347]
19163 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19164
19165 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19166
19167 [BZ #20348]
19168 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19169 preadv64, pwrite64 and pwritev64.
19170
19171 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 [BZ #20350]
19174 * posix/tst-preadwrite.c: Renamed to ...
19175 * posix/tst-preadwrite-common.c: This.
19176 (PREAD): Removed.
19177 (PWRITE): Likewise.
19178 (STRINGIFY): Likewise.
19179 (STRINGIFY2): Likewise.
19180 (do_prepare): Make it static and remove function arguments.
19181 (do_test): Likewise.
19182 (PREPARE): Updated.
19183 (TEST_FUNCTION): New.
19184 (name): Make it static.
19185 (fd): Likewise.
19186 (do_prepare): Use create_temp_file.
19187 (do_test): Renamed to ...
19188 (do_test_with_offset): This. Make it static and accept offset.
19189 Properly check return value of PWRITE and PREAD. Return bytes
19190 read. Don't close fd nor unlink name.
19191 * posix/tst-preadwrite.c: Rewrite.
19192 * posix/tst-preadwrite64.c: Likewise.
19193
19194 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
19195
19196 [BZ #20309]
19197 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19198 -mtls-dialect=gnu2 works.
19199 * configure: Regenerated.
19200 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19201 (tests): Add tst-gnu2-tls1.
19202 (modules-names): Add tst-gnu2-tls1mod.
19203 ($(objpfx)tst-gnu2-tls1): New.
19204 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19205 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19206 * elf/tst-gnu2-tls1.c: New file.
19207 * elf/tst-gnu2-tls1mod.c: Likewise.
19208 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19209 bytes for push in the PLT entry to align the stack.
19210
19211 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
19212
19213 [BZ #20349]
19214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19215
19216 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
19217
19218 [BZ #18707]
19219 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19220 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19221
19222 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19223
19224 * sysdeps/unix/sysv/linux/sysdep.h
19225 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19226 guards.
19227 * misc/tst-preadvwritev-common.c: New file.
19228 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19229 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19230 a check for files larger than 2GB.
19231
19232 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19233 (__ASSUME_OFF_DIFF_OFF64): Remove define.
19234 * sysdeps/unix/sysv/linux/pread.c
19235 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19236 __OFF_T_MATCHES_OFF64_T.
19237 * sysdeps/unix/sysv/linux/pread64.c
19238 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19239 * sysdeps/unix/sysv/linux/preadv.c
19240 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19241 * sysdeps/unix/sysv/linux/preadv64.c
19242 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19243 * sysdeps/unix/sysv/linux/pwrite.c
19244 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19245 * sysdeps/unix/sysv/linux/pwrite64.c
19246 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19247 * sysdeps/unix/sysv/linux/pwritev.c
19248 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19249 * sysdeps/unix/sysv/linux/pwritev64.c
19250 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19251
19252 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
19253
19254 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19255 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19256
19257 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19258
19259 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19260
19261 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
19262
19263 [BZ #20240]
19264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19265 (CFLAGS-s_modf-ppc32.c): New variable.
19266 (CFLAGS-s_modff-ppc32.c): Likewise.
19267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19268 (CFLAGS-s_modf-ppc64.c): Likewise.
19269 (CFLAGS-s_modff-ppc64.c): Likewise.
19270
19271 2016-07-07 Andreas Schwab <schwab@suse.de>
19272
19273 [BZ #20263]
19274 * nptl/tst-robust10.c: New test.
19275 * nptl/Makefile (tests): Add tst-robust10.
19276
19277 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
19278
19279 [BZ #20263]
19280 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19281
19282 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
19283
19284 * sysdeps/s390/linkmap.h (struct link_map_machine):
19285 Remove member gotplt and add member jmprel.
19286 * sysdeps/s390/s390-32/dl-machine.h
19287 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19288 instead of gotplt with &got[3].
19289 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19290 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19291
19292 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
19293
19294 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19295
19296 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19297
19298 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19299 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19300 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19301 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19302 * libio/vtables.c (_IO_vtable_check)
19303 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19304 * libio/libioP.h (IO_set_accept_foreign_vtables)
19305 [!PTR_MANGLE]: Do not call PTR_MANGLE.
19306
19307 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
19308
19309 [BZ #20314]
19310 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19311 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19312 $(common-objpfx)cmath.
19313 ($(common-objpfx)cstdlib): New target.
19314 ($(common-objpfx)cmath): Likewise.
19315
19316 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
19317
19318 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19319
19320 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19321
19322 [BZ #20327]
19323 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19324 are not part of the string.
19325
19326 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19327
19328 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19329 * nptl/tst-cancel4-common.h (fifoname): New variable.
19330 (fifofd): Likewise.
19331 (cl_fifo): New function.
19332 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19333 SIGINT.
19334 (tf_open): Add early cancel test.
19335
19336 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
19337
19338 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19339
19340 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
19341
19342 * sysdeps/generic/ldsodefs.h
19343 (dl_symbol_visibility_binds_local_p): New inline function.
19344 * elf/dl-addr.c (determine_info): Treat hidden and internal
19345 symbols as local.
19346 * elf/dl-lookup.c (do_lookup_x): Likewise.
19347 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19348
19349 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
19350
19351 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19352 invalid exception for a sNaN input.
19353 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19354 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19355 (__nearbyint_vis3): Likewise
19356 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19357 (__nearbyintf_vis3): Likewise
19358 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19359 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19360 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19361 Likewise.
19362 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19363 Likewise.
19364
19365 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
19366
19367 [BZ #20139]
19368 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19369 (HAVE_AVX512DQ_ASM_SUPPORT): This.
19370 * sysdeps/x86_64/configure.ac: Require assembler from binutils
19371 2.24 or above.
19372 (HAVE_AVX512_ASM_SUPPORT): Removed.
19373 (HAVE_AVX512DQ_ASM_SUPPORT): New.
19374 * sysdeps/x86_64/configure: Regenerated.
19375 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19376 check unconditional.
19377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19378 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19379 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19380 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19381 Likewise.
19382 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19383 Likewise.
19384 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19385 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19386 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19387 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19388 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19389 Likewise.
19390 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19391 Likewise.
19392 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19393 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19394 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19395 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19396 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19397 Likewise.
19398 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19399 Likewise.
19400 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19401 Likewise.
19402 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19403 Likewise.
19404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19405 Likewise.
19406 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19407 Likewise.
19408 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19409 Likewise.
19410 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19411 Likewise.
19412 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19413 Likewise.
19414 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19415 Likewise.
19416 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19417 Likewise.
19418
19419 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
19420
19421 [BZ #20024]
19422 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19424 of this implementation of vector function.
19425 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19426 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19427 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19428 Likewise.
19429 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19430 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19431 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19432 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19433 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19434 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19435 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19436 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19437 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19438 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19439 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19440 for testing vector sincos with fixed ABI.
19441 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19442 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19443 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19444 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19445 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19446 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19447 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19448 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19449 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19450 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19451 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19452 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19453 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19454 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19455 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19456 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19457
19458 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19459
19460 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19461
19462 2016-06-30 Anton Blanchard <anton@samba.org>
19463
19464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19465 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19466 s_sinf-ppc64.
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19470 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19471
19472 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19473
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19476 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19477 e_expf-ppc64.
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19480 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19481 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19482
19483 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
19484
19485 [BZ #20277]
19486 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19487 when SHARED is defined.
19488
19489 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
19490
19491 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19492 (index_arch_Prefer_ERMS): Likewise.
19493 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19494 __memcpy_erms for Prefer_ERMS.
19495 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19496 (__memmove_erms): Enabled for libc.a.
19497 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19498 __memmove_erms or Prefer_ERMS.
19499 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19500 __mempcpy_erms for Prefer_ERMS.
19501 * sysdeps/x86_64/multiarch/memset.S (memset): Return
19502 __memset_erms for Prefer_ERMS.
19503
19504 2016-06-30 Andreas Schwab <schwab@suse.de>
19505
19506 [BZ #20262]
19507 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19508 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
19509 of memory.
19510
19511 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
19512
19513 [BZ #18645]
19514 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19515 (test-extras): Add tst-cleanupx4aux.
19516 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
19517 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19518 tst-cleanupx4aux.o.
19519 * nptl/tst-cleanupx4aux.c: New file.
19520
19521 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
19522
19523 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19524
19525 2016-06-29 Andreas Schwab <schwab@suse.de>
19526
19527 [BZ #20260]
19528 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19529 address before the beginning of the string as an integer to avoid
19530 array-bounds warning.
19531
19532 2016-06-28 Richard Henderson <rth@redhat.com>
19533
19534 * elf/elf.h (EM_BPF): New.
19535 (EM_NUM): Update.
19536 (R_BPF_NONE, R_BPF_MAP_FD): New.
19537
19538 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19539 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19540 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19541 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19542 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19543 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19544 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19545 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19546 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19547 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19548 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19549 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19550 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19551 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19552 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19553 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19554 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19555 (EM_NUM): Update.
19556
19557 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
19558
19559 [BZ #18960]
19560 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19561 Set _nl_current_LC_CATEGORY_used to two instead of one.
19562
19563 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
19564
19565 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19566 (do_test): ... this.
19567 (TEST_FUNCTION): New macro.
19568 Include test-skeleton.c.
19569 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19570 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19571
19572 2016-06-27 Joseph Myers <joseph@codesourcery.com>
19573
19574 [BZ #15479]
19575 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19576 floating-point environment rather than just control word.
19577 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19578 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19579 floating-point environment, with "invalid" exceptions merged in,
19580 rather than just control word.
19581 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19582 * math/libm-test.inc (trunc_test_data): Do not allow spurious
19583 "inexact" exceptions.
19584
19585 [BZ #15479]
19586 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19587 floating-point environment rather than just control word.
19588 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19589 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19590 floating-point environment, with "invalid" exceptions merged in,
19591 rather than just control word.
19592 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19593 * math/libm-test.inc (floor_test_data): Do not allow spurious
19594 "inexact" exceptions.
19595
19596 [BZ #15479]
19597 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19598 floating-point environment rather than just control word.
19599 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19600 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19601 floating-point environment, with "invalid" exceptions merged in,
19602 rather than just control word.
19603 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19604 * math/libm-test.inc (ceil_test_data): Do not allow spurious
19605 "inexact" exceptions.
19606
19607 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
19608
19609 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19610 __libc_vfork.
19611 (__vfork) [IS_IN (libc)]: Remove alias.
19612 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19613 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19614 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19615
19616 2016-06-24 Torvald Riegel <triegel@redhat.com>
19617
19618 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19619 of atomic_compare_and_exchange_bool_rel.
19620 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19621 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19622 catomic_compare_and_exchange_bool_rel): Remove.
19623 * sysdeps/aarch64/atomic-machine.h
19624 (atomic_compare_and_exchange_bool_rel): Likewise.
19625 * sysdeps/alpha/atomic-machine.h
19626 (atomic_compare_and_exchange_bool_rel): Likewise.
19627 * sysdeps/arm/atomic-machine.h
19628 (atomic_compare_and_exchange_bool_rel): Likewise.
19629 * sysdeps/mips/atomic-machine.h
19630 (atomic_compare_and_exchange_bool_rel): Likewise.
19631 * sysdeps/microblaze/atomic-machine.h
19632 ( __arch_compare_and_exchange_bool_8_rel,
19633 __arch_compare_and_exchange_bool_16_rel): Likewise.
19634 * sysdeps/powerpc/atomic-machine.h
19635 ( __arch_compare_and_exchange_bool_8_rel,
19636 __arch_compare_and_exchange_bool_16_rel): Likewise.
19637 * sysdeps/powerpc/powerpc32/atomic-machine.h
19638 ( __arch_compare_and_exchange_bool_32_rel,
19639 __arch_compare_and_exchange_bool_64_rel): Likewise.
19640 * sysdeps/powerpc/powerpc64/atomic-machine.h
19641 ( __arch_compare_and_exchange_bool_32_rel,
19642 __arch_compare_and_exchange_bool_64_rel): Likewise.
19643 * sysdeps/tile/atomic-machine.h
19644 (atomic_compare_and_exchange_bool_rel): Likewise.
19645
19646 2016-06-23 Joseph Myers <joseph@codesourcery.com>
19647
19648 [BZ #20296]
19649 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19650 when either argument is a NaN.
19651 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19652 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19653
19654 * math/libm-test.inc (snan_value_ld): New macro.
19655 (isgreater_test_data): Add sNaN tests.
19656 (isgreaterequal_test_data): Likewise.
19657 (isless_test_data): Likewise.
19658 (islessequal_test_data): Likewise.
19659 (islessgreater_test_data): Likewise.
19660 (isunordered_test_data): Likewise.
19661 (nextafter_test_data): Likewise.
19662 (nexttoward_test_data): Likewise.
19663 (remainder_test_data): Likewise.
19664 (remquo_test_data): Likewise.
19665 (significand_test_data): Likewise.
19666 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19667
19668 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
19669
19670 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19671 environment macros are defined.
19672 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19673
19674 2016-06-23 Florian Weimer <fweimer@redhat.com>
19675
19676 [BZ #20191]
19677 Implement vtable verification in libio.
19678 * Makerules (shlib.lds): Place __libc_IO_vtables section.
19679 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19680 * debug/vdprintf_chk.c (__vdprintf_chk): Call
19681 _IO_new_file_init_internal instead of _IO_file_init.
19682 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19683 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19684 * libio/Makefile (routines): Add vtables.
19685 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19686 (_IO_init): Remove, not for internal use.
19687 (_IO_init_internal): Declare, internal replacement for _IO_init.
19688 (_IO_file_init): Remove, not for internal use.
19689 (_IO_new_file_init): Remove, not for internal use.
19690 (_IO_new_file_init_internal): Declare, internal replacement for
19691 _IO_new_file_init.
19692 (_IO_old_file_init): Remove, not for internal use.
19693 (_IO_old_file_init_internal): Declare, internal replacement for
19694 _IO_old_file_init.
19695 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19696 internal use.
19697 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19698 Declare.
19699 (libio_vtable): New macro.
19700 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19701 functions.
19702 * libio/fileops.c (_IO_new_file_init_internal): Rename from
19703 _IO_new_file_init.
19704 (_IO_new_file_init): New externally visible wrapper which disables
19705 vtable verification.
19706 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19707 Define as vtables.
19708 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19709 (_IO_init): New externally visible wrapper which disables
19710 vtable verification.
19711 * libio/iofdopen.c (_IO_new_fdopen): Call
19712 _IO_new_file_init_internal instead of _IO_file_init. Adjust
19713 comment.
19714 * libio/iofopen.c (__fopen_internal): Call
19715 _IO_new_file_init_internal instead of _IO_file_init.
19716 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19717 Define as vtables.
19718 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19719 _IO_new_file_init_internal instead of _IO_file_init.
19720 * libio/iopopen.c (_IO_new_popen): Likewise.
19721 (_IO_proc_jumps): Define as vtable.
19722 * libio/iovdprintf.c (_IO_vdprintf): Call
19723 _IO_new_file_init_internal instead of _IO_file_init.
19724 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19725 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19726 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19727 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19728 _IO_old_file_init.
19729 (_IO_old_file_init): New externally visible wrapper which disables
19730 vtable verification.
19731 (_IO_old_file_jumps): Define as vtable.
19732 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19733 _IO_old_file_init_internal instead of _IO_old_file_init.
19734 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19735 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19736 (_IO_old_proc_jumps): Define as vtable.
19737 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19738 Define as vtables.
19739 * libio/vtables.c: New file.
19740 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19741 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19742 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19743 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19744 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19745 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19746 instead of _IO_init.
19747
19748 2016-06-23 Florian Weimer <fweimer@redhat.com>
19749
19750 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19751
19752 2016-06-23 Florian Weimer <fweimer@redhat.com>
19753
19754 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19755 potentially unused.
19756
19757 2016-06-22 Florian Weimer <fweimer@redhat.com>
19758
19759 * test-skeleton.c (write_message): New function.
19760 * malloc/tst-mallocfork2.c (write_message): Remove.
19761 * debug/tst-longjmp_chk2.c (write_indented): New function.
19762 (write_message): Remove.
19763 (stackoverflow_handler): Call write_indented.
19764
19765 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19766
19767 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19768 "inexact" exceptions after fnstenv.
19769 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19770 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19771 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19772
19773 2015-06-22 Zack Weinberg <zackw@panix.com>
19774
19775 * sysdeps/generic/bits/hwcap.h: Moved to ...
19776 * bits/hwcap.h: Here.
19777
19778 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19779
19780 * sysdeps/aarch64/memcpy.S (memcpy):
19781 Further tuning for performance.
19782
19783 2016-06-21 Florian Weimer <fweimer@redhat.com>
19784
19785 [BZ #20284]
19786 * malloc/arena.c (reused_arena): Do not return NULL if we start
19787 out with a non-corrupted arena.
19788
19789 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19790
19791 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19792 * misc/tst-preadvwritev.c: New file.
19793 * misc/tst-preadvwritev64.c: Likewise.
19794 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19795 usage.
19796 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19797 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19798 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19799 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19800
19801 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19802
19803 [BZ #19654]
19804 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19805 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19806 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19807 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19808 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19809 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19810 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19811 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19812 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19813 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19814 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19815 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19816 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19817 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19818 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19819 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19820 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19821 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19822 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19823 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19824 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19825 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19826 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19827 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19828 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19829 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19830
19831 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19832
19833 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19834 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19835
19836 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19837
19838 * sysdeps/aarch64/memcpy.S (memcpy):
19839 Rewrite of optimized memcpy and memmove.
19840 * sysdeps/aarch64/memmove.S (memmove): Remove
19841 memmove code (merged into memcpy.S).
19842
19843 2016-06-20 Florian Weimer <fweimer@redhat.com>
19844
19845 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19846 * sysdeps/generic/dl-dtv.h: New file.
19847 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19848 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19849 (dtv_t): Remove.
19850 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19851 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19852 (dtv_t): Remove.
19853 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19854 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19855 (dtv_t): Remove.
19856 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19857 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19858 (dtv_t): Remove.
19859 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19860 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19861 (dtv_t): Remove.
19862 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19863 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19864 (dtv_t): Remove.
19865 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19866 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19867 (dtv_t): Remove.
19868 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19869 (dtv_t): Remove.
19870 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19871 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19872 (dtv_t): Remove.
19873 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19874 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19875 (dtv_t): Remove.
19876 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19877 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19878 (dtv_t): Remove.
19879 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19880 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19881 (dtv_t): Remove.
19882 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19883 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19884 (dtv_t): Remove.
19885 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19886 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19887 (dtv_t): Remove.
19888 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19889 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19890 (dtv_t): Remove.
19891 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19892 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19893 (dtv_t): Remove.
19894
19895 2016-06-20 Florian Weimer <fweimer@redhat.com>
19896
19897 Revert symbol poisoning of __malloc_initialize_hook.
19898 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19899 poisoning.
19900 * malloc/Makefile: Remove un-poisoning.
19901 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19902 instead of old__malloc_initialize_hook.
19903 * malloc/malloc-hooks.h: Likewise.
19904 * malloc/malloc.c: Likewise.
19905 * malloc/mcheck-init.c: Likewise.
19906
19907 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19908
19909 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19910
19911 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19912
19913 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19914 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19915 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19916 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19917
19918 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19919
19920 * NEWS: Mention addition of nextup and nextdown.
19921 * manual/arith.texi: Document nextup and nextdown.
19922 * manual/libm-err-tab.pl: Add nextup and nextdown.
19923 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19924 * math/Versions (libm): Add GLIBC_2.24.
19925 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19926 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19927 Add new test.
19928 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19929 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19930 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19931 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19932 (nextup_test_data): Likewise.
19933 (nextdown_test_data): Likewise.
19934 * math/s_nextdown.c: New file.
19935 * math/s_nextdownf.c: Likewise.
19936 * math/s_nextdownl.c: Likewise.
19937 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19938 F(nextup): New function.
19939 F(nextdown): Likewise.
19940 * math/tgmath.h: Add nextup and nextdown.
19941 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19942 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19943 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19944 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19945 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19946 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19947 Add nextup and nextdown.
19948 (CFLAGS-nldbl-nextup.c): New variable.
19949 (CFLAGS-nldbl-nextdown.c): Likewise.
19950 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19951 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19952 * sysdeps/nacl/libm.abilist: Update.
19953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19954 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19955 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19956 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19957 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19958 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19959 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19960 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19961 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19962 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19963 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19964 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19967 Likewise.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19973 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19974 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19977 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19980 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19981
19982 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19983
19984 * manual/pattern.texi: Fix typos & grammar errors.
19985
19986 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19987
19988 * manual/search.texi: Fix typos & grammar errors.
19989
19990 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19991
19992 * manual/message.texi: Fix typos & grammar errors.
19993
19994 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19995
19996 * manual/contrib.texi: Fix spelling typos.
19997 * manual/crypt.texi: Likewise.
19998 * manual/filesys.texi: Likewise.
19999 * manual/locale.texi: Likewise.
20000 * manual/message.texi: Likewise.
20001 * manual/nss.texi: Likewise.
20002 * manual/string.texi: Likewise.
20003
20004 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20005
20006 * manual/locale.texi: Fix typos & grammar errors.
20007
20008 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20009
20010 * manual/charset.texi: Fix typos & grammar errors.
20011
20012 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20013
20014 * manual/string.texi: Fix typos.
20015
20016 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20017
20018 * manual/ctype.texi: Fix typos.
20019
20020 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
20021
20022 * manual/memory.texi: Fix various typos & grammar errors.
20023
20024 2016-06-14 Joseph Myers <joseph@codesourcery.com>
20025
20026 [BZ #20255]
20027 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
20028 * math/libm-test.inc (fdim_test_data): Add another test.
20029
20030 [BZ #6796]
20031 [BZ #20255]
20032 [BZ #20256]
20033 * math/s_fdim.c: Include <math_private.h>.
20034 (__fdim): Use math_narrow_eval on result.
20035 * math/s_fdimf.c: Include <math_private.h>.
20036 (__fdimf): Use math_narrow_eval on result.
20037 * sysdeps/i386/fpu/s_fdim.S: Remove file.
20038 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20039 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20040 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20041 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20042 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20043 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20044 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20045 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20046 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20047 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20048 * math/libm-test.inc (fdim_test_data): Expect errno setting on
20049 overflow. Add sNaN tests.
20050
20051 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20052 fpclassify.
20053 * math/s_fdimf.c (__fdimf): Likewise.
20054 * math/s_fdiml.c (__fdiml): Likewise.
20055
20056 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20057
20058 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20059 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20061 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20062 ifunc'ed strcasecmp/strncasecmp.
20063 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20064 [EALIGN]: Removed.
20065 [END]: Likewise.
20066 [__strcasecmp]: Define instead of the above to control symbol name.
20067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20068 for __strcasecmp_power8.
20069 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20070 for __strncasecmp_power8.
20071 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20072 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20073 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20074 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20075 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20076 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20077
20078 2016-06-13 Joseph Myers <joseph@codesourcery.com>
20079
20080 [BZ #20252]
20081 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20082 arguments when second argument is a NaN.
20083 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20084 qNaN tests.
20085
20086 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20087 (conj_test_data): Likewise.
20088 (copysign_test_data): Likewise.
20089 (creal_test_data): Likewise.
20090 (fma_test_data): Likewise.
20091 (fmod_test_data): Likewise.
20092
20093 [BZ #20250]
20094 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20095 itself.
20096 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20097 zero input to itself.
20098 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20099 Likewise.
20100 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20101 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20103 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20104 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20105
20106 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20107
20108 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20109 * nptl/tst-cancel4-common.c: New file.
20110 * nptl/tst-cancel4-common.h: Likewise.
20111 * nptl/tst-cancel4.c: Move common definitions to
20112 tst-cancel4-common.{c,h} file.
20113 * nptl/tst-cancel4_1.c: New test.
20114 * nptl/tst-cancel4_2.c: New test.
20115
20116 2016-06-13 Florian Weimer <fweimer@redhat.com>
20117
20118 [BZ #20248]
20119 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20120 (write_message): New function.
20121 (stackoverflow_handler): Call it instead of printf, to avoid
20122 excessive stack usage by printf.
20123 (do_test): Restore SIGSEGV, SIGBUS default handlers.
20124
20125 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20126
20127 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20128 (prio_inherit_missing): Remove define.
20129 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20130 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20132 Likewise.
20133 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20134 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20135 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20136 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20137 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20138 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20139
20140 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20141
20142 [BZ #19670]
20143 [BZ #19672]
20144
20145 * io/test-lfs.c (do_prepare): Use xmalloc.
20146 * io/tst-fcntl.c (do_prepare): Likewise.
20147 * libio/tst-fopenloc.c (do_bz17916): Likewise.
20148 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20149 * login/tst-utmp.c (do_prepare): Likewise.
20150 * posix/tst-exec.c (do_prepare): Likewise.
20151 * posix/tst-pathconf.c (prepare): Likewise.
20152 * posix/tst-spawn.c (do_prepare): Likewise.
20153 * posix/tst-truncate.c (do_prepare): Likewise.
20154 * rt/tst-aio.c (do_prepare): Likewise.
20155 * rt/tst-aio64.c (do_prepare): Likewise.
20156
20157 2016-06-11 Florian Weimer <fweimer@redhat.com>
20158
20159 [BZ #20237]
20160 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20161 (get*ent): Set entidx to NULL during initialization. If entidx is
20162 NULL, start iteration from the beginning.
20163
20164 2016-06-11 Florian Weimer <fweimer@redhat.com>
20165
20166 * malloc/malloc.c (musable): Return correct size for dumped fake
20167 mmapped chunk.
20168
20169 2016-06-11 Florian Weimer <fweimer@redhat.com>
20170
20171 [BZ #20222]
20172 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20173 (_IO_cookie_write): Likewise.
20174 (_IO_cookie_seek): Likewise.
20175 (_IO_cookie_close): Likewise.
20176 (_IO_old_cookie_seek): Likewise.
20177 (set_callbacks): New function.
20178 (_IO_cookie_init): Call set_callbacks to copy callbacks.
20179
20180 2016-06-11 Marko Myllynen <myllynen@redhat.com>
20181
20182 * locale/programs/localedef.c (oldstyle_tables): Remove.
20183 * locale/programs/localedef.h (oldstyle_tables): Likewise.
20184
20185 2016-06-10 Joseph Myers <joseph@codesourcery.com>
20186
20187 [BZ #20240]
20188 * math/Makefile (CFLAGS-s_modf.c): New variable.
20189 (CFLAGS-s_modff.c): Likewise.
20190 (CFLAGS-s_modfl.c): Likewise.
20191 * math/libm-test.inc (modf_test_data): Add sNaN tests.
20192
20193 2016-06-09 Carlos O'Donell <carlos@redhat.com>
20194
20195 [BZ #20215]
20196 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20197 [!__GNUC_PREREQ (3,2)]: Likewise.
20198
20199 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
20200
20201 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20202 (msghdr.msg_controllen): Likewise.
20203 (cmsghdr.cmsg_len): Likewise.
20204 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20205 ptw-oldsendmsg.
20206 (CFLAGS-oldrecvmsg.c): Remove rule.
20207 (CFLAGS-oldsendmsg.c): Likewise.
20208 (CFLAGS-recvmsg.c): Add rule.
20209 (CFLAGS-sendmsg.c): Likewise.
20210 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20211 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20212 (CFLAGS-recvmsg.c): Remove rule.
20213 (CFLAGS-sendmsg.c): Likewise.
20214 (CFLAGS-oldrecvmsg.c): Likewise.
20215 (CFLAGS-oldsendmsg.c): Likewise.
20216 (CFLAGS-recvmmsg.c): Likewise.
20217 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20218 to kernel defined interfaces.
20219 (msghdr.msg_controllen): Likewise.
20220 (cmsghdr.cmsg_len): Likewise.
20221 (msghdr.__glibc_reserved1): Remove member.
20222 (msghdr.__glibc_reserved2): Likewise.
20223 (cmsghdr.__glibc_reserved1): Likewise.
20224 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20225 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20226 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20227 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20228 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20229 version.
20230 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20231 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20232 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20233 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20234 Remove recvmsg and sendmsg.
20235 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20236 Likewise.
20237 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20238 Likewise.
20239 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20240 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20241 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20242 Likewise.
20243 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20244 Likewise.
20245 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20246 [libc] (GLIBC_2.24): Likewise.
20247 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20248 Likewise.
20249 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20250 Likewise.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20252 [libc] (GLIBC_2.24): Likewise.
20253 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20254 Likewise.
20255 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20256 Likewise.
20257 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20258 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20259 Likewise.
20260 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20261 Likewise.
20262 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20263 Likewise.
20264 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20265 Likewise.
20266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20267 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20268 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20269 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20270 version for {recv,send,recm,sendm}msg.
20271 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20272 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20273 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20274 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20275 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20276 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20277 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20278 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20279 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20280 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20281 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20282 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20284 Likewise.
20285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20286 Likewise.
20287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20289 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20290 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20291 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20292 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20293 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20294 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20297 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20298 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20299 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20300
20301 2016-06-10 Florian Weimer <fweimer@redhat.com>
20302
20303 [BZ #19564]
20304 Remove __malloc_initialize_hook from the API.
20305 * malloc/malloc.h (__malloc_initialize_hook): Remove.
20306 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20307 #pragma GCC poison.
20308 * malloc/malloc-hooks.h: New file.
20309 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20310 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20311 (old__malloc_initialize_hook): Rename from
20312 __malloc_initialize_hook to evade poisoning. Turn into compat
20313 symbol.
20314 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20315 __malloc_initialize_hook.
20316 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20317 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20318 * manual/memory.texi (Hooks for Malloc): Remove
20319 __malloc_initialize_hook. Adjust hook example.
20320
20321 2016-06-09 Joseph Myers <joseph@codesourcery.com>
20322
20323 [BZ #20235]
20324 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20325 itself.
20326 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20327 * math/libm-test.inc (log2_test_data): Add sNaN tests.
20328
20329 [BZ #20234]
20330 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20331 infinity or NaN input to itself.
20332
20333 [BZ #20233]
20334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20335 to itself.
20336
20337 [BZ #20232]
20338 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20339 itself.
20340
20341 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20342
20343 * sysdeps/x86_64/start.S (_start): Always indirect branch to
20344 __libc_start_main via GOT.
20345
20346 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
20347
20348 * sysdeps/x86_64/memcopy.h: New file.
20349 * sysdeps/x86_64/wordcopy.c: Likewise.
20350
20351 2016-06-09 Florian Weimer <fweimer@redhat.com>
20352
20353 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20354 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20355 <cstdlib>.
20356 (optimization_barrier): New.
20357 (do_test): Use it. Call quick_exit in the global namespace.
20358 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20359 instead of <cstdlib>, <thread>.
20360 (optimization_barrier): New.
20361 (non_main_thread): Adjust declaration. Call optimization_barrier.
20362 Call quick_exit in the global namespace.
20363 (do_test): Call optimization_barrier. Use pthread_create,
20364 pthread_join instead of std::thread.
20365
20366 2016-06-09 Andreas Schwab <schwab@suse.de>
20367
20368 [BZ #19755]
20369 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20370 new entries in auto-propagate mode.
20371 * nscd/grpcache.c (cache_addgr): Likewise.
20372
20373 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20374
20375 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20376 New functions.
20377 (add_temp_file): Use them.
20378
20379 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
20380
20381 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20382
20383 2016-06-08 Joseph Myers <joseph@codesourcery.com>
20384
20385 [BZ #20229]
20386 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20387 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20388 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20389
20390 [BZ #20228]
20391 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20392 itself.
20393 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20394 * math/libm-test.inc (log10_test_data): Add sNaN tests.
20395
20396 [BZ #20227]
20397 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20398 itself.
20399 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20400 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20401 * math/libm-test.inc (log_test_data): Add sNaN tests.
20402
20403 [BZ #20226]
20404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20405 itself.
20406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20407 * math/libm-test.inc (exp_test_data): Add sNaN tests.
20408 (exp10_test_data): Likewise.
20409 (expm1_test_data): Likewise.
20410
20411 [BZ #20225]
20412 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20413 itself.
20414 * math/s_ldexpf.c (__ldexpf): Likewise.
20415 * math/s_ldexpl.c (__ldexpl): Likewise.
20416 * math/w_scalbln.c (__w_scalbln): Likewise.
20417 * math/w_scalblnf.c (__w_scalblnf): Likewise.
20418 * math/w_scalblnl.c (__w_scalblnl): Likewise.
20419 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20420 (scalbln_test_data): Likewise.
20421
20422 [BZ #20224]
20423 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20424 argument to itself.
20425 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20426
20427 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20428
20429 [BZ #19776]
20430 * sysdeps/x86_64/memcpy.S: Make it dummy.
20431 * sysdeps/x86_64/mempcpy.S: Likewise.
20432 * sysdeps/x86_64/memmove.S: New file.
20433 * sysdeps/x86_64/memmove_chk.S: Likewise.
20434 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20435 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20436 * sysdeps/x86_64/memmove.c: Removed.
20437 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20438 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20439 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20440 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20441 Likewise.
20442 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20443 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20445 memcpy-sse2-unaligned, memmove-avx-unaligned,
20446 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20448 (__libc_ifunc_impl_list): Replace
20449 __memmove_chk_avx512_unaligned_2 with
20450 __memmove_chk_avx512_unaligned. Remove
20451 __memmove_chk_avx_unaligned_2. Replace
20452 __memmove_chk_sse2_unaligned_2 with
20453 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
20454 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
20455 with __memmove_avx512_unaligned. Replace
20456 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20457 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
20458 with __memcpy_chk_avx512_unaligned. Remove
20459 __memcpy_chk_avx_unaligned_2. Replace
20460 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20461 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
20462 Replace __memcpy_avx512_unaligned_2 with
20463 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
20464 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
20465 with __mempcpy_chk_avx512_unaligned. Remove
20466 __mempcpy_chk_avx_unaligned_2. Replace
20467 __mempcpy_chk_sse2_unaligned_2 with
20468 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
20469 Replace __mempcpy_avx512_unaligned_2 with
20470 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
20471 Replace __mempcpy_sse2_unaligned_2 with
20472 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
20473 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20474 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20475 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20476 if processor has ERMS. Default to __memcpy_sse2_unaligned.
20477 (ENTRY): Removed.
20478 (END): Likewise.
20479 (ENTRY_CHK): Likewise.
20480 (libc_hidden_builtin_def): Likewise.
20481 Don't include ../memcpy.S.
20482 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20483 __memcpy_chk_avx512_unaligned_erms and
20484 __memcpy_chk_avx512_unaligned. Use
20485 __memcpy_chk_avx_unaligned_erms and
20486 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20487 Default to __memcpy_chk_sse2_unaligned.
20488 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20489 Change function suffix from unaligned_2 to unaligned.
20490 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20491 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20492 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20493 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
20494 (ENTRY): Removed.
20495 (END): Likewise.
20496 (ENTRY_CHK): Likewise.
20497 (libc_hidden_builtin_def): Likewise.
20498 Don't include ../mempcpy.S.
20499 (mempcpy): New. Add a weak alias.
20500 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20501 __mempcpy_chk_avx512_unaligned_erms and
20502 __mempcpy_chk_avx512_unaligned. Use
20503 __mempcpy_chk_avx_unaligned_erms and
20504 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20505 Default to __mempcpy_chk_sse2_unaligned.
20506
20507 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
20508
20509 [BZ #19881]
20510 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20511 into ...
20512 * sysdeps/x86_64/memset.S: This.
20513 (__bzero): Removed.
20514 (__memset_tail): Likewise.
20515 (__memset_chk): Likewise.
20516 (memset): Likewise.
20517 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20518 defined.
20519 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20520 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20521 (__memset_zero_constant_len_parameter): Check SHARED instead of
20522 PIC.
20523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20524 memset-avx2 and memset-sse2-unaligned-erms.
20525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20526 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20527 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20528 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20529 (__bzero): Enabled.
20530 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20531 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20532 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
20533 or __memset_avx2_unaligned_erms if processor has ERMS. Support
20534 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20535 (memset): Removed.
20536 (__memset_chk): Likewise.
20537 (MEMSET_SYMBOL): New.
20538 (libc_hidden_builtin_def): Replace __memset_sse2 with
20539 __memset_sse2_unaligned.
20540 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20541 __memset_chk_sse2 and __memset_chk_avx2 with
20542 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20543 Use __memset_chk_sse2_unaligned_erms or
20544 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
20545 __memset_chk_avx512_unaligned_erms and
20546 __memset_chk_avx512_unaligned.
20547
20548 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20549
20550 * math/gen-auto-libm-test.c (fp_format_desc): remove
20551 suffix member.
20552 (output_generic_value): Remove usage of suffix member,
20553 and the resulting unuse of the fp_format argument.
20554 (output_for_one_input_case): Remove unused fp_format
20555 parameter.
20556
20557 * math/auto-libm-test-out: Regenerate.
20558
20559 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20560 usage with TEST_COND_ibm128.
20561 (TEST_COND_flt_32): Remove.
20562 (TEST_COND_dbl_64): Remove.
20563 (TEST_COND_ldbl_96_intel): Remove.
20564 (TEST_COND_ldbl_96_m68k): Remove.
20565 (TEST_COND_ldbl_128): Remove.
20566
20567 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20568
20569 * auto-libm-test-in:
20570 Replace flt-32 usage with binary32.
20571 Replace dbl-64 usage with binary64.
20572 Replace ldbl-intel-96 usage with intel96.
20573 Replace ldbl-m68k-96 usage with m68k96.
20574 Replace ldbl-128ibm usage with ibm128.
20575 Replace ldbl-128 usage with binary128.
20576
20577 * auto-libm-test-out: Regenerate.
20578
20579 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20580
20581 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20582 (parse_ulps): Dynamically generate type name matching
20583 string from all_floats.
20584 (get_ulps): Generate the ulps as an array instead.
20585 (output_ulps): Dynamically compose the type based
20586 on the number of supported formats, and print
20587 the indices as type specific helper macros.
20588
20589 * math/libm-test.inc: Remove comment about CHOOSE.
20590 (ulp_data): Generate the type in libm-test-ulps.h.
20591 (ULP_IDX): New macro.
20592 (find_ulps): Update usage of max_ulp.
20593
20594 * math/test-double-vlen2.h (CHOOSE): Remove.
20595 * math/test-double-vlen4.h (CHOOSE): Likewise.
20596 * math/test-double-vlen8.h (CHOOSE): Likewise.
20597 * math/test-float.c (CHOOSE): Likewise.
20598 * math/test-float-finite.c (CHOOSE): Likewise.
20599 * math/test-double.c (CHOOSE): Likewise.
20600 * math/test-double-finite.c (CHOOSE): Likewise.
20601 * math/test-idouble.c (CHOOSE): Likewise.
20602 * math/test-ifloat.c (CHOOSE): Likewise.
20603 * math/test-ildoubl.c (CHOOSE): Likewise.
20604 * math/test-ldouble-finite.c (CHOOSE): Likewise.
20605 * math/test-ldouble.c (CHOOSE): Likewise.
20606
20607 * math/test-float.h (TEST_FLOAT): Remove.
20608 * math/test-double.h (TEST_DOUBLE): Likewise.
20609 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20610
20611 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20612
20613 * math/gen-libm-test.pl: (apply_lit): New subroutine.
20614 (parse_args): Strip C suffix from floating point literals
20615 typed with 'f' and wrap them with LIT().
20616
20617 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20618 (test_ff_f_data_nexttoward): Rename to
20619 (test_fj_f_data): New struct.
20620 (nexttoward_test_data): Relabel tests as
20621 TEST_fj_f instead of TEST_ff_f.
20622
20623 2016-06-08 Florian Weimer <fweimer@redhat.com>
20624
20625 Emacs bug 23726.
20626 * malloc/malloc.c (dumped_main_arena_start): Update comment.
20627 (__libc_realloc): Correct size computation for dumped fake mmapped
20628 chunks.
20629
20630 2016-06-07 Joseph Myers <joseph@codesourcery.com>
20631
20632 [BZ #20219]
20633 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20634 to itself.
20635 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20636
20637 [BZ #20218]
20638 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20639 to itself.
20640 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20641
20642 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
20643
20644 [BZ #20195]
20645 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20646 check to ...
20647 (init_cpu_features): Here.
20648
20649 2016-06-07 Carlos O'Donell <carlos@redhat.com>
20650
20651 [BZ #20214]
20652 * sysdeps/unix/sysv/linux/bits/in.h
20653 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20654 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20655 Define to 1.
20656 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20657 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20658 Define to 0.
20659 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20660 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20661
20662 2016-06-06 Carlos O'Donell <carlos@redhat.com>
20663
20664 [BZ #20198]
20665 * stdlib/Makefile (tests): Add tst-quick_exit, and
20666 tst-thread-quick_exit.
20667 [ifeq ($(have-cxx-thread_local),yes)]
20668 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20669 (CFLAGS-tst-thread-quick_exit.o): Likewise.
20670 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20671 (LDLIBS-tst-thread-quick_exit): Likewise.
20672 [ifneq ($(have-cxx-thread_local),yes)]
20673 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20674 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20675 If run_dtors is true call __call_tls_dtors.
20676 (exit): Call __run_exit_handlers with run_dtors set to true.
20677 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20678 definition.
20679 * stdlib/quick_exit.c (quick_exit): Remove function.
20680 (__new_quick_exit): New function.
20681 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20682 function.
20683 * stdlib/tst-quick_exit.cc: New file.
20684 * stdlib/tst-thread-quick_exit.cc: New file.
20685 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20686 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20687 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20688 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20689 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20690 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20691 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20692 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20693 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20694 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20695 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20696 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20697 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20698 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20699 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20700 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20706 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20707 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20708 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20712 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20713 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20714 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20715
20716 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
20717
20718 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20719 a typo in comments.
20720
20721 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20722
20723 [BZ #20213]
20724 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20725 argument to itself.
20726 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20727
20728 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20729
20730 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20731 required flags.
20732 (CFLAGS-pwritev64.c): Likewise.
20733 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20734 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20735 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20736 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20737 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20738 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20739 syscall from auto-generation.
20740 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20741 [WORDSIZE == 64] (pwritev64): Remove macro.
20742 [!PWRITEV] (PWRITEV): Likewise.
20743 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20744 [!PWRITEV] (PWRITE): Likewise.
20745 [!PWRITEV] (OFF_T): Likewise.
20746 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20747 (LO_HI_LONG): Remove macro.
20748 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20749 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20750 (PWRITEV): Remove macro.
20751 (PWRITEV_REPLACEMENTE): Likewise.
20752 (PWRITE): Likewise.
20753 (OFF_T): Likewise.
20754 (pwritev64): New function.
20755 * nptl/tst-cancel4.c (tf_writev): Add test.
20756
20757 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20758 required flags.
20759 (CFLAGS-preadv64.c): Likewise.
20760 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20761 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20762 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20763 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20764 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20765 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20766 syscall from auto-generation.
20767 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20768 [WORDSIZE == 64] (preadv64): Remove macro.
20769 [!PREADV] (PREADV): Likewise.
20770 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20771 [!PREADV] (PREAD): Likewise.
20772 [!PREADV] (OFF_T): Likewise.
20773 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20774 (LO_HI_LONG): Remove macro.
20775 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20776 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20777 (PREADV): Remove macro.
20778 (PREADV_REPLACEMENTE): Likewise.
20779 (PREAD): Likewise.
20780 (OFF_T): Likewise.
20781 (preadv64): New function.
20782 * nptl/tst-cancel4.c (tf_preadv): Add test.
20783
20784 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20785
20786 [BZ #20212]
20787 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20788 argument to itself.
20789 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20790
20791 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20792
20793 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20794 New symbol defined as libc_hidden_def.
20795 (strcasestr): Became a weak alias to __strcasestr.
20796 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20797 according to multi-arch support. Move __stpncpy hidden
20798 definition from here to...
20799 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20800 symbol stpncpy.
20801 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20802 libc_hidden_builtin_def.
20803 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20804 memset symbol to use when multi-arch support is available.
20805
20806 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20807
20808 * dlfcn/tst-rec-dlopen.c: Include string.h.
20809
20810 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20811
20812 * manual/install.texi: Remove mention of --without-tls
20813 * INSTALL: Regenerate.
20814
20815 2016-06-05 Florian Weimer <fweimer@redhat.com>
20816
20817 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20818 Remove.
20819 (call_function, interposed_malloc_called): New variables.
20820 (malloc): New function.
20821 (do_test): Do not change malloc hooks. Initialize malloc. Set
20822 and clear call_function as needed.
20823
20824 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20825
20826 * include/wchar.h (__wmemset): Use __typeof.
20827
20828 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20829
20830 * include/wchar.h (__wmemset): Declare function without typeof.
20831
20832 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20833
20834 [BZ #20205]
20835 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20836 exponent when incrementing negative subnormal with low mantissa
20837 word zero.
20838 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20839 Add another test.
20840
20841 2016-06-03 Florian Weimer <fweimer@redhat.com>
20842
20843 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20844 __wmemset instead of wmemset.
20845
20846 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20847
20848 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20849 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20850 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20851 __USE_KERNEL_IPV6_DEFS to 0.
20852 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20853 Update comment.
20854
20855 2016-06-01 Florian Weimer <fweimer@redhat.com>
20856
20857 [BZ #19861]
20858 Do not use IFUNC resolver with potentially unrelocated symbol.
20859 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20860 (DEFINE_FORK): Remove macro and inline definition.
20861 (fork_alias): Renamed from fork_ifunc.
20862 (__fork_alias): Renamed from __fork_ifunc.
20863
20864 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20865
20866 [BZ 19653]
20867 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20868 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20869
20870 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20871
20872 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20873 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20874 i386-linux-gnu).
20875 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20876 Set to no.
20877 * sysdeps/mach/hurd/configure: Refresh.
20878
20879 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20880
20881 [BZ #20178]
20882 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20883 on failure instead of exit.
20884
20885 2016-05-30 Roland McGrath <roland@hack.frob.com>
20886
20887 [BZ #3629]
20888 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20889 of POSIX.1-2008.
20890
20891 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20892
20893 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20894 Use PLT entry for calling _hurd_self_sigstate.
20895
20896 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20897
20898 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20899 available logical processors with SMT level type sharing L2
20900 cache for Intel processors.
20901
20902 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20903
20904 [BZ #20160]
20905 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20906 argument to itself before returning the result.
20907 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20908 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20909 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20910 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20911 Likewise.
20912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20913 Likewise.
20914 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20915 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20916 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20917 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20918 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20919 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20920
20921 [BZ #20160]
20922 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20923 argument to itself before returning the result.
20924 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20925 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20926 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20928 Likewise.
20929 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20930 Likewise.
20931 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20932 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20933 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20934 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20935 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20936 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20937
20938 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20939
20940 * libm-test.inc: Replace usage of M_El with
20941 (lit_e): New macro.
20942
20943 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20944
20945 * libm-test.inc: Replace usage of M_PI_4l with
20946 (lit_pi_4_d): New macro.
20947
20948 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20949
20950 * libm-test.inc: Replace usage of M_PIl with
20951 (lit_pi): New macro.
20952
20953 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20954
20955 * libm-test.inc: Replace usage of M_PI2l with
20956 (lit_pi_2_d): New macro.
20957
20958 * math/test-double.h (LITM): New macro.
20959 * math/test-float.h (LITM): Likewise.
20960 * math/test-ldouble.h (LITM): Likewise.
20961
20962 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20963
20964 * libm-test.inc (M_PI_34l): Rename to
20965 (lit_pi_3_m_4_d): New Macro.
20966 (M_PI_34_LOG10El): Rename to
20967 (lit_pi_3_m_4_ln10_m_d): New Macro.
20968 (M_PI2_LOG10El): Rename to
20969 (lit_pi_2_ln10_m_d): New Macro.
20970 (M_PI4_LOG10El): Rename to
20971 (lit_pi_4_ln10_m_d): New Macro.
20972 (M_PI_LOG10El): Rename to
20973 (lit_pi_ln10_d): New Macro.
20974
20975 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20976
20977 [BZ #20157]
20978 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20979 determine whether to negate low half if [_ARCH_PPCGR], and integer
20980 comparison otherwise.
20981 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20982 determine whether to negate low half.
20983
20984 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20985 (NO_TEST_INLINE_DOUBLE): Likewise.
20986 (TEST_COND_x86_64): Likewise.
20987 (TEST_COND_x86): Likewise.
20988 (M_PI_6l): Likewise.
20989
20990 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20991
20992 * math/libm-test.inc:
20993 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20994 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20995 (TEST_LDOUBLE): Update usage to evaluate as true if
20996 the guarded tests match the property being tested.
20997 (LDBL_MAX_EXP): Change to MAX_EXP.
20998 (LDBL_MIN_EXP): Change to MIN_EXP.
20999 (LDBL_MANT_DIG): Change to MANT_DIG, except for
21000 nexttoward tests.
21001
21002 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21003
21004 * math/libm-test.inc:
21005 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21006 (TYPE_MIN): Likewise.
21007 (TYPE_TRUE_MIN): Likewise.
21008 (TYPE_MAX): Likewise.
21009 (MIN_EXP): Likewise.
21010 (MAX_EXP): Likewise.
21011 (MANT_DIG): Likewise.
21012
21013 (FSTR_MAX): New macro.
21014 (__CONCATX): Likewise.
21015 (QTYPE_STR): Likewise.
21016 (TEST_COND_binary32): Likewise.
21017 (TEST_COND_binary64): Likewise.
21018 (TEST_COND_binary128): Likewise.
21019 (TEST_COND_ibm128): Likewise.
21020 (TEST_COND_intel96): Likewise.
21021 (TEST_COND_m68k96): Likewise.
21022
21023 (TEST_COND_flt_32): Redefine as equivalent format test macro.
21024 (TEST_COND_dbl_64): Likewise.
21025 (TEST_COND_ldbl_96_intel): Likewise.
21026 (TEST_COND_ldbl_96_m68k): Likewise.
21027 (TEST_COND_ldbl_128): Likewise.
21028 (TEST_COND_ldbl_128ibm): Likewise.
21029
21030 (plus_zero): Redefine using LIT macro.
21031 (minus_zero): Likewise.
21032 (plus_infty): Redefine as (INF).
21033 (minux_infty): Redefine as (-INF).
21034 (max_value): Redefine as TYPE_MAX.
21035 (min_value): Redefine as TYPE_MIN.
21036 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21037
21038 (print_float): Refactor to use snprintf to convert FLOAT values
21039 to string. This brings it closer to dropin replacement of strtof
21040 for the TS 18661 defined types.
21041 (update_stats): Likewise.
21042 (print_complex_function_ulps): Likewise.
21043 (print_max_error): Likewise.
21044 (print_complex_max_error): Likewise.
21045 (check_float_internal): Likewise.
21046
21047 * math/test-float.h (PREFIX): New macro.
21048 (LIT): Likewise.
21049 (TYPE_STR): Likewise.
21050 (FTOSTR): Likewise.
21051
21052 * math/test-double.h (PREFIX): New macro.
21053 (LIT): Likewise.
21054 (TYPE_STR): Likewise.
21055 (FTOSTR): Likewise.
21056
21057 * math/test-ldouble.h (PREFIX): New macro.
21058 (LIT): Likewise.
21059 (TYPE_STR): Likewise.
21060 (FTOSTR): Likewise.
21061
21062 2016-05-27 Joseph Myers <joseph@codesourcery.com>
21063
21064 [BZ #20156]
21065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21066 to itself when zero or not finite.
21067 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21068 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21069 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21070 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21071
21072 2016-05-26 Joseph Myers <joseph@codesourcery.com>
21073
21074 [BZ #20153]
21075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21076 x * x + x for infinities and NaNs.
21077
21078 [BZ #20151]
21079 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21080 argument to itself before returning result.
21081 (__ieee754_y0l): Likewise.
21082 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21083 (__ieee754_y1l).
21084
21085 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21086 (atan_test_data): Likewise.
21087 (ceil_test_data): Likewise.
21088 (cos_test_data): Likewise.
21089 (cosh_test_data): Likewise.
21090 (erf_test_data): Likewise.
21091 (exp2_test_data): Likewise.
21092 (fabs_test_data): Likewise.
21093 (floor_test_data): Likewise.
21094 (ilogb_test_data): Likewise.
21095 (j0_test_data): Likewise.
21096 (j1_test_data): Likewise.
21097 (jn_test_data): Likewise.
21098 (lgamma_test_data): Likewise.
21099 (lrint_test_data): Likewise.
21100 (llrint_test_data): Likewise.
21101 (logb_test_data): Likewise.
21102 (lround_test_data): Likewise.
21103 (llround_test_data): Likewise.
21104 (nearbyint_test_data): Likewise.
21105 (rint_test_data): Likewise.
21106 (round_test_data): Likewise.
21107 (sin_test_data): Likewise.
21108 (sincos_test_data): Likewise.
21109 (sinh_test_data): Likewise.
21110 (sqrt_test_data): Likewise.
21111 (tan_test_data): Likewise.
21112 (tanh_test_data): Likewise.
21113 (tgamma_test_data): Likewise.
21114 (trunc_test_data): Likewise.
21115 (y0_test_data): Likewise.
21116 (y1_test_data): Likewise.
21117 (yn_test_data): Likewise.
21118
21119 * math/libm-test.inc: Update comment about NaN testing.
21120 (TEST_SNAN): New macro.
21121 (snan_value): Likewise.
21122 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21123 (fpclassify_test_data): Add sNaN tests.
21124 (isfinite_test_data): Likewise.
21125 (isinf_test_data): Likewise.
21126 (isnan_test_data): Likewise.
21127 (isnormal_test_data): Likewise.
21128 (issignaling_test_data): Likewise.
21129 (signbit_test_data): Likewise.
21130 * math/gen-libm-test.pl (%beautify): Add snan_value.
21131 (show_exceptions): Add argument $test_snan.
21132 (parse_args): Handle snan_value as non-finite. Update call to
21133 show_exceptions.
21134 * math/Makefile (libm-test-no-inline-cflags): Add
21135 -fsignaling-nans.
21136
21137 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21138
21139 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21140 (CFLAGS-oldsendmsg.c): Add rule.
21141 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21142 Correct recvmsg symbol name.
21143 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21144 Likewise.
21145
21146 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21147
21148 * sysdeps/unix/sysv/linux/Makefile
21149 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21150 oldsendmmsg.
21151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21152 sendmmsg.
21153 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21154 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21155 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21156 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21158 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21159 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21161 Likewise.
21162 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21163 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21164 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21165 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21166 iovlen and controllen fields to adjust to POSIX specification.
21167 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21168
21169 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21170 and change to correct expected type.
21171 (msghdr.msg_controllen): Likewise.
21172 (cmsghdr.cmsg_len): Likewise.
21173 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21174 expected POSIX assumption about the size.
21175 (msghdr.msg_controllen): Likewise.
21176 (msghdr.__glibc_reserved1): Likewise.
21177 (msghdr.__glibc_reserved2): Likewise.
21178 (cmsghdr.cmsg_len): Likewise.
21179 (cmsghdr.__glibc_reserved1): Likewise.
21180 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21181 Add ptw-oldrecvmsg and ptw-oldsendmsg.
21182 (CFLAGS-sendmsg.c): Remove rule.
21183 (CFLAGS-recvmsg.c): Likewise.
21184 (CFLAGS-oldsendmsg.c): Add rule.
21185 (CFLAGS-oldrecvmsg.c): Likewise.
21186 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21187 recvmsg and sendmsg.
21188 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21189 Likewise.
21190 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21191 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21192 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21193 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21194 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21195 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21196 Likewise.
21197 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21198 Likewise.
21199 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21200 Likewise.
21201 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21202 Likewise.
21203 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21204 Likewise.
21205 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21206 Likewise.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21208 (GLIBC_2.24): Likewise.
21209 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21210 Likewise.
21211 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21212 Likewise.
21213 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21214 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21215 Likewise.
21216 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21217 Likewise.
21218 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21219 Likewise.
21220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21221 (GLIBC_2.24): Likewise.
21222 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21223 Likewise.
21224 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21225 Likewise.
21226 * sysdeps/unix/sysv/linux/Makefile
21227 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21228 (CFLAGS-sendmsg.c): Add rule.
21229 (CFLAGS-recvmsg.c): Likewise.
21230 (CFLAGS-oldsendmsg.c): Likewise.
21231 (CFLAGS-oldrecvmsg.c): Likewise.
21232 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21233 initialization.
21234 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21235 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21236 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21237 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21238 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21239 iovlen and controllen fields to adjust to POSIX specification.
21240 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21241 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21242 added recvmsg and sendmsg.
21243 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21244 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21245 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21246 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21247 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21248 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21249 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21250 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21251 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21252 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21253 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21254 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21256 Likewise.
21257 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21259 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21260 Likewise.
21261 Likewise.
21262 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21263 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21264 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21265 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21266 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21267 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21269 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21271 Likewise.
21272 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21273 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21274
21275 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21276 from auto-generation.
21277 (sendmsg): Likewise.
21278 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21279 (sendmsg): Likewise.
21280 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21281 (sendmsg): Likewise.
21282 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21283 (sendmsg): Likewise.
21284 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21285 (sendmsg): Likewise.
21286 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21287 (sendmsg): Likewise.
21288 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21289 Likewise.
21290 (sendmsg): Likewise.
21291 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21292 (sendmsg): Likewise.
21293 * sysdeps/unix/sysv/linux/i386/kernel-features.h
21294 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21295 Remove.
21296 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21297 Likewise.
21298 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21299 Undefine.
21300 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21301 Likewise.
21302 * sysdeps/unix/sysv/linux/kernel-features.h
21303 (__ASSUME_SENDMSG_SYSCALL): Define.
21304 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21305 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21306 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21307 Remove.
21308 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21309 Likewise.
21310 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21311 Undefine.
21312 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21313 Likewise.
21314 * sysdeps/unix/sysv/linux/s390/kernel-features.h
21315 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21316 Remove.
21317 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21318 Likewise.
21319 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21320 Undefine.
21321 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21322 Likewise.
21323 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21324 (__ASSUME_SENDMSG_SYSCALL): Undefine.
21325 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21326 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21327 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21328 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21329 * sysdeps/unix/sysv/linux/sh/kernel-features.h
21330 (__ASSUME_SENDMSG_SYSCALL): Likewise.
21331 (__ASSUME_RECVMSG_SYSCALL): Likewise.
21332
21333 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21334
21335 * stdlib/gen-tst-strtod-round.c: Add backslash to
21336 compile command in comment.
21337 (printfp): Remove the literal suffix, and define an infinite
21338 value as INF to avoid expansion clash with INFINITY.
21339 (round_str): Remove the literal suffix.
21340 (round_for_all): Likewise, remove the now duplicate ldbl-64
21341 entry, and remove some magic constants.
21342
21343 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21344 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
21345 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21346 (_CONCAT): New macro.
21347 (CONCAT): Likewise.
21348 (CHOOSE_ld): Likewise.
21349 (CHOOSE_f): Likewise.
21350 (CHOOSE_d): Likewise.
21351 (FTYPE_MEMBER): Likewise.
21352 (BOOL_MEMBER): Likewise.
21353 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21354 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21355 (_XNTRY): Likewise.
21356 (XNTRY): Likewise.
21357 (_ENTRY): Likewise.
21358 (ENTRY): Likewise.
21359 (test_exactness): Generate members via macro.
21360 (test_results): Likewise.
21361 (test): Update members.
21362 (TEST): Redefine using new macros.
21363 (INF): New macro.
21364 (fetestmodes): New structure.
21365 (do_test): Refactor to be type generic.
21366 (test_in_one_mode): Refactor duplicate code into
21367 (GEN_ONE_TEST): New macro.
21368
21369 * stdlib/tst-strtod-round-data.h: Regenerate.
21370
21371 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21372 Extend to pass additional arbitrary parameters to
21373 generators.
21374
21375 2016-05-25 Joseph Myers <joseph@codesourcery.com>
21376
21377 [BZ #15479]
21378 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21379 floating-point state after first floating-point operation on
21380 input. Restore full floating-point state instead of just rounding
21381 mode.
21382 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21383 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21384 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21385 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21387
21388 [BZ #15479]
21389 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21390 floating-point state after first floating-point operation on
21391 input. Restore full floating-point state instead of just rounding
21392 mode.
21393 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21394 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21395 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21396 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21397 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21398
21399 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21400
21401 [BZ #19727]
21402 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21403 valid high surrogate.
21404 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21405 of an utf16 surrogate.
21406 * iconv/gconv_simple.c (BODY): Likewise.
21407 * iconvdata/bug-iconv12.c: New file.
21408 * iconvdata/Makefile (tests): Add bug-iconv12.
21409
21410 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21411
21412 [BZ #19726]
21413 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21414 outptrp in case of an illegal input.
21415 * iconv/tst-iconv6.c: New file.
21416 * iconv/Makefile (tests): Add tst-iconv6.
21417
21418 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21419
21420 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21421 an error in case of a value in range of an utf16 low surrogate.
21422
21423 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21424
21425 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21426 an error in case of a value in range of an utf16 low surrogate.
21427
21428 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21429
21430 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21431 Move to ...
21432 * sysdeps/s390/Makefile: ... here.
21433 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21434 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21435 (BRANCH_ON_COUNT): New define.
21436 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21437 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21438 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21439 run on s390-32, too.
21440 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21441 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21442 run on s390-32, too.
21443 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21444 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21445 run on s390-32, too.
21446
21447 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21448
21449 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21450 etf3eh or new vector loop-variant.
21451
21452 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21453
21454 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21455 etf3eh or new vector loop-variant.
21456
21457 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21458
21459 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21460 or new vector loop-variant.
21461
21462 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21463
21464 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21465 Rename to TR_LOOP and usage of tr instead of troo instruction.
21466
21467 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21468
21469 * sysdeps/s390/multiarch/gconv_simple.c: New File.
21470 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21471
21472 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21473
21474 * sysdeps/s390/multiarch/8bit-generic.c: New File.
21475 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21476 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21477 New override define.
21478 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21479
21480 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21481
21482 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21483 * sysdeps/s390/configure.ac: Add test for S390 vector register
21484 support in gcc.
21485 * sysdeps/s390/configure: Regenerated.
21486
21487 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21488
21489 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21490 Install file from $(objpfx)gconv-modules.
21491 ($(objpfx)gconv-modules): Concatenate architecture specific file
21492 in variable sysdeps-gconv-modules and gconv-modules in src dir.
21493 * sysdeps/s390/gconv-modules: New file.
21494 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21495 Deleted.
21496 ($(objpfx)gconv-modules-s390): Deleted.
21497 (sysdeps-gconv-modules): New variable.
21498
21499 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21500
21501 [BZ #15479]
21502 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21503 of immediate operand to rounding instruction.
21504 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21505 Likewise.
21506 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21507 Likewise.
21508 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21509 Likewise.
21510
21511 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21512
21513 * math/libm-test.inc (MIN_EXP): Directly define as
21514 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21515
21516 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21517
21518 * math/libm-test.inc (MANT_DIG): Directly define as
21519 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21520
21521 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21522
21523 * stdlib/gen-tst-strtod-round.c (main):
21524 Change usage to more closely match the generated
21525 output. Add usage and compilation instructions.
21526 (string_to_fp): Add and use FILE* parameter as
21527 output target.
21528 (print_fp): Likewise.
21529 (round_str): Likewise.
21530 (round_for_all): Likewise.
21531 * stdlib/tst-strtod-round.c (tests): Move into
21532 * stdlib/tst-strtod-round-data.h: New file.
21533
21534 2016-05-24 Joseph Myers <joseph@codesourcery.com>
21535
21536 [BZ #15479]
21537 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21538 (__round): Do not force "inexact" exception.
21539 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21540 variable.
21541 (__round): Do not force "inexact" exception.
21542 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21543 (__roundf): Do not force "inexact" exception.
21544 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21545 (__roundl): Do not force "inexact" exception.
21546 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21547 (__roundl): Do not force "inexact" exception.
21548 * math/libm-test.inc (round_test_data): Do not allow spurious
21549 "inexact" exceptions.
21550
21551 [BZ #15479]
21552 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21553 exception in comment.
21554 (huge): Remove variable.
21555 (__floor): Do not force "inexact" exception.
21556 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21557 "inexact" exception in comment.
21558 (huge): Remove variable.
21559 (__floor): Do not force "inexact" exception.
21560 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21561 exception in comment.
21562 (huge): Remove variable.
21563 (__floorf): Do not force "inexact" exception.
21564 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21565 exception in comment.
21566 (huge): Remove variable.
21567 (__floorl): Do not force "inexact" exception.
21568
21569 [BZ #15479]
21570 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21571 exception in comment.
21572 (huge): Remove variable.
21573 (__ceil): Do not force "inexact" exception.
21574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21575 "inexact" exception in comment.
21576 (huge): Remove variable.
21577 (__ceil): Do not force "inexact" exception.
21578 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21579 (__ceilf): Do not force "inexact" exception.
21580 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21581 exception in comment.
21582 (huge): Remove variable.
21583 (__ceill): Do not force "inexact" exception.
21584
21585 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
21586
21587 * config.h.in (BIND_NOW): New.
21588 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
21589 * configure: Regenerated.
21590 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21591 indirect branch via the GOT slot.
21592
21593 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21594
21595 [BZ #19765]
21596 * sysdeps/s390/mempcpy.S: New File.
21597 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21598 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21599 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21600 Add mempcpy variants.
21601 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21602 (memcpy): Adjust to be usable from mempcpy entry point.
21603 (__memcpy_mvcle): Likewise.
21604 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21605 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21606 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21607 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21608 (__memcpy_z10): Likewise.
21609 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21610
21611 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21612
21613 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21614 Remove __GI_ symbol.
21615 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21616 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21617 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21618 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21619 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21620 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21621
21622 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21623
21624 * sysdeps/s390/s390-64/memcpy.S (memcpy):
21625 Use cghi instead of chi to compare 64bit value.
21626
21627 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21628
21629 * sysdeps/s390/s390-32/memcpy.S (memcpy):
21630 Jump to 1MB check before executing mvc-loop.
21631
21632 2016-05-24 Florian Weimer <fweimer@redhat.com>
21633
21634 [BZ #6527]
21635 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21636 unconditionally.
21637 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21638
21639 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21640
21641 * stdlib/tst-strtod6.c (do_test): Use new type generic
21642 invocation of the test function.
21643 (test): Refactor into ...
21644 (TEST_STRTOD): New macro base function.
21645
21646 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21647
21648 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21649 (TEST_STRTOD): New macro.
21650 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21651
21652 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21653
21654 * stdlib/tst-strtod6.c (do_test): Use new type generic
21655 invocation of the test function.
21656 (test): Refactor into ...
21657 (TEST_STRTOD): New macro base function.
21658
21659 2016-05-23 Florian Weimer <fweimer@redhat.com>
21660
21661 CVE-2016-4429
21662 [BZ #20112]
21663 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21664 payload.
21665
21666 2016-05-23 Florian Weimer <fweimer@redhat.com>
21667
21668 [BZ #20111]
21669 * bits/sockaddr.h (_SS_SIZE): Define.
21670 * bits/socket.h (_SS_SIZE): Remove.
21671 (_SS_PADSIZE): Adjust to account for all padding.
21672 (struct sockaddr_storage): Update comment. Avoid implicit
21673 padding.
21674 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21675 (_SS_PADSIZE): Adjust to account for all padding.
21676 (struct sockaddr_storage): Update comment. Avoid implicit
21677 padding.
21678 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21679 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21680 (_SS_PADSIZE): Adjust to account for all padding.
21681 (struct sockaddr_storage): Update comment. Avoid implicit
21682 padding.
21683 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21684 __SS_SIZE is 126 in this version.
21685 * inet/tst-sockaddr.c: New file.
21686 * inet/Makefile (tests): Add tst-sockaddr.c
21687 (tst-sockaddr.c): Compile with non-strict aliasing.
21688
21689 2016-05-23 Joseph Myers <joseph@codesourcery.com>
21690
21691 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21692 [XPG3 || XPG4].
21693 (NL_ARGMAX): Also expect for [XPG3].
21694 (NL_LANGMAX): Likewise.
21695 (NL_MSGMAX): Likewise.
21696 (NL_NMAX): Likewise.
21697 (NL_SETMAX): Likewise.
21698 (NL_TEXTMAX): Likewise.
21699 (NZERO): Likewise.
21700 (TMP_MAX): Likewise.
21701 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21702 variable.
21703
21704 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21705 (PF_MAX): Update value.
21706 (AF_KCM): New macro.
21707 (SOL_NETBEUI): Likewise.
21708 (SOL_LLC): Likewise.
21709 (SOL_DCCP): Likewise.
21710 (SOL_NETLINK): Likewise.
21711 (SOL_TIPC): Likewise.
21712 (SOL_RXRPC): Likewise.
21713 (SOL_PPPOL2TP): Likewise.
21714 (SOL_BLUETOOTH): Likewise.
21715 (SOL_PNPIPE): Likewise.
21716 (SOL_RDS): Likewise.
21717 (SOL_IUCV): Likewise.
21718 (SOL_CAIF): Likewise.
21719 (SOL_ALG): Likewise.
21720 (SOL_NFC): Likewise.
21721 (SOL_KCM): Likewise.
21722 (MSG_BATCH): New enum value and macro.
21723
21724 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21725
21726 [BZ #18185]
21727 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21728 sharing L2 cache to 2 for Knights Landing.
21729
21730 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21731
21732 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21733 (FTW_DP): Do not expect for [XPG3 || XPG4].
21734 (FTW_SL): Do not expect for [XPG3].
21735 (FTW_SLN): Likewise.
21736 (FTW_PHYS): Likewise.
21737 (FTW_MOUNT): Likewise.
21738 (FTW_DEPTH): Likewise.
21739 (FTW_CHDIR): Likewise.
21740 (nftw): Likewise.
21741 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21742 variable.
21743
21744 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21745
21746 * manual/errno.texi: Fix various typos & grammar errors.
21747
21748 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21749
21750 * manual/intro.texi: Fix duplicated typo.
21751
21752 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21753
21754 [BZ #13304]
21755 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21756 <float.h>, <math_private.h> and <stdlib.h>.
21757 (add_split): New function.
21758 (mul_split): Likewise.
21759 (ext_val): New typedef.
21760 (store_ext_val): New function.
21761 (mul_ext_val): New function.
21762 (compare): New function.
21763 (add_split_ext): New function.
21764 (__fmal): After checking for Inf, NaN and zero, compute result as
21765 an exact sum of scaled double values in round-to-nearest before
21766 adding those up and adjusting for other rounding modes.
21767 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21768 tests of fma.
21769 * math/auto-libm-test-out: Regenerated.
21770
21771 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21772
21773 [BZ #20119]
21774 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21775 processor level type mask for CPUID with EAX == 11.
21776
21777 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21778
21779 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21780 logical threads if the HTT bit is 0.
21781 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21782 (index_cpu_HTT): Likewise.
21783 (reg_HTT): Likewise.
21784
21785 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21786
21787 [BZ #20115]
21788 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21789 Remove alignments on jump targets.
21790
21791 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21792
21793 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21794 (getpwent): Likewise.
21795 (setpwent): Likewise.
21796 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21797 variable.
21798
21799 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21800 (remque): Likewise.
21801 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21802 variable.
21803
21804 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21805
21806 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21807 not being tested.
21808
21809 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21810
21811 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21812 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21813 call.
21814 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21815 (__condvar_cleanup1): Likewise.
21816
21817 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21818
21819 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21820 New
21821 (__pthread_unwind): Renamed to ...
21822 (PTHREAD_UNWIND): This.
21823 (__pthread_enable_asynccancel): Replace
21824 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21825
21826 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21827
21828 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21829 (CLONE_NEWCGROUP): New macro.
21830
21831 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21832 (Q_GETNEXTQUOTA): New macro.
21833
21834 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21835
21836 [BZ #19907]
21837 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21838 buffer updated by the previous run.
21839 * string/test-memcpy.c (do_one_test): Likewise.
21840 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21841 * string/test-memmove.c (do_one_test): Likewise.
21842
21843 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21844
21845 [BZ #20094]
21846 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21847 not [__USE_XOPEN].
21848 (unlockpt): Likewise.
21849 (ptsname): Likewise.
21850 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21851 variable.
21852
21853 [BZ #20076]
21854 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21855 instead of [__USE_UNIX98].
21856 (S_ISSOCK): Likewise.
21857 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21858 variable.
21859
21860 [BZ #20074]
21861 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21862 [__USE_POSIX].
21863 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21864 variable.
21865
21866 [BZ #20051]
21867 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21868 (ttyslot): Do not declare.
21869 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21870 (ttyslot): New prototype.
21871 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21872 variable.
21873 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21874
21875 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21876
21877 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21878
21879 2016-05-13 Florian Weimer <fweimer@redhat.com>
21880
21881 Fix race condition in tst-mallocfork2, use fewer resources.
21882 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21883 to current process group.
21884 (signal_sender): Yield in the non-sleeping case.
21885
21886 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21887
21888 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21889 (ecvt): Likewise.
21890 (fcvt): Likewise.
21891 (gcvt): Likewise.
21892 (getsubopt): Likewise.
21893 (grantpt): Likewise.
21894 (initstate): Likewise.
21895 (l64a): Likewise.
21896 (mktemp): Likewise.
21897 (mkstemp): Likewise.
21898 (ptsname): Likewise.
21899 (random): Likewise.
21900 (realpath): Likewise.
21901 (setstate): Likewise.
21902 (srandom): Likewise.
21903 (ttyslot): Likewise.
21904 (unlockpt): Likewise.
21905 (valloc): Likewise.
21906
21907 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21908 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21909 variable.
21910
21911 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21912
21913 [BZ #20072]
21914 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21915 init_cpu_features only if SHARED is defined.
21916 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21917
21918 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21919
21920 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21921 non-inclusive caches on Intel processors.
21922
21923 2016-05-13 Florian Weimer <fweimer@redhat.com>
21924
21925 * malloc/malloc.c (dumped_main_arena_start)
21926 (dumped_main_arena_end): New variables.
21927 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21928 (do_check_chunk): Skip dumped fake mmapped chunks.
21929 (munmap_chunk): Likewise.
21930 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21931 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21932 mmapped chunks.
21933 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21934 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21935 and dumped_main_arena_end to cover the dumped heap.
21936
21937 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21938
21939 * conform/data/time.h-data (getdate_err): Do not expect for
21940 [XPG3].
21941 (getdate): Likewise.
21942 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21943 variable.
21944
21945 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21946 (F_ULOCK): Likewise.
21947 (F_TEST): Likewise.
21948 (F_TLOCK): Likewise.
21949 (useconds_t): Likewise.
21950 (intptr_t): Do not expect for [XPG3] or [XPG4].
21951 (brk): Do not expect for [XPG3]
21952 (fchown): Likewise.
21953 (fchdir): Likewise.
21954 (ftruncate): Likewise.
21955 (getdtablesize): Likewise.
21956 (gethostid): Likewise.
21957 (getpagesize): Likewise.
21958 (getpgid): Likewise.
21959 (getsid): Likewise.
21960 (getwd): Likewise.
21961 (lchown): Likewise.
21962 (lockf): Likewise.
21963 (readlink): Likewise.
21964 (sbrk): Likewise.
21965 (setpgrp): Likewise.
21966 (setregid): Likewise.
21967 (setreuid): Likewise.
21968 (symlink): Likewise.
21969 (sync): Likewise.
21970 (truncate): Likewise.
21971 (ualarm): Likewise.
21972 (usleep): Likewise.
21973 (vfork): Likewise.
21974 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21975 variable.
21976
21977 [BZ #20054]
21978 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21979 not [__USE_UNIX98].
21980 * conform/data/unistd.h-data (gethostname): Do not expect for
21981 [XPG3].
21982
21983 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21984 [!POSIX] (S_IFBLK): Likewise.
21985 [!POSIX] (S_IFCHR): Likewise.
21986 [!POSIX] (S_IFIFO): Likewise.
21987 [!POSIX] (S_IFREG): Likewise.
21988 [!POSIX] (S_IFDIR): Likewise.
21989 [!POSIX] (S_IFLNK): Likewise.
21990 [!POSIX] (S_IFSOCK): Likewise.
21991 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21992 variable.
21993 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21994
21995 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21996
21997 * sysdeps/aarch64/memset.S (__memset):
21998 Rewrite of optimized memset.
21999
22000 2016-05-12 Florian Weimer <fweimer@redhat.com>
22001
22002 [BZ #19703]
22003 Partially async-signal-safe fork for single-threaded processes.
22004 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22005 variable. Do not acquire and reset/release malloc and libio locks
22006 in single-threaded processes.
22007 * malloc/tst-mallocfork2.c: New file.
22008 * malloc/Makefile (tests): Add it.
22009
22010 2016-05-12 Florian Weimer <fweimer@redhat.com>
22011
22012 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22013 argument. Use scratch buffer instead of extend_alloca.
22014 (gethosts): Use scratch buffer instead of extend_alloca.
22015 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
22016 extend_alloca.
22017 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22018
22019 2016-05-11 Joseph Myers <joseph@codesourcery.com>
22020
22021 [BZ #20055]
22022 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22023 instead of [__USE_UNIX98].
22024 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22025 [__USE_UNIX98].
22026 * conform/data/termios.h-data (tcgetsid): Do not expect for
22027 [XPG3].
22028 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22029 variable.
22030 (test-xfail-XPG4/termios.h/conform): Likewise.
22031
22032 2016-05-11 Florian Weimer <fweimer@redhat.com>
22033
22034 Do not use mcheck in localedef.
22035 * locale/programs/localedef.c (turn_on_mcheck)
22036 (__malloc_initialize_hook): Remove.
22037
22038 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22039
22040 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22041 * sysdeps/s390/s390-64/Makefile: Likewise.
22042
22043 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
22044
22045 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22046 Remove ifunc-defines.sym.
22047 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22048 Likewise.
22049 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22050 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22051 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22052 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22053 rtld-global-offsets.sym.
22054 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22055 * sysdeps/x86/cpu-features-offsets.sym: This.
22056 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22057 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22058
22059 2016-05-10 Joseph Myers <joseph@codesourcery.com>
22060
22061 [BZ #20073]
22062 * io/sys/stat.h (fchmod): Declare for
22063 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22064 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22065 variable.
22066
22067 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22068 [XPG3] (S_IFSOCK): Likewise.
22069 [XPG3] (S_ISVTX): Likewise.
22070 [XPG3] (S_ISLNK): Likewise.
22071 [XPG3] (S_ISSOCK): Likewise.
22072 [XPG3] (fchmod): Likewise.
22073 [XPG3] (lstat): Likewise.
22074 [XPG3] (mknod): Likewise.
22075
22076 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22077 [XPG3]. Expect type long and XFAIL for [XPG4].
22078 (st_blocks): Likewise.
22079
22080 [BZ #20044]
22081 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22082 (pthread_atfork): New prototype.
22083 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22084 variable.
22085
22086 [BZ #20043]
22087 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22088 prototype.
22089
22090 2016-05-10 Florian Weimer <fweimer@redhat.com>
22091
22092 [BZ #20017]
22093 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22094 gmtime.
22095
22096 2016-05-10 Florian Weimer <fweimer@redhat.com>
22097
22098 [BZ #19994]
22099 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22100 flag in _res.options.
22101
22102 2016-05-09 Joseph Myers <joseph@codesourcery.com>
22103
22104 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22105 [XPG3 || XPG4].
22106 (blksize_t): Likewise.
22107 (clockid_t): Likewise.
22108 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22109 variable.
22110 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22111
22112 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
22113
22114 * sysdeps/unix/sysv/linux/s390/init-first.c:
22115 Add VDSO_SYMBOL(getcpu).
22116 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22117 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22118 Add VDSO_SYMBOL(getcpu).
22119 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22120 New define HAVE_GETCPU_VSYSCALL.
22121 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22122
22123 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
22124
22125 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22126 instead of <sysdeps/x86_64/cacheinfo.c>.
22127 * sysdeps/x86_64/cacheinfo.c: Moved to ...
22128 * sysdeps/x86/cacheinfo.c: Here.
22129
22130 2016-05-04 Florian Weimer <fweimer@redhat.com>
22131
22132 * malloc/malloc-internal.h: Adjust header file guard.
22133
22134 2016-05-04 Florian Weimer <fweimer@redhat.com>
22135
22136 [BZ #19787]
22137 * inet/getnameinfo.c (check_sprintf_result): New function.
22138 (CHECKED_SNPRINTF): New macro.
22139 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22140 to the host buffer.
22141 (gni_host_local): Use checked_copy to copy the host name.
22142 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22143 (gni_serv_local): Use checked_copy to copy the service name.
22144 (getnameinfo): Remove unnecessary truncation of result buffers.
22145
22146 2016-05-04 Florian Weimer <fweimer@redhat.com>
22147
22148 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22149 in case of inet_ntop failure.
22150
22151 2016-05-04 Florian Weimer <fweimer@redhat.com>
22152
22153 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22154 avoid long lines.
22155 (gni_host_inet_numeric): Likewise. Reduce scope of local
22156 variables.
22157 (gni_host_inet, gni_host_local): Add comment.
22158 (gni_host): Add comment. Use temporary to avoid long lines.
22159
22160 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22161
22162 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22163 registers specifiers where general purpose registers specifiers should
22164 have been used.
22165
22166 2016-05-04 Florian Weimer <fweimer@redhat.com>
22167
22168 [BZ #19779]
22169 CVE-2016-1234
22170 Avoid copying names of directory entries.
22171 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22172 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22173 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22174 (struct readdir_result): New type.
22175 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22176 (GL_READDIR): New macros.
22177 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22178 (convert_dirent, convert_dirent64): New functions.
22179 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
22180 convert_dirent64. Adjust references to the readdir result.
22181 * sysdeps/unix/sysv/linux/i386/glob64.c:
22182 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22183 * posix/bug-glob2.c (LONG_NAME): Define.
22184 (filesystem): Add LONG_NAME.
22185 (my_DIR): Increase the size of room_for_dirent.
22186
22187 2016-05-03 Joseph Myers <joseph@codesourcery.com>
22188
22189 [BZ #20041]
22190 * misc/sys/select.h (__need_timespec): Only define if
22191 [__USE_XOPEN2K].
22192 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22193 variable.
22194 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22195 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22196 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22197
22198 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22199 Segher Boessenkool <segher@gcc.gnu.org>
22200
22201 [BZ #20004]
22202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22203 (__novec_swapcontext): Add missing load.
22204
22205 2016-05-02 Joseph Myers <joseph@codesourcery.com>
22206
22207 [BZ #20023]
22208 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22209 <time.h>.
22210 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22211 variable.
22212 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22213
22214 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22215
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22217 flags CLONE_VM compare.
22218
22219 2016-05-02 Florian Weimer <fweimer@redhat.com>
22220
22221 [BZ #20031]
22222 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22223 completely empty.
22224
22225 2016-05-02 Florian Weimer <fweimer@redhat.com>
22226
22227 [BZ #19573]
22228 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22229 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22230 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22231 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22232 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22233 (hesiod_free_list): Mark as hidden.
22234 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22235 res_set, res_get.
22236 * hesiod/hesiod.c: Remove unnecessary forward declarations.
22237 (init, __hesiod_res_get, __hesiod_res_set): Remove.
22238 (hesiod_init): Remove obsolete res_ninit call.
22239 (hesiod_end): Do not free resolver state. Do not invoke callback.
22240 (hesiod_bind): Do not call init.
22241 (get_txt_records): Use res_mkquery, res_send instead of
22242 res_nmkquery, res_nsend.
22243 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22244 instead of _nss_hesiod_init.
22245 (_nss_hesiod_initgroups_dyn): Likewise.
22246 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22247 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22248 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22249
22250 2016-05-02 Florian Weimer <fweimer@redhat.com>
22251
22252 * hesiod/hesiod_p.h (DEF_RHS): Remove.
22253 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22254
22255 2016-05-02 Florian Weimer <fweimer@redhat.com>
22256
22257 * hesiod/hesiod.h: Remove RCS keyword.
22258 * hesiod/hesiod_p.h: Likewise.
22259
22260 * hesiod/hesiod.c: Likewise.
22261
22262 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
22263
22264 [BZ #12450]
22265 * locale/iso-639.def: Add Samogitian/sgs.
22266
22267 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
22268
22269 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22270
22271 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22272
22273 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
22274 Carlos O'Donell <carlos@redhat.com>
22275
22276 [BZ #19072]
22277 * grp/Makefile (headers): Add grp-merge.h
22278 (routines): Add grp-merge.
22279 * grp/getgrgid_r.c: Include grp-merge.h.
22280 (DEEPCOPY_FN): Define.
22281 (MERGE_FN): Define.
22282 * grp/getgrname_r.c: Include grp-merge.h.
22283 (DEEPCOPY_FN): Define.
22284 (MERGE_FN): Define.
22285 * grp/grp-merge.c: New file.
22286 * grp/grp-merge.h: New file.
22287 * include/grp-merge.h: New file.
22288 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22289 __copy_grp@GLIBC_PRIVATE.
22290 * manual/nss.texi (Actions in the NSS configuration): Describe
22291 return, continue, and merge.
22292 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22293 (DEEPCOPY_FN): Define.
22294 (MERGE_FN): Define.
22295 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22296 (DEEPCOPY_FN): Define.
22297 (MERGE_FN): Define.
22298 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22299 [!MERGE_FN]: Define __merge_einval.
22300 (CHECK_MERGE): Define.
22301 (REENTRANT_NAME): Process merge if do_merge is true.
22302 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22303 (__nss_getent_r): Likewise.
22304 * nss/nsswitch.c (nss_parse_service_list): Likewise.
22305 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22306
22307 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22308
22309 [BZ #20012]
22310 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22311 length to calculate the buffer to read.
22312 (fmemopen_write): Set the buffer position based on bytes written.
22313 (fmemopen_seek): Return EINVAL for invalid whence modes.
22314
22315 [BZ #19957]
22316 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22317 tst-getpid2.
22318 (test): Add tst-clone2.
22319 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22320 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22321 pid/tid fields for CLONE_VM.
22322 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22323 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22324 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22325 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22326 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22327 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22328 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22329 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22331 Likewise.
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22333 Likewise.
22334 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22335 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22336 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22337 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22338 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22339 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22340 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22341 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22342
22343 2016-04-29 Florian Weimer <fweimer@redhat.com>
22344
22345 [BZ #19642]
22346 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22347 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22348 (gni_serv_local, gni_serv): New functions extracted from
22349 getnameinfo.
22350 (getnameinfo): Call gni_host and gni_serv to perform the
22351 processing. Always free scratch buffer.
22352
22353 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22354
22355 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22356 remaining bytes in the dest string, with zeros.
22357
22358 2016-04-29 Florian Weimer <fweimer@redhat.com>
22359
22360 [BZ #20010]
22361 CVE-2016-3706
22362 * sysdeps/posix/getaddrinfo.c
22363 (convert_hostent_to_gaih_addrtuple): New function.
22364 (gethosts): Call convert_hostent_to_gaih_addrtuple.
22365 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22366 AF_INET data.
22367
22368 2016-04-29 Florian Weimer <fweimer@redhat.com>
22369
22370 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22371 callback function gl_readdir.
22372 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22373 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22374 (glob_in_dir): Remove len. Use strdup instead of malloc and
22375 memcpy to copy the name.
22376 * manual/pattern.texi (Calling Glob): Document requirements for
22377 implementations of the gl_readdir callback function.
22378 * manual/examples/mkdirent.c: New example.
22379 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22380 per the manual guidance.
22381 * posix/tst-gnuglob.c (my_readdir): Likewise.
22382
22383 2016-04-28 Joseph Myers <joseph@codesourcery.com>
22384
22385 [BZ #20014]
22386 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22387 not [__USE_POSIX].
22388 (getchar_unlocked): Likewise.
22389 (putc_unlocked): Likewise.
22390 (putchar_unlocked): Likewise.
22391 (flockfile): Likewise.
22392 (ftrylockfile): Likewise.
22393 (funlockfile): Likewise.
22394 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22395 variable.
22396 (test-xfail-XPG4/stdio.h/conform): Likewise.
22397
22398 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22399 Expect constant.
22400 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22401 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22402 variable.
22403 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22404 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22405
22406 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22407 [__USE_LARGEFILE64] (off64_t): Likewise.
22408 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22409 variable.
22410
22411 2016-04-28 Florian Weimer <fweimer@redhat.com>
22412
22413 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22414
22415 2016-04-28 Florian Weimer <fweimer@redhat.com>
22416
22417 * resolv/inet_addr.c: Reindent preprocessor conditionals.
22418 * resolv/res_init.c: Likewise.
22419 * resolv/res_mkquery.c: Likewise.
22420
22421 2016-04-28 Florian Weimer <fweimer@redhat.com>
22422
22423 * resolv/res_init.c (isascii): Do not define. Use definition in
22424 <ctype.h>.
22425 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22426 (LOG_AUTH): Remove.
22427 (SPRINTF): Remove, adjust caller.
22428 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22429
22430 2016-04-28 Florian Weimer <fweimer@redhat.com>
22431
22432 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22433 SUNSECURITY conditional.
22434 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22435
22436 2016-04-28 Florian Weimer <fweimer@redhat.com>
22437
22438 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22439 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22440 Remove BSD-related preprocessor conditionals.
22441 * conf/portability.h: Remove.
22442
22443 2016-04-28 Florian Weimer <fweimer@redhat.com>
22444
22445 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22446 * resolv/res_data.c: Likewise.
22447
22448 2016-04-28 Florian Weimer <fweimer@redhat.com>
22449
22450 * resolv/res_comp.c: Remove code conditional on __ultrix__.
22451 * resolv/res_data.c: Remove code conditional on ultrix.
22452
22453 2016-04-28 Florian Weimer <fweimer@redhat.com>
22454
22455 * resolv/res_init.c (RFC1535): Do not define. Remove
22456 RFC1535 preprocessor conditionals.
22457 * resolv/README: Update. Do not claim strict RFC 1535 compliance
22458 because there configuration options which make the resolver
22459 behavior different.
22460
22461 2016-04-28 Florian Weimer <fweimer@redhat.com>
22462
22463 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
22464 RESOLVSORT preprocessor conditionals.
22465 * resolv/nss_dns/dns-host.c: Likewise.
22466 * resolv/res_init.c: Likewise.
22467
22468 2016-04-28 Florian Weimer <fweimer@redhat.com>
22469
22470 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
22471 is never defined.
22472
22473 2016-04-28 Florian Weimer <fweimer@redhat.com>
22474
22475 * inet/inet_lnaof.c: Remove SCSS keyword.
22476 * inet/inet_mkadr.c: Likewise.
22477 * inet/inet_net.c: Likewise.
22478 * inet/inet_netof.c: Likewise.
22479 * inet/rcmd.c: Likewise.
22480 * inet/rexec.c: Likewise.
22481 * inet/ruserpass.c: Likewise.
22482
22483 2016-04-28 Florian Weimer <fweimer@redhat.com>
22484
22485 * resolv/inet_addr.c: Remove _LIBC conditionals.
22486 * resolv/res_data.c: Likewise.
22487 * resolv/res_init.c: Likewise.
22488 * resolv/res_mkquery.c: Likewise.
22489 * resolv/res_libc.c: Update comment.
22490 * resolv/README: Update.
22491
22492 2016-04-28 Florian Weimer <fweimer@redhat.com>
22493
22494 * resolv/gethnamaddr.c: Remove SCSS keyword.
22495 * resolv/herror.c: Likewise.
22496 * resolv/inet_addr.c: Likewise.
22497 * resolv/inet_net_ntop.c: Likewise.
22498 * resolv/inet_net_pton.c: Likewise.
22499 * resolv/inet_neta.c: Likewise.
22500 * resolv/inet_ntop.c: Likewise.
22501 * resolv/inet_pton.c: Likewise.
22502 * resolv/ns_date.c: Remove RCS keyword.
22503 * resolv/ns_name.c: Likewise.
22504 * resolv/ns_netint.c: Likewise.
22505 * resolv/ns_parse.c: Likewise.
22506 * resolv/ns_print.c: Likewise.
22507 * resolv/ns_samedomain.c: Likewise.
22508 * resolv/ns_ttl.c: Likewise.
22509 * resolv/nsap_addr.c: Likewise.
22510 * resolv/res_comp.c: Remove SCSS and RCS keyword.
22511 * resolv/res_data.c: Remove RCS keyword.
22512 * resolv/res_debug.c: Remove SCSS and RCS keyword.
22513 * resolv/res_init.c: Likewise.
22514 * resolv/res_mkquery.c: Likewise.
22515 * resolv/res_query.c: Likewise.
22516 * resolv/res_send.c: Likewise.
22517
22518 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22519
22520 * conform/data/stdio.h-data (fdopen): Expect also for
22521 [XPG3 || XPG4].
22522
22523 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22524 (fseeko): Likewise.
22525 (ftello): Likewise.
22526 (ftrylockfile): Likewise.
22527 (funlockfile): Likewise.
22528 (getc_unlocked): Likewise.
22529 (getchar_unlocked): Likewise.
22530 (putc_unlocked): Likewise.
22531 (putchar_unlocked): Likewise.
22532
22533 2016-04-27 Florian Weimer <fweimer@redhat.com>
22534
22535 [BZ #19868]
22536 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22537 DNS packet syntax checks (which were not needed before). Skip
22538 over non-PTR records.
22539
22540 2016-04-27 Florian Weimer <fweimer@redhat.com>
22541
22542 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22543 definition. Include <stddef.h> instead.
22544
22545 2016-04-27 Florian Weimer <fweimer@redhat.com>
22546
22547 [BZ #19831]
22548 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22549 function.
22550 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22551 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22552
22553 2016-04-27 Florian Weimer <fweimer@redhat.com>
22554
22555 [BZ #19862]
22556 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22557 (getanswer_r): Do not call syslog.
22558 (gaih_getanswer_slice): Likewise.
22559 * resolv/gethnamaddr.c (AskedForGot): Remove.
22560 (getanswer): Do not call syslog.
22561 (gethostbyaddr): Likewise.
22562
22563 2016-04-27 Joseph Myers <joseph@codesourcery.com>
22564
22565 * conform/data/signal.h-data (union sigval): Expect also if
22566 [XOPEN2K].
22567 (struct sigevent): Likewise.
22568 (SIGEV_NONE): Likewise.
22569 (SIGEV_SIGNAL): Likewise.
22570 (SIGEV_THREAD): Likewise.
22571 (SIGRTMIN): Likewise.
22572 (SIGRTMAX): Likewise.
22573 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22574 variable.
22575 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22576
22577 2016-04-27 Florian Weimer <fweimer@redhat.com>
22578
22579 [BZ #19830]
22580 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22581 (gaih_getanswer_slice): Likewise.
22582 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22583 Also check for availability of RR metadata.
22584
22585 2016-04-27 Florian Weimer <fweimer@redhat.com>
22586
22587 [BZ #19825]
22588 * resolv/res_send.c (send_vc): Remove early *resplen2
22589 initialization. Set *resplen2 on socket error. Call
22590 close_and_return_error for other errors.
22591
22592 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
22593
22594 * sysdeps/unix/sysv/linux/netiucv/iucv.h
22595 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22596 (SCM_IUCV_TRGCLS): New define.
22597
22598 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22599
22600 [BZ #20005]
22601 * libio/fmemopen.c (fmemopen_write): Update internal position after
22602 write.
22603 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22604 * stdio-common/tst-fmemopen4.c: New file..
22605
22606 2016-04-26 Joseph Myers <joseph@codesourcery.com>
22607
22608 [BZ #19996]
22609 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22610 not [__USE_XOPEN2K].
22611 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22612 variable.
22613
22614 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22615 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22616 variable.
22617
22618 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22619 [__USE_XOPEN2K8].
22620 [__USE_LARGEFILE64] (off64_t): Likewise.
22621 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22622 variable.
22623
22624 2016-04-25 Joseph Myers <joseph@codesourcery.com>
22625
22626 [BZ #19989]
22627 * libio/stdio.h (cuserid): Do not declare if
22628 [__USE_XOPEN2K && !__USE_GNU].
22629 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22630 variable.
22631
22632 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22633
22634 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22635 (sysdep_routines): Add P8 and PPC64 strcspn targets.
22636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22637 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22638 ifunc'ed strcspn.
22639 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22640 [EALIGN]: Removed.
22641 [END]: Likewise
22642 [STRSPN]: Define instead of the above to control symbol name.
22643 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22644 New file.
22645 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22646 Likewise.
22647 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22648 Likewise.
22649 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22650 Likewise.
22651 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22652 [INITIAL_MASK]: New macro.
22653 [STRCSPN]: Likewise.
22654 [UPDATE_MASK]: Likewise.
22655 [USE_AS_STRCSPN]: Likewise.
22656
22657 2016-04-25 Florian Weimer <fweimer@redhat.com>
22658
22659 [BZ #19931]
22660 * stdio-common/tst-vfprintf-width-prec.c: New file.
22661 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22662 (tests-special): Add tst-vfprintf-width-prec-mem.out.
22663 (generated): Add mtrace-related files.
22664 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22665 (tst-%-mem.out): New pattern rule, replaces
22666 tst-printf-bz18872-mem.out.
22667 * stdio-common/vfprintf.c (vfprintf): When handling a precision
22668 specifier, deallocate any previously allocated work buffer.
22669
22670 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22671
22672 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22673 Add nop before __startcontext, add explaining comments.
22674
22675 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
22676
22677 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22678 any more. Notably since IPV6_PKTINFO has been reintroduced with a
22679 completely different API.
22680
22681 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22682 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22683 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22684 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22685 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22686 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22687 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22688 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22689 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22690 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22691
22692 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
22693
22694 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22695
22696 2016-04-23 Mike Frysinger <vapier@gentoo.org>
22697
22698 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22699 when it is the default of 0.
22700
22701 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22702
22703 * sysdeps/powerpc/locale-defines.sym: Add new macros.
22704 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22705 (sysdep_routines): Add new strcasestr targets.
22706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22707 (__libc_ifunc_impl_list): Likewise.
22708 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22709 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22710 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22711 * sysdeps/powerpc/powerpc64/power8/Makefile:
22712 New file to add strcasestr-ppc64 to sysdep_routines.
22713 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22714 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22715
22716 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
22717
22718 * benchtests/Makefile (wcsmbs-benchset): Include only for
22719 native builds and runs.
22720 (LOCALES): Likewise.
22721 (bench-build): Build timing-type here instead of the bench
22722 target. Generate locale only for native builds.
22723 * benchtests/README: Add note for cross-building.
22724
22725 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22726
22727 * benchtests/README: Update README to include instructions on
22728 using bench-build.
22729
22730 * Makefile.in (bench-build): New target.
22731 * Rules (PHONY): Add bench-build target.
22732 * benchtests/Makefile (bench): Depend on bench-build.
22733 (bench-build): New target.
22734
22735 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22736
22737 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22738 profil_reply_port.
22739 (profile_waiter): Do not initialize profil_reply_port.
22740 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22741 frequency instead of tick length in us.
22742
22743 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22744
22745 [BZ #18712]
22746 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22747 (__old_mempcpy_small): Likewise.
22748 (__old_strcpy_small): Likewise.
22749 (__old_stpcpy_small): Likewise.
22750 (__old_strpbrk_c2): Fix compat symbol name.
22751 (__old_strpbrk_c3): Likewise.
22752 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22753 (__mempcpy_small): Remove.
22754 (__strcpy_small): Remove.
22755 (__stpcpy_small): Remove.
22756
22757 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22758
22759 [BZ #19400]
22760 * locale/iso-639.def: Add the Talossan/tzl language.
22761
22762 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22763
22764 [BZ #16983]
22765 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22766 comment. Add "ln" to strchr check on postal_fmt.
22767
22768 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22769
22770 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22771 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22772 tel_dom_fmt.
22773
22774 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22775
22776 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22777 (sysdep_routines): Added __strlen_power8.
22778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22779 __strlen_power8 entry.
22780 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22781 Implementation for POWER8.
22782 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22783 for __strlen_power8.
22784 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22785 Implementation for POWER8.
22786
22787 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22788
22789 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22790
22791 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22792
22793 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22794 Goldmont and Airmont processors.
22795
22796 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22797
22798 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22799 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22800 (__STRING2_SMALL_GET32): Remove.
22801 (memset): Remove.
22802 (__memset_1): Remove.
22803 (__memset_gc): Remove.
22804 (__mempcpy): Remove.
22805 (mempcpy): Remove.
22806 (__mempcpy_args): Remove.
22807 (strchr): Remove.
22808 (strcpy): Remove.
22809 (strcpy_args): Remove.
22810 (__stpcpy_args): Remove.
22811 (__strcmp_cc): Remove.
22812 (__strcmp_gc): Remove.
22813 (strstr): Remove.
22814
22815 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22816
22817 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22818 * nis/nis_call.c (nis_server_cache_add): Likewise.
22819
22820 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22821
22822 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22823
22824 2016-04-14 Florian Weimer <fweimer@redhat.com>
22825
22826 * malloc/arena.c (__malloc_fork_lock_parent)
22827 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22828 internal_function attribute.
22829
22830 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22831
22832 * stdio-common/printf_fp.c (__printf_fp_l):
22833 Rename ___printf_fp_l to __printf_fp_l and
22834 remove strong alias. Use libc_hidden_def instead
22835 of ldbl_hidden_def macro.
22836
22837 2016-04-14 Florian Weimer <fweimer@redhat.com>
22838
22839 Remove malloc hooks from fork handler. They are no longer needed
22840 because malloc runs right before fork, and no malloc calls from
22841 other fork handlers are not possible anymore.
22842 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22843 declarations.
22844 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22845 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22846 (atfork_recursive_cntr): Remove.
22847 (__malloc_fork_lock_parent): Do not override malloc hooks and
22848 thread_arena.
22849 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22850 thread_arena.
22851 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22852 thread_arena instead of save_arena.
22853
22854 2016-04-14 Florian Weimer <fweimer@redhat.com>
22855
22856 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22857 (thread_atfork, thread_atfork_static): Remove.
22858 * sysdeps/mach/hurd/malloc-machine.h:
22859 (thread_atfork, thread_atfork_static): Remove.
22860
22861 2016-04-14 Florian Weimer <fweimer@redhat.com>
22862
22863 [BZ #19431]
22864 Run the malloc fork handler as late as possible to avoid deadlocks.
22865 * malloc/malloc-internal.h: New file.
22866 * malloc/malloc.c: Include it.
22867 * malloc/arena.c (ATFORK_MEM): Remove.
22868 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22869 Update comment.
22870 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22871 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22872 Remove outdated comment.
22873 (ptmalloc_init): Do not call thread_atfork. Remove
22874 thread_atfork_static.
22875 * malloc/tst-malloc-fork-deadlock.c: New file.
22876 * Makefile (tests): Add tst-malloc-fork-deadlock.
22877 (tst-malloc-fork-deadlock): Link against libpthread.
22878 * manual/memory.texi (Aligned Memory Blocks): Update safety
22879 annotation comments.
22880 * sysdeps/nptl/fork.c (__libc_fork): Call
22881 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22882 __malloc_fork_unlock_child.
22883 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22884
22885 2016-04-14 Florian Weimer <fweimer@redhat.com>
22886
22887 [BZ #19613]
22888 Remove union wait.
22889 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22890 (w_stopsig, w_stopval): Remove.
22891 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22892 stat_loc argument.
22893 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22894 (__WAIT_STATUS_DEFN): Remove.
22895 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22896 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22897 (wait, wait3, wait4): Use int * for the stat_loc argument.
22898 * posix/wait.c (__wait): Likewise.
22899 * posix/wait3.c (__wait3): Likewise.
22900 * posix/wait4.c (__wait4): Likewise.
22901 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22902 (__WAIT_STATUS_DEFN): Remove.
22903 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22904 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22905 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22906 argument.
22907 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22908 * sysdeps/posix/wait3.c (__wait3): Likewise.
22909 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22910 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22911 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22912 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22913 stat_loc argument.
22914 * manual/process.texi (BSD Wait Functions): Remove union wait.
22915
22916 2016-04-13 Andreas Schwab <schwab@suse.de>
22917
22918 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22919 (test-extras): Add tst-tlsalign-vars.
22920 * math/Makefile: Wrap long lines.
22921 (libm-vec-test-wrappers): Define.
22922 (test-extras): Add $(libm-vec-test-wrappers).
22923 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22924 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22925 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22926 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22927 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22928 (extra-test-objs): Add corresponding objects.
22929
22930 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22931
22932 [BZ #19928]
22933 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22934 New.
22935 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22936 times of shared cache size.
22937 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22938 (VMOVNT): New.
22939 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22940 (VMOVNT): Likewise.
22941 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22942 (VMOVNT): Likewise.
22943 (VMOVU): Changed to movups for smaller code sizes.
22944 (VMOVA): Changed to movaps for smaller code sizes.
22945 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22946 comments.
22947 (PREFETCH): New.
22948 (PREFETCH_SIZE): Likewise.
22949 (PREFETCHED_LOAD_SIZE): Likewise.
22950 (PREFETCH_ONE_SET): Likewise.
22951 Rewrite to use forward and backward loops, which move 4 vector
22952 registers at a time, to support overlapping addresses and use
22953 non temporal store if size is above the threshold and there is
22954 no overlap between destination and source.
22955
22956 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22957
22958 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22959 Include dl-vdso.
22960 * sysdeps/unix/sysv/linux/mips/Versions: Add
22961 __vdso_clock_gettime.
22962 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22963 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22964 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22965 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22966 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22967 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22968 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22969 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22970 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22971
22972 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22973
22974 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22975 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22976 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22977 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22978 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22979 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22982 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22984 syscalls generation.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22986 [__NR_pwrite64] (__NR_write): Remove define.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22988 [__NR_pwrite64] (__NR_write): Remove define.
22989 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22990 Remove define.
22991 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22992 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22993 Remove define.
22994 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22995 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22996 Linux implementation as base.
22997 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22998
22999 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23000 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23001 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23002 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23005 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23006 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23007 syscall generation.
23008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23009 [__NR_pread64] (__NR_pread): Remove define.
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23011 [__NR_pread64] (__NR_pread): Likewise.
23012 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23013 define.
23014 (__libc_pread): Use SYSCALL_LL macro on offset argument.
23015 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23016 Remove define.
23017 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23018 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23019 Linux implementation as base.
23020 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23021 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23022 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23023
23024 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23025 definition.
23026 (__ALIGNMENT_COUNT): Likewise.
23027 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23028 (__ALIGNMENT_COUNT): Likewise.
23029 (SYSCALL_LL): New define.
23030 (SYSCALL_LL64): Likewise.
23031 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23032 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23033 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23034 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23035
23036 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23037 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23038 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23039 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23040 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23041 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23042
23043 2016-04-11 Florian Weimer <fweimer@redhat.com>
23044
23045 [BZ #19865]
23046 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23047 original buffer before retry.
23048
23049 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23050
23051 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23052 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23053 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23054 GLRO(dl_auxv) list.
23055 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23056 including <ldsodefs.h>.
23057 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23058
23059 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
23060
23061 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23062 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23063 $(CPPFLAGS).
23064
23065 2016-04-09 Khem Raj <raj.khem@gmail.com>
23066
23067 [BZ #17950]
23068 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23069 Add -mfpmath=387.
23070
23071 2016-04-09 Mike Frysinger <vapier@gentoo.org>
23072
23073 * sysdeps/i386/configure.ac: Change == to = when calling test.
23074 * sysdeps/x86_64/configure.ac: Likewise.
23075 * sysdeps/i386/configure: Regenerated.
23076 * sysdeps/x86_64/configure: Likewise.
23077
23078 2016-04-08 Mike Frysinger <vapier@gentoo.org>
23079
23080 [BZ #16137]
23081 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23082 * benchtests/bench-strcoll.c (input_files): Likewise.
23083 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23084 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23085 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23086
23087 2016-04-08 Joseph Myers <joseph@codesourcery.com>
23088
23089 [BZ #19929]
23090 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23091 [__USE_XOPEN2K8 && !__USE_GNU].
23092 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23093 variable.
23094
23095 [BZ #19925]
23096 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23097 define if [!__USE_MISC && __USE_XOPEN2K].
23098 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23099 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23101 Likewise.
23102 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23103 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23104 variable.
23105 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23106
23107 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23108
23109 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23110 (sysdep_routines): Add new strspn targets.
23111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23112 (__libc_ifunc_impl_list): Add strspn.
23113 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23114 New file.
23115 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23116 Likewise.
23117 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23118 Likewise.
23119 * sysdeps/powerpc/powerpc64/power8/strspn.S:
23120 Likewise.
23121
23122 2016-04-07 Florian Weimer <fweimer@redhat.com>
23123
23124 * misc/hsearch_r.c: Include <limits.h>.
23125
23126 2016-04-07 Florian Weimer <fweimer@redhat.com>
23127
23128 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23129
23130 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23131
23132 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23133 (MEMCPY_SYMBOL): New.
23134 (MEMPCPY_SYMBOL): Likewise.
23135 (MEMMOVE_CHK_SYMBOL): Likewise.
23136 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23137 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23138 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
23139 Provide alias for memcpy in libc.a and ld.so.
23140
23141 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23142
23143 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23144 (MEMSET_CHK_SYMBOL): New. Define if not defined.
23145 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23146 Disabled fro now.
23147 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23148 symbols. Properly check USE_MULTIARCH on __memset symbols.
23149
23150 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
23151
23152 * benchtests/Makefile (string-benchset): Add memcpy-large,
23153 memmove-large and memset-large.
23154 * benchtests/bench-memcpy-large.c: New file.
23155 * benchtests/bench-memmove-large.c: Likewise.
23156 * benchtests/bench-memmove-large.c: Likewise.
23157 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23158
23159 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23160
23161 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23162 32-bit displacement to avoid long nop between instructions.
23163
23164 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
23165
23166 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23167 a comment on VMOVU and VMOVA.
23168
23169 2016-04-04 Florian Weimer <fweimer@redhat.com>
23170
23171 [BZ #19633]
23172 Use specified locale for number formatting in strfmon_l.
23173 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23174 (__nl_lookup_word): New inline functions.
23175 * include/printf.h (__print_fp_l): Declare.
23176 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23177 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
23178 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23179 (___printf_fp): New function.
23180 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23181 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23182 * stdlib/tst-strfmon_l.c (do_test): New test.
23183 * stdlib/Makefile (tests): Add kt.
23184 (LOCALES): Build additional locales.
23185 (tst-strfmon_l.out): Require locales.
23186
23187 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23190 if not in libc.
23191 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23192 Likewise.
23193 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23194 Likewise.
23195 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23196 Likewise.
23197
23198 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
23199
23200 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23201 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23202 with unaligned_erms.
23203 (__memmove_erms): Skip if source == destination.
23204 (__memmove_unaligned_erms): Don't check source == destination
23205 first.
23206
23207 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23208
23209 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23210 bit_arch_Fast_Copy_Backward for Intel Core proessors.
23211
23212 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23213
23214 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23215 * string/strspn.c (strspn): Likewise.
23216
23217 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23218
23219 * benchtests/bench-memset.c (do_test): Support 64-byte
23220 alignment.
23221 (test_main): Test 64-byte alignment.
23222
23223 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23224
23225 * benchtests/bench-memmove.c (test_main): Test 64-byte
23226 alignment.
23227
23228 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
23229
23230 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23231
23232 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23233
23234 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23235 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23236 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23237
23238 * string/strpbrk.c (strpbrk): Rewrite function.
23239 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23240 (__strpbrk_c2): Likewise.
23241 (__strpbrk_c3): Likewise.
23242 * string/string-inlines.c
23243 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23244 Likewise.
23245 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23246 Likewise.
23247
23248 * string/strspn.c (strcspn): Rewrite function.
23249 * string/bits/string2.h (strspn): Use __builtin_strcspn.
23250 (__strspn_c1): Remove inline function.
23251 (__strspn_c2): Likewise.
23252 (__strspn_c3): Likewise.
23253 * string/string-inlines.c
23254 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23255 compatibility symbol.
23256 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23257 Likewise.
23258 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23259 Likewise.
23260 * string/string-inlines.c: Include generic version.
23261
23262 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
23263 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23264
23265 * string/Version (libc): Add GLIBC_2.24.
23266 * string/strcspn.c (strcspn): Rewrite function.
23267 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23268 (__strcspn_c1): Remove inline function.
23269 (__strcspn_c2): Likewise.
23270 (__strcspn_c3): Likewise.
23271 * string/string-inline.c
23272 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23273 compatibility symbol.
23274 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23275 Likewise.
23276 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23277 Likewise.
23278 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23279
23280 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23281
23282 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23283 Use ahi instead of aghi to adjust stack pointer.
23284
23285 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23286
23287 [BZ #19853]
23288 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23289 TEST to take significant digits as second parameter.
23290 [TEST]: Redefine in terms of TEST_N taking 30
23291 significant digits.
23292 (do_test): Add test case to demonstrate precision
23293 failure in the ldbl-128ibm printf.
23294 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23295 (__mpn_extract_long_double): Carry 7 extra intermediate
23296 bits of precision to aide computing difference when
23297 signs differ.
23298
23299 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23300
23301 [BZ #19881]
23302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23303 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23304 memset-avx512-unaligned-erms.
23305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23306 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23307 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23308 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23309 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23310 __memset_sse2_unaligned_erms, __memset_erms,
23311 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23312 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23313 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23314 file.
23315 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23316 Likewise.
23317 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23318 Likewise.
23319 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23320 Likewise.
23321
23322 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
23323
23324 [BZ #19776]
23325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23326 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23327 memmove-avx512-unaligned-erms.
23328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23329 (__libc_ifunc_impl_list): Test
23330 __memmove_chk_avx512_unaligned_2,
23331 __memmove_chk_avx512_unaligned_erms,
23332 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23333 __memmove_chk_sse2_unaligned_2,
23334 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23335 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23336 __memmove_avx512_unaligned_erms, __memmove_erms,
23337 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23338 __memcpy_chk_avx512_unaligned_2,
23339 __memcpy_chk_avx512_unaligned_erms,
23340 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23341 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23342 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23343 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23344 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23345 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23346 __mempcpy_chk_avx512_unaligned_erms,
23347 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23348 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23349 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23350 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23351 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23352 __mempcpy_erms.
23353 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23354 file.
23355 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23356 Likewise.
23357 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23358 Likewise.
23359 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23360 Likewise.
23361
23362 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23363
23364 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23365 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23366 (La_s390_64_regs): Likewise.
23367 (La_s390_32_retval): Append vector register lrv_v24.
23368 (La_s390_64_retval): Likeweise.
23369 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23370 Handle extended structs La_s390_32_regs and La_s390_32_retval.
23371 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23372 Handle extended structs La_s390_64_regs and La_s390_64_retval.
23373
23374 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
23375
23376 [BZ #19916]
23377 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23378 to create a non-vector/vector version for _dl_runtime_resolve and
23379 _dl_runtime_profile. Move implementation to ...
23380 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23381 (_dl_runtime_resolve) Save and restore fpr/vrs.
23382 (_dl_runtime_profile) Save and restore vrs and fix some issues
23383 if _dl_call_pltexit is called.
23384 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23385 Choose the correct resolver function if running on a machine with vx.
23386 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23387 to create a non-vector/vector version for _dl_runtime_resolve and
23388 _dl_runtime_profile. Move implementation to ...
23389 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23390 (_dl_runtime_resolve) Save and restore fpr/vrs.
23391 (_dl_runtime_profile) Save and restore vrs and fix some issues
23392 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23393 Choose the correct resolver function if running on a machine with vx.
23394
23395 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23396
23397 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23398
23399 2016-03-31 Florian Weimer <fweimer@redhat.com>
23400
23401 [BZ #19509]
23402 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23403 skip_map != NULL.
23404 * elf/tst-dlsym-error.c: New file.
23405 * elf/Makefile (tests): Add tst-dlsym-error.
23406 (tst-dlsym-error): Link against libdl.
23407
23408 2016-03-29 Joseph Myers <joseph@codesourcery.com>
23409
23410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23411 (__ASSUME_FUTIMESAT): Remove macro.
23412 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23413
23414 2016-03-29 Florian Weimer <fweimer@redhat.com>
23415
23416 [BZ #19879]
23417 CVE-2016-3075
23418 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23419 copy name.
23420
23421 2016-03-29 Florian Weimer <fweimer@redhat.com>
23422
23423 [BZ #19837]
23424 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23425 error if parse_line fails.
23426
23427 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23428
23429 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23430 (index_cpu_ERMS): Likewise.
23431 (reg_ERMS): Likewise.
23432
23433 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
23434
23435 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23436 PER_LINUX_FDPIC): Add.
23437
23438 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23441 memcpy-avx512-no-vzeroupper.
23442 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23443 to ...
23444 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23445 (MEMCPY): Don't define.
23446 (MEMCPY_CHK): Likewise.
23447 (MEMPCPY): Likewise.
23448 (MEMPCPY_CHK): Likewise.
23449 (MEMPCPY_CHK): Renamed to ...
23450 (__mempcpy_chk_avx512_no_vzeroupper): This.
23451 (MEMPCPY_CHK): Renamed to ...
23452 (__mempcpy_chk_avx512_no_vzeroupper): This.
23453 (MEMCPY_CHK): Renamed to ...
23454 (__memmove_chk_avx512_no_vzeroupper): This.
23455 (MEMCPY): Renamed to ...
23456 (__memmove_avx512_no_vzeroupper): This.
23457 (__memcpy_avx512_no_vzeroupper): New alias.
23458 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23459
23460 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23461
23462 [BZ #18858]
23463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23464 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23465 and mempcpy-avx512-no-vzeroupper.
23466 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23467 New.
23468 (MEMPCPY): Likewise.
23469 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23470 (MEMPCPY_CHK): New.
23471 (MEMPCPY): Likewise.
23472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23473 (MEMPCPY): Likewise.
23474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23475 (MEMPCPY): Likewise.
23476 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23477 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23478 Likewise.
23479 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23480 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23481
23482 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
23483 Amit Pawar <Amit.Pawar@amd.com>
23484
23485 [BZ #19583]
23486 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23487 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23488 processors. Set Fast_Copy_Backward for AMD Excavator
23489 processors.
23490 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23491 New.
23492 (index_arch_Fast_Unaligned_Copy): Likewise.
23493 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23494 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23495
23496 2016-03-25 Florian Weimer <fweimer@redhat.com>
23497
23498 [BZ #19791]
23499 * resolv/res_send.c (close_and_return_error): New function.
23500 (send_dg): Initialize *resplen2 after reopen failure. Call
23501 close_and_return_error for error returns. On error paths without
23502 __res_iclose, initialze *resplen2 explicitly. Update comment for
23503 successful return.
23504
23505 2016-03-25 Florian Weimer <fweimer@redhat.com>
23506
23507 [BZ #19860]
23508 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23509 zero if the compiler does not provide the AVX512F bit.
23510
23511 2016-03-24 Joseph Myers <joseph@codesourcery.com>
23512
23513 [BZ #19848]
23514 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23515 from 8 to 4.
23516 (__ieee754_powl): Compare integer exponent against 4 not 8.
23517 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23518 from 8 to 4.
23519 (__ieee754_powl): Compare integer exponent against 4 not 8.
23520 * math/auto-libm-test-in: Add more tests of pow.
23521 * math/auto-libm-test-out: Regenerated.
23522 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524
23525 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23526
23527 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23528 Make code unconditional.
23529 [!__NR_utimensat]: Remove conditional code.
23530 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23531 Make code unconditional.
23532 [!__NR_utimensat]: Remove conditional code.
23533 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23534 Make code unconditional.
23535 [!__NR_utimensat]: Remove conditional code.
23536
23537 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
23538
23539 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23540 Make code unconditional.
23541
23542 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
23543
23544 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23545 call-clobbered %eax on retry path.
23546 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23547
23548 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23549
23550 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23551 Don't set %rcx twice before "rep movsb".
23552
23553 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
23554
23555 [BZ #19583]
23556 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23557 inline. Check family before setting family, model and
23558 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
23559 bits here.
23560 (init_cpu_features): Replace HAS_CPU_FEATURE and
23561 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23562 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
23563 for Intel processors with usable AVX2. Call get_common_indeces
23564 for other processors with family == NULL.
23565 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23566 (CPU_FEATURES_ARCH_P): Likewise.
23567 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23568 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23569
23570 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23571
23572 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23573 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23574 $(shared-thread-library) instead of hardcoding the path to libpthread.
23575
23576 2016-03-22 Joseph Myers <joseph@codesourcery.com>
23577
23578 * sysdeps/unix/sysv/linux/kernel-features.h
23579 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23580 * sysdeps/unix/sysv/linux/getdents.c
23581 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23582 [!have_no_getdents64_defined]: Likewise.
23583 (__GETDENTS): Remove __have_no_getdents64 conditional.
23584
23585 2016-03-21 Joseph Myers <joseph@codesourcery.com>
23586
23587 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23588 Remove macro.
23589 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23590 <kernel-features.h>.
23591 (signalfd) [__NR_signalfd4]: Make code unconditional.
23592 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23593
23594 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23595
23596 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23597 style.
23598
23599 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23602 (__pthread_enable_asynccancel): Use JUMPTARGET to call
23603 __pthread_unwind.
23604 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23605 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23606 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23607 (__condvar_cleanup1): Likewise.
23608
23609 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
23610
23611 [BZ #19822]
23612 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23613 move it to the final $@ location.
23614
23615 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23616
23617 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23618 access where posix_spawn success and pid argument is null.
23619 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23620 success case.
23621
23622 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
23623
23624 * sysdeps/mach/hurd/i386/c++-types.data: New file.
23625
23626 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23627
23628 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23629 and __fcntl.
23630 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23631 __fcntl only.
23632 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23633 adding attribute_hidden to __open and __fcntl.
23634
23635 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23636 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23637 depend on libc-modules.h,
23638 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23639
23640 2016-03-17 Joseph Myers <joseph@codesourcery.com>
23641
23642 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23643 Remove macro.
23644 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23645 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23646 entry.
23647
23648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23649 Remove macro.
23650 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23651 include <kernel-features.h>.
23652 [!__ASSUME_FALLOCATE]: Remove conditional code.
23653 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23654
23655 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
23656
23657 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23658 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23659 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23660 (_ZGVdN4v_cos_avx2): Likewise.
23661 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23662 (_ZGVdN4v_cos): Likewise.
23663 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23664 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23665 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23666 (_ZGVdN4v_exp_avx2): Likewise.
23667 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23668 (_ZGVdN4v_exp): Likewise.
23669 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23670 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23671 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23672 (_ZGVdN4v_log_avx2): Likewise.
23673 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23674 (_ZGVdN4v_log): Likewise.
23675 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23676 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23677 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23678 (_ZGVdN4vv_pow_avx2): Likewise.
23679 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23680 (_ZGVdN4vv_pow): Likewise.
23681 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23682 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23683 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23684 (_ZGVdN4v_sin_avx2): Likewise.
23685 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23686 (_ZGVdN4v_sin): Likewise.
23687 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23688 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23689 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23690 (_ZGVdN4vvv_sincos_avx2): Likewise.
23691 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23692 (_ZGVdN4vvv_sincos): Likewise.
23693 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23694 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23695 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23696 (_ZGVbN4v_cosf_sse4): Likewise.
23697 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23698 (_ZGVdN8v_cosf_avx2): Likewise.
23699 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23700 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23701 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23702 (_ZGVbN4v_expf_sse4): Likewise.
23703 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23704 (_ZGVdN8v_expf_avx2): Likewise.
23705 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23706 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23707 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23708 (_ZGVbN4v_logf_sse4): Likewise.
23709 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23710 (_ZGVdN8v_logf_avx2): Likewise.
23711 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23712 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23713 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23714 (_ZGVbN4vv_powf_sse4): Likewise.
23715 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23716 (_ZGVdN8vv_powf_avx2): Likewise.
23717 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23718 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23719 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23720 (_ZGVbN4vvv_sincosf_sse4): Likewise.
23721 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23722 (_ZGVdN8vvv_sincosf_avx2): Likewise.
23723 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23724 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23725 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23726 (_ZGVbN4v_sinf_sse4): Likewise.
23727 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23728 (_ZGVdN8v_sinf_avx2): Likewise.
23729 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23730 Use JUMPTARGET to call callee.
23731 (WRAPPER_IMPL_SSE2_ff): Likewise.
23732 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23733 (WRAPPER_IMPL_AVX): Likewise.
23734 (WRAPPER_IMPL_AVX_ff): Likewise.
23735 (WRAPPER_IMPL_AVX_fFF): Likewise.
23736 (WRAPPER_IMPL_AVX512): Likewise.
23737 (WRAPPER_IMPL_AVX512_ff): Likewise.
23738 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23739 Likewise.
23740 (WRAPPER_IMPL_SSE2_ff): Likewise.
23741 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23742 (WRAPPER_IMPL_AVX): Likewise.
23743 (WRAPPER_IMPL_AVX_ff): Likewise.
23744 (WRAPPER_IMPL_AVX_fFF): Likewise.
23745 (WRAPPER_IMPL_AVX512): Likewise.
23746 (WRAPPER_IMPL_AVX512_ff): Likewise.
23747 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23748
23749 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23750
23751 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23752 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23753 qualifier.
23754 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23755 internal_function qualifiers.
23756
23757 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23758
23759 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23760 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23761 * math/atest-exp.c (exp_mpn): Mark chk unused.
23762 * math/atest-exp2.c (exp_mpn): Likewise.
23763 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23764 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23765
23766 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23767
23768 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23769 Remove macro.
23770 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23771 <kernel-features.h>.
23772 [__NR_ppoll]: Make code unconditional.
23773 [!__ASSUME_PPOLL]: Remove conditional code.
23774
23775 * sysdeps/unix/sysv/linux/kernel-features.h
23776 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23777 (__ASSUME_ACCEPT4): Likewise.
23778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23779 Define.
23780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23781 Likewise.
23782 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23783 Likewise.
23784 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23785 Likewise.
23786 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23787 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23788 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23789 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23790 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23791 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23792 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23793 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23794 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23795 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23796 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23797 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23798 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23799 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23800 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23801 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23802 Likewise.
23803 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23804 Likewise.
23805 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23806 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23807 0x040300].
23808 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23809 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23810 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23811 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23812 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23813 0x030300].
23814 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23815 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23816 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23817 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23818 0x040300].
23819 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23820 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23821 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23822 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23823 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23824 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23825 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23826 0x030300].
23827 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23828 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23829 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23830 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23831 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23832 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23833 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23834 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23835 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23836 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23837 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23838 0x040300].
23839 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23840 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23841 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23842 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23843 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23844 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23845 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23846 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23847 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23848 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23849 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23850 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23851 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23852 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23853 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23854 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23855 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23856 Likewise.
23857 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23858 Likewise.
23859
23860 2016-03-15 Andreas Schwab <schwab@suse.de>
23861
23862 [BZ #19257]
23863 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23864 statp->_u._ext.nscount as loop count.
23865
23866 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23867
23868 * math/test-signgam-finite-c99.c: Also #undef
23869 __LIBC_INTERNAL_MATH_INLINES.
23870 * math/test-signgam-main.c: Likewise.
23871
23872 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23873
23874 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23875 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23876 (MADV_FREE): Likewise.
23877 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23878 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23879 EPOLLEXCLUSIVE.
23880
23881 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23882
23883 * timezone/README: Remove mention of checktab.awk. Mention wiki
23884 SharedSourceFiles.
23885
23886 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23887
23888 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23889 WUNTRACED.
23890
23891 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23892
23893 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23894 order to match the type of p when calling atomic_exchange_acq().
23895
23896 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23897
23898 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23899 cfi_offset calls.
23900 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23901 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23902 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23903 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23904 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23905
23906 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23907
23908 * timezone/checktab.awk: Removed.
23909
23910 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23911
23912 * manual/math.texi (Errors in Math Functions): Document relaxed
23913 accuracy goals for IBM long double.
23914 * math/libm-test.inc (test_exceptions): Always allow spurious
23915 "underflow" and "inexact" exceptions for IBM long double.
23916
23917 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23918
23919 [BZ #19762]
23920 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23921 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23922 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23923 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23924 (bit_arch_*): This for feature array.
23925 (bit_*): Renamed to ...
23926 (bit_cpu_*): This for cpu array.
23927 (index_*): Renamed to ...
23928 (index_arch_*): This for feature array.
23929 (index_*): Renamed to ...
23930 (index_cpu_*): This for cpu array.
23931 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23932 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23933 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23934 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23935 bit_##name with index_cpu_##name and bit_cpu_##name.
23936 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23937 bit_##name with index_arch_##name and bit_arch_##name.
23938
23939 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23940
23941 [BZ #19792]
23942 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23943 Terminate FDE before return label.
23944
23945 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23946
23947 [BZ #19790]
23948 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23949 (rintl): Define as macro.
23950 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23951 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23952 of fesetround. Ensure results are evaluated before end of scope.
23953 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23954 USE_AS_NEARBYINTL and include s_rintl.c.
23955 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23956 Disable exception traps in new environment.
23957 (libc_feholdsetround_ppc_ctx): Likewise.
23958
23959 2016-03-08 Roland McGrath <roland@hack.frob.com>
23960
23961 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23962 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23963 (tst_audit10_aux) [__AVX512F__]: ... here.
23964
23965 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23966
23967 * include/sys/auxv.h: New file.
23968
23969 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23970
23971 [BZ #19759]
23972 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23973
23974 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23975
23976 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23977 operand modifier.
23978 (feclearexcept): Likewise.
23979
23980 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23981
23982 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23983 to reflect the entire 32-bit HWCAP.
23984 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23985 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23986
23987 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23988
23989 [BZ #19783]
23990 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23991 $(test-via-rtld-prefix).
23992 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23993
23994 2016-03-08 Florian Weimer <fweimer@redhat.com>
23995
23996 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23997 union wait. Report any non-zero exit status as error.
23998
23999 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24000
24001 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24002 configured with --enable-hardcoded-path-in-tests.
24003
24004 2016-03-08 Joseph Myers <joseph@codesourcery.com>
24005
24006 [BZ #19677]
24007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24008 (__ieee754_remainderl): Put zero low parts in canonical form.
24009 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24010 file. Based on
24011 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24012 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24013 with wrapper round test-fmodrem-ldbl-128ibm.c.
24014 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24015 file.
24016 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24017 Likewise.
24018 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24019 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24020
24021 2016-03-07 Florian Weimer <fweimer@redhat.com>
24022
24023 [BZ #19610]
24024 * elf/ldconfig.c (opt_link): Update comment.
24025 (options): Update help string for option -X.
24026 (search_dir): Unlink stale symbolic link only if updating symbolic
24027 links.
24028 * elf/tst-ldconfig-X.sh: New file.
24029 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24030 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24031
24032 2016-03-07 Andreas Schwab <schwab@suse.de>
24033
24034 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24035 needed arguments.
24036
24037 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
24038
24039 [BZ #15333]
24040 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24041 to lstat64.
24042
24043 2016-03-07 Florian Weimer <fweimer@redhat.com>
24044
24045 * libio/filedoalloc.c (isatty): Remove.
24046 (local_isatty): Add comment. Call __isatty directly.
24047 (_IO_file_doallocate): Update comment. Assume _LIBC.
24048 * libio/wfiledoalloc.c (isatty): Remove.
24049 (_IO_wfile_doallocate): Update comment.
24050
24051 2016-03-07 Florian Weimer <fweimer@redhat.com>
24052
24053 [BZ #19269]
24054 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24055 tst-audit4-aux.o.
24056 (tst-audit10): Depend on tst-audit10-aux.o.
24057 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24058 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24059 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24060 instead of inline AVX code.
24061 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24062 instead of inline AVX512 code.
24063 * sysdeps/x86_64/tst-audit4-aux.c: New file
24064 * sysdeps/x86_64/tst-audit10-aux.c: New file
24065
24066 [BZ #19648]
24067 * test-skeleton.c (main): Do not set RLIMIT_DATA.
24068
24069 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24070
24071 [BZ #14750]
24072 [BZ #10354]
24073 [BZ #18433]
24074 * include/sched.h (__clone): Add hidden prototype.
24075 (__clone2): Likewise.
24076 * include/unistd.h (__dup): Likewise.
24077 * posix/Makefile (tests): Add tst-spawn2.
24078 * posix/tst-spawn2.c: New file.
24079 * sysdeps/posix/dup.c (__dup): Add hidden definition.
24080 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24081 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24082 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24083 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24084 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24085 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24086 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24087 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24088 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24089 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24091 Likewise.
24092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24093 Likewise.
24094 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24095 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24096 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24097 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24098 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24099 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24100 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24101 * sysdeps/unix/sysv/linux/nptl-signals.h
24102 (____nptl_is_internal_signal): New function.
24103 * sysdeps/unix/sysv/linux/spawni.c: New file.
24104
24105 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24106 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24107 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24108 * posix/tst-execvp2.c (do_test): Likewise.
24109 * posix/tst-execvp3.c (do_test): Likewise.
24110 * posix/tst-execvp4.c (do_test): Likewise.
24111 * posix/tst-execvpe1.c: New file.
24112 * posix/tst-execvpe2.c: Likewise.
24113 * posix/tst-execvpe3.c: Likewise.
24114 * posix/tst-execvpe4.c: Likewise.
24115 * posix/tst-execvpe5.c: Likewise.
24116 * posix/tst-execvpe6.c: Likewise.
24117
24118 [BZ #19534]
24119 * posix/execl.c (execl): Remove dynamic memory allocation.
24120 * posix/execle.c (execle): Likewise.
24121 * posix/execlp.c (execlp): Likewise.
24122
24123 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24126 Replace .text with .text.avx512.
24127 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24128 Likewise.
24129
24130 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
24131
24132 * sysdeps/generic/libnsl.abilist: New file.
24133 * sysdeps/generic/libutil.abilist: New file.
24134
24135 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
24136
24137 [BZ #19762]
24138 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24139 HAS_ARCH_FEATURE with Fast_Rep_String.
24140 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24141 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24142 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24143 Likewise.
24144 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24145 Likewise.
24146 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24147 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24148 Likewise.
24149 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24150 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24151 Likewise.
24152
24153 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24154
24155 [BZ #19745]
24156 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24157 with *%rax in call.
24158
24159 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 [BZ #19745]
24162 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24163 with *__libc_start_main@GOTPCREL(%rip) in call.
24164
24165 2016-03-04 Roland McGrath <roland@hack.frob.com>
24166
24167 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24168 inside conditional for nonempty $(CXX).
24169
24170 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24171 nonempty.
24172
24173 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24174 to test for empty $(CXX) rather than $(CXX) of "no".
24175
24176 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24179
24180 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
24181 H.J. Lu <hongjiu.lu@intel.com>
24182
24183 [BZ #18880]
24184 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24185 instead of Slow_BSF, and also check for Fast_Copy_Backward to
24186 enable __memcpy_ssse3_back.
24187
24188 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24189
24190 [BZ #19758]
24191 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24192 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24193
24194 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
24195
24196 [BZ #19490]
24197 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24198 (__fentry__): Likewise.
24199
24200 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
24201
24202 * gmon/Makefile (noprof): Add $(sysdep_noprof).
24203 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24204
24205 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24206
24207 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24208 __mcount_internal directly.
24209 (C_LABEL(__fentry__)): Likewise.
24210 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24211 directly.
24212
24213 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
24214
24215 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24216 (__start_context): Call __setcontext directly.
24217
24218 2016-02-26 Joseph Myers <joseph@codesourcery.com>
24219
24220 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24221 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24222 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24223 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24225 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24226 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24227 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24228 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24229 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24230 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24231 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24232 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24233 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24234 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24235 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24236 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24237 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24238 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24239 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24240 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24241 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24242 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24243 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24244 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24245 Remove conditional code.
24246 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24247 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24248 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24249 * sysdeps/unix/sysv/linux/sh/kernel-features.h
24250 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24251 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24252 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24253 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24254 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24255 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24256 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24257 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24258
24259 2016-02-24 Marko Myllynen <myllynen@redhat.com>
24260
24261 * NEWS (2.23): Fix typo in bug 19048 text.
24262
24263 2016-02-24 Carlos O'Donell <carlos@redhat.com>
24264
24265 [BZ #14259]
24266 * Makeconfig: Rename msgcatdir to localedir.
24267 Rename inst_msgcatdir to inst_localedir.
24268 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24269 * config.make.in: Add localedir.
24270 * elf/Makefile ($(objpfx)sotruss): Use localedir.
24271 (ldd-rewrite): Likewise.
24272 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24273 (install-others): Use inst_localedir.
24274 (CPPFLAGS): Use localedir.
24275 * locale/Makefile (locale-CPPFLAGS): Likewise.
24276 * po/Makefile (mo-installed): Use inst_localedir.
24277
24278 [BZ #19575]
24279 * localedata/charmaps/GB18030: Update comments regarding PAU to
24280 non-PUA mappings.
24281
24282 2016-02-24 Joseph Myers <joseph@codesourcery.com>
24283
24284 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24285 test for header.
24286 * sysdeps/unix/sysv/linux/configure: Regenerated.
24287 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24288 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24289 Remove conditional code.
24290 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24291
24292 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24293 Define to 3.2.0.
24294 (arch_minimum_kernel): Likewise.
24295 * sysdeps/unix/sysv/linux/configure: Regenerated.
24296 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24297 Define to 2.6.32.
24298 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24299 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24300 (arch_minimum_kernel): Define to 2.6.32.
24301 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24302 * README: Document Linux 3.2 requirement.
24303 * manual/install.texi (Linux): Document Linux 3.2 headers
24304 requirement.
24305 * INSTALL: Regenerated.
24306
24307 2016-02-24 Andreas Schwab <schwab@suse.de>
24308
24309 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24310 if !NO_LONG_DOUBLE.
24311
24312 2016-02-22 Roland McGrath <roland@hack.frob.com>
24313
24314 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24315 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24316
24317 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
24318
24319 [BZ #19512]
24320 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24321
24322 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24323
24324 * posix/tst-dir.c: Include libc-internal.h.
24325
24326 2016-02-20 Florian Weimer <fweimer@redhat.com>
24327
24328 [BZ #19056]
24329 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24330 * manual/filesys.texi (Reading/Closing Directory): Mention
24331 deprecaion.
24332 * posix/tst-dir.c (main): Disable deprecation warning in test.
24333
24334 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
24335
24336 [BZ #19679]
24337 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24338 Renamed to ...
24339 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
24340 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24341 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
24342 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24343 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24344 * sysdeps/x86_64/dl-trampoline.h
24345 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24346 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24347
24348 2016-02-19 Mark Wielaard <mjw@redhat.com>
24349
24350 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24351
24352 2016-02-19 Mark Wielaard <mjw@redhat.com>
24353
24354 * elf/elf.h (R_386_GOT32X): New.
24355 (R_386_NUM): Update.
24356 (R_X86_64_GOTPCRELX: New.
24357 (R_X86_64_REX_GOTPCRELX): New.
24358 (R_X86_64_NUM): Update.
24359
24360 2016-02-19 Mike Frysinger <vapier@gentoo.org>
24361
24362 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24363
24364 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
24365
24366 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24367 assign attr->stackaddr to it, and adjust it down when
24368 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
24369 [_STACK_GROWS_UP]: Delete assert.
24370 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24371 Implement stack grows up logic.
24372 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24373 stack grows up logic.
24374
24375 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24376
24377 * NEWS: Update with 2.24 template.
24378
24379 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24380
24381 [BZ #19678]
24382 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24383 Ensure +0.0 is returned when taking the next value below the least
24384 positive value.
24385
24386 2016-02-19 Florian Weimer <fweimer@redhat.com>
24387
24388 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24389 available. Do not define NO_THREADS.
24390 * malloc/malloc.c: Do not check NO_THREADS.
24391 * malloc/arena.c: Likewise.
24392
24393 2016-02-19 Florian Weimer <fweimer@redhat.com>
24394
24395 * malloc/malloc.c (__libc_mallinfo): Update comment.
24396 (struct malloc_par): Remove max_total_mem member, it was always 0.
24397 (int_mallinfo): Store 0 into usmblks (no functional change).
24398 * malloc/hooks.c (struct malloc_state): Document that
24399 max_total_mem is always 0.
24400 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24401 always 0.
24402 * manual/memory.texi (Statistics of Malloc): Likewise.
24403
24404 2016-02-19 Florian Weimer <fweimer@redhat.com>
24405
24406 * malloc/malloc.c (sysmalloc): Do not update arena_max.
24407 * malloc/arena.c (arena_max): Remove.
24408 (heap_trim, _int_new_arena): Do not update arena_max.
24409
24410 2016-02-19 Florian Weimer <fweimer@redhat.com>
24411
24412 * resolv/res_init.c (res_ninit): Update comment.
24413
24414 2016-02-19 Florian Weimer <fweimer@redhat.com>
24415
24416 [BZ #19505]
24417 * posix/spawn_int.h: Add headers and include guard.
24418 (__spawn_valid_fd): New function.
24419 * posix/spawn_faction_addopen.c
24420 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24421 * posix/spawn_faction_addclose.c
24422 (posix_spawn_file_actions_addclose): Likewise.
24423 * posix/spawn_faction_adddup2.c
24424 (posix_spawn_file_actions_adddup2): Likewise. Add check for
24425 second file descriptor.
24426 * posix/spawn_valid_fd.c: New file.
24427 * posix/tst-posix_spawn-fd.c: New file.
24428 * posix/Makefile (routines): Add spawn_valid_fd.
24429 (tests): Add tst-posix_spawn-fd.
24430
24431 2016-02-19 Florian Weimer <fweimer@redhat.com>
24432
24433 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24434 (do_test): Limit the number of arenas, so that we can use fewer
24435 outer threads. Limit timeout to 3 seconds, in preparation for a
24436 larger TIMEOUT value.
24437
24438 2016-02-19 Joseph Myers <joseph@codesourcery.com>
24439
24440 [BZ #19674]
24441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24442 sign in overflowing and underflowing results when overflow or
24443 underflow is detected early. Include sign in result before rather
24444 than after scaling.
24445
24446 [BZ #19603]
24447 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24448 (__ieee754_remainderl): Adjust sign of integer version of low part
24449 when taking absolute value of high part.
24450 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24451 * math/libm-test.inc (remainder_test_data): Add another test.
24452 (remquo_test_data): Likewise.
24453
24454 2016-02-18 Joseph Myers <joseph@codesourcery.com>
24455
24456 [BZ #19602]
24457 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24458 equal high parts and both low parts zero specially.
24459 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24460 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24461 Add test-fmodl-ldbl-128ibm.
24462
24463 [BZ #19595]
24464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24465 common logic for all cases of shifting subnormal results. Do not
24466 insert sign bit in shifted mantissa. Always pass -1023 as biased
24467 exponent to ldbl_insert_mantissa in subnormal case.
24468
24469 [BZ #19594]
24470 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24471 on high and low parts then adjust result and use
24472 ldbl_canonicalize_int if needed.
24473
24474 [BZ #19593]
24475 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24476 on high part and __floor or __ceil on low part then use
24477 ldbl_canonicalize_int if needed.
24478
24479 [BZ #19592]
24480 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24481 high and low parts then use ldbl_canonicalize_int if needed.
24482
24483 [BZ #17899]
24484 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24485 New function.
24486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24487 on high and low parts then use ldbl_canonicalize_int if needed.
24488
24489 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24490
24491 * configure: Regenerated.
24492
24493 * po/libc.pot: Regenerated.
24494
24495 * po/be.po: Updated translation.
24496 * po/bg.po: Likewise.
24497 * po/ca.po: Likewise.
24498 * po/cs.po: Likewise.
24499 * po/da.po: Likewise.
24500 * po/el.po: Likewise.
24501 * po/eo.po: Likewise.
24502 * po/es.po: Likewise.
24503 * po/fi.po: Likewise.
24504 * po/fr.po: Likewise.
24505 * po/gl.po: Likewise.
24506 * po/hr.po: Likewise.
24507 * po/hu.po: Likewise.
24508 * po/ia.po: Likewise.
24509 * po/id.po: Likewise.
24510 * po/it.po: Likewise.
24511 * po/ja.po: Likewise.
24512 * po/lt.po: Likewise.
24513 * po/nb.po: Likewise.
24514 * po/nl.po: Likewise.
24515 * po/pt_BR.po: Likewise.
24516 * po/rw.po: Likewise.
24517 * po/sk.po: Likewise.
24518 * po/sl.po: Likewise.
24519 * po/sv.po: Likewise.
24520 * po/tr.po: Likewise.
24521 * po/zh_CN.po: Likewise.
24522 * po/zh_TW.po: Likewise.
24523
24524 * version.h (RELEAES): Set to "development".
24525 (VERSION): Set to 2.23.90.
24526
24527 * version.h (RELEASE): Set to "stable".
24528 (VERSION): Set to 2.23.
24529 * include/feature.h (__GLIBC_MINOR__): Set to 23.
24530
24531 * NEWS: Updated fixed bugs.
24532
24533 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
24534 Wilco Dijkstra <wdijkstr@arm.com>
24535
24536 [BZ #19462]
24537 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24538 (_STRING_INLINE_unaligned): This.
24539 * include/string.h: Include <string_private.h>.
24540 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24541 _STRING_INLINE_unaligned.
24542 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24543 (_STRING_INLINE_unaligned): New.
24544 * sysdeps/aarch64/string_private.h: New file.
24545 * sysdeps/generic/string_private.h: Likewise.
24546 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24547 * sysdeps/s390/string_private.h: Likewise.
24548 * sysdeps/x86/string_private.h: Likewise.
24549 * sysdeps/m68k/m680x0/m68020/bits/string.h
24550 (_STRING_ARCH_unaligned): Renamed to ...
24551 (_STRING_INLINE_unaligned): This.
24552 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24553 to ...
24554 (_STRING_INLINE_unaligned): This.
24555 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24556 to ...
24557 (_STRING_INLINE_unaligned): This.
24558 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24559 to ...
24560 (_STRING_INLINE_unaligned): This.
24561
24562 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
24563 H.J. Lu <hongjiu.lu@intel.com>
24564
24565 [BZ #19590]
24566 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24567 relocation.
24568
24569 2016-02-15 Carlos O'Donell <carlos@redhat.com>
24570
24571 [BZ #18665]
24572 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24573 *herrno_p.
24574 (gaih_getanswer): Document functional behviour. Return tryagain
24575 if any result is tryagain.
24576 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24577 when freed.
24578 * resolv/res_send.c: Add copyright text.
24579 (__libc_res_nsend): Document that MAXPACKET is expected.
24580 (send_vc): Document. Remove buffer reuse.
24581 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24582 size of the buffer. Add Dprint for truncated UDP buffer.
24583
24584 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24585
24586 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24587 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24588 * INSTALL: Regenerate.
24589
24590 2016-02-14 Jakub Jelinek <jakub@redhat.com>
24591 Jonathan Wakely <jwakely@redhat.com>
24592 Carlos O'Donell <carlos@redhat.com>
24593
24594 [BZ 19439]
24595 * math/Makefile (tests): Add test-math-isinff.
24596 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24597 * math/bits/mathcalls.h [__USE_MISC]: Use
24598 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24599 functions not in C++11 and which don't conflict e.g. isinff,
24600 isinfl etc.
24601 * math/test-math-isinff.cc: New file.
24602
24603 2016-02-12 Florian Weimer <fweimer@redhat.com>
24604
24605 * misc/bug18240.c (do_test): Set RLIMIT_AS.
24606
24607 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
24608
24609 [BZ #19529]
24610 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24611
24612 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24613
24614 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24615
24616 2016-02-01 Joseph Myers <joseph@codesourcery.com>
24617
24618 [BZ #19550]
24619 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24620 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24621 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24622 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24623 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24624 New syscall entry.
24625 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24626 New syscall entry.
24627 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24628 syscall entry.
24629
24630 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
24631
24632 [BZ #18240]
24633 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24634 unsigned int wraparound.
24635
24636 2016-01-27 Florian Weimer <fweimer@redhat.com>
24637
24638 [BZ #18240]
24639 * misc/bug18240.c: New test.
24640 * misc/Makefile (tests): Add it.
24641
24642 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
24643 Joseph Myers <joseph@codesourcery.com>
24644
24645 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24646 load in branch delay slot when less than a word of input left.
24647
24648 2016-01-27 Andreas Schwab <schwab@suse.de>
24649
24650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24651 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24652 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24653 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24654
24655 2016-01-26 David S. Miller <davem@davemloft.net>
24656
24657 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24658
24659 2016-01-25 David S. Miller <davem@davemloft.net>
24660
24661 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24662 __sqrtl_finite.
24663 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24664 instead using versioned_symbol.
24665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24666 of entries.
24667
24668 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24669 __sqrtl_finite to GLIBC_2.23
24670
24671 2016-01-25 Ricchard Henderson <rth@redhat.com>
24672
24673 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24674
24675 2016-01-25 Andreas Schwab <schwab@suse.de>
24676
24677 [BZ #17514]
24678 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24679 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24680 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24681 * nptl/tst-mutex-errorcheck.c: New file.
24682
24683 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24684
24685 [BZ #18560]
24686 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24687 (IPCOP_semop): Likewise.
24688 (IPCOP_semget): Likewise.
24689 (IPCOP_semctl): Likewise.
24690 (IPCOP_msgsnd): Likewise.
24691 (IPCOP_msgrcv): Likewise.
24692 (IPCOP_msgget): Likewise.
24693 (IPCOP_msgctl): Likewise.
24694 (IPCOP_shmat): Likewise.
24695 (IPCOP_shmdt): Likewise.
24696 (IPCOP_shmget): Likewise.
24697 (IPCOP_shmctl): Likewise.
24698
24699 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
24700
24701 * string/tst-endian.c: Include <libc-internal.h>.
24702 (do_test): Ignore tautological-compare warnings around
24703 "htobeXX (beXXtoh (i)) != i" and
24704 "htoleXX (leXXtoh (i)) != i" if-statements.
24705
24706 2016-01-24 David S. Miller <davem@davemloft.net>
24707
24708 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24709 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24710 alias.
24711 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24712 __sqrtl_finite.
24713
24714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24715
24716 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
24717
24718 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24719 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24720 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24721
24722 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24723
24724 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24725 (thread_func): Use new function to simplify barrier check.
24726 (do_test): Use new function to simplify checking barrier exit
24727 code, and actually join the child thread.
24728
24729 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24730
24731 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24732 semicolon.
24733 (__libc_tend): Likewise.
24734 (__libc_tabort): Likewise.
24735
24736 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24737
24738 * sysdeps/nios2/libm-test-ulps: Update.
24739 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24740 (__gtsf2): Likewise.
24741 (__unorddf2): Likewise.
24742 (__unordsf2): Likewise.
24743 (__ledf2): Likewise.
24744
24745 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24746
24747 * nis/nis_table.c (__follow_path): Disable diagnostic for
24748 uninitialized variable that is a false positive for gcc 4.7.
24749 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24750
24751 2016-01-20 Roland McGrath <roland@hack.frob.com>
24752
24753 * sysdeps/nacl/lowlevellock-futex.h
24754 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24755 Always evaluate PRIVATE argument.
24756
24757 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24758
24759 [BZ #19490]
24760 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24761 (pthread_cond_broadcast): Use ENTRY/END
24762 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24763 (pthread_cond_signal): Likewise.
24764 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24765 Likewise.
24766 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24767 Likewise.
24768 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24769 Likewise.
24770
24771 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24772
24773 * sysdeps/ieee754/dbl-64/s_finite.c
24774 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24775 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24776 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24778 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24779
24780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24781 (__gtsf2): Add as optional for libc.so.
24782 (__unordsf2): Likewise.
24783 (__signbit): Remove for libc.so.
24784 (__signbitl): Likewise.
24785
24786 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24787
24788 * iconvdata/bug-iconv11.c (test_ibm93x):
24789 Use %zu printf format specifier for size_t argument.
24790
24791 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24792
24793 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24794 already-recorded ulps.
24795 * sysdeps/arm/libm-test-ulps: Regenerated.
24796 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24797 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24798 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24799
24800 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24801 Paul Pluzhnikov <ppluzhnikov@google.com>
24802
24803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24804 assembler not supporting AVX-512.
24805
24806 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24807
24808 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24809
24810 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24811
24812 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24813 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24814
24815 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24816
24817 * sysdeps/arm/libm-test-ulps: Regenerated.
24818
24819 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24820
24821 [BZ #19451]
24822 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24823
24824 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24825
24826 [BZ #19486]
24827 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24828 * sysdeps/generic/fix-fp-int-convert-overflow.h
24829 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24830 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24831 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24832 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24833 Likewise.
24834 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24835 Avoid conversions to long int where inexact exceptions
24836 could be raised.
24837 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24838 Likewise.
24839 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24840 Avoid conversions to long long int where inexact exceptions
24841 could be raised.
24842 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24843 Likewise.
24844
24845 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24846
24847 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24848 * configure: Regenerated.
24849
24850 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24851
24852 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24853
24854 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24855
24856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24857 outside of comment.
24858
24859 2016-01-15 Torvald Riegel <triegel@redhat.com>
24860
24861 * nptl/tst-barrier1.c: Add description on first line.
24862 * nptl/tst-barrier2.c: Likewise.
24863 * nptl/tst-barrier3.c: Likewise.
24864 * nptl/tst-barrier4.c: Likewise.
24865 * nptl/tst-barrier5.c: Likewise.
24866
24867 2016-01-15 Torvald Riegel <triegel@redhat.com>
24868
24869 [BZ #18868]
24870 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24871
24872 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24873
24874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24875 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24876 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24877 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24878 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24879 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24880 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24881 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24882 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24883 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24884 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24885
24886 2016-01-15 Torvald Riegel <triegel@redhat.com>
24887
24888 [BZ #13065]
24889 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24890 new implementation.
24891 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24892 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24893 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24894 (BARRIER_IN_THRESHOLD): New macro.
24895 * nptl/pthread_barrierattr_setpshared.c
24896 (pthread_barrierattr_setpshared): Clean up.
24897 * nptl/tst-barrier4.c: Correct comment.
24898 * nptl/tst-barrier5.c: New file.
24899 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24900 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24901 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24902 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24903 * nptl/lowlevelbarrier.sym: Remove.
24904 * nptl/DESIGN-barrier.txt: Remove.
24905 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24906 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24907 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24908 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24909 error.
24910 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24911 implementation.
24912
24913 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24914
24915 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24916 (do_child): Mask SIGRTMIN while thr is running.
24917
24918 2016-01-15 Martin Sebor <msebor@redhat.com>
24919
24920 [BZ #19432]
24921 * iconvdata/Makefile: Add bug-iconv11.
24922 * iconvdata/bug-iconv11.c: New test.
24923 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24924 * iconvdata/ibm933.c: Same.
24925 * iconvdata/ibm935.c: Same.
24926 * iconvdata/ibm937.c: Same.
24927 * iconvdata/ibm939.c: Same.
24928
24929 2016-01-15 Martin Sebor <msebor@redhat.com>
24930
24931 [BZ #19443]
24932 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24933 [DEBUG] (_ufc_set_bits): Declare used.
24934 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24935 [DEBUG] (print_all): Declare used.
24936 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24937 operands of the ternary ?: expression to target type.
24938 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24939 calling the undeclared abort.
24940 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24941
24942 2016-01-15 Martin Sebor <msebor@redhat.com>
24943
24944 [BZ #18755]
24945 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24946 warnings.
24947 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24948 (__gai_create_helper_thread): Same.
24949 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24950 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24951 to suppress -Wmaybe-uninitialized warnings.
24952
24953 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24954
24955 [BZ #19465]
24956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24957 inside if.
24958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24959 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24961
24962 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24963
24964 [BZ #19466]
24965 * time/tst-mktime2.c (time_t_max): Removed.
24966 (time_t_min): Likewise.
24967 (TYPE_SIGNED): New.
24968 (TYPE_MINIMUM): Likewise.
24969 (TYPE_MAXIMUM): Likewise.
24970 (TIME_T_MIN): Likewise.
24971 (TIME_T_MAX): Likewise.
24972 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24973 and TIME_T_MIN.
24974 (do_test): Likewise.
24975
24976 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24977
24978 [BZ #19467]
24979 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24980 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24981
24982 2016-01-02 Marcin Koƛcielnicki <koriakin@0x04.net>
24983
24984 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24985
24986 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24987
24988 * benchtests/Makefile (PYTHON): Define.
24989 (bench-func): Use $(PYTHON) to run python scripts.
24990 ($(objpfx)bench-%.c): Likewise.
24991
24992 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24993
24994 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24995 leading slash when `file_name' is "/".
24996
24997 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24998
24999 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25000 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25001 Likewise.
25002 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25003 Likewise.
25004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25005 Likewise.
25006 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25007 enum constant and macro.
25008 (PTRACE_SETSIGMASK): Likewise.
25009 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25010 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25011 (PTRACE_GETSIGMASK): Likewise.
25012 (PTRACE_SETSIGMASK): Likewise.
25013 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25014 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25015 Likewise.
25016 (PTRACE_SETSIGMASK): Likewise.
25017 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25019 (PTRACE_GETSIGMASK): Likewise.
25020 (PTRACE_SETSIGMASK): Likewise.
25021 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25023 Likewise.
25024 (PTRACE_SETSIGMASK): Likewise.
25025 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25026 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25027 Likewise.
25028 (PTRACE_SETSIGMASK): Likewise.
25029 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25030 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25031 Likewise.
25032 (PTRACE_SETSIGMASK): Likewise.
25033 (PTRACE_SECCOMP_GET_FILTER): Likewise.
25034
25035 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
25036 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25037
25038 [BZ #19439]
25039 * math/bits/mathcalls.h
25040 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25041 prototype.
25042 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25043
25044 2016-01-11 Andreas Schwab <schwab@suse.de>
25045
25046 [BZ #19253]
25047 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25048 cache when TZDEFRULES was used.
25049 * time/tst-tzname.c: New file.
25050 * time/Makefile (test): Add tst-tzname.
25051 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25052 * timezone/Makefile (test-zones): Add $(posixrules-file).
25053 ($(testdata)/$(posixrules-file)): New rule.
25054
25055 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
25056
25057 Fix doc quoting problems with Texinfo 5
25058 Without this change, in the info file output, Texinfo 5 quotes code
25059 in text with undirected single quotes 'like this' and generates
25060 code examples that with many PDF readers cannot be cut out of PDFs
25061 and pasted into code.
25062 * manual/libc.texinfo: Configure the libc manual like the GNU
25063 Emacs manual, by using @documentencoding and setting
25064 txicodequoteundirected and txicodequotebacktick. This way,
25065 Texinfo 5 quotes code in text with directed single quotes ‘like
25066 this’ and produces examples that can be cut out of PDFs. This
25067 change causes Texinfo 5 to generate info files that contain UTF-8
25068 characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
25069 '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
25070
25071 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25072
25073 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25074 __libc_tabort, __libc_tend): New wrappers that enforce compiler
25075 barriers to their respective compiler built-ins.
25076 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25077 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25078 * sysdeps/powerpc/sysdep.h: Likewise.
25079 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25080 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25081 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25082
25083 2016-01-08 Marko Myllynen <myllynen@redhat.com>
25084
25085 * scripts/config.guess: Revert previous shebang change.
25086 * scripts/config.sub: Likewise.
25087 * scripts/mkinstalldirs: Likewise.
25088
25089 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25090
25091 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25092 PPC_FEATURE2_HAS_IEEE128.
25093 * sysdeps/powerpc/dl-procinfo.c:
25094 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25095
25096 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
25097
25098 [BZ #19415]
25099 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25100 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
25101 (_dl_lookup_address): Rewrite using function resolver trampoline.
25102 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25103 two bits in address.
25104
25105 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25106
25107 * longlong.h: Change !__SHMEDIA__ to
25108 (!defined (__SHMEDIA__) || !__SHMEDIA__).
25109 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25110
25111 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
25112 Joseph Myers <joseph@codesourcery.com>
25113 Mark Shinwell <shinwell@codesourcery.com>
25114 Andrew Stubbs <ams@codesourcery.com>
25115 Rich Felker <dalias@libc.org>
25116
25117 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25118
25119 2016-01-07 Richard Henderson <rth@redhat.com>
25120
25121 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25122
25123 2016-01-07 Mike Frysinger <vapier@gentoo.org>
25124
25125 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25126 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25127 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25128 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25129 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25130
25131 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
25132 Joseph Myers <joseph@codesourcery.com>
25133
25134 * timezone/private.h: Update from tzcode 2015g.
25135 * timezone/tzfile.h: Likewise.
25136 * timezone/tzselect.ksh: Likewise.
25137 * timezone/zdump.c: Likewise.
25138 * timezone/zic.c: Likewise.
25139 * timezone/ialloc.c: Remove file.
25140 * timezone/scheck.c: Likewise.
25141 * timezone/Makefile (extra-objs): Remove variable.
25142 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25143 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25144 -Wno-maybe-uninitialized.
25145 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25146 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25147 (CFLAGS-ialloc.c): Remove variable.
25148 (CFLAGS-scheck.c): Likewise.
25149 * timezone/README: Update list of files from tzcode.
25150
25151 2016-01-07 Khem Raj <raj.khem@gmail.com>
25152
25153 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25154 instead of __fxprintf when _LIBC is undefined.
25155
25156 2016-01-07 Marko Myllynen <myllynen@redhat.com>
25157
25158 * catgets/test-gencat.sh: Remove space after shebang.
25159 * conform/GlibcConform.pm: Likewise.
25160 * conform/check-header-lists.sh: Likewise.
25161 * conform/conformtest.pl: Likewise.
25162 * conform/linknamespace.pl: Likewise.
25163 * conform/list-header-symbols.pl: Likewise.
25164 * debug/catchsegv.sh: Likewise.
25165 * elf/genrtldtbl.awk: Likewise.
25166 * elf/tst-pathopt.sh: Likewise.
25167 * elf/tst-rtld-load-self.sh: Likewise.
25168 * grp/tst_fgetgrent.sh: Likewise.
25169 * iconvdata/gen-8bit-gap-1.sh: Likewise.
25170 * iconvdata/gen-8bit-gap.sh: Likewise.
25171 * iconvdata/gen-8bit.sh: Likewise.
25172 * iconvdata/run-iconv-test.sh: Likewise.
25173 * intl/tst-gettext.sh: Likewise.
25174 * intl/tst-gettext2.sh: Likewise.
25175 * intl/tst-gettext4.sh: Likewise.
25176 * intl/tst-gettext6.sh: Likewise.
25177 * intl/tst-translit.sh: Likewise.
25178 * io/ftwtest-sh: Likewise.
25179 * libio/test-freopen.sh: Likewise.
25180 * locale/gen-translit.pl: Likewise.
25181 * malloc/tst-mtrace.sh: Likewise.
25182 * manual/check-safety.sh: Likewise.
25183 * manual/libc-texinfo.sh: Likewise.
25184 * manual/tsort.awk: Likewise.
25185 * manual/xtract-typefun.awk: Likewise.
25186 * nptl/tst-cancel-wrappers.sh: Likewise.
25187 * nptl/tst-tls6.sh: Likewise.
25188 * posix/globtest.sh: Likewise.
25189 * posix/tst-getconf.sh: Likewise.
25190 * posix/wordexp-tst.sh: Likewise.
25191 * scripts/check-c++-types.sh: Likewise.
25192 * scripts/check-local-headers.sh: Likewise.
25193 * scripts/config.guess: Likewise.
25194 * scripts/config.sub: Likewise.
25195 * scripts/cpp: Likewise.
25196 * scripts/cross-test-ssh.sh: Likewise.
25197 * scripts/documented.sh: Likewise.
25198 * scripts/evaluate-test.sh: Likewise.
25199 * scripts/gen-libc-abis: Likewise.
25200 * scripts/gen-sorted.awk: Likewise.
25201 * scripts/list-fixed-bugs.py: Likewise.
25202 * scripts/merge-test-results.sh: Likewise.
25203 * scripts/mkinstalldirs: Likewise.
25204 * scripts/rellns-sh: Likewise.
25205 * scripts/test-installation.pl: Likewise.
25206 * scripts/update-copyrights: Likewise.
25207 * stdio-common/tst-printf.sh: Likewise.
25208 * stdio-common/tst-unbputc.sh: Likewise.
25209 * stdlib/tst-fmtmsg.sh: Likewise.
25210 * stdlib/tst-setcontext3.sh: Likewise.
25211 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25212 * sysdeps/unix/make-syscalls.sh: Likewise.
25213
25214 2016-01-06 John David Anglin <dave.anglin@bell.net>
25215
25216 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25217 asm stw with atomic_exchange_rel. Add explanatory comment.
25218 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25219 Likewise.
25220
25221 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25222
25223 [BZ #19122]
25224 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25225 * sysdeps/generic/dl-unistd.h: New file.
25226 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25227
25228 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
25229
25230 [BZ #19122]
25231 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25232 * sysdeps/generic/dl-mman.h: New file.
25233 * sysdeps/mach/hurd/dl-mman.h: Likewise.
25234
25235 2016-01-05 Joseph Myers <joseph@codesourcery.com>
25236
25237 * manual/texinfo.tex: Update to version 2016-01-04.21 with
25238 trailing whitespace removed.
25239 * scripts/config.guess: Update to version 2016-01-01.
25240 * scripts/config.sub: Update to version 2016-01-01.
25241 * scripts/move-if-change: Update from gnulib.
25242
25243 2016-01-04 Anton Blanchard <anton@samba.org>
25244
25245 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25246 for array indices.
25247 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25248
25249 2016-01-04 Joseph Myers <joseph@codesourcery.com>
25250
25251 * NEWS: Update copyright dates.
25252 * catgets/gencat.c (print_version): Likewise.
25253 * csu/version.c (banner): Likewise.
25254 * debug/catchsegv.sh: Likewise.
25255 * debug/pcprofiledump.c (print_version): Likewise.
25256 * debug/xtrace.sh (do_version): Likewise.
25257 * elf/ldconfig.c (print_version): Likewise.
25258 * elf/ldd.bash.in: Likewise.
25259 * elf/pldd.c (print_version): Likewise.
25260 * elf/sotruss.sh: Likewise.
25261 * elf/sprof.c (print_version): Likewise.
25262 * iconv/iconv_prog.c (print_version): Likewise.
25263 * iconv/iconvconfig.c (print_version): Likewise.
25264 * locale/programs/locale.c (print_version): Likewise.
25265 * locale/programs/localedef.c (print_version): Likewise.
25266 * login/programs/pt_chown.c (print_version): Likewise.
25267 * malloc/memusage.sh (do_version): Likewise.
25268 * malloc/memusagestat.c (print_version): Likewise.
25269 * malloc/mtrace.pl: Likewise.
25270 * manual/libc.texinfo: Likewise.
25271 * nptl/version.c (banner): Likewise.
25272 * nscd/nscd.c (print_version): Likewise.
25273 * nss/getent.c (print_version): Likewise.
25274 * nss/makedb.c (print_version): Likewise.
25275 * posix/getconf.c (main): Likewise.
25276 * scripts/test-installation.pl: Likewise.
25277 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25278
25279 * All files with FSF copyright notices: Update copyright dates
25280 using scripts/update-copyrights.
25281 * intl/plural.c: Regenerated.
25282 * locale/programs/charmap-kw.h: Likewise.
25283 * locale/programs/locfile-kw.h: Likewise.
25284
25285 2016-01-02 Helge Deller <deller@gmx.de>
25286
25287 [BZ #19285]
25288 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25289 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25290 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25291 (MADV_xxK_PAGES): Remove.
25292
25293 2016-01-01 Mike Frysinger <vapier@gentoo.org>
25294
25295 [BZ #15421]
25296 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25297 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
25298 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25299 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25300
25301 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
25302
25303 [BZ #19408]
25304 * sysdeps/unix/sysv/linux/personality.c: New file.
25305 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25306 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25307 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25308 (sysdep_routines): Add personality.
25309 (tests): Add tst-personality.
25310 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25312 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25313 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25314 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25315 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25316 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25317 Likewise.
25318 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25319 Likewise.
25320 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25321 Likewise.
25322 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25323 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25324 Likewise.
25325
25326 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
25327
25328 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25329 (PATH_ARM_SYSTYPE): Remove.
25330 (PATH_CPUINFO): Likewise.
25331 (IO_BASE_FOOTBRIDGE): Likewise.
25332 (IO_SHIFT_FOOTBRIDGE): Likewise.
25333 (struct platform): Likewise.
25334 (init_iosys): Remove compatibility code for 2.4 kernels.
25335 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25336
25337 2015-12-29 Florian Weimer <fweimer@redhat.com>
25338
25339 * malloc/tst-malloc-thread-fail.c: New file.
25340 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25341 (tst-malloc-thread-fail): Link against libpthread.
25342
25343 2015-12-29 Mike Frysinger <vapier@gentoo.org>
25344
25345 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
25346 (get_parser): New function.
25347 (main): New function.
25348
25349 2015-12-29 Rob Wu <rob@robwu.nl>
25350
25351 [BZ #19369]
25352 * resolv/res_init.c (__res_vinit): Reset defdname before use.
25353
25354 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
25355
25356 [BZ #19270]
25357 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25358
25359 2015-12-28 Mike Frysinger <vapier@gentoo.org>
25360
25361 [BZ #15421]
25362 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25363
25364 2015-12-23 Torvald Riegel <triegel@redhat.com>
25365
25366 [BZ #13690]
25367 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25368 after releasing it.
25369 (__lll_robust_unlock): Likewise.
25370 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25371 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25372 (lll_robust_unlock): Likewise.
25373 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25374 Prevent warnings in callers.
25375
25376 2015-12-23 Florian Weimer <fweimer@redhat.com>
25377
25378 * malloc/arena.c (list_lock): Update comment.
25379
25380 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25381
25382 * sysdeps/powerpc/hwcapinfo.c: Export symbol
25383 __parse_hwcap_and_convert_at_platform to libc.a.
25384
25385 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25386
25387 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25388 platform and feature support for POWER9.
25389 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25390 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25391 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25392 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25393 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25394 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25395 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25396 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25397
25398 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25399
25400 Harmonize generic stdio-lock support with nptl
25401
25402 This fixes build when _IO_funlockfile is a macro, fixes build where
25403 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25404 stack unwind.
25405
25406 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25407 _IO_release_lock ): Use cleanup attribute on new
25408 _IO_acquire_lock_file variable instead of assuming that
25409 _IO_release_lock will be called.
25410 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25411 _IO_acquire_lock_needs_exceptions_enabled.
25412 (_IO_acquire_lock_clear_flags2): New macro.
25413
25414 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25415
25416 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25417
25418 2015-12-21 Florian Weimer <fweimer@redhat.com>
25419
25420 [BZ #19182]
25421 * malloc/arena.c (list_lock): Document lock ordering requirements.
25422 (free_list_lock): New lock.
25423 (ptmalloc_lock_all): Comment on free_list_lock.
25424 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25425 (detach_arena): Update comment. free_list_lock is now needed.
25426 (_int_new_arena): Use free_list_lock around detach_arena call.
25427 Acquire arena lock after list_lock. Add comment, including FIXME
25428 about incorrect synchronization.
25429 (get_free_list): Switch to free_list_lock.
25430 (reused_arena): Acquire free_list_lock around detach_arena call
25431 and attached threads counter update. Add two FIXMEs about
25432 incorrect synchronization.
25433 (arena_thread_freeres): Switch to free_list_lock.
25434 * malloc/malloc.c (struct malloc_state): Update comments to
25435 mention free_list_lock.
25436
25437 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25438
25439 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25440 Remove functions.
25441 (sloww, sloww1): Accept argument to offset quadrant.
25442 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25443 quadrant.
25444 (__sin, __cos): Consolidate common code into new functions.
25445 (reduce_sincos_1, do_sincos_1): New functions.
25446 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25447
25448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25449 code to new functions.
25450 (reduce_sincos_2, do_sincos_2): New functions.
25451 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25452
25453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25454 common code for sincos.
25455 (__cos) [!IN_SINCOS]: Likewise.
25456 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25457 New function.
25458 (__sincos): Use it.
25459
25460 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
25461
25462 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25463 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25464 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25465
25466 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
25467
25468 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25471 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25472 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25473 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25474 index_Prefer_No_VZEROUPPER): New feature.
25475 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25476 Prefer_No_VZEROUPPER for Knights Landing.
25477
25478 015-12-18 Torvald Riegel <triegel@redhat.com>
25479
25480 * math/atest-exp2.c (mp_exp_m1): Remove.
25481
25482 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25483
25484 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25485 syscalls.
25486 (__SYSCALL0): New macro.
25487 (__SYSCALL1): Likewise.
25488 (__SYSCALL2): Likewise.
25489 (__SYSCALL3): Likewise.
25490 (__SYSCALL4): Likewise.
25491 (__SYSCALL5): Likewise.
25492 (__SYSCALL6): Likewise.
25493 (__SYSCALL_CONCAT_X): Likewise.
25494 (__SYSCALL_CONCAT): Likewise.
25495 (__SYSCALL_DIST): Likewise.
25496 (__SYSCALL_CALL): Likewise.
25497
25498 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
25499
25500 [BZ #19363]
25501 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25502
25503 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25504
25505 [BZ #19375]
25506 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25507 negative subnormals.
25508
25509 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25512 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25513 (INTERNAL_SYSCALL_NCS): Use it.
25514 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25515
25516 2015-12-16 Florian Weimer <fweimer@redhat.com>
25517
25518 [BZ #19243]
25519 * malloc/arena.c (get_free_list): Remove assert and adjust
25520 reference count handling. Add comment about reused_arena
25521 interaction.
25522 (reused_arena): Add comments abount get_free_list interaction.
25523 * malloc/tst-malloc-thread-exit.c: New file.
25524 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25525 (tst-malloc-thread-exit): Link against libpthread.
25526
25527 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25528
25529 [BZ #19367]
25530 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25531 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25532 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25533 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25534 (index_Prefer_MAP_32BIT_EXEC): Likewise.
25535
25536 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
25537
25538 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25539 Silvermont optimizations for Knights Landing.
25540
25541 2015-12-15 Andreas Schwab <schwab@suse.de>
25542
25543 [BZ #17197]
25544 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25545 immediately after emitting SI.
25546 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25547 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25548 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25549 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25550 * iconvdata/bug-iconv10.c: New file.
25551 * iconvdata/Makefile (tests): Add bug-iconv10.
25552 ($(objpfx)bug-iconv10.out): New rule.
25553
25554 2015-12-15 Florian Weimer <fweimer@redhat.com>
25555
25556 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25557 aliasing violation.
25558
25559 2015-12-14 Joseph Myers <joseph@codesourcery.com>
25560
25561 [BZ #18472]
25562 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25563 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25564 conditionals for them.
25565 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25566 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25568 sys/kdaemon.h.
25569 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25570 compat-only syscall, obsoleted in glibc 2.23.
25571 (create_module): Likewise.
25572 (get_kernel_syms): Likewise.
25573 (query_module): Likewise.
25574 (uselib): Likewise.
25575 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25576
25577 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
25578
25579 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25580 <linux/version.h>.
25581 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25582 conditional code.
25583 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25584 and ioshift_name initialization.
25585
25586 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25587
25588 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25589 Fix indentation.
25590
25591 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25592
25593 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25594
25595 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
25596
25597 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25598
25599 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
25600 Jakub Wilk <jwilk@debian.org>
25601
25602 [BZ #19347]
25603 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25604 to change the group of the device to the tty group.
25605
25606 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
25607
25608 Split large string section; add truncation advice
25609 * manual/examples/strncat.c: Remove.
25610 This example was misleading, as the code would have undefined
25611 behavior if "hello" was longer than SIZE. Anyway, the manual
25612 shouldn't encourage strncpy+strncat for this sort of thing.
25613 * manual/string.texi (Copying Strings and Arrays): Split into
25614 three sections Copying Strings and Arrays, Concatenating Strings,
25615 and Truncating Strings, as this section was way too long. All
25616 cross-referenced changed. Add advice about string-truncation
25617 functions. Remove misleading strncat example.
25618
25619 2015-12-10 Carlos O'Donell <carlos@redhat.com>
25620
25621 * manual/nss.texi (NSS Modules Interface): Document
25622 NSS_STATUS_NOTFOUND and SUCCESS.
25623
25624 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25625
25626 [BZ 18568]
25627 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25628 201505L, for Unicode 8.
25629
25630 2015-12-09 Carlos O'Donell <carlos@redhat.com>
25631
25632 * locale/C-translit.h: Regenerate.
25633
25634 2015-12-09 Mike FABIAN <mfabian@redhat.com>
25635
25636 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25637 and U+0153.
25638
25639 2015-12-09 Joseph Myers <joseph@codesourcery.com>
25640
25641 [BZ #19351]
25642 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25643 expanding log(1+z), compare z rather than its square with epsilon
25644 to determine when to avoid evaluating the expansion.
25645
25646 [BZ #19350]
25647 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25648 Increase overflow threshold.
25649
25650 [BZ #19349]
25651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25652 when small.
25653
25654 * sysdeps/unix/sysv/linux/i386/kernel-features.h
25655 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25656 New macro.
25657 [__LINUX_KERNEL_VERSION >= 0x040300]
25658 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25659 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25660 Likewise.
25661 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25662 Likewise.
25663 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25664 Likewise.
25665 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25666 Likewise.
25667 [__LINUX_KERNEL_VERSION >= 0x040300]
25668 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25669 [__LINUX_KERNEL_VERSION >= 0x040300]
25670 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25671 [__LINUX_KERNEL_VERSION >= 0x040300]
25672 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25673 [__LINUX_KERNEL_VERSION >= 0x040300]
25674 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25675 [__LINUX_KERNEL_VERSION >= 0x040300]
25676 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25677 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25678 Likewise.
25679 [__LINUX_KERNEL_VERSION >= 0x040300]
25680 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25681 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25682 Likewise.
25683 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25684 Likewise.
25685 [__LINUX_KERNEL_VERSION >= 0x040300]
25686 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25687 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25688 Likewise.
25689 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25690 Likewise.
25691 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25692 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25693 Likewise.
25694 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25695 Likewise.
25696 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25697 Likewise.
25698 [__LINUX_KERNEL_VERSION >= 0x040300]
25699 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25700 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25701 Likewise.
25702 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25703 Likewise.
25704 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25705 Likewise.
25706 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25707 Likewise.
25708 [__LINUX_KERNEL_VERSION >= 0x040300]
25709 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25710 [__LINUX_KERNEL_VERSION >= 0x040300]
25711 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25712 [__LINUX_KERNEL_VERSION >= 0x040300]
25713 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25714 [__LINUX_KERNEL_VERSION >= 0x040300]
25715 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25716 [__LINUX_KERNEL_VERSION >= 0x040300]
25717 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25718 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25719 Likewise.
25720 [__LINUX_KERNEL_VERSION >= 0x040300]
25721 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25722 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25723 Likewise.
25724 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25725 Likewise.
25726 [__LINUX_KERNEL_VERSION >= 0x040300]
25727 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25728 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25729 Likewise.
25730 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25731 Likewise.
25732 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25733 (__ASSUME_SOCKET_SYSCALL): Likewise.
25734 (__ASSUME_BIND_SYSCALL): Likewise.
25735 (__ASSUME_CONNECT_SYSCALL): Likewise.
25736 (__ASSUME_LISTEN_SYSCALL): Likewise.
25737 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25738 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25739 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25740 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25741 (__ASSUME_SEND_SYSCALL): Likewise.
25742 (__ASSUME_SENDTO_SYSCALL): Likewise.
25743 (__ASSUME_RECV_SYSCALL): Likewise.
25744 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25745 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25746 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25747 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25748 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25749 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25750 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25751 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25752 Likewise.
25753 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25754 Likewise.
25755 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25756 Likewise.
25757 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25758 Likewise.
25759 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25760 Likewise.
25761 [__LINUX_KERNEL_VERSION >= 0x020625]
25762 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25763 [__LINUX_KERNEL_VERSION >= 0x020625]
25764 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25765 [__LINUX_KERNEL_VERSION >= 0x020625]
25766 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25767 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25768 Likewise.
25769 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25770 Likewise.
25771 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25772 Likewise.
25773 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25774 Likewise.
25775 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25776 Likewise.
25777 [__LINUX_KERNEL_VERSION >= 0x020625]
25778 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25779 [__LINUX_KERNEL_VERSION >= 0x020625]
25780 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25781 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25782 Likewise.
25783 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25784 Likewise.
25785
25786 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25787
25788 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25789 record the current if the current ABI and CPU support the FP64
25790 extension.
25791 (has-modd-spreg): Define to record the current if the current ABI and
25792 CPU support 32-bit floating point values in odd FPU registers.
25793 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25794 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25795 $(has-modd-spreg) equals yes.
25796 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25797 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25798 $(has-modd-spreg) equal yes.
25799
25800 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25801
25802 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25803 basename.
25804
25805 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25806
25807 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25808 (bench-string): ... here.
25809 (bench): Add bench-string.
25810 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25811 to *-benchset to reflect what they are.
25812 (benchset): Adjust.
25813
25814 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25815 cos-inputs.
25816
25817 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25818
25819 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25820 __attribute__ ((__simd__)) for vector math function declarations.
25821
25822 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25823
25824 Fix typo in strncat, wcsncat manual entries
25825 * manual/string.texi (Copying and Concatenation): Fix typos in
25826 sample implementations of strncat and wcsncat, by having them use
25827 the old value of the destination length, not the new one.
25828
25829 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25830
25831 [BZ #16961]
25832 [BZ #16962]
25833 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25834 string on the stack for strtod.
25835 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25836 a string on the stack for strtof.
25837 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25838 constructing a string on the stack for strtold.
25839 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25840 __strtold_nan to GLIBC_PRIVATE.
25841 * math/test-nan-overflow.c: New file.
25842 * math/test-nan-payload.c: Likewise.
25843 * math/Makefile (tests): Add test-nan-overflow and
25844 test-nan-payload.
25845
25846 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25847
25848 Consistency about byte vs character in string.texi
25849 * manual/string.texi (String and Array Utilities):
25850 Distinguish more carefully among bytes, multibyte characters,
25851 and wide characters. Use "byte" when talking about C 'char',
25852 to distinguish it more clearly from multibyte characters.
25853 Say "wide character" or "multibyte character" instead of
25854 "character", when a wide or multibyte character is intended.
25855 Similarly for "multibyte string" versus "string".
25856 Define these terms more carefully.
25857
25858 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25859
25860 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25861 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25862 Likewise.
25863 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25864 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25865 * sysdeps/sh/math_private.h: New file.
25866 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25867 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25868 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25869 long double function name.
25870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25871 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25872 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25876 Remove __finitel, __isinfl, and __isnanl.
25877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25878 Likewise.
25879 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25881 Remove __finitel.
25882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25883 Likewise.
25884 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25885
25886 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25887
25888 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25889 installed libmvec_nonshared.a.
25890
25891 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25892
25893 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25894 (sysdep_routines): Likewise.
25895 (sysdep-rtld-routines): Likewise.
25896 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25897 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25898 * sysdeps/powerpc/Versions: Added new
25899 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25900 * sysdeps/powerpc/hwcapinfo.c: New file.
25901 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25902 and parse hwcap, hwcap2 and platform number information.
25903 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25904 to store HWCAP+HWCAP2 and platform number.
25905 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25906 for HWCAP+HWCAP2 and platform number in the TCB.
25907 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25908 the HWCAP, HWCAP2 and platform number in the TCB.
25909 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25910 (TLS_INIT_TP): Included calls to add the hwcap and
25911 at_platform values in the TCB in TP initialization.
25912 (TLS_DEFINE_INIT_TP): Likewise.
25913 (THREAD_GET_HWCAP): New macro.
25914 (THREAD_SET_HWCAP): Likewise.
25915 (THREAD_GET_AT_PLATFORM): Likewise.
25916 (THREAD_SET_AT_PLATFORM): Likewise.
25917 * sysdeps/powerpc/powerpc32/dl-machine.h:
25918 (dl_platform_init): New function that calls
25919 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25920 powerpc32.
25921 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25922 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25923 this functionality, static linking case.
25924 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25925 linking case.
25926 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25927 __parse_hwcap_and_convert_at_platform for the static linking case.
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25929 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25930 ABI list for GLIBC 2.23.
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25932 Likewise.
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25934 Likewise.
25935
25936 2015-12-02 Ludovic CourtĂšs <ludo@gnu.org>
25937
25938 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25939 * configure: Regenerate.
25940 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25941 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25942
25943 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25944
25945 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25946 * iconvdata/ibm933.c: Likewise.
25947 * iconvdata/ibm935.c: Likewise.
25948 * iconvdata/ibm937.c: Likewise.
25949 * iconvdata/ibm939.c: Likewise.
25950
25951 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25952
25953 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25954 pthread_join.
25955 * nptl/tst-cancel21.c (tf): Likewise.
25956
25957 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25958
25959 [BZ #19313]
25960 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25961 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25962 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25963 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25964 Likewise.
25965 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25966 Likewise.
25967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25968 Likewise.
25969 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25970 Likewise.
25971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25972 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25973 unsigned long int with __CPU_MASK_TYPE.
25974
25975 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25976
25977 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25978
25979 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25980
25981 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25982 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25983 t512.x.
25984 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25985
25986 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25987
25988 [BZ #19214]
25989 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25990 argument to return extended model. Update family and model
25991 with extended family and model when family == 0x0f.
25992 (init_cpu_features): Updated.
25993
25994 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25995
25996 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25997 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25998
25999 * sysdeps/mach/hurd/mmap64.c: New file.
26000
26001 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
26002
26003 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26004 rights for its main user thread in NEWTASK.
26005
26006 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
26007
26008 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26009 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26010
26011 2015-11-27 Carlos O'Donell <carlos@redhat.com>
26012
26013 [BZ #14259]
26014 * Makeconfig: Rename localedir to complocaledir.
26015 Rename inst_localedir to inst_complocaledir.
26016 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26017 * config.make.in: Use complocaledir and libc_cv_complocaledir.
26018 * configure.ac: Use libc_cv_complocaledir.
26019 * configure: Regenerate.
26020 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26021 -DCOMPLOCALEDIR.
26022 * locale/findlocale.c: Use COMPLOCALEDIR.
26023 * locale/loadarchive.c: Likewise.
26024 * locale/programs/locale.c: Likewise.
26025 * locale/programs/localedef.c: Likewise.
26026 * locale/programs/locarchive.c: Likewise.
26027 * localedata/Makefile: Use inst_complocaledir.
26028 * sysdeps/gnu/configure: Regenerate.
26029 * sysdeps/hppa/configure: Regenerate.
26030 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26031 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26033 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26034 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26035 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26036 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26037
26038 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
26039
26040 [BZ #19058]
26041 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26042 AS_NEEDED.
26043 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26044 workaround.
26045 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26046 libmvec-static-only-routines): Added new file.
26047 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26048
26049 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
26050
26051 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26052 of interrupted RPC instead of restoring it.
26053
26054 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26055 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26056 libc_hidden_def.
26057 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26058 into initialized data instead of common. Define rtld_hidden_data_def.
26059 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26060 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26061 libc_hidden_def.
26062 (if_freenameindex): Add libc_hidden_weak.
26063 (if_nameindex): Add libc_hidden_weak.
26064 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26065 __open64.
26066 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26067 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26068 * sysdeps/mach/nanosleep.c: Include <time.h>
26069 (__nanosleep): Rename to __libc_nanosleep.
26070 (__nanosleep): Add weak_alias.
26071 (nanosleep): Update alias.
26072
26073 2015-11-24 Joseph Myers <joseph@codesourcery.com>
26074
26075 * stdlib/strtod_nan.c: New file.
26076 * stdlib/strtod_nan_double.h: Likewise.
26077 * stdlib/strtod_nan_float.h: Likewise.
26078 * stdlib/strtod_nan_main.c: Likewise.
26079 * stdlib/strtod_nan_narrow.h: Likewise.
26080 * stdlib/strtod_nan_wide.h: Likewise.
26081 * stdlib/strtof_nan.c: Likewise.
26082 * stdlib/strtold_nan.c: Likewise.
26083 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26084 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26085 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26086 * wcsmbs/wcstod_nan.c: Likewise.
26087 * wcsmbs/wcstof_nan.c: Likewise.
26088 * wcsmbs/wcstold_nan.c: Likewise.
26089 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26090 strtold_nan.
26091 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26092 wcstof_nan.
26093 * include/stdlib.h (__strtof_nan): Declare and use
26094 libc_hidden_proto.
26095 (__strtod_nan): Likewise.
26096 (__strtold_nan): Likewise.
26097 (__wcstof_nan): Likewise.
26098 (__wcstod_nan): Likewise.
26099 (__wcstold_nan): Likewise.
26100 * include/wchar.h (____wcstoull_l_internal): Declare.
26101 * stdlib/strtod_l.c: Do not include <ieee754.h>.
26102 (____strtoull_l_internal): Remove declaration.
26103 (STRTOF_NAN): Define macro.
26104 (SET_MANTISSA): Remove macro.
26105 (STRTOULL): Likewise.
26106 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26107 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26108 (STRTOF_NAN): Define macro.
26109 (SET_MANTISSA): Remove macro.
26110 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26111 (SET_MANTISSA): Remove macro.
26112 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26113 macro.
26114 (SET_MANTISSA): Remove macro.
26115 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26116 macro.
26117 (SET_MANTISSA): Remove macro.
26118 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26119 (SET_MANTISSA): Remove macro.
26120 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26121 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26122 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26123
26124 [BZ #19266]
26125 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26126 upper case and lower case letters inside NAN(), not using TOLOWER.
26127 * stdlib/tst-strtod-nan-locale-main.c: New file.
26128 * stdlib/tst-strtod-nan-locale.c: Likewise.
26129 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26130 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26131 Depend on $(gen-locales).
26132 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26133 * wcsmbs/tst-wcstod-nan-locale.c: New file.
26134 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26135 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26136 Depend on $(gen-locales).
26137 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26138
26139 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
26140
26141 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26142
26143 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26145 __finitel, __isinfl, and __isnanl.
26146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26147 Likewise.
26148 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26150 __finitel.
26151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26152 Likewise.
26153 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26154
26155 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26156
26157 * malloc/memusage.c (me): Remove redundant getenv call.
26158
26159 2015-10-24 Florian Weimer <fweimer@redhat.com>
26160
26161 [BZ #19143]
26162 [BZ #19164]
26163 * nptl/check-cpuset.h: Remove.
26164 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26165 Remove CPU set size check.
26166 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26167 Likewise.
26168 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26169 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26170 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26171 (__pthread_setaffinity_new): Remove CPU set size check.
26172 * sysdeps/unix/sysv/linux/sched_setaffinity.c
26173 (__kernel_cpumask_size): Remove.
26174 (__sched_setaffinity_new): Remove CPU set size check.
26175 * manual/threads.texi (Default Thread Attributes): Remove stale
26176 reference to check_cpuset_attr, determine_cpumask_size in comment.
26177 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26178 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
26179 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26180 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26181 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26182 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26183 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26184 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26185 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26186 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26187 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26188 skeleton test file.
26189 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
26190 tst-affinity-pid.
26191
26192 2015-11-24 Florian Weimer <fweimer@redhat.com>
26193
26194 * scripts/update-abilist.sh: New file.
26195 * Makefile (+subdir_targets): Add subdir_update-all-abi.
26196 * Makerules (update-all-abi-%, update-all-abi)
26197 (subdir_update-all-abi): New targets.
26198 * elf/Makefile (update-all-abi): New target.
26199
26200 2015-11-24 Florian Weimer <fweimer@redhat.com>
26201
26202 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26203 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26204 (__libc_lock_define_initialized): Use it.
26205 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26206 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26207 * malloc/malloc.c (main_arena): Likewise.
26208 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26209 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26210
26211 2015-11-23 Joseph Myers <joseph@codesourcery.com>
26212
26213 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26214 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26215 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26216 (PTRACE_O_MASK): Update value.
26217 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26218 New value in enum __ptrace_setoptions.
26219 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26220 (PTRACE_O_MASK): Update value.
26221 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26222 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26223 (PTRACE_O_MASK): Update value.
26224 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26225 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26226 (PTRACE_O_MASK): Update value.
26227 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26228 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26229 (PTRACE_O_MASK): Update value.
26230 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26231 New value in enum __ptrace_setoptions.
26232 (PTRACE_O_MASK): Update value.
26233 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26234 New value in enum __ptrace_setoptions.
26235 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26236 (PTRACE_O_MASK): Update value.
26237
26238 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26239 New macro.
26240 (PACKET_AUXDATA): Likewise.
26241 (PACKET_ORIGDEV): Likewise.
26242 (PACKET_VERSION): Likewise.
26243 (PACKET_HDRLEN): Likewise.
26244 (PACKET_RESERVE): Likewise.
26245 (PACKET_TX_RING): Likewise.
26246 (PACKET_LOSS): Likewise.
26247 (PACKET_VNET_HDR): Likewise.
26248 (PACKET_TX_TIMESTAMP): Likewise.
26249 (PACKET_TIMESTAMP): Likewise.
26250 (PACKET_FANOUT): Likewise.
26251 (PACKET_TX_HAS_OFF): Likewise.
26252 (PACKET_QDISC_BYPASS): Likewise.
26253 (PACKET_ROLLOVER_STATS): Likewise.
26254 (PACKET_FANOUT_DATA): Likewise.
26255 (PACKET_MR_UNICAST): Likewise.
26256
26257 [BZ #19242]
26258 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26259 (TOUPPER): Likewise.
26260 * stdlib/tst-strtol-locale-main.c: New file.
26261 * stdlib/tst-strtol-locale.c: Likewise.
26262 * stdlib/Makefile (tests): Add tst-strtol-locale.
26263 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26264 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26265 Depend on $(gen-locales).
26266 * wcsmbs/tst-wcstol-locale.c: New file.
26267 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26268 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26269 tr_TR.ISO-8859-9.
26270 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26271 Depend on $(gen-locales).
26272
26273 2015-11-20 Roland McGrath <roland@hack.frob.com>
26274
26275 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26276 __glibc_likely instead of __builtin_expect. After falling back to
26277 dyncode_create in a non-ET_DYN case, use the allocate_code_data
26278 system interface to register the code pages as occupied.
26279
26280 2015-11-20 Joseph Myers <joseph@codesourcery.com>
26281
26282 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26283 [!ARM_MATH_PRIVATE_H].
26284 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26285 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26286 [!HPPA_MATH_PRIVATE_H].
26287 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26288 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26289 to [!I386_MATH_PRIVATE_H].
26290 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26291 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26292 Change guard to [!M68K_MATH_PRIVATE_H].
26293 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26294 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26295 guard to [!MICROBLAZE_MATH_PRIVATE_H].
26296 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26297 macro.
26298 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26299 [!MIPS_MATH_PRIVATE_H].
26300 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26301 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26302 [!NIO2_MATH_PRIVATE_H].
26303 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26304 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26305 [!TILE_MATH_PRIVATE_H].
26306 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26307
26308 [BZ #15421]
26309 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26310 initialize with 0 and define as weak alias of __signgam.
26311 * include/math.h [!_ISOMAC] (__signgam): Declare.
26312 * math/Makefile (libm-calls): Add w_lgamma_compat.
26313 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26314 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26315 test-signgam-ullong-init.
26316 (tests-static): Add test-signgam-uchar-static,
26317 test-signgam-uchar-init-static, test-signgam-uint-static,
26318 test-signgam-uint-init-static, test-signgam-ullong-static and
26319 test-signgam-ullong-init-static.
26320 (CFLAGS-test-signgam-uchar.c): New variable.
26321 (CFLAGS-test-signgam-uchar-init.c): Likewise.
26322 (CFLAGS-test-signgam-uchar-static.c): Likewise.
26323 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26324 (CFLAGS-test-signgam-uint.c): Likewise.
26325 (CFLAGS-test-signgam-uint-init.c): Likewise.
26326 (CFLAGS-test-signgam-uint-static.c): Likewise.
26327 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26328 (CFLAGS-test-signgam-ullong.c): Likewise.
26329 (CFLAGS-test-signgam-ullong-init.c): Likewise.
26330 (CFLAGS-test-signgam-ullong-static.c): Likewise.
26331 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26332 * math/Versions (libm): Add GLIBC_2.23.
26333 * math/lgamma-compat.h: New file.
26334 * math/test-signgam-main.c: Likewise.
26335 * math/test-signgam-uchar-init-static.c: Likewise.
26336 * math/test-signgam-uchar-init.c: Likewise.
26337 * math/test-signgam-uchar-static.c: Likewise.
26338 * math/test-signgam-uchar.c: Likewise.
26339 * math/test-signgam-uint-init-static.c: Likewise.
26340 * math/test-signgam-uint-init.c: Likewise.
26341 * math/test-signgam-uint-static.c: Likewise.
26342 * math/test-signgam-uint.c: Likewise.
26343 * math/test-signgam-ullong-init-static.c: Likewise.
26344 * math/test-signgam-ullong-init.c: Likewise.
26345 * math/test-signgam-ullong-static.c: Likewise.
26346 * math/test-signgam-ullong.c: Likewise.
26347 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26348 wrapper of w_lgamma_main.c.
26349 * math/w_lgamma_compat.c: New file.
26350 * math/w_lgamma_compatf.c: Likewise.
26351 * math/w_lgamma_compatl.c: Likewise.
26352 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
26353 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26354 defining compatibility symbols.
26355 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
26356 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26357 wrapper of w_lgammaf_main.c.
26358 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
26359 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26360 defining compatibility symbols.
26361 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
26362 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26363 wrapper of w_lgammal_main.c.
26364 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
26365 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
26366 defining compatibility symbols.
26367 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
26368 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26369 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26370 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
26371 <lgamma-compat.h>.
26372 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
26373 (__ieee754_gamma): Define as alias.
26374 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26375 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
26376 <lgamma-compat.h>.
26377 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
26378 (__ieee754_gammaf): Define as alias.
26379 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26380 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
26381 <lgamma-compat.h>.
26382 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
26383 (__ieee754_gammal): Define as alias.
26384 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26385 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
26386 <math/w_lgamma_compat.c>.
26387 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26388 Define as alias of __lgamma_compat and use in defining lgammal.
26389 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26390 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
26391 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26392 (USE_AS_COMPAT): New macro.
26393 (LGAMMA_OLD_VER): Undefine and redefine.
26394 (lgammal): Do not define here.
26395 (gammal): Only define here if [GAMMA_ALIAS].
26396 * conform/linknamespace.pl (@whitelist): Remove signgam.
26397 * sysdeps/nacl/libm.abilist: Update.
26398 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26399 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26400 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26401 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26402 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26403 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26404 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26405 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26406 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26407 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26408 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26409 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26411 Likewise.
26412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26413 Likewise.
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26415 Likewise.
26416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26417 Likewise.
26418 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26419 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26420 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26421 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26422 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26424 Likewise.
26425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26426 Likewise.
26427 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26428 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26429 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26430
26431 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26432
26433 [BZ #16364]
26434 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26435 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26436
26437 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
26438
26439 * sysdeps/s390/fpu/bits/mathinline.h:
26440 Use __asm__ [__volatile__] instead of asm [volatile].
26441 * sysdeps/s390/abort-instr.h: Likewise.
26442 * sysdeps/s390/atomic-machine.h: Likewise.
26443 * sysdeps/s390/bits/string.h: Likewise.
26444 * sysdeps/s390/dl-tls.h: Likewise.
26445 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26446 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26447 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26448 * sysdeps/s390/fpu/fesetround.c: Likewise.
26449 * sysdeps/s390/fpu/fpu_control.h: Likewise.
26450 * sysdeps/s390/fpu/s_fma.c: Likewise.
26451 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26452 * sysdeps/s390/memusage.h: Likewise.
26453 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26454 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26455 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26456 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26457 * sysdeps/s390/nptl/tls.h: Likewise.
26458 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26459 * sysdeps/s390/s390-32/backtrace.c: Likewise.
26460 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26461 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26462 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26463 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26464 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26465 * sysdeps/s390/s390-64/backtrace.c: Likewise.
26466 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26467 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26468 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26469 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26470 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26471 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26472 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26473 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26474 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26475 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26476 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26478 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26480 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26481
26482 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26483 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26484
26485 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26486 Add lwarx hint, and use macro for acquire instruction.
26487 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26488 Likewise.
26489 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26490 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26491 update to use new atomic macros.
26492
26493 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26494
26495 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26496 (__lll_trylock_elision): Fix setting of adapt_count.
26497 * sysdeps/unix/sysv/linux/powerpc/htm.h
26498 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26499 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26500 (_ABORT_SYSCALL): Renumber, and clarify definition.
26501 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26502
26503 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26504
26505 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26506 after system headers to prevent MIN/MAX redefinition. Define
26507 HAVE_ALLOCA to preserve builtin alloca usage.
26508
26509 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
26510
26511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26512 static and don't set or restore rounding.
26513 (__cos)[IN_SINCOS]: Likewise.
26514 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26515 (__sincos): Set and restore rounding mode. Remove check for infinite
26516 or NaN input.
26517
26518 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26519
26520 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26521 as used.
26522
26523 2015-11-16 Florian Weimer <fweimer@redhat.com>
26524
26525 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26526
26527 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
26528
26529 * config.make.in (have-glob-dat-reloc): New.
26530 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
26531 target supports GLOB_DAT relocaton. AC_SUBST.
26532 * configure: Regenerated.
26533 * elf/Makefile (tests): Add tst-prelink.
26534 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26535 (tst-prelink-ENV): New.
26536 ($(objpfx)tst-prelink-conflict.out): Likewise.
26537 ($(objpfx)tst-prelink-cmp.out): Likewise.
26538 * sysdeps/x86/tst-prelink.c: Moved to ...
26539 * elf/tst-prelink.c: Here.
26540 * sysdeps/x86/tst-prelink.exp: Moved to ...
26541 * elf/tst-prelink.exp: Here.
26542 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26543 (tst-prelink-ENV): Removed.
26544 ($(objpfx)tst-prelink-conflict.out): Likewise.
26545 ($(objpfx)tst-prelink-cmp.out): Likewise.
26546 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26547
26548 2015-11-13 Joseph Myers <joseph@codesourcery.com>
26549
26550 [BZ #14551]
26551 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26552 (__mpn_construct_long_double): If high part overflows to infinity,
26553 set errno and recompute overflowed result of the correct sign.
26554 * sysdeps/ieee754/ldbl-128ibm/Makefile
26555 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26556 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26557 $(libm).
26558 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26559
26560 2015-11-12 Joseph Myers <joseph@codesourcery.com>
26561
26562 [BZ #15479]
26563 [BZ #19238]
26564 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26565 floating-point state after first operation on input. Restore full
26566 state rather than just rounding mode.
26567 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26568 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26569 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26570
26571 [BZ #19235]
26572 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26573 add 0.5 to integer arguments.
26574 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26575 Likewise.
26576 (.LC2): New object.
26577
26578 2015-11-11 Mike Frysinger <vapier@gentoo.org>
26579
26580 * scripts/pylintrc (reports): Set to no.
26581
26582 2015-11-10 Roland McGrath <roland@hack.frob.com>
26583
26584 * elf/dl-load.c (open_verify): Take new argument FD.
26585 Skip __open call if passed FD is not -1.
26586 (_dl_map_object, open_path): Update callers.
26587 * elf/dl-sysdep-open.h: New file.
26588 * elf/dl-load.c: Include it.
26589 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26590 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26591 * sysdeps/nacl/dl-sysdep-open.h: New file.
26592 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26593 from libc to rtld.
26594
26595 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26596
26597 [BZ #19228]
26598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26599 and restore full floating-point state.
26600 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26601 Likewise.
26602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26603 Likewise.
26604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26605 Likewise.
26606 * math/test-nearbyint-except-2.c: New file.
26607 * math/Makefile (tests): Add test-nearbyint-except-2.
26608
26609 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
26610
26611 [BZ #19178]
26612 * sysdeps/x86/Makefile (tests): Add tst-prelink.
26613 (tst-prelink-ENV): New.
26614 ($(objpfx)tst-prelink-conflict.out): Likewise.
26615 ($(objpfx)tst-prelink-cmp.out): Likewise.
26616 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26617 * sysdeps/x86/tst-prelink.c: New file.
26618 * sysdeps/x86/tst-prelink.exp: Likewise.
26619
26620 2015-11-10 Joseph Myers <joseph@codesourcery.com>
26621
26622 * math/auto-libm-test-in: Add another test of pow.
26623 * math/auto-libm-test-out: Regenerated.
26624 * math/libm-test.inc (pow_test_data): Add another test.
26625
26626 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26627
26628 [BZ #19219]
26629 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26630 weak_alias to nearbyintl.
26631
26632 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26633
26634 * sysdeps/aarch64/bits/string.h: New file.
26635 (_STRING_ARCH_unaligned): Define.
26636
26637 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
26638
26639 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26640 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26641 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26642 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26644
26645 2015-11-09 Ulrich Drepper <drepper@gmail.com>
26646
26647 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26648 for original name of the DSO. Add it to the name list of the DSO
26649 if it is actually given.
26650 (_dl_map_object): Keep track of whether an audit module rewrote
26651 the file name. If yes, pass the original name to
26652 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
26653 debugging is enabled, log the change of the file name.
26654 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26655 _dl_map_object_from_fd.
26656 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26657 * elf/tst-audit11.c: New file
26658 * elf/tst-auditmod11.c: New file.
26659 * elf/tst-audit11mod1.c: New file.
26660 * elf/tst-audit11mod2.c: New file.
26661 * elf/tst-audit11mod2.map: New file.
26662 * elf/tst-audit12.c: New file
26663 * elf/tst-auditmod12.c: New file.
26664 * elf/tst-audit12mod1.c: New file.
26665 * elf/tst-audit12mod2.c: New file.
26666 * elf/tst-audit12mod2.map: New file.
26667 * elf/tst-audit12mod3.c: New file.
26668
26669 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26670
26671 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26672 Don't create weak aliases,
26673 because versioned symbols are created later.
26674 * sysdeps/s390/s390-32/setjmp.S
26675 (setjmp, _setjmp): Remove weak and rename to an unique name
26676 in SHARED case due to existing versioned symbols.
26677 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26678 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26679 (getcontext): Create weak alias only in non SHARED case.
26680 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26681
26682 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
26683
26684 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26685 (__ASSUME_*_SYSCALL) Define new macros.
26686 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26687 Remove socketcall syscalls.
26688 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26689 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26690 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26691 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26692 * sysdeps/unix/sysv/linux/send.c (__libc_send):
26693 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26694
26695 2015-11-09 Florian Weimer <fweimer@redhat.com>
26696
26697 [BZ #12926]
26698 Terminate process on invalid netlink response.
26699 * sysdeps/unix/sysv/linux/netlinkaccess.h
26700 (__netlink_assert_response): Declare.
26701 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26702 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26703 (sysdep_routines): Add netlink_assert_response.
26704 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26705 __netlink_assert_response.
26706 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26707 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26708 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26709 __netlink_assert_response.
26710
26711 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
26712
26713 [BZ #19178]
26714 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26715 (RTYPE_CLASS_PLT): Likewise.
26716 (RTYPE_CLASS_COPY): Likewise.
26717 (RTYPE_CLASS_TLS): Likewise.
26718 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26719 to set relocation type class for DL_DEBUG_PRELINK. Keep only
26720 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26721 DL_DEBUG_PRELINK.
26722
26723 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26724
26725 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26726 calls with argument -0.5.
26727 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26728
26729 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26730 (libc_cv_z_nodlopen): Likewise.
26731 (libc_cv_z_initfirst): Likewise.
26732 * configure: Regenerated.
26733
26734 2015-11-06 Florian Weimer <fweimer@redhat.com>
26735
26736 Simplify abilist format to be line-based.
26737 * scripts/abilist.awk: Collect descriptors in the descs variable.
26738 (emit): Write descs variable and sort it
26739 externally, with sort.
26740 * sysdeps/**/*.abilist: Convert to new format.
26741
26742 2015-11-06 Mark Wielaard <mjw@redhat.com>
26743
26744 [BZ #11460]
26745 * io/Makefile (routines): Add fts64.
26746 (tests): Add tst-fts and tst-fts-lfs.
26747 (CFLAGS-fts64.c): New.
26748 * io/Versions (GLIBC_2.23): New.
26749 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26750 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26751 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26752 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26753 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26754 (FTSENT64): Likewise.
26755 (fts64_children): Likewise.
26756 (fts64_close): Likewise.
26757 (fts64_open): Likewise.
26758 (fts64_read): Likewise.
26759 (fts64_set): Likewise.
26760 * io/fts64.c: New file.
26761 * io/tst-fts.c: New test.
26762 * io/tst-fts-lfs.c: Likewise.
26763 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26764 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26765 fts64_set.
26766 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26767 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26768 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26769 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26770 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26771 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26772 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26773 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26774 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26775 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26776 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26778 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26780 Likewise.
26781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26782 Likewise.
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26785 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26786 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26787 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26788 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26789 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26792 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26793 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26794 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26795 * sysdeps/wordsize-64/fts.c: New file.
26796 * sysdeps/wordsize-64/fts64.c: Likewise.
26797 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26798 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26799 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26800 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26801
26802 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26803
26804 * math/libm-test.inc (NON_FINITE): New macro.
26805 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26806 * math/gen-libm-test.pl (show_exceptions): Add argument
26807 $non_finite.
26808 (parse_args): Update call to show_exceptions.
26809 * math/test-math-finite.h: New file.
26810 * math/test-math-no-finite.h: Likewise.
26811 * math/test-double-finite.c: Likewise.
26812 * math/test-float-finite.c: Likewise.
26813 * math/test-ldouble-finite.c: Likewise.
26814 * math/test-double.c: Include "test-math-no-finite.h".
26815 * math/test-float.c: Include "test-math-no-finite.h".
26816 * math/test-ldouble.c: Include "test-math-no-finite.h".
26817 * math/test-math-inline.h (TEST_FINITE): New macro.
26818 * math/test-math-vector.h (TEST_FINITE): Likewise.
26819 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26820 (libm-tests): Add test-float-finite and test-double-finite.
26821 ($(objpfx)test-float-finite.o): New dependency on
26822 $(objpfx)libm-test.stmp.
26823 ($(objpfx)test-double-finite.o): Likewise.
26824 ($(objpfx)test-ldouble-finite.o): Likewise.
26825 (libm-test-no-inline-cflags): New variable.
26826 (libm-test-finite-cflags): Likewise.
26827 (CFLAGS-test-float-finite.c): Likewise.
26828 (CFLAGS-test-double-finite.c): Likewise.
26829 (CFLAGS-test-ldouble-finite.c): Likewise.
26830 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26831 (CFLAGS-test-double.c): Likewise.
26832 (CFLAGS-test-ldouble.c): Likewise.
26833
26834 2015-11-05 Roland McGrath <roland@hack.frob.com>
26835
26836 * io/fcntl.c (__fcntl): Add ... to prototype.
26837 * misc/ioctl.c (__ioctl): Likewise.
26838 * misc/syscall.c (syscall): Likewise.
26839
26840 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26841
26842 * scripts/list-fixed-bugs.py: New file.
26843
26844 [BZ #19213]
26845 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26846 returned for argument 1.
26847 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26848 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26849 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26850 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26851 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26852 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26853
26854 [BZ #19211]
26855 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26856 __USE_XOPEN], not if [!__USE_ISOC99].
26857 (lgammaf): Likewise.
26858 (lgammal): Likewise.
26859 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26860 (gammaf): Likewise.
26861 (gammal): Likewise.
26862 * math/test-signgam-finite-c11.c: New file.
26863 * math/test-signgam-finite-c99.c: Likewise.
26864 * math/test-signgam-finite.c: Likewise.
26865 * math/Makefile (tests): Add test-signgam-finite,
26866 test-signgam-finite-c99 and test-signgam-finite-c11.
26867 (CFLAGS-test-signgam-finite.c): New variable.
26868 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26869 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26870
26871 [BZ #19212]
26872 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26873 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26874 500].
26875 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26876 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26877 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26878 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26879 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26880 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26881 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26882 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26883 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26884 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26885
26886 [BZ #19209]
26887 * math/bits/math-finite.h (ldexp): Remove declaration.
26888 (ldexpf): Likewise.
26889 (ldexpl): Likewise.
26890
26891 [BZ #19205]
26892 * math/bits/math-finite.h (acosf): Condition declaration on
26893 [__USE_ISOC99].
26894 (acosl): Likewise.
26895 (acoshf): Likewise.
26896 (acoshl): Likewise.
26897 (asinf): Likewise.
26898 (asinl): Likewise.
26899 (atan2f): Likewise.
26900 (atan2l): Likewise.
26901 (atanhf): Likewise.
26902 (atanhl): Likewise.
26903 (coshf): Likewise.
26904 (coshl): Likewise.
26905 (expf): Likewise.
26906 (expl): Likewise.
26907 (fmodf): Likewise.
26908 (fmodl): Likewise.
26909 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26910 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26911 (j0l): Likewise.
26912 (y0f): Likewise.
26913 (y0l): Likewise.
26914 (j1f): Likewise.
26915 (j1l): Likewise.
26916 (y1f): Likewise.
26917 (y1l): Likewise.
26918 (jnf): Likewise.
26919 (jnl): Likewise.
26920 (ynf): Likewise.
26921 (ynl): Likewise.
26922 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26923 (lgammal_r): Likewise.
26924 (__lgamma_r_finite): New declaration.
26925 (__lgammaf_r_finite): Likewise.
26926 (__lgammal_r_finite): Likewise.
26927 (lgamma): Use __lgamma_r_finite.
26928 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26929 __lgammaf_r_finite.
26930 (lgammal): Condition definition on [__USE_ISOC99]. Use
26931 __lgammal_r_finite.
26932 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26933 __lgamma_r_finite.
26934 (gammaf): Condition definition on [__USE_ISOC99]. Use
26935 __lgammaf_r_finite.
26936 (gammal): Condition definition on [__USE_ISOC99]. Use
26937 __lgammal_r_finite.
26938 (logf): Condition declaration on [__USE_ISOC99].
26939 (logl): Likewise.
26940 (log10f): Likewise.
26941 (log10l): Likewise.
26942 (ldexpf): Likewise.
26943 (ldexpl): Likewise.
26944 (powf): Likewise.
26945 (powl): Likewise.
26946 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26947 __USE_ISOC99].
26948 (remainderf): Condition declaration on [__USE_ISOC99].
26949 (remainderl): Likewise.
26950 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26951 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26952 (scalbl): Likewise.
26953 (sinhf): Condition declaration on [__USE_ISOC99].
26954 (sinhl): Likewise.
26955 (sqrtf): Likewise.
26956 (sqrtl): Likewise.
26957
26958 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26959
26960 * sysdeps/arm/atomic-machine.h
26961 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26962 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26963 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26964 Remove conditional code.
26965 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26966 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26967 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26968 Change conditional to [__ASSEMBLER__].
26969 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26970 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26971 [!__ASSEMBLER__].
26972 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26973 code.
26974 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26975 conditional macro definitions.
26976 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26977 (__arch_compare_and_exchange_val_16_acq): Likewise.
26978 (__arch_compare_and_exchange_val_32_acq): Likewise.
26979 (atomic_exchange_and_add): Likewise.
26980 (atomic_add): Likewise.
26981 (atomic_add_negative): Likewise.
26982 (atomic_add_zero): Likewise.
26983 (atomic_bit_set): Likewise.
26984 (atomic_bit_test_set): Likewise.
26985 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26986 code unconditional.
26987 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26988
26989 * math/test-math-errno.h: New file.
26990 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26991 empty.
26992 (TEST_ERRNO): New macro.
26993 (TEST_EXCEPTIONS): Likewise.
26994 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26995 (TEST_EXCEPTIONS): Likewise.
26996 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26997 * math/test-double.c: Include "test-math-errno.h".
26998 * math/test-float.c: Likewise.
26999 * math/test-ldouble.c: Likewise.
27000 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27001 code unconditional.
27002 (test_exceptions): Only run code if TEST_EXCEPTIONS.
27003 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27004 unconditional.
27005 (test_errno): Only run code if TEST_ERRNO.
27006 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27007
27008 2015-11-04 Florian Weimer <fweimer@redhat.com>
27009
27010 * nptl/tst-once5.cc: Remove attribution.
27011
27012 2015-11-04 Joseph Myers <joseph@codesourcery.com>
27013
27014 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27015 sqrt, tan, tanh, y0, y1 and yn.
27016 * math/auto-libm-test-out: Regenerated.
27017 * math/libm-test.inc (scalb_test_data): Add more tests.
27018 (scalbn_test_data): Likewise.
27019 (scalbln_test_data): Likewise.
27020 (signbit_test_data): Likewise.
27021 (sin_test_data): Likewise.
27022 (sincos_test_data): Likewise.
27023 (sinh_test_data): Likewise.
27024 (sqrt_test_data): Likewise.
27025 (tan_test_data): Likewise.
27026 (tanh_test_data): Likewise.
27027 (tgamma_test_data): Likewise.
27028 (y0_test_data): Likewise.
27029 (y1_test_data): Likewise.
27030 (yn_test_data): Likewise.
27031 (significand_test_data): Likewise.
27032 * sysdeps/i386/fpu/libm-test-ulps: Update.
27033
27034 2015-11-03 David Kastrup <dak@gnu.org>
27035
27036 [BZ #18604]
27037 * assert/assert.h (assert): Don't macro-expand failed assertion
27038 expression in error message.
27039 * malloc/malloc.c (assert): Likewise.
27040
27041 2015-11-03 Joseph Myers <joseph@codesourcery.com>
27042
27043 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27044 test.
27045 * configure: Regenerated.
27046
27047 2015-11-02 Joseph Myers <joseph@codesourcery.com>
27048
27049 * math/libm-test.inc (modf_test_data): Add more tests.
27050 (nearbyint_test_data): Likewise.
27051 (nextafter_test_data): Likewise.
27052 (nexttoward_test_data): Likewise.
27053 (pow_test_data): Likewise.
27054 (remainder_test_data): Likewise.
27055 (remquo_test_data): Likewise.
27056 (rint_test_data): Likewise.
27057
27058 [BZ #19201]
27059 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27060 Check for zero remainder in case of large exponents and ensure
27061 correct sign of result in that case.
27062 * math/libm-test.inc (remainder_test_data): Add more tests.
27063
27064 [BZ #6799]
27065 * math/s_nextafter.c: Include <errno.h>.
27066 (__nextafter): Set errno on overflow and underflow.
27067 * math/s_nexttowardf.c: Include <errno.h>.
27068 (__nexttowardf): Set errno on overflow and underflow.
27069 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27070 (__nextafterl): Set errno on overflow and underflow.
27071 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27072 (__nexttoward): Set errno on overflow and underflow.
27073 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27074 (__nexttowardf): Set errno on overflow and underflow.
27075 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27076 (__nextafterf): Set errno on overflow and underflow.
27077 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27078 (__nextafterl): Set errno on overflow and underflow.
27079 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27080 (__nexttoward): Set errno on overflow and underflow.
27081 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27082 (__nexttowardf): Set errno on overflow and underflow.
27083 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27084 (__nextafterl): Set errno on overflow and underflow.
27085 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27086 (__nexttoward): Set errno on overflow and underflow.
27087 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27088 (__nexttowardf): Set errno on overflow and underflow.
27089 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27090 (__nexttoward): Set errno on overflow and underflow.
27091 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27092 (__nexttowardf): Set errno on overflow and underflow.
27093 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27094 (__nldbl_nexttowardf): Set errno on overflow and underflow.
27095 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27096 (__nextafterl): Set errno on overflow and underflow.
27097 * math/libm-test.inc (nextafter_test_data): Do not allow errno
27098 setting to be missing on overflow. Add more tests.
27099 (nexttoward_test_data): Likewise.
27100
27101 * configure.ac (libc_cv_initfini_array): Remove configure test.
27102 * configure: Regenerated.
27103
27104 2015-10-29 Joseph Myers <joseph@codesourcery.com>
27105
27106 [BZ #19189]
27107 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27108 non-finite argument handle arguments with negative sign.
27109
27110 * math/libm-test.inc (j0_test_data): Do not test sign of zero
27111 result from infinite argument.
27112 (j1_test_data): Likewise.
27113 (jn_test_data): Likewise.
27114 (y0_test_data): Likewise.
27115 (y1_test_data): Likewise.
27116 (yn_test_data): Likewise.
27117
27118 [BZ #16171]
27119 * math/w_remainder.c (drem): Define as weak alias of __remainder.
27120 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27121 * math/w_remainderf.c (dremf): Define as weak alias of
27122 __remainderf.
27123 * math/w_remainderl.c (dreml): Define as weak alias of
27124 __remainderl.
27125 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27126 __remainder.
27127 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27128 __remainderf.
27129 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27130 __remainderl.
27131 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27132 weak alias of remainderl.
27133 * sysdeps/ieee754/ldbl-opt/w_remainder.c
27134 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27135 alias of __remainder.
27136 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27137 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27138 strong alias of __remainderl.
27139 (dreml): Use long_double_symbol.
27140 * math/Makefile (libm-calls): Remove w_drem.
27141 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27142 (CFLAGS-nldbl-drem.c): Remove variable.
27143 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27144 * math/w_drem.c: Remove file.
27145 * math/w_dremf.c: Likewise.
27146 * math/w_dreml.c: Likewise.
27147 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27148 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27149 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27150
27151 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27152 * sysdeps/i386/configure: Regenerated.
27153 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27154 * sysdeps/x86_64/configure: Regenerated.
27155
27156 * configure.ac (libc_cv_asm_protected_directive): Remove configure
27157 test.
27158 (libc_cv_visibility_attribute): Likewise.
27159 (libc_cv_protected_data): Test unconditionally.
27160 (libc_cv_broken_visibility_attribute): Remove configure test.
27161 (libc_cv_have_sdata_section): Test unconditionally.
27162 * configure: Regenerated.
27163
27164 * include/libc-internal.h (libc_max_align_t): Remove typedef.
27165 * include/scratch_buffer.h: Include <stddef.h> instead of
27166 <libc-internal.h>.
27167 (struct scratch_buffer): Use max_align_t instead of
27168 libc_max_align_t.
27169
27170 2015-10-29 Florian Weimer <fweimer@redhat.com>
27171
27172 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27173 instead of extend_alloca. Change control flow to avoid a goto.
27174 Remove assert which is trivially always true.
27175
27176 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27177
27178 [BZ #16068]
27179 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27180 (FE_ALL_EXCEPT_X86): New macro.
27181 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27182 FE_ALL_EXCEPT. Ensure precision control is included in
27183 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27184 handle "denormal operand exception" and clear FZ and DAZ bits.
27185 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27186 (FE_ALL_EXCEPT_X86): New macro.
27187 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27188 FE_ALL_EXCEPT. Ensure precision control is included in
27189 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27190 handle "denormal operand exception" and clear FZ and DAZ bits.
27191 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27192 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27193 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27194 test-fenv-x87 and test-fenv-sse-2.
27195 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27196
27197 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27198 * math/test-double.h (BUILD_COMPLEX): New macro.
27199 * math/test-float.h (BUILD_COMPLEX): Likewise.
27200 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27201
27202 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27203 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27204 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27206 instead of DBL_DENORM_MIN in comment.
27207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27208 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27209 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27210 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27211 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27212 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27213
27214 2015-10-28 Florian Weimer <fweimer@redhat.com>
27215
27216 [BZ #19048]
27217 * malloc/malloc.c (struct malloc_state): Update comment. Add
27218 attached_threads member.
27219 (main_arena): Initialize attached_threads.
27220 * malloc/arena.c (list_lock): Update comment.
27221 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27222 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27223 (deattach_arena): New function.
27224 (_int_new_arena): Initialize arena reference count and deattach
27225 replaced arena.
27226 (get_free_list, reused_arena): Update reference count and deattach
27227 replaced arena.
27228 (arena_thread_freeres): Update arena reference count and only put
27229 unreferenced arenas on the free list.
27230
27231 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27232
27233 [BZ #19181]
27234 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27235 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27236 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27237 * math/test-fenv-clear-main.c: New file.
27238 * math/test-fenv-clear.c: Likewise.
27239 * math/Makefile (tests): Add test-fenv-clear.
27240 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27241 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27242 test-fenv-clear-sse.
27243 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27244
27245 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27246 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27247 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27248
27249 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27250
27251 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27252 static libc.
27253
27254 2015-10-28 Joseph Myers <joseph@codesourcery.com>
27255
27256 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27257 test.
27258 * sysdeps/i386/configure: Regenerated.
27259 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27260 test.
27261 * sysdeps/x86_64/configure: Regenerated.
27262 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27264 memset-avx2 unconditionally instead of conditionally on
27265 [$(config-cflags-avx2) = yes].
27266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27267 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27268 unconditional.
27269 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27270 * sysdeps/x86_64/multiarch/memset_chk.S
27271 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27272 to [IS_IN (libc) && SHARED].
27273
27274 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27275
27276 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27277 configure test.
27278 * sysdeps/arm/configure: Regenerated.
27279 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27280 Define variable if not already defined.
27281
27282 [BZ #17404]
27283 * sysdeps/mips/atomic-machine.h
27284 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27285 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27286 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27287
27288 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27289 unconditional.
27290 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27291 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27292 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27293 unconditional.
27294 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27295 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27296 unconditional.
27297 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27298 * stdlib/setenv.c
27299 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27300 code unconditional.
27301 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27302 Remove conditional code.
27303 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27304 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27305 unconditional.
27306 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27307 code.
27308 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27309 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27310 unconditional.
27311 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27312 code.
27313 * sysdeps/ieee754/ldbl-128/k_tanl.c
27314 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27315 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27316 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27317 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27318 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27319 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27320 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27321 unconditional.
27322 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27323 code.
27324 * sysdeps/ieee754/ldbl-96/k_tanl.c
27325 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27326 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27327
27328 * nptl/tst-initializers1-c11.c: New file.
27329 * nptl/tst-initializers1-gnu11.c: Likewise.
27330 * nptl/Makefile (tests): Add these new tests.
27331 (CFLAGS-tst-initializers1-c11.c): New variable.
27332 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27333
27334 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27335 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27336 instead of -std=gnu99.
27337 * configure.ac (systemtap): Test with -std=gnu11 instead of
27338 -std=gnu99.
27339 * configure: Regenerated.
27340 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27341 in compilation command in comment.
27342
27343 * sysdeps/nptl/configure.ac: Remove file.
27344 * sysdeps/nptl/configure: Remove generated file.
27345 * configure.ac (libc_cv_forced_unwind): Do not substitute.
27346 * configure: Regenerated.
27347 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27348 * config.make.in (have-forced-unwind): Remove variable.
27349 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27350 unconditional.
27351 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27352 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27353 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27354 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27355 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27356 unconditional.
27357
27358 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
27359
27360 [BZ #19174]
27361 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27362 .skip_lock_out_of_tbegin_retries.
27363 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27364 (__lll_lock_elision): Likewise, and respect a value of
27365 try_tbegin <= 0.
27366
27367 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
27368
27369 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27370 statement.
27371
27372 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27373
27374 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27375 variable.
27376 (test-xfail-ISO11/stdalign.h/conform): Likewise.
27377 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27378
27379 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27380 of -std=c1x -D_ISOC11_SOURCE.
27381
27382 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27383 * configure: Regenerated.
27384 * manual/install.texi (Tools for Compilation): Document
27385 requirement for GCC 4.7 or later.
27386 * INSTALL: Regenerated.
27387
27388 2015-10-27 Ludovic CourtĂšs <ludo@gnu.org>
27389
27390 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27391 on CNT to a conditional jump to 'puntdata'.
27392
27393 2015-10-27 Joseph Myers <joseph@codesourcery.com>
27394
27395 * configure.ac (libc_cv_gcc___thread): Remove configure test.
27396 (libc_cv_gcc_tls_model_attr): Likewise.
27397 * configure: Regenerated.
27398
27399 * configure.ac (libc_cv_need_minus_P): Remove configure test.
27400 * configure: Regenerated.
27401 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27402
27403 2015-10-26 Joseph Myers <joseph@codesourcery.com>
27404
27405 * configure.ac (old_glibc_headers): Remove configure test.
27406 * configure: Regenerated.
27407 * config.make.in (old-glibc-headers): Remove variable.
27408 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27409 (install): Remove dependency on remove-old-headers.
27410 (headers2_0): Remove variable.
27411 (remove-old-headers): Remove rule.
27412
27413 * configure.ac (libc_cv_dot_text): Remove configure test.
27414 (libc_cv_asm_set_directive): Use .text instead of
27415 ${libc_cv_dot_text} in configure test.
27416 * configure: Regenerated.
27417
27418 2015-10-26 Florian Weimer <fweimer@redhat.com>
27419
27420 [BZ #19168]
27421 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27422
27423 2015-10-26 Florian Weimer <fweimer@redhat.com>
27424
27425 * configure.ac (CXX): Clear the variable if the C++ toolchain does
27426 not support static linking.
27427 * configure: Regenerate.
27428
27429 2015-10-23 Joseph Myers <joseph@codesourcery.com>
27430
27431 * math/libm-test.inc (check_float_internal): Do not special-case
27432 errors up to 0.5 ulp.
27433
27434 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27435 log2.
27436 * math/auto-libm-test-out: Regenerated.
27437 * math/libm-test.inc (MAX_EXP): New macro.
27438 (ilogb_test_data): Add more tests.
27439 (isfinite_test_data): Likewise.
27440 (isgreater_test_data): Likewise.
27441 (isgreaterequal_test_data): Likewise.
27442 (isinf_test_data): Likewise.
27443 (isless_test_data): Likewise.
27444 (islessequal_test_data): Likewise.
27445 (islessgreater_test_data): Likewise.
27446 (isnan_test_data): Likewise.
27447 (isnormal_test_data): Likewise.
27448 (issignaling_test_data): Likewise.
27449 (isunordered_test_data): Likewise.
27450 (j0_test_data): Likewise.
27451 (j1_test_data): Likewise.
27452 (jn_test_data): Likewise.
27453 (lgamma_test_data): Likewise.
27454 (log_test_data): Likewise.
27455 (log10_test_data): Likewise.
27456 (log1p_test_data): Likewise.
27457 (log2_test_data): Likewise.
27458 (logb_test_data): Likewise.
27459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27460
27461 [BZ #18611]
27462 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27463 avoid excess range and precision on underflow.
27464 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27465 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27466 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27467 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27468 underflow.
27469 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27472 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27473 * math/auto-libm-test-in: Do not allow missing errno setting for
27474 tests of j1 and jn.
27475 * math/auto-libm-test-out: Regenerated.
27476
27477 2015-10-22 Joseph Myers <joseph@codesourcery.com>
27478
27479 [BZ #15491]
27480 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27481 floating-point environment instead of clearing all exceptions.
27482 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27483 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27484 merging in "invalid" exceptions from frndint.
27485 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27486 * math/test-nearbyint-except.c: New file.
27487 * math/Makefile (tests): Add test-nearbyint-except.
27488
27489 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
27490
27491 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27492
27493 * sysdeps/tile/libm-test-ulps: Regenerated.
27494
27495 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27496
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27498 (__NR_sync_file_range2): Assume it is always defined.
27499 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27500 (__NR_sync_file_range): Assume it is always defined.
27501
27502 2015-10-22 Andreas Schwab <schwab@suse.de>
27503
27504 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27505 INTERNAL_SYSCALL_ERRNO.
27506 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27507 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27508 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27509 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27510 Likewise.
27511 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27512
27513 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27514
27515 * io/tst-fcntl.c (fd): New static variable.
27516 (do_prepare): Open temporary file here....
27517 (do_test): ...not here.
27518
27519 * io/ftwtest-sh: Also trap on exit to remove temporary files.
27520
27521 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27522
27523 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27524 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27525 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27526 Moved before "#ifdef __ASSEMBLER__".
27527
27528 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27529
27530 [BZ #19156]
27531 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27532 arguments very close to 0.
27533
27534 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
27535
27536 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27537 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27538
27539 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
27540
27541 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27542 New. Defined for GCC 5 and above when not compiling for
27543 profiling.
27544 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27545
27546 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27547 Renamed to ...
27548 (CFLAGS-epoll_pwait.o): This.
27549 (CFLAGS-mmap.c): Renamed to ...
27550 (CFLAGS-mmap.o): This.
27551 (CFLAGS-mmap64.c): Renamed to ...
27552 (CFLAGS-mmap64.o): This.
27553 (CFLAGS-epoll_pwait.os): New.
27554 (CFLAGS-mmap.os): Likewise.
27555 (CFLAGS-mmap64.os): Likewise.
27556 (CFLAGS-semtimedop.os): Likewise.
27557 (CFLAGS-semtimedop.c): Renamed to ...
27558 (CFLAGS-semtimedop.o): This.
27559
27560 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27561
27562 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27563 warning message.
27564
27565 2015-10-21 Joseph Myers <joseph@codesourcery.com>
27566
27567 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27568 * Makefile ($(objpfx)c++-types-check.out): Filter out
27569 $(+gccwarn-c) instead of -Wstrict-prototypes.
27570
27571 * io/fts.c (fts_open): Convert to prototype-style function
27572 definition.
27573 * malloc/mcheck.c (mcheck): Likewise.
27574 (mcheck_pedantic): Likewise.
27575 * posix/regexec.c (re_search_2_stub): Likewise. Use
27576 internal_function.
27577 (re_search_internal): Likewise.
27578 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27579 prototype-style function definition.
27580 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27581 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27582 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27583 (xdr_utmpptr): Likewise.
27584 (xdr_utmparr): Likewise.
27585 (xdr_utmpidle): Likewise.
27586 (xdr_utmpidleptr): Likewise.
27587 (xdr_utmpidlearr): Likewise.
27588
27589 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27590 log, log10 and log2.
27591 * math/auto-libm-test-out: Regenerated.
27592 * math/libm-test.inc (fmod_test_data): Add more tests.
27593 (fpclassify_test_data): Likewise.
27594 (frexp_test_data): Likewise.
27595 (hypot_test_data): Likewise.
27596 (ilogb_test_data): Likewise.
27597
27598 2015-10-20 Joseph Myers <joseph@codesourcery.com>
27599
27600 * debug/fortify_fail.c (__fortify_fail): Convert to
27601 prototype-style function definition. Use internal_function.
27602 * libio/genops.c (save_for_backup): Convert to prototype-style
27603 function definition.
27604 * libio/wgenops.c (save_for_wbackup): Likewise.
27605 * login/grantpt.c (grantpt): Likewise.
27606 * login/ptsname.c (ptsname): Likewise.
27607 (__ptsname_r): Likewise.
27608 * login/unlockpt.c (unlockpt): Likewise.
27609 * mach/msgserver.c (__mach_msg_server): Likewise.
27610 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27611 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27612 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27613 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27614 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27615 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27616 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27617 Likewise.
27618 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
27619 internal_function.
27620 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27621 prototype-style function definition.
27622 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27623 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27624 (__pthread_create_2_0): Likewise.
27625 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27626 * nptl/register-atfork.c (__register_atfork): Likewise.
27627 * posix/glob.c (glob): Likewise.
27628 * posix/regcomp.c (re_comp): Likewise.
27629 * posix/regexec.c (re_exec): Likewise.
27630 * stdlib/add_n.c [__STDC__]: Make code unconditional.
27631 [!__STDC__]: Remove conditional code.
27632 * stdlib/cmp.c [__STDC__]: Make code unconditional.
27633 [!__STDC__]: Remove conditional code.
27634 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27635 [!__STDC__]: Remove conditional code.
27636 * stdlib/divrem.c [__STDC__]: Make code unconditional.
27637 [!__STDC__]: Remove conditional code.
27638 * stdlib/lshift.c [__STDC__]: Make code unconditional.
27639 [!__STDC__]: Remove conditional code.
27640 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27641 [!__STDC__]: Remove conditional code.
27642 * stdlib/mul.c [__STDC__]: Make code unconditional.
27643 [!__STDC__]: Remove conditional code.
27644 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27645 [!__STDC__]: Remove conditional code.
27646 * stdlib/rshift.c [__STDC__]: Make code unconditional.
27647 [!__STDC__]: Remove conditional code.
27648 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27649 function definition.
27650 (STRTOF): Likewise.
27651 * stdlib/strtod_l.c (__STRTOF): Likewise.
27652 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27653 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27654 (__strtol_l): Likewise.
27655 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27656 [!__STDC__]: Remove conditional code.
27657 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27658 definition.
27659 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27660 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27661 type.
27662 (__strcasecmp): Convert to prototype-style function definition.
27663 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27664 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27665 type.
27666 (__strncasecmp): Convert to prototype-style function definition.
27667 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27668 * sunrpc/xdr.c (xdr_union): Likewise.
27669 * sunrpc/xdr_array.c (xdr_array): Likewise.
27670 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27671 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27672 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27673 Likewise.
27674 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27675 Likewise.
27676 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27677 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27678 Likewise.
27679 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27680 (LOCALE_PARAM_PROTO): Likewise.
27681 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27682 argument type.
27683 (ut_argument_spec): Remove macro.
27684 (ut_argument_spec_iso): Rename to ut_argument_spec.
27685 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
27686 prototype-style function definition.
27687 (memcpy_uppcase): Likewise.
27688 (__strftime_internal): Likewise.
27689 (my_strftime): Likewise.
27690 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27691 (LOCALE_PARAM_DECL): Likewise.
27692 [_LIBC] (LOCALE_PARAM): Include argument type.
27693 (__strptime_internal): Convert to prototype-style function
27694 definition.
27695 (strptime): Likewise.
27696 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27697 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27698 type.
27699 (__wcscasecmp): Convert to prototype-style function definition.
27700 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27701 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27702 type.
27703 (__wcsncasecmp): Convert to prototype-style function definition.
27704
27705 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27706 function definition.
27707 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27708 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27709 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27710 * elf/dl-minimal.c (_itoa): Likewise.
27711 * hurd/hurdmalloc.c (malloc): Likewise.
27712 (free): Likewise.
27713 (realloc): Likewise.
27714 * inet/inet6_option.c (inet6_option_space): Likewise.
27715 (inet6_option_init): Likewise.
27716 (inet6_option_append): Likewise.
27717 (inet6_option_alloc): Likewise.
27718 (inet6_option_next): Likewise.
27719 (inet6_option_find): Likewise.
27720 * io/ftw.c (FTW_NAME): Likewise.
27721 (NFTW_NAME): Likewise.
27722 (NFTW_NEW_NAME): Likewise.
27723 (NFTW_OLD_NAME): Likewise.
27724 * libio/iofwide.c (_IO_fwide): Likewise.
27725 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27726 (_IO_str_init_static): Likewise.
27727 (_IO_str_init_readonly): Likewise.
27728 (_IO_str_overflow): Likewise.
27729 (_IO_str_underflow): Likewise.
27730 (_IO_str_count): Likewise.
27731 (_IO_str_seekoff): Likewise.
27732 (_IO_str_pbackfail): Likewise.
27733 (_IO_str_finish): Likewise.
27734 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27735 (_IO_wstr_overflow): Likewise.
27736 (_IO_wstr_underflow): Likewise.
27737 (_IO_wstr_count): Likewise.
27738 (_IO_wstr_seekoff): Likewise.
27739 (_IO_wstr_pbackfail): Likewise.
27740 (_IO_wstr_finish): Likewise.
27741 * locale/programs/localedef.c (normalize_codeset): Likewise.
27742 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27743 (add_locales_to_archive): Likewise.
27744 (delete_locales_from_archive): Likewise.
27745 * malloc/malloc.c (__libc_mallinfo): Likewise.
27746 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27747 * misc/tsearch.c (__tfind): Likewise.
27748 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27749 * nptl/pthread_attr_getdetachstate.c
27750 (__pthread_attr_getdetachstate): Likewise.
27751 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27752 Likewise.
27753 * nptl/pthread_attr_getinheritsched.c
27754 (__pthread_attr_getinheritsched): Likewise.
27755 * nptl/pthread_attr_getschedparam.c
27756 (__pthread_attr_getschedparam): Likewise.
27757 * nptl/pthread_attr_getschedpolicy.c
27758 (__pthread_attr_getschedpolicy): Likewise.
27759 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27760 Likewise.
27761 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27762 Likewise.
27763 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27764 Likewise.
27765 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27766 Likewise.
27767 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27768 (__pthread_attr_init_2_0): Likewise.
27769 * nptl/pthread_attr_setdetachstate.c
27770 (__pthread_attr_setdetachstate): Likewise.
27771 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27772 Likewise.
27773 * nptl/pthread_attr_setinheritsched.c
27774 (__pthread_attr_setinheritsched): Likewise.
27775 * nptl/pthread_attr_setschedparam.c
27776 (__pthread_attr_setschedparam): Likewise.
27777 * nptl/pthread_attr_setschedpolicy.c
27778 (__pthread_attr_setschedpolicy): Likewise.
27779 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27780 Likewise.
27781 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27782 Likewise.
27783 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27784 Likewise.
27785 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27786 Likewise.
27787 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27788 Likewise.
27789 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27790 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27791 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27792 use internal_function.
27793 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27794 prototype-style function definition.
27795 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27796 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27797 internal_function.
27798 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27799 Convert to prototype-style function definition.
27800 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27801 Likewise.
27802 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27803 Likewise.
27804 (__pthread_mutex_unlock): Likewise.
27805 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27806 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27807 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27808 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27809 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27810 * nss/makedb.c (process_input): Likewise.
27811 * posix/fnmatch.c (__strchrnul): Likewise.
27812 (__wcschrnul): Likewise.
27813 (fnmatch): Likewise.
27814 * posix/fnmatch_loop.c (FCT): Likewise.
27815 * posix/glob.c (globfree): Likewise.
27816 (__glob_pattern_type): Likewise.
27817 (__glob_pattern_p): Likewise.
27818 * posix/regcomp.c (re_compile_pattern): Likewise.
27819 (re_set_syntax): Likewise.
27820 (re_compile_fastmap): Likewise.
27821 (regcomp): Likewise.
27822 (regerror): Likewise.
27823 (regfree): Likewise.
27824 * posix/regexec.c (regexec): Likewise.
27825 (re_match): Likewise.
27826 (re_search): Likewise.
27827 (re_match_2): Likewise.
27828 (re_search_2): Likewise.
27829 (re_search_stub): Likewise. Use internal_function
27830 (re_copy_regs): Likewise.
27831 (re_set_registers): Convert to prototype-style function
27832 definition.
27833 (prune_impossible_nodes): Likewise. Use internal_function.
27834 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27835 prototype-style function definition.
27836 (inet_net_pton_ipv4): Likewise.
27837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27838 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27839 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27840 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27841 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27842 Make variadic.
27843 * time/strptime_l.c (localtime_r): Convert to prototype-style
27844 function definition.
27845 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27846 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27847 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27848 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27849
27850 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27851 definition.
27852 (_ufc_doit_r): Likewise.
27853 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27854 (_ufc_output_conversion_r): Likewise.
27855 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27856 * inet/rcmd.c (rcmd_af): Likewise.
27857 (rcmd): Likewise.
27858 (ruserok_af): Likewise.
27859 (ruserok): Likewise.
27860 (ruserok2_sa): Likewise.
27861 (ruserok_sa): Likewise.
27862 (iruserok_af): Likewise.
27863 (iruserok): Likewise.
27864 (__ivaliduser): Likewise.
27865 (__validuser2_sa): Likewise.
27866 * inet/rexec.c (rexec_af): Likewise.
27867 (rexec): Likewise.
27868 * inet/ruserpass.c (ruserpass): Likewise.
27869 * locale/programs/xmalloc.c (xcalloc): Likewise.
27870 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27871 * math/w_drem.c (__drem): Likewise.
27872 * math/w_dremf.c (__dremf): Likewise.
27873 * math/w_dreml.c (__dreml): Likewise.
27874 * misc/daemon.c (daemon): Likewise.
27875 * resolv/res_debug.c (p_fqnname): Likewise.
27876 * stdlib/div.c (div): Likewise.
27877 * string/memcmp.c (memcmp_bytes): Likewise.
27878 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27879 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27880
27881 * crypt/cert.c (main): Convert to prototype-style function
27882 definition.
27883 * io/pipe.c (__pipe): Likewise.
27884 * io/pipe2.c (__pipe2): Likewise.
27885 * misc/futimesat.c (futimesat): Likewise.
27886 * misc/utimes.c (__utimes): Likewise.
27887 * posix/execve.c (__execve): Likewise.
27888 * posix/execvp.c (execvp): Likewise.
27889 * posix/execvpe.c (__execvpe): Likewise.
27890 * posix/fexecve.c (fexecve): Likewise.
27891 * socket/socketpair.c (socketpair): Likewise.
27892 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27893 * stdlib/erand48.c (erand48): Likewise.
27894 * stdlib/erand48_r.c (__erand48_r): Likewise.
27895 * stdlib/jrand48.c (jrand48): Likewise.
27896 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27897 * stdlib/lcong48.c (lcong48): Likewise.
27898 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27899 * stdlib/nrand48.c (nrand48): Likewise.
27900 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27901 * stdlib/seed48.c (seed48): Likewise.
27902 * stdlib/seed48_r.c (__seed48_r): Likewise.
27903 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27904 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27905 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27906
27907 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27908
27909 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27910 * configure: Regenerated.
27911 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27912 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27913 unconditional.
27914 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27915 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27916 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27917 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27918 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27919 unconditional.
27920 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27921
27922 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27923 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27924
27925 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27926 function definition.
27927 * crypt/crypt_util.c (__encrypt_r): Likewise.
27928 * libio/genops.c (_IO_no_init): Likewise.
27929 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27930 (_IO_old_fopencookie): Likewise.
27931 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27932 * libio/iogetline.c (_IO_getline): Likewise.
27933 (_IO_getline_info): Likewise.
27934 * libio/iogetwline.c (_IO_getwline): Likewise.
27935 (_IO_getwline_info): Likewise.
27936 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27937 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27938 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27939 (find_entry): Likewise.
27940 (iterate_table): Likewise.
27941 (lookup): Likewise.
27942 * login/forkpty.c (forkpty): Likewise.
27943 * misc/hsearch_r.c (__hsearch_r): Likewise.
27944 * misc/select.c (__select): Likewise.
27945 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27946 Likewise.
27947 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27948 Likewise.
27949 * nptl/old_pthread_cond_timedwait.c
27950 (__pthread_cond_timedwait_2_0): Likewise.
27951 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27952 * nptl/pthread_barrierattr_getpshared.c
27953 (pthread_barrierattr_getpshared): Likewise.
27954 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27955 Likewise.
27956 * nptl/pthread_mutex_setprioceiling.c
27957 (pthread_mutex_setprioceiling): Likewise.
27958 * nptl/pthread_mutexattr_getprioceiling.c
27959 (pthread_mutexattr_getprioceiling): Likewise.
27960 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27961 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27962 Likewise.
27963 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27964 Likewise.
27965 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27966 Likewise.
27967 * socket/recvfrom.c (__recvfrom): Likewise.
27968 * socket/sendto.c (__sendto): Likewise.
27969 * socket/setsockopt.c (__setsockopt): Likewise.
27970 * stdio-common/_itoa.c (_itoa): Likewise.
27971 * stdio-common/_itowa.c (_itowa): Likewise.
27972 * stdio-common/reg-printf.c (__register_printf_specifier):
27973 Likewise.
27974 (__register_printf_function): Likewise.
27975 * stdio-common/tempname.c (__path_search): Likewise.
27976 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27977 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27978 * stdlib/random_r.c (__initstate_r): Likewise.
27979 * stdlib/setenv.c (__add_to_environ): Likewise.
27980 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27981 * streams/getpmsg.c (getpmsg): Likewise.
27982 * streams/putmsg.c (putmsg): Likewise.
27983 * streams/putpmsg.c (putpmsg): Likewise.
27984 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27985 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27986 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27987 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27988 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27989 * sunrpc/svc_udp.c (cache_get): Likewise.
27990 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27991 * sysdeps/mach/hurd/getcwd.c
27992 (__canonicalize_directory_name_internal): Likewise.
27993 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27994 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27995 * sysdeps/mach/hurd/select.c (__select): Likewise.
27996 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27997 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27998 * sysdeps/sparc/nptl/pthread_barrier_init.c
27999 (__pthread_barrier_init): Likewise.
28000 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28001 (__pthread_cond_timedwait): Likewise.
28002 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28003 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28004 Likewise.
28005 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28006 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28007 Likewise.
28008 * sysvipc/semtimedop.c (semtimedop): Likewise.
28009 * time/setitimer.c (__setitimer): Likewise.
28010 * time/strftime_l.c (emacs_strftime): Likewise.
28011
28012 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28013
28014 * config.make.in (have-ssp): Delete.
28015 (stack-protector): New variable.
28016 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
28017 cache test for -fstack-protector-strong. Export stack_protector to
28018 the best ssp flag.
28019 * configure: Regenerated.
28020 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28021 * nscd/Makefile (CFLAGS-nscd): Likewise.
28022 * resolv/Makefile (CFLAGS-libresolv): Likewise.
28023
28024 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
28025
28026 [BZ #19122]
28027 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28028 attribute_hidden.
28029
28030 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28031
28032 [BZ #18743]
28033 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28034 code to...
28035 (ELIDE_LOCK): ...here.
28036 (__get_new_count): New function with part of the code from
28037 __elide_lock that updates the value of adapt_count after a
28038 transaction abort.
28039 (__elided_trylock): Moved this code to...
28040 (ELIDE_TRYLOCK): ...here.
28041
28042 2015-10-19 Mike Frysinger <vapier@gentoo.org>
28043
28044 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28045 * configure: Regenerate.
28046 * INSTALL: Regenerate.
28047 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28048 and tweak grammar.
28049
28050 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
28051
28052 * login/programs/pt_chown.c: Include signal.h
28053 (main): Clear any signal mask from the parent process.
28054
28055 2015-10-19 Joseph Myers <joseph@codesourcery.com>
28056
28057 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28058 * configure: Regenerated.
28059 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28060 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28061 $(gnu89-inline-CFLAGS).
28062
28063 * configure.ac (libc_cv_asm_weak_directive): Remove configure
28064 test.
28065 (libc_cv_asm_weakext_directive): Likewise.
28066 * configure: Regenerated.
28067 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28068 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28069 * include/libc-symbols.h
28070 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28071 #error.
28072 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28073 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28074
28075 * sysdeps/arm/backtrace.c (__backtrace): Convert to
28076 prototype-style function definition.
28077 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28078 * sysdeps/i386/ffs.c (__ffs): Likewise.
28079 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28080 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28081 Likewise.
28082 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28083 Likewise.
28084 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28085 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28086 Likewise.
28087 * sysdeps/m68k/ffs.c (__ffs): Likewise.
28088 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28089 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28090 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28091 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28092 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28093 * sysdeps/mach/hurd/access.c (__access): Likewise.
28094 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28095 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28096 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28097 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28098 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28099 (cthread_getspecific): Likewise.
28100 (cthread_setspecific): Likewise.
28101 (__libc_getspecific): Likewise.
28102 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28103 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28104 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28105 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28106 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28107 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28108 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28109 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28110 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28111 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28112 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28113 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28114 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28115 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28116 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28117 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28118 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28119 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28120 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28121 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28122 * sysdeps/mach/hurd/link.c (__link): Likewise.
28123 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28124 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28125 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28126 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28127 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28128 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28129 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28130 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28131 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28132 * sysdeps/mach/hurd/rename.c (rename): Likewise.
28133 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28134 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28135 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28136 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28137 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28138 * sysdeps/mach/hurd/send.c (__send): Likewise.
28139 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28140 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28141 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28142 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28143 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28144 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28145 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28146 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28147 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28148 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28149 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28150 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28151 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28152 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28153 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28154 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28155 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28156 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28157 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28158 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28159 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28160 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28161 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28162 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28163 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28164 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28165 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28166 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28167 * sysdeps/posix/alarm.c (alarm): Likewise.
28168 * sysdeps/posix/cuserid.c (cuserid): Likewise.
28169 * sysdeps/posix/dirfd.c (dirfd): Likewise.
28170 * sysdeps/posix/dup.c (__dup): Likewise.
28171 * sysdeps/posix/dup2.c (__dup2): Likewise.
28172 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28173 (main): Likewise.
28174 * sysdeps/posix/flock.c (__flock): Likewise.
28175 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28176 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28177 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28178 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28179 * sysdeps/posix/isatty.c (__isatty): Likewise.
28180 * sysdeps/posix/killpg.c (killpg): Likewise.
28181 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28182 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28183 * sysdeps/posix/raise.c (raise): Likewise.
28184 * sysdeps/posix/remove.c (remove): Likewise.
28185 * sysdeps/posix/rename.c (rename): Likewise.
28186 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28187 * sysdeps/posix/seekdir.c (seekdir): Likewise.
28188 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28189 * sysdeps/posix/sigignore.c (sigignore): Likewise.
28190 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28191 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28192 * sysdeps/posix/sigset.c (sigset): Likewise.
28193 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28194 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28195 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28196 * sysdeps/posix/time.c (time): Likewise.
28197 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28198 (ttyname): Likewise.
28199 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28200 * sysdeps/posix/utime.c (utime): Likewise.
28201 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28202 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28203 Likewise.
28204 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28205 (pthread_spin_trylock): Likewise.
28206 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28207 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28208 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28209 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28210 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28211 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28212 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28213 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28214 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28215 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28216 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28217 * sysdeps/s390/ffs.c (__ffs): Likewise.
28218 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28219 Likewise.
28220 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28221 Likewise.
28222 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28223 Likewise.
28224 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28225 (pthread_barrier_destroy): Likewise.
28226 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28227 (__pthread_barrier_wait): Likewise.
28228 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28229 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28230 (__pthread_barrier_wait): Likewise.
28231 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28232 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28233 (memcmp_not_common_alignment): Likewise.
28234 (MEMCMP): Likewise.
28235 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28236 (_wordcopy_fwd_dest_aligned): Likewise.
28237 (_wordcopy_bwd_aligned): Likewise.
28238 (_wordcopy_bwd_dest_aligned): Likewise.
28239 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28240 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28241 * sysdeps/unix/bsd/stty.c (stty): Likewise.
28242 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28243 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28244 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28245 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28246 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28247 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28248 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28249 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28250 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28251 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28252 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28253 * sysdeps/unix/stime.c (stime): Likewise.
28254 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28255 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28256 Likewise. Use internal_function.
28257 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28258 Convert to prototype-style function definition.
28259 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28260 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28262 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28263 Likewise. Use internal_function.
28264 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28265 prototype-style function definition
28266 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28267 Likewise.
28268 (__getlogin_r): Likewise.
28269 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28270 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28271 (__pthread_cond_broadcast): Likewise.
28272 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28273 (__pthread_cond_destroy): Likewise.
28274 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28275 (__pthread_cond_init): Likewise.
28276 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28277 (__pthread_cond_signal): Likewise.
28278 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28279 (__pthread_cond_wait): Likewise.
28280 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28281 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28282 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28283 Likewise.
28284 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28285 Likewise.
28286 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28287 Likewise.
28288 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28289 Likewise.
28290 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28292 (__ftruncate64): Likewise.
28293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28294 (truncate64): Likewise.
28295 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28296 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28297 (pthread_getcpuclockid): Likewise.
28298 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28299 Likewise.
28300 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28301 Likewise.
28302 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28303 Likewise.
28304 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28305 Likewise.
28306 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28307 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28308 (__libc_sigaction): Likewise.
28309 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28310 Likewise.
28311 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28312 (__sigprocmask): Likewise.
28313 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28314 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28315 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28316 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28317 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28318 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28319 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28320 Likewise.
28321 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28322 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28323 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28324 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28325 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28326 Likewise.
28327 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28328 (__sigprocmask): Likewise.
28329 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28330 (cfgetispeed): Likewise.
28331 (cfsetospeed): Likewise.
28332 (cfsetispeed): Likewise.
28333 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28334 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28335 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28336 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28337 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28338 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28339 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28340 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28343 Likewise.
28344 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28345 Likewise.
28346 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28347 Likewise.
28348 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28349
28350 2015-10-17 Florian Weimer <fweimer@redhat.com>
28351
28352 sunrpc: Rewrite with explicit TLS access using __thread.
28353 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28354 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28355 directly.
28356 (__rpc_thread_variables): Access thread_rpc_vars directly.
28357 Eliminate redundant assignment of the tvp variable.
28358
28359 2015-10-17 Florian Weimer <fweimer@redhat.com>
28360
28361 malloc: Rewrite with explicit TLS access using __thread.
28362 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28363 (tsd_setspecific, tsd_getspecific): Remove.
28364 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28365 (tsd_setspecific, tsd_getspecific): Likewise.
28366 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28367 (tsd_setspecific, tsd_getspecific): Likewise.
28368 * malloc/arena.c (thread_arena): New TLS variable.
28369 (arena_key): Remove variable.
28370 (arena_get): Use thread_arena.
28371 (arena_lookup): Remove macro.
28372 (malloc_atfork, free_atfork, ptmalloc_lock_all)
28373 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28374 (_int_new_arena, get_free_list, reused_arena)
28375 (arena_thread_freeres): Use thread_arena.
28376 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28377 tsd_getspecific, tsd_setspecific from safety annotations.
28378 (Allocating Cleared Space): Remove arena_lookup from safety
28379 annotations.
28380
28381 2015-10-17 Florian Weimer <fweimer@redhat.com>
28382
28383 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28384 struct scratch_buffer instead of extend_alloca.
28385
28386 2015-10-17 Florian Weimer <fweimer@redhat.com>
28387
28388 * sysdeps/unix/sysv/linux/kernel-features.h
28389 (__ASSUME_SOCK_CLOEXEC): Remove.
28390 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28391 (__have_paccept): Remove unused macro.
28392 * include/unistd.h (__have_sock_cloexec): Remove declaration.
28393 * misc/syslog.c (openlog_internal): Remove fallback code for
28394 !__ASSUME_SOCK_CLOEXEC.
28395 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28396 missing SOCK_CLOEXEC.
28397 * nscd/connections.c (have_sock_cloexec): Remove definition.
28398 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28399 * nscd/nscd_helper.c (open_socket): Remove fallback code for
28400 !__ASSUME_SOCK_CLOEXEC.
28401 * resolv/res_send.c (__have_o_nonblock): Remove definition.
28402 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28403 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28404 definition.
28405 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28406 code for !__ASSUME_SOCK_CLOEXEC.
28407
28408 2015-10-17 Florian Weimer <fweimer@redhat.com>
28409
28410 [BZ #18982]
28411 * manual/stdio.texi (Variable Arguments Output): Add portability
28412 note, explaining that vfprintf clobbers the va_list pointer.
28413
28414 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28415
28416 * math/libm-test.inc (fabs_test_data): Add more tests.
28417 (fdim_test_data): Likewise.
28418 (fma_test_data): Likewise.
28419 (fmax_test_data): Likewise.
28420 (fmin_test_data): Likewise.
28421 (fmod_test_data): Likewise.
28422
28423 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
28424
28425 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
28426 data.
28427
28428 2015-10-16 Joseph Myers <joseph@codesourcery.com>
28429
28430 * math/libm-test.inc (ceil_test_data): Add more tests and more
28431 expectations for "inexact".
28432 (floor_test_data): Add more tests.
28433 (round_test_data): Likewise.
28434 (trunc_test_data): Likewise.
28435
28436 * crypt/cert.c (good_bye): Convert to prototype-style function
28437 definition.
28438 (get8): Likewise.
28439 (put8): Likewise.
28440 * crypt/crypt-entry.c (crypt): Likewise.
28441 (__fcrypt): Likewise.
28442 * crypt/crypt_util.c (_ufc_prbits): Likewise.
28443 (_ufc_set_bits): Likewise.
28444 (_ufc_clearmem): Likewise.
28445 (__init_des_r): Likewise.
28446 (shuffle_sb): Likewise.
28447 (shuffle_sb): Likewise.
28448 (_ufc_setup_salt_r): Likewise.
28449 (_ufc_mk_keytab_r): Likewise.
28450 (_ufc_dofinalperm_r): Likewise.
28451 (encrypt): Likewise.
28452 (__setkey_r): Likewise.
28453 (setkey): Likewise.
28454 * crypt/md5.c (md5_init_ctx): Likewise.
28455 (md5_read_ctx): Likewise.
28456 (md5_finish_ctx): Likewise.
28457 (md5_stream): Likewise.
28458 (md5_buffer): Likewise.
28459 (md5_process_bytes): Likewise.
28460 * crypt/sha256.c (__sha256_init_ctx): Likewise.
28461 (__sha256_finish_ctx): Likewise.
28462 (__sha256_process_bytes): Likewise.
28463 * crypt/sha512.c (__sha512_init_ctx): Likewise.
28464 (__sha512_finish_ctx): Likewise.
28465 (__sha512_process_bytes): Likewise.
28466 * ctype/isctype.c (__isctype): Likewise.
28467 * debug/backtrace.c (__backtrace): Likewise.
28468 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28469 * debug/fgets_chk.c (__fgets_chk): Likewise.
28470 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28471 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28472 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28473 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28474 * debug/memset_chk.c (__memset_chk): Likewise.
28475 * debug/strcat_chk.c (__strcat_chk): Likewise.
28476 * debug/strncat_chk.c (__strncat_chk): Likewise.
28477 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28478 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28479 * dirent/dirfd.c (dirfd): Likewise.
28480 * dirent/getdents.c (__getdirentries): Likewise.
28481 * dirent/getdents64.c (getdirentries64): Likewise.
28482 * dirent/rewinddir.c (__rewinddir): Likewise.
28483 * dirent/seekdir.c (seekdir): Likewise.
28484 * dirent/telldir.c (telldir): Likewise.
28485 * elf/sln.c (makesymlinks): Likewise.
28486 (makesymlink): Likewise.
28487 * gmon/gmon.c (__moncontrol): Likewise.
28488 (__monstartup): Likewise.
28489 (write_hist): Likewise.
28490 (write_call_graph): Likewise.
28491 (write_bb_counts): Likewise.
28492 * grp/setgroups.c (setgroups): Likewise.
28493 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28494 * inet/inet_net.c (inet_network): Likewise.
28495 * inet/inet_netof.c (inet_netof): Likewise.
28496 * inet/rcmd.c (rresvport_af): Likewise.
28497 (rresvport): Likewise.
28498 * io/access.c (__access): Likewise.
28499 * io/chdir.c (__chdir): Likewise.
28500 * io/chmod.c (__chmod): Likewise.
28501 * io/chown.c (__chown): Likewise.
28502 * io/close.c (__close): Likewise.
28503 * io/creat.c (creat): Likewise.
28504 * io/creat64.c (creat64): Likewise.
28505 * io/dup.c (__dup): Likewise.
28506 * io/dup2.c (__dup2): Likewise.
28507 * io/dup3.c (__dup3): Likewise.
28508 * io/euidaccess.c (__euidaccess): Likewise.
28509 * io/faccessat.c (faccessat): Likewise.
28510 * io/fchmod.c (__fchmod): Likewise.
28511 * io/fchmodat.c (fchmodat): Likewise.
28512 * io/fchown.c (__fchown): Likewise.
28513 * io/fchownat.c (fchownat): Likewise.
28514 * io/fcntl.c (__fcntl): Likewise.
28515 * io/flock.c (__flock): Likewise.
28516 * io/fts.c (fts_load): Likewise.
28517 (fts_close): Likewise.
28518 (fts_read): Likewise.
28519 (fts_set): Likewise.
28520 (fts_children): Likewise.
28521 (fts_build): Likewise.
28522 (fts_stat): Likewise.
28523 (fts_sort): Likewise.
28524 (fts_alloc): Likewise.
28525 (fts_lfree): Likewise.
28526 (fts_palloc): Likewise.
28527 (fts_padjust): Likewise.
28528 (fts_maxarglen): Likewise.
28529 (fts_safe_changedir): Likewise.
28530 * io/getwd.c (getwd): Likewise.
28531 * io/isatty.c (__isatty): Likewise.
28532 * io/lchown.c (__lchown): Likewise.
28533 * io/link.c (__link): Likewise.
28534 * io/linkat.c (linkat): Likewise.
28535 * io/lseek.c (__libc_lseek): Likewise.
28536 * io/mkdir.c (__mkdir): Likewise.
28537 * io/mkdirat.c (mkdirat): Likewise.
28538 * io/mkfifo.c (mkfifo): Likewise.
28539 * io/mkfifoat.c (mkfifoat): Likewise.
28540 * io/open.c (__libc_open): Likewise.
28541 * io/open64.c (__libc_open64): Likewise.
28542 * io/readlink.c (__readlink): Likewise.
28543 * io/readlinkat.c (readlinkat): Likewise.
28544 * io/rmdir.c (__rmdir): Likewise.
28545 * io/symlink.c (__symlink): Likewise.
28546 * io/symlinkat.c (symlinkat): Likewise.
28547 * io/ttyname.c (ttyname): Likewise.
28548 * io/ttyname_r.c (__ttyname_r): Likewise.
28549 * io/umask.c (__umask): Likewise.
28550 * io/unlink.c (__unlink): Likewise.
28551 * io/unlinkat.c (unlinkat): Likewise.
28552 * io/utime.c (utime): Likewise.
28553 * libio/clearerr.c (clearerr): Likewise.
28554 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28555 * libio/feof.c (_IO_feof): Likewise.
28556 * libio/feof_u.c (feof_unlocked): Likewise.
28557 * libio/ferror.c (_IO_ferror): Likewise.
28558 * libio/ferror_u.c (ferror_unlocked): Likewise.
28559 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28560 * libio/fileno.c (__fileno): Likewise.
28561 * libio/fputc.c (fputc): Likewise.
28562 * libio/fputc_u.c (fputc_unlocked): Likewise.
28563 * libio/fputwc.c (fputwc): Likewise.
28564 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28565 * libio/freopen.c (freopen): Likewise.
28566 * libio/freopen64.c (freopen64): Likewise.
28567 * libio/fseek.c (fseek): Likewise.
28568 * libio/fseeko.c (fseeko): Likewise.
28569 * libio/fseeko64.c (fseeko64): Likewise.
28570 * libio/ftello.c (__ftello): Likewise.
28571 * libio/ftello64.c (ftello64): Likewise.
28572 * libio/fwide.c (fwide): Likewise.
28573 * libio/genops.c (_IO_un_link): Likewise.
28574 (_IO_link_in): Likewise.
28575 (_IO_least_marker): Likewise.
28576 (_IO_switch_to_main_get_area): Likewise.
28577 (_IO_switch_to_backup_area): Likewise.
28578 (_IO_switch_to_get_mode): Likewise.
28579 (_IO_free_backup_area): Likewise.
28580 (_IO_switch_to_put_mode): Likewise.
28581 (__overflow): Likewise.
28582 (__underflow): Likewise.
28583 (__uflow): Likewise.
28584 (_IO_setb): Likewise.
28585 (_IO_doallocbuf): Likewise.
28586 (_IO_default_underflow): Likewise.
28587 (_IO_default_uflow): Likewise.
28588 (_IO_default_xsputn): Likewise.
28589 (_IO_sgetn): Likewise.
28590 (_IO_default_xsgetn): Likewise.
28591 (_IO_sync): Likewise.
28592 (_IO_default_setbuf): Likewise.
28593 (_IO_default_seekpos): Likewise.
28594 (_IO_default_doallocate): Likewise.
28595 (_IO_init): Likewise.
28596 (_IO_old_init): Likewise.
28597 (_IO_default_sync): Likewise.
28598 (_IO_default_finish): Likewise.
28599 (_IO_default_seekoff): Likewise.
28600 (_IO_sputbackc): Likewise.
28601 (_IO_sungetc): Likewise.
28602 (_IO_set_column): Likewise.
28603 (_IO_set_column): Likewise.
28604 (_IO_adjust_column): Likewise.
28605 (_IO_get_column): Likewise.
28606 (_IO_init_marker): Likewise.
28607 (_IO_remove_marker): Likewise.
28608 (_IO_marker_difference): Likewise.
28609 (_IO_marker_delta): Likewise.
28610 (_IO_seekmark): Likewise.
28611 (_IO_unsave_markers): Likewise.
28612 (_IO_nobackup_pbackfail): Likewise.
28613 (_IO_default_pbackfail): Likewise.
28614 (_IO_default_seek): Likewise.
28615 (_IO_default_stat): Likewise.
28616 (_IO_default_read): Likewise.
28617 (_IO_default_write): Likewise.
28618 (_IO_default_showmanyc): Likewise.
28619 (_IO_default_imbue): Likewise.
28620 (_IO_iter_next): Likewise.
28621 (_IO_iter_file): Likewise.
28622 * libio/getc.c (_IO_getc): Likewise.
28623 * libio/getwc.c (_IO_getwc): Likewise.
28624 * libio/iofclose.c (_IO_new_fclose): Likewise.
28625 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28626 * libio/iofflush.c (_IO_fflush): Likewise.
28627 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28628 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28629 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28630 * libio/iofgets.c (_IO_fgets): Likewise.
28631 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28632 * libio/iofgetws.c (fgetws): Likewise.
28633 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28634 * libio/iofopen64.c (_IO_fopen64): Likewise.
28635 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28636 (_IO_cookie_write): Likewise.
28637 (_IO_cookie_seek): Likewise.
28638 (_IO_cookie_close): Likewise.
28639 (_IO_cookie_seekoff): Likewise.
28640 (_IO_old_cookie_seek): Likewise.
28641 * libio/iofputs.c (_IO_fputs): Likewise.
28642 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28643 * libio/iofputws.c (fputws): Likewise.
28644 * libio/iofputws_u.c (fputws_unlocked): Likewise.
28645 * libio/iofread.c (_IO_fread): Likewise.
28646 * libio/iofread_u.c (__fread_unlocked): Likewise.
28647 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28648 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28649 * libio/ioftell.c (_IO_ftell): Likewise.
28650 * libio/iofwrite.c (_IO_fwrite): Likewise.
28651 * libio/iogetdelim.c (_IO_getdelim): Likewise.
28652 * libio/iogets.c (_IO_gets): Likewise.
28653 * libio/iopadn.c (_IO_padn): Likewise.
28654 * libio/iopopen.c (_IO_new_proc_open): Likewise.
28655 (_IO_new_popen): Likewise.
28656 (_IO_new_proc_close): Likewise.
28657 * libio/ioputs.c (_IO_puts): Likewise.
28658 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28659 (_IO_seekoff): Likewise.
28660 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28661 (_IO_seekpos): Likewise.
28662 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28663 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28664 * libio/ioungetc.c (_IO_ungetc): Likewise.
28665 * libio/ioungetwc.c (ungetwc): Likewise.
28666 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28667 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28668 * libio/iowpadn.c (_IO_wpadn): Likewise.
28669 * libio/libc_fatal.c (__libc_fatal): Likewise.
28670 * libio/memstream.c (__open_memstream): Likewise.
28671 (_IO_mem_sync): Likewise.
28672 (_IO_mem_finish): Likewise.
28673 * libio/oldfileops.c (_IO_old_file_init): Likewise.
28674 (_IO_old_file_close_it): Likewise.
28675 (_IO_old_file_finish): Likewise.
28676 (_IO_old_file_fopen): Likewise.
28677 (_IO_old_file_attach): Likewise.
28678 (_IO_old_file_setbuf): Likewise.
28679 (_IO_old_do_write): Likewise.
28680 (old_do_write): Likewise.
28681 (_IO_old_file_underflow): Likewise.
28682 (_IO_old_file_overflow): Likewise.
28683 (_IO_old_file_sync): Likewise.
28684 (_IO_old_file_seekoff): Likewise.
28685 (_IO_old_file_write): Likewise.
28686 (_IO_old_file_xsputn): Likewise.
28687 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28689 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28690 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28691 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28692 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28693 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28694 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28695 (_IO_old_popen): Likewise.
28696 (_IO_old_proc_close): Likewise.
28697 * libio/oldpclose.c (__old_pclose): Likewise.
28698 * libio/pclose.c (__new_pclose): Likewise.
28699 * libio/peekc.c (_IO_peekc_locked): Likewise.
28700 * libio/putc.c (_IO_putc): Likewise.
28701 * libio/putc_u.c (putc_unlocked): Likewise.
28702 * libio/putchar.c (putchar): Likewise.
28703 * libio/putchar_u.c (putchar_unlocked): Likewise.
28704 * libio/putwc.c (putwc): Likewise.
28705 * libio/putwc_u.c (putwc_unlocked): Likewise.
28706 * libio/putwchar.c (putwchar): Likewise.
28707 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28708 * libio/rewind.c (rewind): Likewise.
28709 * libio/setbuf.c (setbuf): Likewise.
28710 * libio/setlinebuf.c (setlinebuf): Likewise.
28711 * libio/vasprintf.c (_IO_vasprintf): Likewise.
28712 * libio/vscanf.c (_IO_vscanf): Likewise.
28713 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28714 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28715 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28716 * libio/wgenops.c (_IO_least_wmarker): Likewise.
28717 (_IO_switch_to_main_wget_area): Likewise.
28718 (_IO_switch_to_wbackup_area): Likewise.
28719 (_IO_wsetb): Likewise.
28720 (_IO_wdefault_pbackfail): Likewise.
28721 (_IO_wdefault_finish): Likewise.
28722 (_IO_wdefault_uflow): Likewise.
28723 (__woverflow): Likewise.
28724 (__wuflow): Likewise.
28725 (__wunderflow): Likewise.
28726 (_IO_wdefault_xsputn): Likewise.
28727 (_IO_wdefault_xsgetn): Likewise.
28728 (_IO_wdoallocbuf): Likewise.
28729 (_IO_wdefault_doallocate): Likewise.
28730 (_IO_switch_to_wget_mode): Likewise.
28731 (_IO_free_wbackup_area): Likewise.
28732 (_IO_switch_to_wput_mode): Likewise.
28733 (_IO_sputbackwc): Likewise.
28734 (_IO_sungetwc): Likewise.
28735 (_IO_adjust_wcolumn): Likewise.
28736 (_IO_init_wmarker): Likewise.
28737 (_IO_wmarker_delta): Likewise.
28738 (_IO_seekwmark): Likewise.
28739 (_IO_unsave_wmarkers): Likewise.
28740 * libio/wmemstream.c (open_wmemstream): Likewise.
28741 (_IO_wmem_sync): Likewise.
28742 (_IO_wmem_finish): Likewise.
28743 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28744 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28745 * locale/programs/simple-hash.c (init_hash): Likewise.
28746 (delete_hash): Likewise.
28747 (insert_entry): Likewise.
28748 (set_entry): Likewise.
28749 (next_prime): Likewise.
28750 (is_prime): Likewise.
28751 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28752 (xmalloc): Likewise.
28753 (xrealloc): Likewise.
28754 * locale/programs/xstrdup.c (xstrdup): Likewise.
28755 * localedata/collate-test.c (xstrcoll): Likewise.
28756 * localedata/xfrm-test.c (xstrcmp): Likewise.
28757 * login/getlogin_r.c (__getlogin_r): Likewise.
28758 * login/getpt.c (__posix_openpt): Likewise.
28759 * login/login_tty.c (login_tty): Likewise.
28760 * login/setlogin.c (setlogin): Likewise.
28761 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28762 (mach_msg_destroy_port): Likewise.
28763 (mach_msg_destroy_memory): Likewise.
28764 * malloc/mcheck.c (flood): Likewise.
28765 * misc/acct.c (acct): Likewise.
28766 * misc/brk.c (__brk): Likewise.
28767 * misc/chflags.c (chflags): Likewise.
28768 * misc/chroot.c (chroot): Likewise.
28769 * misc/fchflags.c (fchflags): Likewise.
28770 * misc/fstab.c (getfsspec): Likewise.
28771 (getfsfile): Likewise.
28772 * misc/fsync.c (fsync): Likewise.
28773 * misc/ftruncate.c (__ftruncate): Likewise.
28774 * misc/ftruncate64.c (__ftruncate64): Likewise.
28775 * misc/getdomain.c (getdomainname): Likewise.
28776 (getdomainname): Likewise.
28777 * misc/gethostname.c (__gethostname): Likewise.
28778 * misc/getpass.c (getpass): Likewise.
28779 * misc/getttyent.c (skip): Likewise.
28780 (value): Likewise.
28781 * misc/gtty.c (gtty): Likewise.
28782 * misc/hsearch.c (hsearch): Likewise.
28783 (hcreate): Likewise.
28784 * misc/hsearch_r.c (__hcreate_r): Likewise.
28785 (__hdestroy_r): Likewise.
28786 * misc/ioctl.c (__ioctl): Likewise.
28787 * misc/mkdtemp.c (mkdtemp): Likewise.
28788 * misc/mkostemp.c (mkostemp): Likewise.
28789 * misc/mkostemp64.c (mkostemp64): Likewise.
28790 * misc/mkostemps.c (mkostemps): Likewise.
28791 * misc/mkostemps64.c (mkostemps64): Likewise.
28792 * misc/mkstemp.c (mkstemp): Likewise.
28793 * misc/mkstemp64.c (mkstemp64): Likewise.
28794 * misc/mkstemps.c (mkstemps): Likewise.
28795 * misc/mkstemps64.c (mkstemps64): Likewise.
28796 * misc/mktemp.c (__mktemp): Likewise.
28797 * misc/preadv.c (preadv): Likewise.
28798 * misc/preadv64.c (preadv64): Likewise.
28799 * misc/pwritev.c (pwritev): Likewise.
28800 * misc/pwritev64.c (pwritev64): Likewise.
28801 * misc/readv.c (__readv): Likewise.
28802 * misc/revoke.c (revoke): Likewise.
28803 * misc/setdomain.c (setdomainname): Likewise.
28804 * misc/setegid.c (setegid): Likewise.
28805 * misc/seteuid.c (seteuid): Likewise.
28806 * misc/sethostid.c (sethostid): Likewise.
28807 * misc/sethostname.c (sethostname): Likewise.
28808 * misc/setregid.c (__setregid): Likewise.
28809 * misc/setreuid.c (__setreuid): Likewise.
28810 * misc/sstk.c (sstk): Likewise.
28811 * misc/stty.c (stty): Likewise.
28812 * misc/syscall.c (syscall): Likewise.
28813 * misc/syslog.c (setlogmask): Likewise.
28814 * misc/truncate.c (__truncate): Likewise.
28815 * misc/truncate64.c (truncate64): Likewise.
28816 * misc/ualarm.c (ualarm): Likewise.
28817 * misc/usleep.c (usleep): Likewise.
28818 * misc/ustat.c (ustat): Likewise.
28819 * misc/writev.c (__writev): Likewise.
28820 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28821 * nptl/old_pthread_cond_broadcast.c
28822 (__pthread_cond_broadcast_2_0): Likewise.
28823 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28824 Likewise.
28825 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28826 Likewise.
28827 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28828 Likewise.
28829 * nptl/pt-raise.c (raise): Likewise.
28830 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28831 Likewise.
28832 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28833 * nptl/pthread_barrierattr_destroy.c
28834 (pthread_barrierattr_destroy): Likewise.
28835 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28836 Likewise.
28837 * nptl/pthread_barrierattr_setpshared.c
28838 (pthread_barrierattr_setpshared): Likewise.
28839 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28840 Likewise.
28841 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28842 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28843 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28844 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28845 Likewise.
28846 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28847 Likewise.
28848 * nptl/pthread_condattr_getpshared.c
28849 (pthread_condattr_getpshared): Likewise.
28850 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28851 Likewise.
28852 * nptl/pthread_condattr_setpshared.c
28853 (pthread_condattr_setpshared): Likewise.
28854 * nptl/pthread_detach.c (pthread_detach): Likewise.
28855 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28856 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28857 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28858 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28859 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28860 Likewise.
28861 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28862 Likewise.
28863 * nptl/pthread_mutex_getprioceiling.c
28864 (pthread_mutex_getprioceiling): Likewise.
28865 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28866 Likewise.
28867 * nptl/pthread_mutexattr_getprotocol.c
28868 (pthread_mutexattr_getprotocol): Likewise.
28869 * nptl/pthread_mutexattr_getpshared.c
28870 (pthread_mutexattr_getpshared): Likewise.
28871 * nptl/pthread_mutexattr_getrobust.c
28872 (pthread_mutexattr_getrobust): Likewise.
28873 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28874 Likewise.
28875 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28876 Likewise.
28877 * nptl/pthread_mutexattr_setprioceiling.c
28878 (pthread_mutexattr_setprioceiling): Likewise.
28879 * nptl/pthread_mutexattr_setprotocol.c
28880 (pthread_mutexattr_setprotocol): Likewise.
28881 * nptl/pthread_mutexattr_setpshared.c
28882 (pthread_mutexattr_setpshared): Likewise.
28883 * nptl/pthread_mutexattr_setrobust.c
28884 (pthread_mutexattr_setrobust): Likewise.
28885 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28886 Likewise.
28887 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28888 Likewise.
28889 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28890 Likewise.
28891 * nptl/pthread_rwlockattr_getkind_np.c
28892 (pthread_rwlockattr_getkind_np): Likewise.
28893 * nptl/pthread_rwlockattr_getpshared.c
28894 (pthread_rwlockattr_getpshared): Likewise.
28895 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28896 Likewise.
28897 * nptl/pthread_rwlockattr_setkind_np.c
28898 (pthread_rwlockattr_setkind_np): Likewise.
28899 * nptl/pthread_rwlockattr_setpshared.c
28900 (pthread_rwlockattr_setpshared): Likewise.
28901 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28902 Likewise.
28903 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28904 Likewise.
28905 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28906 Likewise.
28907 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28908 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28909 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28910 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28911 * nptl/sem_close.c (sem_close): Likewise.
28912 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28913 * nptl/sem_init.c (__old_sem_init): Likewise.
28914 * nptl/sigaction.c (__sigaction): Likewise.
28915 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28916 * posix/_exit.c (_exit): Likewise.
28917 * posix/alarm.c (alarm): Likewise.
28918 * posix/confstr.c (confstr): Likewise.
28919 * posix/fpathconf.c (__fpathconf): Likewise.
28920 * posix/getgroups.c (__getgroups): Likewise.
28921 * posix/getpgid.c (__getpgid): Likewise.
28922 * posix/group_member.c (__group_member): Likewise.
28923 * posix/pathconf.c (__pathconf): Likewise.
28924 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28925 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28926 * posix/setgid.c (__setgid): Likewise.
28927 * posix/setpgid.c (__setpgid): Likewise.
28928 * posix/setuid.c (__setuid): Likewise.
28929 * posix/sleep.c (__sleep): Likewise.
28930 * posix/sysconf.c (__sysconf): Likewise.
28931 * posix/times.c (__times): Likewise.
28932 * posix/uname.c (__uname): Likewise.
28933 * posix/waitid.c (__waitid): Likewise.
28934 * pwd/getpw.c (__getpw): Likewise.
28935 * resolv/base64.c (b64_pton): Likewise.
28936 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28937 * resolv/gethnamaddr.c (Dprintf): Likewise.
28938 (gethostbyname): Likewise.
28939 (gethostbyname2): Likewise.
28940 (gethostbyaddr): Likewise.
28941 (_sethtent): Likewise.
28942 (_gethtbyname): Likewise.
28943 (_gethtbyname2): Likewise.
28944 (_gethtbyaddr): Likewise.
28945 (map_v4v6_address): Likewise.
28946 (map_v4v6_hostent): Likewise.
28947 (addrsort): Likewise.
28948 (ht_sethostent): Likewise.
28949 (ht_gethostbyname): Likewise.
28950 (ht_gethostbyaddr): Likewise.
28951 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28952 (inet_net_ntop_ipv4): Likewise.
28953 * resolv/inet_neta.c (inet_neta): Likewise.
28954 * resolv/inet_ntop.c (inet_ntop): Likewise.
28955 (inet_ntop4): Likewise.
28956 (inet_ntop6): Likewise.
28957 * resolv/inet_pton.c (__inet_pton): Likewise.
28958 (inet_pton4): Likewise.
28959 (inet_pton6): Likewise.
28960 * resolv/res_debug.c (loc_aton): Likewise.
28961 (loc_ntoa): Likewise.
28962 * resource/getpriority.c (__getpriority): Likewise.
28963 * resource/getrusage.c (__getrusage): Likewise.
28964 * resource/nice.c (nice): Likewise.
28965 * resource/setpriority.c (__setpriority): Likewise.
28966 * resource/setrlimit64.c (setrlimit64): Likewise.
28967 * resource/vlimit.c (vlimit): Likewise.
28968 * resource/vtimes.c (vtimes): Likewise.
28969 * rt/aio_error.c (aio_error): Likewise.
28970 * rt/aio_return.c (aio_return): Likewise.
28971 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28972 * signal/kill.c (__kill): Likewise.
28973 * signal/killpg.c (killpg): Likewise.
28974 * signal/raise.c (raise): Likewise.
28975 * signal/sigaction.c (__sigaction): Likewise.
28976 * signal/sigaddset.c (sigaddset): Likewise.
28977 * signal/sigaltstack.c (sigaltstack): Likewise.
28978 * signal/sigandset.c (sigandset): Likewise.
28979 * signal/sigblock.c (__sigblock): Likewise.
28980 * signal/sigdelset.c (sigdelset): Likewise.
28981 * signal/sigempty.c (sigemptyset): Likewise.
28982 * signal/sigfillset.c (sigfillset): Likewise.
28983 * signal/sighold.c (sighold): Likewise.
28984 * signal/sigignore.c (sigignore): Likewise.
28985 * signal/sigintr.c (siginterrupt): Likewise.
28986 * signal/sigisempty.c (sigisemptyset): Likewise.
28987 * signal/sigismem.c (sigismember): Likewise.
28988 * signal/signal.c (signal): Likewise.
28989 * signal/sigorset.c (sigorset): Likewise.
28990 * signal/sigpause.c (__sigpause): Likewise.
28991 * signal/sigpending.c (sigpending): Likewise.
28992 * signal/sigprocmask.c (__sigprocmask): Likewise.
28993 * signal/sigrelse.c (sigrelse): Likewise.
28994 * signal/sigreturn.c (__sigreturn): Likewise.
28995 * signal/sigset.c (sigset): Likewise.
28996 * signal/sigsetmask.c (__sigsetmask): Likewise.
28997 * signal/sigstack.c (sigstack): Likewise.
28998 * signal/sigsuspend.c (__sigsuspend): Likewise.
28999 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29000 * signal/sysv_signal.c (__sysv_signal): Likewise.
29001 * socket/accept.c (accept): Likewise.
29002 * socket/accept4.c (__libc_accept4): Likewise.
29003 * socket/bind.c (__bind): Likewise.
29004 * socket/connect.c (__connect): Likewise.
29005 * socket/getpeername.c (getpeername): Likewise.
29006 * socket/getsockname.c (__getsockname): Likewise.
29007 * socket/getsockopt.c (getsockopt): Likewise.
29008 * socket/listen.c (__listen): Likewise.
29009 * socket/recv.c (__recv): Likewise.
29010 * socket/recvmsg.c (__recvmsg): Likewise.
29011 * socket/send.c (__send): Likewise.
29012 * socket/sendmsg.c (__sendmsg): Likewise.
29013 * socket/shutdown.c (shutdown): Likewise.
29014 * socket/sockatmark.c (sockatmark): Likewise.
29015 * socket/socket.c (__socket): Likewise.
29016 * stdio-common/ctermid.c (ctermid): Likewise.
29017 * stdio-common/cuserid.c (cuserid): Likewise.
29018 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29019 * stdio-common/remove.c (remove): Likewise.
29020 * stdio-common/rename.c (rename): Likewise.
29021 * stdio-common/renameat.c (renameat): Likewise.
29022 * stdio-common/tempname.c (__gen_tempname): Likewise.
29023 * stdio-common/xbug.c (InitBuffer): Likewise.
29024 (AppendToBuffer): Likewise.
29025 (ReadFile): Likewise.
29026 * stdlib/a64l.c (a64l): Likewise.
29027 * stdlib/drand48_r.c (drand48_r): Likewise.
29028 * stdlib/getcontext.c (getcontext): Likewise.
29029 * stdlib/getenv.c (getenv): Likewise.
29030 * stdlib/l64a.c (l64a): Likewise.
29031 * stdlib/llabs.c (llabs): Likewise.
29032 * stdlib/lldiv.c (lldiv): Likewise.
29033 * stdlib/lrand48_r.c (lrand48_r): Likewise.
29034 * stdlib/mrand48_r.c (mrand48_r): Likewise.
29035 * stdlib/putenv.c (putenv): Likewise.
29036 * stdlib/random.c (__srandom): Likewise.
29037 (__initstate): Likewise.
29038 (__setstate): Likewise.
29039 * stdlib/random_r.c (__srandom_r): Likewise.
29040 (__setstate_r): Likewise.
29041 (__random_r): Likewise.
29042 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29043 * stdlib/setcontext.c (setcontext): Likewise.
29044 * stdlib/setenv.c (setenv): Likewise.
29045 (unsetenv): Likewise.
29046 * stdlib/srand48.c (srand48): Likewise.
29047 * stdlib/srand48_r.c (__srand48_r): Likewise.
29048 * stdlib/swapcontext.c (swapcontext): Likewise.
29049 * stdlib/system.c (__libc_system): Likewise.
29050 * stdlib/tst-strtod.c (expand): Likewise.
29051 * stdlib/tst-strtol.c (expand): Likewise.
29052 * stdlib/tst-strtoll.c (expand): Likewise.
29053 * streams/fattach.c (fattach): Likewise.
29054 * streams/fdetach.c (fdetach): Likewise.
29055 * streams/getmsg.c (getmsg): Likewise.
29056 * streams/isastream.c (isastream): Likewise.
29057 * string/ffs.c (__ffs): Likewise.
29058 * string/ffsll.c (ffsll): Likewise.
29059 * string/memcmp.c (memcmp_common_alignment): Likewise.
29060 (memcmp_not_common_alignment): Likewise.
29061 (MEMCMP): Likewise.
29062 * string/memcpy.c (memcpy): Likewise.
29063 * string/memmove.c (MEMMOVE): Likewise.
29064 * string/memset.c (memset): Likewise.
29065 * string/rawmemchr.c (RAWMEMCHR): Likewise.
29066 * string/strchrnul.c (STRCHRNUL): Likewise.
29067 * string/strerror.c (strerror): Likewise.
29068 * string/strndup.c (__strndup): Likewise.
29069 * string/strverscmp.c (__strverscmp): Likewise.
29070 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29071 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29072 (clnttcp_freeres): Likewise.
29073 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29074 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29075 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29076 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29077 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29078 (xdr_callhdr): Likewise.
29079 * sunrpc/rpcinfo.c (udpping): Likewise.
29080 (tcpping): Likewise.
29081 (pstatus): Likewise.
29082 (pmapdump): Likewise.
29083 (brdcst): Likewise.
29084 (deletereg): Likewise.
29085 (getprognum): Likewise.
29086 (getvers): Likewise.
29087 (get_inet_address): Likewise.
29088 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29089 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29090 (svcudp_stat): Likewise.
29091 (svcudp_recv): Likewise.
29092 (svcudp_reply): Likewise.
29093 (svcudp_getargs): Likewise.
29094 (svcudp_freeargs): Likewise.
29095 (svcudp_destroy): Likewise.
29096 * sunrpc/xdr.c (xdr_bytes): Likewise.
29097 (xdr_netobj): Likewise.
29098 (xdr_string): Likewise.
29099 (xdr_wrapstring): Likewise.
29100 * sunrpc/xdr_float.c (xdr_float): Likewise.
29101 (xdr_double): Likewise.
29102 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29103 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29104 * sysvipc/ftok.c (ftok): Likewise.
29105 * sysvipc/msgctl.c (msgctl): Likewise.
29106 * sysvipc/msgget.c (msgget): Likewise.
29107 * sysvipc/msgrcv.c (msgrcv): Likewise.
29108 * sysvipc/msgsnd.c (msgsnd): Likewise.
29109 * sysvipc/semget.c (semget): Likewise.
29110 * sysvipc/semop.c (semop): Likewise.
29111 * sysvipc/shmat.c (shmat): Likewise.
29112 * sysvipc/shmctl.c (shmctl): Likewise.
29113 * sysvipc/shmdt.c (shmdt): Likewise.
29114 * sysvipc/shmget.c (shmget): Likewise.
29115 * termios/cfmakeraw.c (cfmakeraw): Likewise.
29116 * termios/speed.c (cfgetospeed): Likewise.
29117 (cfgetispeed): Likewise.
29118 (cfsetospeed): Likewise.
29119 (cfsetispeed): Likewise.
29120 * termios/tcflow.c (tcflow): Likewise.
29121 * termios/tcflush.c (tcflush): Likewise.
29122 * termios/tcgetattr.c (__tcgetattr): Likewise.
29123 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29124 * termios/tcgetsid.c (tcgetsid): Likewise.
29125 * termios/tcsendbrk.c (tcsendbreak): Likewise.
29126 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29127 * time/adjtime.c (__adjtime): Likewise.
29128 * time/dysize.c (dysize): Likewise.
29129 * time/ftime.c (ftime): Likewise.
29130 * time/getitimer.c (__getitimer): Likewise.
29131 * time/gettimeofday.c (__gettimeofday): Likewise.
29132 * time/gmtime.c (__gmtime_r): Likewise.
29133 (gmtime): Likewise.
29134 * time/localtime.c (__localtime_r): Likewise.
29135 (localtime): Likewise.
29136 * time/offtime.c (__offtime): Likewise.
29137 * time/settimeofday.c (__settimeofday): Likewise.
29138 * time/stime.c (stime): Likewise.
29139 * time/strftime_l.c (tm_diff): Likewise.
29140 (iso_week_days): Likewise.
29141 * time/strptime.c (strptime): Likewise.
29142 * time/time.c (time): Likewise.
29143 * time/timespec_get.c (timespec_get): Likewise.
29144 * time/tzset.c (tzset_internal): Likewise.
29145 (compute_change): Likewise.
29146 (__tz_compute): Likewise.
29147 * wcsmbs/btowc.c (__btowc): Likewise.
29148 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29149 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29150 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29151 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29152 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29153 * wcsmbs/wcscat.c (__wcscat): Likewise.
29154 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29155 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29156 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29157 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29158 * wcsmbs/wcsdup.c (wcsdup): Likewise.
29159 * wcsmbs/wcslen.c (__wcslen): Likewise.
29160 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29161 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29162 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29163 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29164 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29165 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29166 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29167 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29168 * wcsmbs/wcstok.c (wcstok): Likewise.
29169 * wcsmbs/wctob.c (wctob): Likewise.
29170 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29171 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29172 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29173 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29174 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29175 * wcsmbs/wmemset.c (__wmemset): Likewise.
29176 * wctype/wcfuncs.c (__towlower): Likewise.
29177 (__towupper): Likewise.
29178
29179 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29180 (lll_unlock_elision): Add adapt_count parameter.
29181
29182 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29183
29184 * sysdeps/nptl/configure.ac: Do not give errors based on the
29185 results of top-level configure tests.
29186 * sysdeps/nptl/configure: Regenerated.
29187
29188 * configure.ac (libc_cv_Bgroup): Remove configure test.
29189 * configure: Regenerated.
29190 * config.make.in (have-Bgroup): Remove variable.
29191
29192 * configure.ac (sizeof_long_double): Remove configure test.
29193 * configure: Regenerated.
29194 * config.make.in (sizeof-long-double): Remove variable.
29195
29196 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29197 * configure: Regenerated.
29198 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29199 variable.
29200 (exceptions): Likewise.
29201 * sysdeps/arm/configure: Regenerated.
29202 * config.make.in (exceptions): Remove variable.
29203 * Makeconfig (uses-callbacks): Use -fexceptions instead of
29204 $(exceptions).
29205 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29206 (CFLAGS-vdprintf_chk.c): Likewise.
29207 (CFLAGS-printf_chk.c): Likewise.
29208 (CFLAGS-fprintf_chk.c): Likewise.
29209 (CFLAGS-vprintf_chk.c): Likewise.
29210 (CFLAGS-vfprintf_chk.c): Likewise.
29211 (CFLAGS-gets_chk.c): Likewise.
29212 (CFLAGS-fgets_chk.c): Likewise.
29213 (CFLAGS-fgets_u_chk.c): Likewise.
29214 (CFLAGS-fread_chk.c): Likewise.
29215 (CFLAGS-fread_u_chk.c): Likewise.
29216 (CFLAGS-wprintf_chk.c): Likewise.
29217 (CFLAGS-fwprintf_chk.c): Likewise.
29218 (CFLAGS-vwprintf_chk.c): Likewise.
29219 (CFLAGS-vfwprintf_chk.c): Likewise.
29220 (CFLAGS-fgetws_chk.c): Likewise.
29221 (CFLAGS-fgetws_u_chk.c): Likewise.
29222 * libio/Makefile (CFLAGS-fileops.c): Likewise.
29223 (CFLAGS-fputc.c): Likewise.
29224 (CFLAGS-fputwc.c): Likewise.
29225 (CFLAGS-freopen64.c): Likewise.
29226 (CFLAGS-freopen.c): Likewise.
29227 (CFLAGS-fseek.c): Likewise.
29228 (CFLAGS-fseeko64.c): Likewise.
29229 (CFLAGS-fseeko.c): Likewise.
29230 (CFLAGS-ftello64.c): Likewise.
29231 (CFLAGS-ftello.c): Likewise.
29232 (CFLAGS-fwide.c): Likewise.
29233 (CFLAGS-genops.c): Likewise.
29234 (CFLAGS-getc.c): Likewise.
29235 (CFLAGS-getchar.c): Likewise.
29236 (CFLAGS-getwc.c): Likewise.
29237 (CFLAGS-getwchar.c): Likewise.
29238 (CFLAGS-iofclose.c): Likewise.
29239 (CFLAGS-iofflush.c): Likewise.
29240 (CFLAGS-iofgetpos64.c): Likewise.
29241 (CFLAGS-iofgetpos.c): Likewise.
29242 (CFLAGS-iofgets.c): Likewise.
29243 (CFLAGS-iofgetws.c): Likewise.
29244 (CFLAGS-iofputs.c): Likewise.
29245 (CFLAGS-iofputws.c): Likewise.
29246 (CFLAGS-iofread.c): Likewise.
29247 (CFLAGS-iofsetpos64.c): Likewise.
29248 (CFLAGS-iofsetpos.c): Likewise.
29249 (CFLAGS-ioftell.c): Likewise.
29250 (CFLAGS-iofwrite.c): Likewise.
29251 (CFLAGS-iogetdelim.c): Likewise.
29252 (CFLAGS-iogetline.c): Likewise.
29253 (CFLAGS-iogets.c): Likewise.
29254 (CFLAGS-iogetwline.c): Likewise.
29255 (CFLAGS-ioputs.c): Likewise.
29256 (CFLAGS-ioseekoff.c): Likewise.
29257 (CFLAGS-ioseekpos.c): Likewise.
29258 (CFLAGS-iosetbuffer.c): Likewise.
29259 (CFLAGS-iosetvbuf.c): Likewise.
29260 (CFLAGS-ioungetc.c): Likewise.
29261 (CFLAGS-ioungetwc.c): Likewise.
29262 (CFLAGS-oldfileops.c): Likewise.
29263 (CFLAGS-oldiofclose.c): Likewise.
29264 (CFLAGS-oldiofgetpos64.c): Likewise.
29265 (CFLAGS-oldiofgetpos.c): Likewise.
29266 (CFLAGS-oldiofsetpos64.c): Likewise.
29267 (CFLAGS-oldiofsetpos.c): Likewise.
29268 (CFLAGS-peekc.c): Likewise.
29269 (CFLAGS-putc.c): Likewise.
29270 (CFLAGS-putchar.c): Likewise.
29271 (CFLAGS-putwc.c): Likewise.
29272 (CFLAGS-putwchar.c): Likewise.
29273 (CFLAGS-rewind.c): Likewise.
29274 (CFLAGS-wfileops.c): Likewise.
29275 (CFLAGS-wgenops.c): Likewise.
29276 (CFLAGS-oldiofopen.c): Likewise.
29277 (CFLAGS-iofopen.c): Likewise.
29278 (CFLAGS-iofopen64.c): Likewise.
29279 (CFLAGS-oldtmpfile.c): Likewise.
29280 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29281 (CFLAGS-fprintf.c): Likewise.
29282 (CFLAGS-printf.c): Likewise.
29283 (CFLAGS-vfwprintf.c): Likewise.
29284 (CFLAGS-vfscanf.c): Likewise.
29285 (CFLAGS-vfwscanf.c): Likewise.
29286 (CFLAGS-fscanf.c): Likewise.
29287 (CFLAGS-scanf.c): Likewise.
29288 (CFLAGS-isoc99_vfscanf.c): Likewise.
29289 (CFLAGS-isoc99_vscanf.c): Likewise.
29290 (CFLAGS-isoc99_fscanf.c): Likewise.
29291 (CFLAGS-isoc99_scanf.c): Likewise.
29292 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29293 (CFLAGS-isoc99_fwscanf.c): Likewise.
29294 (CFLAGS-isoc99_vwscanf.c): Likewise.
29295 (CFLAGS-isoc99_vfwscanf.c): Likewise.
29296
29297 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29298 after mkstemp64.
29299 * login/tst-utmp.c (do_prepare): Likewise.
29300 * rt/tst-aio.c (do_prepare): Likewise.
29301 * rt/tst-aio64.c (do_prepare): Likewise.
29302
29303 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29304
29305 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29306 (__lll_lock_elision): Remove adapt_count decrement...
29307 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29308 (__lll_trylock_elision): Likewise.
29309 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29310 (__lll_unlock_elision): ... to here. And utilize
29311 new adapt_count parameter.
29312 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29313 (__lll_unlock_elision): Update to include adapt_count
29314 parameter.
29315 (lll_unlock_elision): Pass pointer to adapt_count
29316 variable.
29317
29318 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
29319
29320 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29321 Add elision adapt_count parameter to list of arguments.
29322 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29323 (lll_unlock_elision): Update with new parameter list
29324 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29325 (lll_unlock_elision): Likewise.
29326 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29327 (lll_unlock_elision): Likewise.
29328
29329 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29330
29331 [BZ #19122]
29332 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29333 attribute_hidden.
29334
29335 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29336 attribute_hidden.
29337 [IS_IN (rtld)] (__strdup): Likewise.
29338 [IS_IN (rtld)] (__strerror_r): Likewise.
29339 [IS_IN (rtld)] (__strsep_g): Likewise.
29340 [IS_IN (rtld)] (memchr): Likewise.
29341 [IS_IN (rtld)] (memcmp): Likewise.
29342 [IS_IN (rtld)] (memcpy): Likewise.
29343 [IS_IN (rtld)] (memmove): Likewise.
29344 [IS_IN (rtld)] (memset): Likewise.
29345 [IS_IN (rtld)] (rawmemchr): Likewise.
29346 [IS_IN (rtld)] (stpcpy): Likewise.
29347 [IS_IN (rtld)] (strchr): Likewise.
29348 [IS_IN (rtld)] (strcmp): Likewise.
29349 [IS_IN (rtld)] (strlen): Likewise.
29350 [IS_IN (rtld)] (strnlen): Likewise.
29351 [IS_IN (rtld)] (strsep): Likewise.
29352
29353 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29354 attribute_hidden.
29355 [IS_IN (rtld)] (__strtoul_internal): Likewise.
29356
29357 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29358 attribute_hidden.
29359 [IS_IN (rtld)] (__libc_sigaction): Likewise.
29360
29361 * include/setjmp.h (__longjmp): Add attribute_hidden.
29362 [IS_IN (rtld)] (__sigsetjmp): Likewise.
29363
29364 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29365 Add attribute_hidden.
29366
29367 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29368 [IS_IN (rtld)] (__open): Likewise.
29369 [IS_IN (rtld)] (__fcntl): Likewise.
29370
29371 * include/dirent.h (__opendirat): Add attribute_hidden.
29372 (__getdents): Likewise.
29373 (__getdents64): Likewise.
29374 (__alloc_dir): Likewise.
29375 [IS_IN (rtld)] (__closedir): Likewise.
29376 [IS_IN (rtld)] (__fdopendir): Likewise.
29377 [IS_IN (rtld)] (__readdir): Likewise.
29378 [IS_IN (rtld)] (__readdir64): Likewise.
29379 [IS_IN (rtld)] (__rewinddir): Likewise.
29380
29381 * include/dlfcn.h (_dl_catch_error): Moved to ...
29382 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29383 attribute_hidden.
29384
29385 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29386 (_itoa_word): Likewise.
29387
29388 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29389 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29390 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29391 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29392 (_dl_higher_prime_number): Likewise.
29393 (_dl_debug_printf_c): Likewise.
29394 (_dl_signal_cerror): Likewise.
29395 (_dl_receive_error): Likewise.
29396 (_dl_reloc_bad_type): Likewise.
29397 (_dl_resolve_conflicts): Likewise.
29398 (_dl_check_all_versions): Likewise.
29399 (_dl_check_map_versions): Likewise.
29400 (_dl_sort_fini): Likewise.
29401 (_dl_debug_initialize): Likewise.
29402 (_dl_init_paths): Likewise.
29403 (_dl_show_auxv): Likewise.
29404 (_dl_next_ld_env_entry): Likewise.
29405 (_dl_important_hwcaps): Likewise.
29406 (_dl_load_cache_lookup): Likewise.
29407 (_dl_update_slotinfo): Likewise.
29408 (_dl_show_scope): Likewise.
29409
29410 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29411 attribute_hidden.
29412 (_wordcopy_fwd_dest_aligned): Likewise.
29413 (_wordcopy_bwd_aligned): Likewise.
29414 (_wordcopy_bwd_dest_aligned): Likewise.
29415
29416 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29417 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29418 Likewise.
29419 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29420 Likewise.
29421 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29422
29423 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29424
29425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29426 GCC 5 requirement.
29427
29428 2015-10-15 Joseph Myers <joseph@codesourcery.com>
29429
29430 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29431 test.
29432 * sysdeps/i386/configure: Regenerated.
29433 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29434 code unconditional.
29435
29436 * configure.ac (libc_cv_asm_previous_directive): Remove configure
29437 test.
29438 (libc_cv_asm_popsection_directive): Likewise.
29439 * configure: Regenerated.
29440 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29441 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29442 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29443 (__make_section_unallocated): Make definition unconditional.
29444 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29445 Remove conditional definition.
29446 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29447 (__make_section_unallocated): Likewise.
29448
29449 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29450 * configure: Regenerated.
29451 * config.make.in (static-libgcc): Remove variable.
29452 * Makerules (build-shlib-helper): Use -static-libgcc instead of
29453 $(static-libgcc).
29454 (build-module-helper): Likewise.
29455
29456 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29457 * configure: Regenerated.
29458
29459 2015-10-15 Florian Weimer <fweimer@redhat.com>
29460
29461 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29462 (struct char_buffer): New type.
29463 (char_buffer_start, char_buffer_size, char_buffer_error)
29464 (char_buffer_rewind, char_buffer_add): New functions.
29465 (ADDW): Remove macro, replaced by the char_buffer_add function.
29466 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29467 of extend_alloca. Make control flow more explicit.
29468
29469 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29470
29471 [BZ #19137]
29472 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29473 Add -fomit-frame-pointer.
29474 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29475
29476 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29479 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29481 only if !__GNUC_PREREQ (5,0).
29482 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29483 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29484 (INTERNAL_SYSCALL_NCS): Likewise.
29485 (LOADREGS_0): New macro for GCC 5.
29486 (ASMARGS_0): Likewise.
29487 (LOADREGS_1): Likewise.
29488 (ASMARGS_1): Likewise.
29489 (LOADREGS_2): Likewise.
29490 (ASMARGS_2): Likewise.
29491 (LOADREGS_3): Likewise.
29492 (ASMARGS_3): Likewise.
29493 (LOADREGS_4): Likewise.
29494 (ASMARGS_4): Likewise.
29495 (LOADREGS_5): Likewise.
29496 (ASMARGS_5): Likewise.
29497 (LOADREGS_6): Likewise.
29498 (ASMARGS_6): Likewise.
29499
29500 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
29501
29502 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29503 -fomit-frame-pointer.
29504 (CFLAGS-mmap64.c): Likewise.
29505 (CFLAGS-semtimedop.c): Likewise.
29506 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29507 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29508 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29509 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29510
29511 2015-10-15 Florian Weimer <fweimer@redhat.com>
29512
29513 [BZ #18928]
29514 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29515 _dl_pointer_guard member.
29516 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29517 initializer.
29518 (security_init): Always set up pointer guard.
29519 (process_envvars): Do not process LD_POINTER_GUARD.
29520
29521 2015-10-14 Joseph Myers <joseph@codesourcery.com>
29522
29523 [BZ #19134]
29524 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29525 (.LC2): Likewise.
29526 (.LC3): Likewise.
29527 (__lround): Do not add 0.5 to integer or out-of-range arguments.
29528
29529 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
29530
29531 [BZ #19129]
29532 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29533 r0 and r1.
29534
29535 2015-10-14 Namhyung Kim <namhyung@gmail.com>
29536
29537 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29538
29539 2015-10-14 Carlos O'Donell <carlos@redhat.com>
29540
29541 * include/stap-probe.h: Fix macro definition formatting.
29542
29543 2015-10-14 Florian Weimer <fweimer@redhat.com>
29544
29545 [BZ #19074]
29546 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29547 load and store num_ifs.
29548
29549 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29550
29551 [BZ #18822]
29552 * sysdeps/unix/sysv/linux/sched_getaffinity.c
29553 (__sched_getaffinity_new): Add libc_hidden_proto and
29554 libc_hidden_def.
29555
29556 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29557
29558 [BZ #19007]
29559 * scripts/localplt.awk: Also allow GOT references.
29560 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29561 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29562 with "+ REL R_386_GLOB_DAT".
29563 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29564 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29565
29566 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29567
29568 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29569 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29570 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29571 Likewise.
29572 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29573 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29574 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29575 INTERNAL_SYSCALLINTERNAL_SYSCALL and
29576 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29577 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29578 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29579 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29580 Likewise.
29581 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29582
29583 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29584
29585 [BZ #19125]
29586 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29587 <math_private.h> and <stdint.h>.
29588 (__llround): Avoid conversions to and from long long int, and
29589 subtractions, where those might raise spurious exceptions.
29590 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29591 <math_private.h> and <stdint.h>.
29592 (__llroundf): Avoid conversions to and from long long int, and
29593 subtractions, where those might raise spurious exceptions.
29594
29595 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29596
29597 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29598 INLINE_SYSCALL_ERROR_RETURN_VALUE.
29599 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29600 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29601 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29602 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29603 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29604 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29605 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29606 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29607 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29608 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29609 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29610 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29611 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29612 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29613 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29614 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29615 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29616 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29617 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29618 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29619 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29620 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29621 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29622 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29623 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29624 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29625 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29626 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29627 (__xstat64_conv): Likewise.
29628 (__xstat32_conv): Likewise.
29629
29630 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29631
29632 * sysdeps/unix/sysv/linux/sysdep.h: New file.
29633 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29634 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29635 <sysdeps/unix/sysv/linux/sysdep.h>.
29636 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29637 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29638 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29639 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29640 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29641 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29642 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29643 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29644 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29649 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29650 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29652 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29653 (sysdep-dl-routines): Add sysdep.
29654 [$(subdir) == nptl] (libpthread-routines): Likewise.
29655 [$(subdir) == rt] (librt-routines): Likewise.
29656 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29657 PIC when branching to SYSCALL_ERROR_LABEL.
29658 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29660 <sysdeps/unix/sysv/linux/sysdep.h>.
29661 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29662 (SYSCALL_ERROR_ERRNO): Removed.
29663 (SYSCALL_ERROR_HANDLER): Changed to empty.
29664 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29665 (__syscall_error): New prototype.
29666 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29667 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29668
29669 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
29670
29671 [BZ #19124]
29672 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29673 (_dl_runtime_resolve_avx512): Make it a hidden alias of
29674 _dl_runtime_resolve_avx.
29675 (_dl_runtime_profile_avx512): Make it a hidden alias of
29676 _dl_runtime_profile_avx.
29677
29678 2015-10-13 Joseph Myers <joseph@codesourcery.com>
29679
29680 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29681 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29682 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29683 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29684
29685 [BZ #16422]
29686 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29687 New configure test.
29688 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29689 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29690 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29691 <math_private.h> and <stdint.h>.
29692 (__llrint): Avoid conversions to long long int where those might
29693 raise spurious exceptions.
29694 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29695 <math_private.h> and <stdint.h>.
29696 (__llrintf): Avoid conversions to long long int where those might
29697 raise spurious exceptions.
29698
29699 2015-10-12 Andreas Schwab <schwab@suse.de>
29700
29701 [BZ #18969]
29702 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
29703 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29704 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
29705 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29706 $(gen-locales).
29707 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
29708 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29709 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29710 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29711 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29712 $(gen-locales).
29713 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
29714 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29715 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29716 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29717 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29718 ($(objpfx)tst-ftell-active-handler.out)
29719 ($(objpfx)tst-ftell-append.out)
29720 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29721 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29722 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29723 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29724 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29725 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29726 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29727 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29728 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29729 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29730 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29731 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29732 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29733 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29734 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29735 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29736 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29737 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29738 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29739 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29740 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29741 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29742 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29743 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29744 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29745 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29746 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29747 $(gen-locales).
29748 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29749 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29750 $(gen-locales).
29751 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29752 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29753 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29754 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29755 $(gen-locales).
29756 * libio/tst_wprintf2.c (main): Use explicit locale.
29757 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29758
29759 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29760
29761 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29762 __msg_sig_post.
29763 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29764
29765 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29766
29767 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29768 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29769
29770 * sysdeps/arm/libm-test-ulps: Regenerated.
29771
29772 [BZ #15470]
29773 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29774
29775 [BZ #16399]
29776 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29777 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29778 and <fix-fp-int-convert-overflow.h>.
29779 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29780 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29781 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29782 and <fix-fp-int-convert-overflow.h>.
29783 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29784 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29785 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29786 <fix-fp-int-convert-overflow.h>.
29787 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29788 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29789 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29790 <fix-fp-int-convert-overflow.h>.
29791 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29792 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29793 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29794 and <fix-fp-int-convert-overflow.h>.
29795 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29796 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29797 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29798 <limits.h> and <fix-fp-int-convert-overflow.h>.
29799 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29800 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29801 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29802 and <fix-fp-int-convert-overflow.h>.
29803 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29804 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29805 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29806 and <fix-fp-int-convert-overflow.h>.
29807 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29808 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29809 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29810
29811 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29812
29813 [BZ #18589]
29814 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29815 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29816 $(gen-locales).
29817
29818 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29819 Phil Blundell <pb@pbcl.net>
29820
29821 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29822 * nptl/tst-cancel26.c: New file.
29823 * nptl/tst-cancel27.c: Likewise.
29824
29825 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29826
29827 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29828 __ILP32__ isn't defined.
29829 (lrint): Likewise.
29830 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29831 (lrintf): Likewise.
29832 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29833 (lrintl): Likewise.
29834 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29835 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29836 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29837
29838 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29839
29840 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29841 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29842
29843 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29844 file.
29845 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29846 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29847
29848 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29849
29850 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29851 configure test.
29852 * sysdeps/i386/configure: Regenerated.
29853 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29854 configure test.
29855 * sysdeps/x86_64/configure: Regenerated.
29856 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29857 Make code unconditional.
29858
29859 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29860 test.
29861 * sysdeps/i386/configure: Regenerated.
29862 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29863 test.
29864 * sysdeps/x86_64/configure: Regenerated.
29865 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29866 Make code unconditional.
29867 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29868 Likewise.
29869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29870 Likewise.
29871 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29872 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29873 code unconditional.
29874 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29875 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29876 code unconditional.
29877 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29878 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29879 code unconditional.
29880 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29881 code unconditional.
29882 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29883 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29884 code unconditional.
29885 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29886 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29887 code unconditional.
29888 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29889 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29890 code unconditional.
29891 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29892 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29893 code unconditional.
29894 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29895 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29896
29897 [BZ #19095]
29898 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29899 mantissa to long int before shifting left.
29900
29901 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29902
29903 [BZ #19094]
29904 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29905 <limits.h>.
29906 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29907 when result overflows but exception would not result from cast.
29908 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29909 <limits.h>.
29910 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29911 when result overflows but exception would not result from cast.
29912 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29913 <limits.h>.
29914 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29915 when result overflows but exception would not result from cast.
29916 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29917 <limits.h>.
29918 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29919 when result overflows but exception would not result from cast.
29920 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29921 <limits.h>.
29922 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29923 when result overflows but exception would not result from cast.
29924 * math/libm-test.inc (lrint_test_data): Add more tests.
29925 (llrint_test_data): Likewise.
29926
29927 2015-10-08 Roland McGrath <roland@hack.frob.com>
29928
29929 [BZ #18872]
29930 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29931 Move out from under [$(run-built-tests) = yes] conditional.
29932 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29933 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29934
29935 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29936
29937 [BZ #18589]
29938 * string/Makefile (tests): Add bug-strcoll2.
29939 (LOCALES): Add cs_CZ.UTF-8.
29940 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29941
29942 [BZ #18589]
29943 * string/bug-strcoll2.c: New file.
29944 * locale/categories.def: Revert commit
29945 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29946 * locale/langinfo.h: Likewise.
29947 * locale/localeinfo.h: Likewise.
29948 * locale/C-collate.c: Likewise.
29949 * locale/programs/ld-collate.c (collate_output): Likewise.
29950 * string/strcoll_l.c (STRDIFF): Likewise.
29951 (STRCOLL): Likewise.
29952 * wcsmbs/wcscoll_l.c: Likewise.
29953
29954 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29955
29956 * math/libm-test.inc (lround_test_data): Do not expect the absence
29957 of "inexact" for some tests with non-integer arguments.
29958 (llround_test_data): Likewise.
29959
29960 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29961 test.
29962 (libc_cv_cc_sse2avx): Likewise.
29963 * sysdeps/i386/configure: Regenerated.
29964 * sysdeps/i386/i686/multiarch/Makefile
29965 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29966 [$(subdir) = math].
29967 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29968 code unconditional.
29969 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29970 Likewise.
29971 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29972 Likewise.
29973 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29974 Likewise.
29975 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29976 test.
29977 (libc_cv_cc_sse2avx): Likewise.
29978 * sysdeps/x86_64/configure: Regenerated.
29979 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29980 unconditional.
29981 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29982 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29983 unconditional.
29984 (_dl_runtime_profile)
29985 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29986 conditional code.
29987 * sysdeps/x86_64/fpu/multiarch/Makefile
29988 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29990 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29991 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29992 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29993 * sysdeps/x86_64/fpu/multiarch/e_log.c
29994 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29995 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29996 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29997 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29998 Likewise.
29999 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30000 Likewise.
30001 * sysdeps/x86_64/fpu/multiarch/s_sin.c
30002 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30003 * sysdeps/x86_64/fpu/multiarch/s_tan.c
30004 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30005 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30006 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30007 (HAVE_SSE2AVX_SUPPORT): Likewise.
30008
30009 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
30010
30011 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30012 instead of #pragma optimize.
30013
30014 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30015
30016 [BZ #17195]
30017 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30018 as is similarly done in systrim and _int_free already.
30019
30020 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
30021
30022 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30023
30024 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30025
30026 [BZ #19088]
30027 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30028 <limits.h>.
30029 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30030 overflows but exception would not result from cast.
30031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30032 and <limits.h>.
30033 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30034 overflows but exception would not result from cast.
30035 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30036 <limits.h>.
30037 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30038 overflows but exception would not result from cast.
30039 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30040 <limits.h>.
30041 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30042 overflows but exception would not result from cast.
30043 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30044 <limits.h>.
30045 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30046 overflows but exception would not result from cast.
30047 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30048 <limits.h>.
30049 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30050 overflows but exception would not result from cast.
30051 * math/libm-test.inc (lround_test_data): Add more tests.
30052 (llround_test_data): Likewise.
30053
30054 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
30055
30056 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30057 (CFLAGS-ialloc.c): Ditto.
30058 (CFLAGS-scheck.c): Ditto.
30059
30060 2015-10-07 Carlos O'Donell <carlos@redhat.com>
30061
30062 [BZ #19086]
30063 * manual/filesys.texi (Storage Allocation): Fix argument order for
30064 posix_fallocate64.
30065
30066 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30067
30068 [BZ #19085]
30069 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30070 exponent below 48 inside case for non-overflowing exponent.
30071 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30072
30073 2015-10-07 Florian Weimer <fweimer@redhat.com>
30074
30075 * iconvdata/cp737.h (from_idx): Add const.
30076 * iconvdata/cp775.h (from_idx): Likewise.
30077
30078 2015-10-07 Joseph Myers <joseph@codesourcery.com>
30079
30080 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30081 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30082 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30083
30084 [BZ #19079]
30085 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30086 file, conditioned on [!_LP64].
30087 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30088 [!_LP64] (__lround): Do not define as function or alias.
30089 [!_LP64] (lround): Likewise.
30090 [!_LP64] (__lroundl): Likewise.
30091 [!_LP64] (lroundl): Likewise.
30092 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30093 macro.
30094 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30095 Likewise.
30096
30097 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30098
30099 * math/libm-test.inc (lrint_test_data): Add more tests.
30100 (llrint_test_data): Likewise.
30101 (lround_test_data): Likewise.
30102 (llround_test_data): Likewise.
30103
30104 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30105 (llrint_test_data): Add tests used for lrint.
30106
30107 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30108 test.
30109 * sysdeps/i386/configure: Regenerated.
30110 * sysdeps/i386/i686/multiarch/Makefile
30111 [$(config-cflags-sse4) = yes]: Make code unconditional.
30112 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30113 Likewise.
30114 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30115 Likewise.
30116 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30117 test.
30118 * sysdeps/x86_64/configure: Regenerated.
30119 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30120 Make code unconditional.
30121 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30122 Likewise.
30123 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30124 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30125
30126 * scripts/rpm2dynsym.sh: Remove file.
30127
30128 2015-10-06 Florian Weimer <fweimer@redhat.com>
30129
30130 * configure.ac (libc_cv_cxx_thread_local): Define.
30131 * configure: Regenerate.
30132 * config.make.in (have-cxx-thread_local): Define.
30133 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30134 (LDLIBS-tst-thread_local1): Define.
30135 (tests): Add tst-thread_local1.
30136 [have-cxx-thread_local != yes] (tests-unsupported): Add
30137 tst-thread_local1.
30138 * nptl/tst-thread_local1.cc: New file.
30139
30140 2015-10-06 Joseph Myers <joseph@codesourcery.com>
30141
30142 [BZ #19078]
30143 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30144 (u_thres): Likewise.
30145 (__expl): Determine whether to call __kernel_standard_l based on
30146 value of result, not argument.
30147
30148 * math/libm-test.inc (scalb_test_data): Add more expectations for
30149 the "inexact" exception.
30150
30151 [BZ #19077]
30152 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30153 0.0L for argument 1.0L.
30154
30155 [BZ #19076]
30156 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30157 constant 0.0L when computing infinite result.
30158
30159 2015-10-06 Florian Weimer <fweimer@redhat.com>
30160
30161 [BZ #10432]
30162 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30163 malloc_usable_size.
30164
30165 2015-10-06 Florian Weimer <fweimer@redhat.com>
30166
30167 [BZ #19018]
30168 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30169 Mangle function pointer before storing it.
30170 (__call_tls_dtors): Demangle function pointer before calling it.
30171
30172 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30173
30174 [BZ #19012]
30175 * iconv/gconv_db.c (gen_steps): Check for additional errors.
30176 Clean up on failure.
30177
30178 2015-10-05 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #19071]
30181 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30182 long int variable to store possibly incremented high part of
30183 mantissa.
30184 * math/libm-test.inc (lround_test_data): Add tests used for
30185 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
30186 for tests requiring 64-bit long. Do not condition tests on
30187 [TEST_FLOAT] unnecessarily.
30188 (llround_test_data): Add tests used for lround. Add another
30189 expectation for the "inexact" exception. Do not condition tests
30190 on [TEST_FLOAT] unnecessarily.
30191
30192 [BZ #887]
30193 [BZ #19049]
30194 [BZ #19050]
30195 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30196 * sysdeps/ieee754/dbl-64/e_log10.c: Include
30197 <fix-int-fp-convert-zero.h>.
30198 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30199 * sysdeps/ieee754/dbl-64/e_log2.c: Include
30200 <fix-int-fp-convert-zero.h>.
30201 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30202 * sysdeps/ieee754/dbl-64/s_erf.c: Include
30203 <fix-int-fp-convert-zero.h>.
30204 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30205 * sysdeps/ieee754/dbl-64/s_logb.c: Include
30206 <fix-int-fp-convert-zero.h>.
30207 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30208 * sysdeps/ieee754/flt-32/e_log10f.c: Include
30209 <fix-int-fp-convert-zero.h>.
30210 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30211 * sysdeps/ieee754/flt-32/e_log2f.c: Include
30212 <fix-int-fp-convert-zero.h>.
30213 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30214 * sysdeps/ieee754/flt-32/s_erff.c: Include
30215 <fix-int-fp-convert-zero.h>.
30216 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30217 * sysdeps/ieee754/flt-32/s_logbf.c: Include
30218 <fix-int-fp-convert-zero.h>.
30219 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30220 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30221 <fix-int-fp-convert-zero.h>.
30222 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30224 <fix-int-fp-convert-zero.h>.
30225 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30226 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30227 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30228 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30229 file.
30230 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30231
30232 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
30233
30234 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30235
30236 2015-10-02 Joseph Myers <joseph@codesourcery.com>
30237
30238 [BZ #19059]
30239 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30240 overflowing computation.
30241 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30242 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30243 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30244 Likewise.
30245 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30246 Likewise.
30247 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30248 Likewise.
30249 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30250 Likewise.
30251 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30252 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30253 Likewise.
30254 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30255 Likewise.
30256 * math/libm-test.inc (nexttoward_test_data): Add more tests.
30257
30258 * nss/rewrite_field.c (__nss_rewrite_field): Use
30259 internal_function.
30260 * nss/valid_field.c (__nss_valid_field): Likewise.
30261 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30262
30263 2015-10-02 Florian Weimer <fweimer@redhat.com>
30264
30265 [BZ #18724]
30266 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30267 (__nss_invalid_field_characters, __nss_valid_field)
30268 (__nss_valid_list_field, __nss_rewrite_field): Declare.
30269 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30270 tst-field.c: New file.
30271 * nss/Makefile (routines): Add valid_field, rewrite_field.
30272 (tests-static): Define unconditionally.
30273 (tests): Include tests-static.
30274 [build-static-nss] (tests-static): Use append.
30275 [build-static-nss] (tests): Remove modification.
30276 * nss/getent.c (print_group): Call putgrent. Report error.
30277 (print_gshadow): Call putsgent. Report error.
30278 (print_passwd): Call putpwent. Report error.
30279 (print_shadow): Call putspent. Report error.
30280 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30281 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30282 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
30283 name, password, directory, shell fields for valid syntax. Rewrite
30284 GECOS field to match syntax.
30285 * pwd/Makefile (tests): Add tst-putpwent.
30286 * pwd/tst-putpwent.c: New file.
30287 * grp/putgrent.c (putgrent): Convert to ISO function definition.
30288 Check grName, grpasswd, gr_mem fields for valid syntax.
30289 Change loop variable i to size_t.
30290 * grp/Makefile (tests): Add tst-putgrent.
30291 * grp/tst-putgrent.c: New file.
30292 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30293 valid syntax.
30294 * shadow/Makefile (tests): Add tst-putspent.
30295 * shadow/tst-putspent.c: New file.
30296 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30297 sg_mem fields for valid syntax.
30298 * gshadow/Makefile (tests): Add tst-putsgent.
30299 * gshadow/tst-putsgent.c: New file.
30300
30301 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30302
30303 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30304 assembly instructions.
30305
30306 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30307
30308 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30309 prefix from operands.
30310
30311 2015-10-01 Joseph Myers <joseph@codesourcery.com>
30312
30313 [BZ #16347]
30314 [BZ #19046]
30315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30316 <libc-internal.h>.
30317 (MAXLGM): Do not use diagnostic control macros.
30318 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30319 threshold for ldbl-128ibm.
30320 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30321 instead of multiplying by log then subtracting.
30322 * math/auto-libm-test-in: Add more tests of lgamma.
30323 * math/auto-libm-test-out: Regenerated.
30324
30325 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30326 (TYPE_HEX_DIG): Likewise.
30327 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30328 precisions when printing floating-point numbers.
30329 (check_float_internal): Likewise.
30330
30331 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30332
30333 [BZ #16620]
30334 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30335 of log (10) rounded downward to 48 bits.
30336 (log10_low): Use corresponding low part of log (10).
30337
30338 [BZ #19032]
30339 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30340 compute result as (x - x) / (x - x) not as 0 / 0.
30341 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30342 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30343
30344 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30345 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30346 and expm1.
30347 * math/auto-libm-test-out: Regenerated.
30348 * math/libm-test.inc (acos_test_data): Add more tests.
30349 (asin_test_data): Likewise.
30350 (asinh_test_data): Likewise.
30351 (atan_test_data): Likewise.
30352 (atanh_test_data): Likewise.
30353 (atan2_test_data): Likewise.
30354 (cbrt_test_data): Likewise.
30355 (ceil_test_data): Likewise.
30356 (copysign_test_data): Likewise.
30357 (cos_test_data): Likewise.
30358 (cosh_test_data): Likewise.
30359 (erf_test_data): Likewise.
30360 (erfc_test_data): Likewise.
30361 (exp_test_data): Likewise.
30362 (exp10_test_data): Likewise.
30363 (exp2_test_data): Likewise.
30364 (expm1_test_data): Likewise.
30365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30366
30367 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
30368
30369 [BZ #19006]
30370 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30371 to ...
30372 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30373 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30374 to ...
30375 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30376 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30377 to ...
30378 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30379 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30380 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30381 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30382 to ...
30383 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30384 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30385 Moved to ...
30386 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30387 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30388 Moved to ...
30389 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30390 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30391 to ...
30392 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30393 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30394 Moved to ...
30395 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30396 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30397 to ...
30398 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30399 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30400 Removed.
30401 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30402 Likewise.
30403 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30404 Likewise.
30405 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30406 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30407 Likewise.
30408 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30409 Likewise.
30410 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30411 Likewise.
30412 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30413 Likewise.
30414 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30415 Likewise.
30416 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30417 Likewise.
30418 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30419 Likewise.
30420 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30421 Likewise.
30422 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30423 Likewise.
30424 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30425 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30426 Likewise.
30427 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30428 Likewise.
30429 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30430 Likewise.
30431 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30432 Likewise.
30433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30434 Likewise.
30435 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30436 Replace ../i486/pthread_cond_timedwait.S with
30437 ../pthread_cond_timedwait.S.
30438
30439 2015-09-30 Joseph Myers <joseph@codesourcery.com>
30440
30441 * math/libm-test.inc (acos_test_data): Refine expectations for
30442 errno and "inexact" exceptions.
30443 (acosh_test_data): Likewise.
30444 (asin_test_data): Likewise.
30445 (asinh_test_data): Likewise.
30446 (atan_test_data): Likewise.
30447 (atanh_test_data): Likewise.
30448 (atan2_test_data): Likewise.
30449 (cbrt_test_data): Likewise.
30450 (ceil_test_data): Likewise.
30451 (copysign_test_data): Likewise.
30452 (cosh_test_data): Likewise.
30453 (erf_test_data): Likewise.
30454 (erfc_test_data): Likewise.
30455 (exp_test_data): Likewise.
30456 (exp10_test_data): Likewise.
30457 (exp2_test_data): Likewise.
30458 (expm1_test_data): Likewise.
30459 (fabs_test_data): Likewise.
30460 (floor_test_data): Likewise.
30461 (fma_test_data): Likewise.
30462 (fmax_test_data): Likewise.
30463 (fmin_test_data): Likewise.
30464 (fmod_test_data): Likewise.
30465 (fpclassify_test_data): Likewise.
30466 (frexp_test_data): Likewise.
30467 (hypot_test_data): Likewise.
30468 (ilogb_test_data): Likewise.
30469 (isgreater_test_data): Likewise.
30470 (isgreaterequal_test_data): Likewise.
30471 (isinf_test_data): Likewise.
30472 (isless_test_data): Likewise.
30473 (islessequal_test_data): Likewise.
30474 (islessgreater_test_data): Likewise.
30475 (isnan_test_data): Likewise.
30476 (isnormal_test_data): Likewise.
30477 (issignaling_test_data): Likewise.
30478 (isunordered_test_data): Likewise.
30479 (j0_test_data): Likewise.
30480 (j1_test_data): Likewise.
30481 (jn_test_data): Likewise.
30482 (lgamma_test_data): Likewise.
30483 (lrint_test_data): Likewise.
30484 (llrint_test_data): Likewise.
30485 (log_test_data): Likewise.
30486 (log10_test_data): Likewise.
30487 (log1p_test_data): Likewise.
30488 (log2_test_data): Likewise.
30489 (logb_test_data): Likewise.
30490 (lround_test_data): Likewise.
30491 (llround_test_data): Likewise.
30492 (modf_test_data): Likewise.
30493 (nearbyint_test_data): Likewise.
30494 (nextafter_test_data): Likewise.
30495 (nexttoward_test_data): Likewise.
30496 (pow_test_data): Likewise.
30497 (remainder_test_data): Likewise.
30498 (remquo_test_data): Likewise.
30499 (rint_test_data): Likewise.
30500 (round_test_data): Likewise.
30501 (signbit_test_data): Likewise.
30502 (sinh_test_data): Likewise.
30503 (sqrt_test_data): Likewise.
30504 (tanh_test_data): Likewise.
30505 (tgamma_test_data): Likewise.
30506 (trunc_test_data): Likewise.
30507 (y0_test_data): Likewise.
30508 (y1_test_data): Likewise.
30509 (yn_test_data): Likewise.
30510 (significand_test_data): Likewise.
30511
30512 2015-09-29 Carlos O'Donell <carlos@redhat.com>
30513
30514 * manual/filesys.texi (Storage Allocation): Document that
30515 posix_fallocate emulation fails when fd is open with O_WRONLY.
30516
30517 2015-09-28 Joseph Myers <joseph@codesourcery.com>
30518
30519 [BZ #19016]
30520 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30521 allow more cases with X^2 + Y^2 >= 0.5.
30522 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
30523 normal element in sum instead of special-casing based on values of
30524 arguments.
30525 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30526 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
30527 -1 as normal element in sum instead of special-casing based on
30528 values of arguments.
30529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30530 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30531 (__x2y2m1): Update comment.
30532 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
30533 as normal element in sum instead of special-casing based on values
30534 of arguments.
30535 * math/s_clog.c (__clog): Handle more cases using log1p without
30536 hypot.
30537 * math/s_clog10.c (__clog10): Likewise.
30538 * math/s_clog10f.c (__clog10f): Likewise.
30539 * math/s_clog10l.c (__clog10l): Likewise.
30540 * math/s_clogf.c (__clogf): Likewise.
30541 * math/s_clogl.c (__clogl): Likewise.
30542 * math/auto-libm-test-in: Add more tests of clog and clog10.
30543 * math/auto-libm-test-out: Regenerated.
30544 * sysdeps/i386/fpu/libm-test-ulps: Update.
30545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30546
30547 2015-09-28 Martin Sebor <msebor@redhat.com>
30548
30549 [BZ #18969]
30550 * string/Makefile (LOCALES): Define.
30551 (gen-locales.mk): Include.
30552 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30553 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30554 * string/tst-strxfrm2.c (do_test): Print the name of the locale
30555 on setlocale failure.
30556
30557 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
30558
30559 [BZ #18985]
30560 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30561 (__strftime_internal): Likewise.
30562 * time/tst-strftime.c (do_bz18985): New test.
30563 (do_test): Call it.
30564
30565 2015-09-26 Joseph Myers <joseph@codesourcery.com>
30566
30567 [BZ #18956]
30568 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30569 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
30570 extracting high part.
30571 * math/auto-libm-test-in: Add another test of pow.
30572 * math/auto-libm-test-out: Regenerated.
30573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30574
30575 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30576
30577 [BZ #18825]
30578 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30579 New macro.
30580 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30581 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30582 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30583 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30584 DBL_NARROW_EVAL, reloading the PIC register as needed.
30585 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30586 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30587 FLT_NARROW_EVAL. Use separate return path for case when first
30588 argument is NaN.
30589 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
30590 DEFINE_LDBL_MIN.
30591 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30592 PIC register.
30593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30594 math_check_force_underflow_nonneg.
30595 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30596 underflow for subnormal result.
30597 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30598 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30599 math_check_force_underflow_nonneg.
30600 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30601 math_check_force_underflow.
30602 * sysdeps/x86_64/fpu/x86_64-math-asm.h
30603 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30604 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
30605 DEFINE_LDBL_MIN.
30606 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30607 * math/auto-libm-test-in: Add more tests of pow.
30608 * math/auto-libm-test-out: Regenerated.
30609
30610 2015-09-25 Florian Weimer <fweimer@redhat.com>
30611
30612 * nss/bug17079.c (init_test_items): Add diagnostic for
30613 inconsistent entries.
30614 (test_buffer_size): Skip inconsistent entries.
30615
30616 2015-09-25 Joseph Myers <joseph@codesourcery.com>
30617
30618 [BZ #13304]
30619 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30620 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30621 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30622
30623 [BZ #13304]
30624 * sysdeps/microblaze/s_fma.c: New file.
30625 * sysdeps/microblaze/s_fmaf.c: Likewise.
30626 * sysdeps/microblaze/sfp-machine.h: Likewise.
30627
30628 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
30629
30630 [BZ #17250]
30631 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30632 member.
30633
30634 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30635
30636 [BZ #18803]
30637 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30638 (MO): New macro.
30639 (__ieee754_hypot) [PIC]: Load PIC register.
30640 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30641 DBL_NARROW_EVAL.
30642 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30643 math_check_force_underflow_nonneg in case where result might be
30644 tiny.
30645 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30646 Likewise.
30647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30648 Likewise.
30649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30650 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30651 * math/auto-libm-test-in: Add more tests of hypot.
30652 * math/auto-libm-test-out: Regenerated.
30653
30654 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
30655
30656 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30657
30658 2015-09-24 Joseph Myers <joseph@codesourcery.com>
30659
30660 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30661 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30662 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30663 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30664 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30665 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30666 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30667
30668 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30669 LOAD_PIC_REG.
30670
30671 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30672 (FLT_CHECK_FORCE_UFLOW): Likewise.
30673 (DBL_CHECK_FORCE_UFLOW): Likewise.
30674 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30675 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30676 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30677 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30678 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30679 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30680 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30681 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30682 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30683 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30684 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30685 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30686 (flt_min): Replace with use of DEFINE_FLT_MIN.
30687 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30688 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30689 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30690 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30691 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30692 (flt_min): Replace with use of DEFINE_FLT_MIN.
30693 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30694 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30695 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30696 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30697 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30698 (flt_min): Replace with use of DEFINE_FLT_MIN.
30699 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30700 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30701 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30702 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30703 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30704 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30705 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30706 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30707 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30708 (__atan): Use DBL_CHECK_FORCE_UFLOW.
30709 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30710 (flt_min): Replace with use of DEFINE_FLT_MIN.
30711 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30712 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30713 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30714 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
30715 main computation.
30716 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30717 (flt_min): Replace with use of DEFINE_FLT_MIN.
30718 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
30719 main computation.
30720 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30721 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30722 (MO): New macro.
30723 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30724 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30725 (flt_min): Replace with use of DEFINE_FLT_MIN.
30726 (MO): New macro.
30727 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30728 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30729 (__log1pl): Use MO.
30730
30731 [BZ #19003]
30732 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30733 $(config-cflags-nofma).
30734
30735 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30736
30737 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30738
30739 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30740
30741 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30742 (TWO127): Likewise.
30743
30744 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30745 (min_of_type): Likewise.
30746 (math_check_force_underflow): Likewise.
30747 (math_check_force_underflow_nonneg): Likewise.
30748 (math_check_force_underflow_complex): Likewise.
30749 * math/e_exp2l.c (__ieee754_exp2l): Use
30750 math_check_force_underflow_nonneg.
30751 * math/k_casinh.c (__kernel_casinh): Likewise.
30752 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30753 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30754 * math/s_catan.c (__catan): Use
30755 math_check_force_underflow_complex.
30756 * math/s_catanf.c (__catanf): Likewise.
30757 * math/s_catanh.c (__catanh): Likewise.
30758 * math/s_catanhf.c (__catanhf): Likewise.
30759 * math/s_catanhl.c (__catanhl): Likewise.
30760 * math/s_catanl.c (__catanl): Likewise.
30761 * math/s_ccosh.c (__ccosh): Likewise.
30762 * math/s_ccoshf.c (__ccoshf): Likewise.
30763 * math/s_ccoshl.c (__ccoshl): Likewise.
30764 * math/s_cexp.c (__cexp): Likewise.
30765 * math/s_cexpf.c (__cexpf): Likewise.
30766 * math/s_cexpl.c (__cexpl): Likewise.
30767 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30768 * math/s_clog10.c (__clog10): Likewise.
30769 * math/s_clog10f.c (__clog10f): Likewise.
30770 * math/s_clog10l.c (__clog10l): Likewise.
30771 * math/s_clogf.c (__clogf): Likewise.
30772 * math/s_clogl.c (__clogl): Likewise.
30773 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30774 * math/s_csinf.c (__csinf): Likewise.
30775 * math/s_csinh.c (__csinh): Likewise.
30776 * math/s_csinhf.c (__csinhf): Likewise.
30777 * math/s_csinhl.c (__csinhl): Likewise.
30778 * math/s_csinl.c (__csinl): Likewise.
30779 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30780 * math/s_csqrtf.c (__csqrtf): Likewise.
30781 * math/s_csqrtl.c (__csqrtl): Likewise.
30782 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30783 * math/s_ctanf.c (__ctanf): Likewise.
30784 * math/s_ctanh.c (__ctanh): Likewise.
30785 * math/s_ctanhf.c (__ctanhf): Likewise.
30786 * math/s_ctanhl.c (__ctanhl): Likewise.
30787 * math/s_ctanl.c (__ctanl): Likewise.
30788 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30789 instead of volatile.
30790 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30791 math_check_force_underflow.
30792 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30793 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30794 volatile when forcing underflow.
30795 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30796 math_check_force_underflow_nonneg.
30797 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30798 Likewise.
30799 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30800 math_check_force_underflow.
30801 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30802 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30803 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30804 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30805 math_check_force_underflow_nonneg.
30806 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30807 math_check_force_underflow.
30808 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30810 instead of volatile.
30811 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30812 math_check_force_underflow.
30813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30815 math_check_force_underflow_nonneg.
30816 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30817 math_check_force_underflow.
30818 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30819 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30820 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30821 math_check_force_underflow_nonneg.
30822 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30823 Likewise.
30824 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30825 math_check_force_underflow.
30826 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30827 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30828 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30829 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30830 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30831 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30832 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30833 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30834 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30835 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30836 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30837 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30838 Likewise.
30839 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30840 math_check_force_underflow_nonneg.
30841 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30842 Likewise.
30843 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30844 math_check_force_underflow.
30845 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30846 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30847 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30848 Likewise.
30849 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30850 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30851 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30852 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30853 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30854 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30856 instead of volatile.
30857 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30858 math_check_force_underflow.
30859 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30861 math_check_force_underflow.
30862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30863 Likewise.
30864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30865 Use math_check_force_underflow_nonneg.
30866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30867 math_check_force_underflow.
30868 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30869 Likewise.
30870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30871 Likewise.
30872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30873 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30874 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30876 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30878 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30879 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30880 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30881 math_check_force_underflow_nonneg.
30882 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30883 math_check_force_underflow.
30884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30885 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30886 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30887 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30888 math_check_force_underflow_nonneg.
30889 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30890 math_check_force_underflow.
30891 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30893 instead of volatile.
30894 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30895 math_check_force_underflow.
30896
30897 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30898 * stdlib/strtod_l.c: Include <math_private.h>.
30899 (overflow_value): Use math_narrow_eval.
30900 (underflow_value): Likewise.
30901 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30902 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30903 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30904 (__ieee754_gamma_r): Likewise.
30905 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30906 Likewise.
30907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30908 Likewise.
30909 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30910 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30911 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30912 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30913 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30914 (__ieee754_gammaf_r): Likewise.
30915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30916 Likewise.
30917 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30918 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30919 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30920 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30921 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30922 volatile.
30923 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30925 math_narrow_eval.
30926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30927 Likewise.
30928 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30929 Likewise.
30930 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30931 Likewise.
30932 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30933 volatile.
30934 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30935 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30936 math_narrow_eval.
30937 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30938 Likewise.
30939 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30940 Likewise.
30941
30942 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30943
30944 * nptl/Versions: Remove ignored symbols.
30945
30946 2015-09-22 Florian Weimer <fweimer@redhat.com>
30947
30948 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30949 * nss/Makefile (tests): Update.
30950
30951 2015-09-22 Florian Weimer <fweimer@redhat.com>
30952
30953 * nss/bug18287.c: New file.
30954 * nss/Makefile (tests): Add bug18287.
30955
30956 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30957
30958 * mach/Versions (__mach_host_self_): Add symbol.
30959
30960 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30961
30962 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30963 vm_page_size.
30964
30965 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30966
30967 Really fix sysdeps/i386/fpu/s_scalbn.S build
30968
30969 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30970 (libc: GLIBC_2_22): Remove unused version set.
30971
30972 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30973
30974 * config.make.in (enable-timezone-tools): New variable.
30975 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30976 (enable_timezone_tools): Export to generated files.
30977 * configure: Regenerate.
30978 * INSTALL: Regenerate.
30979 * manual/install.texi (--disable-timezone-tools): Document new flag.
30980 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30981 ifeq ($(enable-timezone-tools),yes) check.
30982
30983 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30984
30985 * timezone/Makefile: Revert previous change.
30986
30987 [BZ #18980]
30988 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30989 (DEFINE_DBL_MIN): Likewise.
30990 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30991 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30992 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30993 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30994 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30995 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30996 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30997 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30998 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30999 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31000 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31001 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31002 (flt_min): Replace with use of DEFINE_FLT_MIN.
31003 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31004 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31005 (dbl_min): Replace with use of DEFINE_DBL_MIN.
31006 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31007 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31008 (flt_min): Replace with use of DEFINE_FLT_MIN.
31009 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31010 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31011 (flt_min): Replace with use of DEFINE_FLT_MIN.
31012 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31013 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31014 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31015 (__ieee754_hypot): Use DBL_NARROW_EVAL.
31016 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31017 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31018 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31019 (__ieee754_pow): Use DBL_NARROW_EVAL.
31020 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31021 (__ieee754_powf): Use FLT_NARROW_EVAL.
31022 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31023 (__ieee754_expf_sse2): Convert double-precision result to single
31024 precision.
31025 * sysdeps/i386/fpu/libm-test-ulps: Update.
31026
31027 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31028
31029 * timezone/Makefile: Ignore unused variable errors due to private.h
31030 (time_t_min) and (time_t_max).
31031 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
31032 Likewise.
31033
31034 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31035
31036 [BZ #18981]
31037 * sysdeps/i386/fpu/i386-math-asm.h: New file.
31038 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31039 (__ieee754_scalb): Use DBL_NARROW_EVAL.
31040 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31041 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31042 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31043 (__scalbn): Use DBL_NARROW_EVAL.
31044 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31045 (__scalbnf): Use FLT_NARROW_EVAL.
31046
31047 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31048
31049 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31050 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31051 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31052 * stdio-common/printf_fp.c (___printf_fp):
31053 Use signbit to get the sign. Use isinf macro to allow inlining.
31054 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31055 * stdio-common/printf_size.c (__printf_size): Likewise.
31056
31057 2015-09-18 Mike Frysinger <vapier@gentoo.org>
31058
31059 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31060
31061 2015-09-18 Joseph Myers <joseph@codesourcery.com>
31062
31063 [BZ #18980]
31064 * sysdeps/generic/math_private.h: Include <float.h>.
31065 (math_narrow_eval): New macro.
31066 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31067 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31068 math_narrow_eval on overflowing return value.
31069 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31070 Likewise.
31071 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31072 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31074 Likewise.
31075 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31076
31077 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31078
31079 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31080 * math/Makefile: Remove isinf_ns.c.
31081 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31082 * math/multc3.c (__multc3): Likewise.
31083 * math/s_casin.c (__casin): Likewise.
31084 * math/s_casinf.c (__casinf): Likewise.
31085 * math/s_casinl.c (__casinl): Likewise.
31086 * math/s_cproj.c (__cproj): Likewise.
31087 * math/s_cprojf.c (__cprojf): Likewise.
31088 * math/s_cprojl.c (__cprofl): Likewise.
31089 * math/s_ctan.c (__ctan): Likewise.
31090 * math/s_ctanf.c (__ctanf): Likewise.
31091 * math/s_ctanh.c (__ctanh): Likewise.
31092 * math/s_ctanhf.c (__ctanhf): Likewise.
31093 * math/s_ctanhl.c (__ctanhl): Likewise.
31094 * math/s_ctanl.c (__ctanl): Likewise.
31095 * math/w_fmod.c (__fmod): Likewise.
31096 * math/w_fmodf.c (__fmodf): Likewise.
31097 * math/w_fmodl.c (_fmodl): Likewise.
31098 * math/w_remainder.c (__remainder): Likewise.
31099 * math/w_remainderf.c (__remainderf): Likewise.
31100 * math/w_remainderl.c (__remainderl): Likewise.
31101 * math/w_scalb.c (__scalb): Likewise.
31102 * math/w_scalbf.c (__scalbf): Likewise.
31103 * math/w_scalbl.c (__scalbl): Likewise.
31104 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31105 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31106 with isinf.
31107 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31109 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31110 __isinf_nsf with isinf.
31111 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31112 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31113 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31114 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31115 with isinf.
31116 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31117 __isinf_nsl with isinf.
31118 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31119 with isinf.
31120 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31121 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31122 __isinf_nsl with isinf.
31123 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31124 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31125 with isinf.
31126
31127 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31128
31129 * resolv/base64.c (rcsid): Remove unused static.
31130 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31131 static. (tqpi1): Likewise.
31132 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31133 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31134 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31135 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31137 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31138 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31139 * timezone/private.h (time_t_min): Likewise. (time_t_max):
31140 Likewise.
31141
31142 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
31143
31144 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31145 <nptl/pthreadP.h>.
31146 (_longjmp_unwind): Use __libc_ptf_call.
31147 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31148
31149 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
31150
31151 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31152 * sysdeps/arm/__longjmp.S: Likewise.
31153
31154 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31155
31156 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31157 Use __builtin_signbit.
31158 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31159 Use __builtin_signbitf.
31160 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31161 Use __builtin_signbitl.
31162 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31163 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31164
31165 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31166
31167 [BZ #15367]
31168 [BZ #17441]
31169
31170 * math/Makefile: Build test-snan.c with -fsignaling-nans.
31171 * math/math.h (fpclassify): Use __builtin_fpclassify when
31172 available. (signbit): Use __builtin_signbit(f/l).
31173 (isfinite): Use__builtin_isfinite. (isnormal): Use
31174 __builtin_isnormal. (isnan): Use __builtin_isnan.
31175 (isinf): Use __builtin_isinf_sign.
31176
31177 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
31178
31179 * benchtests/Makefile: Add bench-math-inlines, link with libm.
31180 * benchtests/bench-math-inlines.c: New benchmark.
31181 * benchtests/bench-util.h: New file.
31182 * benchtests/bench-util.c: New file.
31183 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31184
31185 2015-09-18 Carlos O'Donell <carlos@redhat.com>
31186
31187 * elf/tst-dlmopen1.c: Define TEST_SO.
31188 (do_test): Use TEST_SO.
31189
31190 * elf/dl-load.c: Include libc-internal.h.
31191 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31192
31193 2015-09-18 Vincent Bernat <vincent@bernat.im>
31194
31195 [BZ #17887]
31196 * time/strptime_l.c (__strptime_internal): Make %z accept
31197 [+-]HH:MM time zones.
31198
31199 2015-09-18 Vincent Bernat <vincent@bernat.im>
31200
31201 [BZ #17886]
31202 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31203 valid time zone.
31204
31205 2015-09-17 Mike Frysinger <vapier@gentoo.org>
31206
31207 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31208 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31209 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31210 (__ASSUME_FDATASYNC): Delete.
31211
31212 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31213
31214 * conform/linknamespace.pl: Require weak undefined symbols to be
31215 in the standard namespace.
31216 (%strong_syms): Rename to %seen_syms.
31217 (%strong_seen): Rename to %seen_where.
31218
31219 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
31220
31221 [BZ #18970]
31222 * misc/error.c (error): Replace pthread_setcancelstate with
31223 __pthread_setcancelstate.
31224 (error_at_line): Likewise.
31225 * posix/wordexp.c (parse_comm): Likewise.
31226 * stdlib/fmtmsg.c (fmtmsg): Likewise.
31227 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31228 (__pthread_setcancelstate): This.
31229 (pthread_setcancelstate): Add an alias.
31230 * nptl/nptl-init.c (pthread_functions): Replace
31231 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31232 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31233 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31234 hidden_proto.
31235 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31236 it with hidden_def.
31237 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31238 (pthread_setcancelstate): Renamed to ...
31239 (__pthread_setcancelstate): This.
31240 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31241 __libc_ptf_call with __pthread_setcancelstate.
31242
31243 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31244 Andreas Schwab <schwab@suse.de>
31245
31246 [BZ #17118]
31247 * math/s_ctan.c (__ctan): Determine sign of zero real part of
31248 result when imaginary part of argument is infinite using sine and
31249 cosine.
31250 * math/s_ctanf.c (__ctanf): Likewise.
31251 * math/s_ctanl.c (__ctanl): Likewise.
31252 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31253 of result when real part of argument is infinite using sine and
31254 cosine.
31255 * math/s_ctanhf.c (__ctanhf): Likewise.
31256 * math/s_ctanhl.c (__ctanhl): Likewise.
31257 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31258 (ctanh_test_data): Add more tests of ctanh.
31259
31260 2015-09-17 Joseph Myers <joseph@codesourcery.com>
31261
31262 [BZ #15384]
31263 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31264 bit-mask as in subtraction.
31265 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31266 Likewise.
31267 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31268 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31270
31271 [BZ #18951]
31272 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31273 underflow exception for small results.
31274 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31275 Likewise.
31276 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31277 Likewise.
31278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31279 Likewise.
31280 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31281 Likewise.
31282 * math/auto-libm-test-in: Add more tests of tgamma.
31283 * math/auto-libm-test-out: Regenerated.
31284
31285 2015-09-17 Andreas Schwab <schwab@suse.de>
31286
31287 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31288
31289 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31290
31291 [BZ #18977]
31292 * math/bits/mathcalls.h
31293 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31294 not declare.
31295 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31296 Likewise.
31297 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31298 Likewise.
31299 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31300 Likewise.
31301 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31302 Likewise.
31303 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31304 Likewise.
31305 * conform/data/math.h-data
31306 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31307 function.
31308 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31309 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31310 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31311 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31312 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31313 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31314 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31315 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31316 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31317 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31318 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31319
31320 [BZ #6803]
31321 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31322 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31323 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31324 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31325 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31326 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31327 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31328 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31329 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31331 Likewise.
31332 [NO_LONG_DOUBLE] (scalbnl): Likewise.
31333 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31334 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31335 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31336 long_double_symbol calls.
31337 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31338 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31339 strong alias of __ldexpl.
31340 (scalbnl): Define using long_double_symbol.
31341 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31342 Remove alias.
31343 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31344 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31345 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31346 (scalbln_test_data): Add more errno expectations.
31347
31348 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
31349
31350 Cache the host port like we cache the task port. This way we do not
31351 need to call the kernel just to get the port. Furthermore, we no
31352 longer increase the reference count on every invocation of
31353 `mach_host_self'.
31354
31355 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31356 Protect declarations against the macro expansion.
31357 * mach/mach_init.c (__mach_host_self_): New variable.
31358 (mach_init): Initialize `__mach_host_self_'.
31359 * mach/mach_init.h (__mach_host_self_): New declaration.
31360 (__mach_host_self, mach_host_self): New macros.
31361 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31362 Release reference.
31363
31364 2015-09-16 Joseph Myers <joseph@codesourcery.com>
31365
31366 [BZ #4404]
31367 * po/de.po: Update from Translation Project.
31368
31369 [BZ #16415]
31370 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31371 (__expm1l): Remove code to handle positive infinity and overflow.
31372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31373 variable.
31374 (__expm1l): Remove code to handle positive infinity and overflow.
31375
31376 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
31377 Paul Pluzhnikov <ppluzhnikov@google.com>
31378
31379 [BZ #18872]
31380 * stdio-common/Makefile (tst-printf-bz18872): New test.
31381 (tst-printf-bz18872-mem.out): Likewise.
31382 * stdio-common/tst-printf-bz18872.sh: Generate new test.
31383 * stdio-common/vfprintf.c: Fix memory leaks.
31384
31385 2015-09-16 Andreas Schwab <schwab@suse.de>
31386
31387 [BZ #17244]
31388 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31389 Remove extra va_start/va_end calls.
31390
31391 [BZ #17243]
31392 * posix/execl.c (execl): Add missing va_end.
31393 * posix/execle.c (execle): Likewise.
31394 * posix/execlp.c (execlp): Likewise.
31395
31396 2015-09-15 Roland McGrath <roland@hack.frob.com>
31397
31398 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31399 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31400
31401 2015-09-15 Joseph Myers <joseph@codesourcery.com>
31402
31403 [BZ #18967]
31404 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
31405 undefine around includes of <bits/mathcalls.h>.
31406 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31407 not declare function.
31408 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31409 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31410 (scalb): Likewise.
31411 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31412 not define macro.
31413 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31414 variable.
31415 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31416 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31417 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31418
31419 [BZ #18857]
31420 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31421 return non-finite argument without doing ordered comparisons on
31422 it.
31423
31424 [BZ #16296]
31425 * math/fenv.h (fegetround): Use __attribute_pure__.
31426 * include/fenv.h (__fegetround): Likewise.
31427
31428 [BZ #18595]
31429 * math/s_ctan.c (__ctan): Force underflow exception for results
31430 whose real or imaginary part has small absolute value.
31431 * math/s_ctanf.c (__ctanf): Likewise.
31432 * math/s_ctanh.c (__ctanh): Likewise.
31433 * math/s_ctanhf.c (__ctanhf): Likewise.
31434 * math/s_ctanhl.c (__ctanhl): Likewise.
31435 * math/s_ctanl.c (__ctanl): Likewise.
31436 * math/auto-libm-test-in: Do not allow missing underflow for ctan
31437 and ctanh. Add more tests of ctan and ctanh.
31438
31439 [BZ #15918]
31440 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31441 handling of cases where one argument is an infinity.
31442
31443 [BZ #18875]
31444 [BZ #18966]
31445 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31446 (MO): New macro.
31447 (__ieee754_exp10): For small results, force underflow exception
31448 and remove excess range and precision from return value.
31449 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31450 (MO): New macro.
31451 (__ieee754_exp10f): For small results, force underflow exception
31452 and remove excess range and precision from return value.
31453 * math/auto-libm-test-in: Add more tests of exp10.
31454 * math/auto-libm-test-out: Regenerated.
31455
31456 2015-09-14 Joseph Myers <joseph@codesourcery.com>
31457
31458 [BZ #18875]
31459 [BZ #18961]
31460 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31461 (MO): New macro.
31462 (__ieee754_exp): For small results, force underflow exception and
31463 remove excess range and precision from return value.
31464 (__exp_finite): Likewise.
31465 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31466 (MO): New macro.
31467 (__ieee754_expf): For small results, force underflow exception and
31468 remove excess range and precision from return value.
31469 (__expf_finite): Likewise.
31470 * math/auto-libm-test-in: Add more tests of exp.
31471 * math/auto-libm-test-out: Regenerated.
31472
31473 [BZ #16521]
31474 [BZ #18875]
31475 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31476 small results.
31477 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31478 (MO): New macro.
31479 (__ieee754_exp2): For small results, force underflow exception and
31480 remove excess range and precision from return value.
31481 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31482 (MO): New macro.
31483 (__ieee754_exp2f): For small results, force underflow exception
31484 and remove excess range and precision from return value.
31485 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31486 (MO): New macro.
31487 (__ieee754_exp2l): Force underflow exception for small results.
31488 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31489 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31490 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31491 (MO): New macro.
31492 (__ieee754_exp2l): Force underflow exception for small results.
31493 * math/auto-libm-test-in: Add more tests or exp2.
31494 * math/auto-libm-test-out: Regenerated.
31495
31496 2015-09-14 Carlos O'Donell <carlos@redhat.com>
31497
31498 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31499
31500 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31501 /dev/null.
31502
31503 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
31504
31505 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31506 io fs process)): Drop spurious backslash.
31507
31508 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
31509
31510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31511 Use sysinfo system call instead of parsing /proc/meminfo.
31512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31513 Likewise.
31514
31515 2015-09-11 Mike Frysinger <vapier@gentoo.org>
31516
31517 [BZ #16985]
31518 * programs/localedef.c (main): Display argv[remaining] when
31519 output_path is NULL.
31520
31521 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31522
31523 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31524 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31525 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31526 tanh.
31527 * math/auto-libm-test-out: Regenerated.
31528 * sysdeps/i386/fpu/libm-test-ulps: Update.
31529 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31530 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31532
31533 2015-09-11 Roland McGrath <roland@hack.frob.com>
31534
31535 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31536 Use 'override' keyword to freeze the value here, preventing
31537 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31538
31539 2015-09-11 Joseph Myers <joseph@codesourcery.com>
31540
31541 [BZ #14912]
31542 * sysdeps/aarch64/bits/atomic.h: Move to ...
31543 * sysdeps/aarch64/atomic-machine.h: ...here.
31544 (_AARCH64_BITS_ATOMIC_H): Rename macro to
31545 _AARCH64_ATOMIC_MACHINE_H.
31546 * sysdeps/alpha/bits/atomic.h: Move to ...
31547 * sysdeps/alpha/atomic-machine.h: ...here.
31548 * sysdeps/arm/bits/atomic.h: Move to ...
31549 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
31550 * bits/atomic.h: Move to ...
31551 * sysdeps/generic/atomic-machine.h: ...here.
31552 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31553 * sysdeps/i386/bits/atomic.h: Move to ...
31554 * sysdeps/i386/atomic-machine.h: ...here.
31555 * sysdeps/ia64/bits/atomic.h: Move to ...
31556 * sysdeps/ia64/atomic-machine.h: ...here.
31557 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31558 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31559 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31560 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31561 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31562 * sysdeps/microblaze/bits/atomic.h: Move to ...
31563 * sysdeps/microblaze/atomic-machine.h: ...here.
31564 * sysdeps/mips/bits/atomic.h: Move to ...
31565 * sysdeps/mips/atomic-machine.h: ...here.
31566 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31567 * sysdeps/powerpc/bits/atomic.h: Move to ...
31568 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
31569 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31570 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
31571 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
31572 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31573 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
31574 <atomic-machine.h> instead of <bits/atomic.h>.
31575 * sysdeps/s390/bits/atomic.h: Move to ...
31576 * sysdeps/s390/atomic-machine.h: ...here.
31577 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31578 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31579 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31580 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31581 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31582 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31583 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31584 * sysdeps/tile/bits/atomic.h: Move to ...
31585 * sysdeps/tile/atomic-machine.h: ...here.
31586 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31587 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
31588 <sysdeps/tile/atomic-machine.h> instead of
31589 <sysdeps/tile/bits/atomic.h>.
31590 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31591 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31592 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
31593 <sysdeps/tile/atomic-machine.h> instead of
31594 <sysdeps/tile/bits/atomic.h>.
31595 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31596 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31597 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
31598 <sysdeps/arm/atomic-machine.h> instead of
31599 <sysdeps/arm/bits/atomic.h>.
31600 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31601 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31602 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31603 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31604 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31605 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31606 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31607 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31608 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31610 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31611 * sysdeps/x86_64/bits/atomic.h: Move to ...
31612 * sysdeps/x86_64/atomic-machine.h: ...here.
31613 * include/atomic.h: Include <atomic-machine.h> instead of
31614 <bits/atomic.h>.
31615
31616 * sysdeps/mips/mips32/libm-test-ulps: Update.
31617 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31618
31619 [BZ #18952]
31620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31621 not convert non-integer negative arguments to int to determine the
31622 value of signgam.
31623 * math/auto-libm-test-in: Add more tests of lgamma.
31624 * math/auto-libm-test-out: Regenerated.
31625
31626 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31627 cosh, csqrt, erfc, expm1 and lgamma.
31628 * math/auto-libm-test-out: Regenerated.
31629 * sysdeps/i386/fpu/libm-test-ulps: Update.
31630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31631
31632 2015-09-10 Joseph Myers <joseph@codesourcery.com>
31633
31634 [BZ #2542]
31635 [BZ #2543]
31636 [BZ #2558]
31637 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31638 __lgamma_neg for arguments from -28.0 to -2.0.
31639 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31640 __lgamma_negf for arguments from -15.0 to -2.0.
31641 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31642 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31643 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31644 Call __lgamma_negl for arguments from -33.0 to -2.0.
31645 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31646 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31647 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31648 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31649 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31650 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31651 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31652 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31653 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31654 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31655 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31656 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31657 (__lgamma_neg): Likewise.
31658 (__lgamma_negl): Likewise.
31659 (__lgamma_product): Likewise.
31660 (__lgamma_productl): Likewise.
31661 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31662 * math/auto-libm-test-in: Add more tests of lgamma.
31663 * math/auto-libm-test-out: Regenerated.
31664 * sysdeps/i386/fpu/libm-test-ulps: Update.
31665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31666
31667 2015-09-09 Justin Maggard <jmaggard@netgear.com>
31668
31669 [BZ #18675]
31670 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31671
31672 2015-09-08 Joseph Myers <joseph@codesourcery.com>
31673
31674 [BZ #14912]
31675 * bits/libc-lock.h: Move to ...
31676 * sysdeps/generic/libc-lock.h: ...here.
31677 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31678 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31679 * sysdeps/mach/hurd/libc-lock.h: ...here.
31680 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31681 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31682 * sysdeps/mach/bits/libc-lock.h: Move to ...
31683 * sysdeps/mach/libc-lock.h: ...here.
31684 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31685 * sysdeps/nptl/bits/libc-lock.h: Move to ...
31686 * sysdeps/nptl/libc-lock.h: ...here.
31687 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31688 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31689 * sysdeps/nptl/libc-lockP.h: ...here.
31690 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31691 * crypt/crypt_util.c: Include <libc-lock.h> instead of
31692 <bits/libc-lock.h>.
31693 * dirent/scandir-tail.c: Likewise.
31694 * dlfcn/dlerror.c: Likewise.
31695 * elf/dl-close.c: Likewise.
31696 * elf/dl-iteratephdr.c: Likewise.
31697 * elf/dl-lookup.c: Likewise.
31698 * elf/dl-open.c: Likewise.
31699 * elf/dl-support.c: Likewise.
31700 * elf/dl-writev.h: Likewise.
31701 * elf/rtld.c: Likewise.
31702 * grp/fgetgrent.c: Likewise.
31703 * gshadow/fgetsgent.c: Likewise.
31704 * gshadow/sgetsgent.c: Likewise.
31705 * iconv/gconv_conf.c: Likewise.
31706 * iconv/gconv_db.c: Likewise.
31707 * iconv/gconv_dl.c: Likewise.
31708 * iconv/gconv_int.h: Likewise.
31709 * iconv/gconv_trans.c: Likewise.
31710 * include/link.h: Likewise.
31711 * inet/getnameinfo.c: Likewise.
31712 * inet/getnetgrent.c: Likewise.
31713 * inet/getnetgrent_r.c: Likewise.
31714 * intl/bindtextdom.c: Likewise.
31715 * intl/dcigettext.c: Likewise.
31716 * intl/finddomain.c: Likewise.
31717 * intl/gettextP.h: Likewise.
31718 * intl/loadmsgcat.c: Likewise.
31719 * intl/localealias.c: Likewise.
31720 * intl/textdomain.c: Likewise.
31721 * libidn/idn-stub.c: Likewise.
31722 * libio/libioP.h: Likewise.
31723 * locale/duplocale.c: Likewise.
31724 * locale/freelocale.c: Likewise.
31725 * locale/newlocale.c: Likewise.
31726 * locale/setlocale.c: Likewise.
31727 * login/getutent_r.c: Likewise.
31728 * login/getutid_r.c: Likewise.
31729 * login/getutline_r.c: Likewise.
31730 * login/utmp-private.h: Likewise.
31731 * login/utmpname.c: Likewise.
31732 * malloc/mtrace.c: Likewise.
31733 * misc/efgcvt.c: Likewise.
31734 * misc/error.c: Likewise.
31735 * misc/fstab.c: Likewise.
31736 * misc/getpass.c: Likewise.
31737 * misc/mntent.c: Likewise.
31738 * misc/syslog.c: Likewise.
31739 * nis/nis_call.c: Likewise.
31740 * nis/nis_callback.c: Likewise.
31741 * nis/nss-default.c: Likewise.
31742 * nis/nss_compat/compat-grp.c: Likewise.
31743 * nis/nss_compat/compat-initgroups.c: Likewise.
31744 * nis/nss_compat/compat-pwd.c: Likewise.
31745 * nis/nss_compat/compat-spwd.c: Likewise.
31746 * nis/nss_nis/nis-alias.c: Likewise.
31747 * nis/nss_nis/nis-ethers.c: Likewise.
31748 * nis/nss_nis/nis-grp.c: Likewise.
31749 * nis/nss_nis/nis-hosts.c: Likewise.
31750 * nis/nss_nis/nis-network.c: Likewise.
31751 * nis/nss_nis/nis-proto.c: Likewise.
31752 * nis/nss_nis/nis-pwd.c: Likewise.
31753 * nis/nss_nis/nis-rpc.c: Likewise.
31754 * nis/nss_nis/nis-service.c: Likewise.
31755 * nis/nss_nis/nis-spwd.c: Likewise.
31756 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31757 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31758 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31759 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31760 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31761 * nis/nss_nisplus/nisplus-network.c: Likewise.
31762 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31763 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31764 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31765 * nis/nss_nisplus/nisplus-service.c: Likewise.
31766 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31767 * nis/ypclnt.c: Likewise.
31768 * nptl/libc_pthread_init.c: Likewise.
31769 * nss/getXXbyYY.c: Likewise.
31770 * nss/getXXent.c: Likewise.
31771 * nss/getXXent_r.c: Likewise.
31772 * nss/nss_db/db-XXX.c: Likewise.
31773 * nss/nss_db/db-netgrp.c: Likewise.
31774 * nss/nss_db/nss_db.h: Likewise.
31775 * nss/nss_files/files-XXX.c: Likewise.
31776 * nss/nss_files/files-alias.c: Likewise.
31777 * nss/nsswitch.c: Likewise.
31778 * posix/regex_internal.h: Likewise.
31779 * posix/wordexp.c: Likewise.
31780 * pwd/fgetpwent.c: Likewise.
31781 * resolv/res_hconf.c: Likewise.
31782 * resolv/res_libc.c: Likewise.
31783 * shadow/fgetspent.c: Likewise.
31784 * shadow/lckpwdf.c: Likewise.
31785 * shadow/sgetspent.c: Likewise.
31786 * socket/opensock.c: Likewise.
31787 * stdio-common/reg-modifier.c: Likewise.
31788 * stdio-common/reg-printf.c: Likewise.
31789 * stdio-common/reg-type.c: Likewise.
31790 * stdio-common/vfprintf.c: Likewise.
31791 * stdio-common/vfscanf.c: Likewise.
31792 * stdlib/abort.c: Likewise.
31793 * stdlib/cxa_atexit.c: Likewise.
31794 * stdlib/fmtmsg.c: Likewise.
31795 * stdlib/random.c: Likewise.
31796 * stdlib/setenv.c: Likewise.
31797 * string/strsignal.c: Likewise.
31798 * sunrpc/auth_none.c: Likewise.
31799 * sunrpc/bindrsvprt.c: Likewise.
31800 * sunrpc/create_xid.c: Likewise.
31801 * sunrpc/key_call.c: Likewise.
31802 * sunrpc/rpc_thread.c: Likewise.
31803 * sysdeps/arm/backtrace.c: Likewise.
31804 * sysdeps/generic/ldsodefs.h: Likewise.
31805 * sysdeps/generic/stdio-lock.h: Likewise.
31806 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31807 * sysdeps/i386/backtrace.c: Likewise.
31808 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31809 * sysdeps/m68k/backtrace.c: Likewise.
31810 * sysdeps/mach/hurd/cthreads.c: Likewise.
31811 * sysdeps/mach/hurd/dirstream.h: Likewise.
31812 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31813 * sysdeps/nptl/malloc-machine.h: Likewise.
31814 * sysdeps/nptl/stdio-lock.h: Likewise.
31815 * sysdeps/posix/dirstream.h: Likewise.
31816 * sysdeps/posix/getaddrinfo.c: Likewise.
31817 * sysdeps/posix/system.c: Likewise.
31818 * sysdeps/pthread/aio_suspend.c: Likewise.
31819 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31820 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31821 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31822 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31823 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31824 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31825 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31826 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31827 * sysdeps/unix/sysv/linux/system.c: Likewise.
31828 * sysdeps/x86_64/backtrace.c: Likewise.
31829 * time/alt_digit.c: Likewise.
31830 * time/era.c: Likewise.
31831 * time/tzset.c: Likewise.
31832 * wcsmbs/wcsmbsload.c: Likewise.
31833 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31834 instead of <bits/libc-lock.h> in comment.
31835
31836 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31837
31838 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31839 Only use .set mips2 if the current ISA is below mips2.
31840 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31841 Likewise.
31842 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31843 mips32r2 if the current ISA is below mips32r2.
31844 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31845 (TLS_IE): Updated to use the TLD_RDHWR macro.
31846 (TLS_LE): Likewise.
31847 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31848 __ASSEMBLER__ condition.
31849
31850 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31851
31852 Fix parallel build of before-compile targets.
31853
31854 * sysdeps/mach/Makefile ($(patsubst
31855 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31856 mach-before-compile target.
31857 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31858 io fs process)): Move rule to dedicated hurd-before-compile target.
31859
31860 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31861
31862 Fix rules generating headers in hurd/ and mach/ when initial make call
31863 has subdir= explicitly set.
31864
31865 * sysdeps/mach/Makefile ($(patsubst
31866 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31867 calling $(MAKE).
31868 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31869 io fs process)): Force subdir to hurd when calling $(MAKE).
31870 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31871 subdir to mach when calling $(MAKE).
31872
31873 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31874
31875 Check sysheaders when looking for Mach and Hurd headers
31876
31877 * sysdeps/mach/configure.ac: Add sysheaders check.
31878 * sysdeps/mach/configure: Regenerate.
31879 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31880 * sysdeps/mach/hurd/configure: Regenerate.
31881
31882 2015-09-04 Roland McGrath <roland@hack.frob.com>
31883
31884 [BZ #18921]
31885 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31886 Fix inverted sense of test of 'o_directory_works' value.
31887 Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31888 Bernhard Voelker <mail@bernhard-voelker.de>.
31889
31890 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31891
31892 [BZ #14912]
31893 * bits/linkmap.h: Move to ...
31894 * sysdeps/generic/linkmap.h: ...here.
31895 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31896 * sysdeps/aarch64/linkmap.h: ...here.
31897 * sysdeps/arm/bits/linkmap.h: Move to ...
31898 * sysdeps/arm/linkmap.h: ...here.
31899 * sysdeps/hppa/bits/linkmap.h: Move to ...
31900 * sysdeps/hppa/linkmap.h: ...here.
31901 * sysdeps/ia64/bits/linkmap.h: Move to ...
31902 * sysdeps/ia64/linkmap.h: ...here.
31903 * sysdeps/mips/bits/linkmap.h: Move to ...
31904 * sysdeps/mips/linkmap.h: ...here.
31905 * sysdeps/s390/bits/linkmap.h: Move to ...
31906 * sysdeps/s390/linkmap.h: ...here.
31907 * sysdeps/sh/bits/linkmap.h: Move to ...
31908 * sysdeps/sh/linkmap.h: ...here.
31909 * sysdeps/x86/bits/linkmap.h: Move to ...
31910 * sysdeps/x86/linkmap.h: ...here.
31911 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31912
31913 2015-09-04 Andreas Schwab <schwab@suse.de>
31914
31915 [BZ #18635]
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31917 (__makecontext): Terminate FDE before return label.
31918 (__novec_makecontext): Likewise.
31919
31920 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31921
31922 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31923 first member of struct sv in syscall macro.
31924
31925 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31926
31927 [BZ #14912]
31928 * bits/stdio-lock.h: Move to ...
31929 * sysdeps/generic/stdio-lock.h: ...here.
31930 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31931 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31932 * sysdeps/nptl/stdio-lock.h: ...here.
31933 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31934 * include/libio.h: Include <stdio-lock.h> instead of
31935 <bits/stdio-lock.h>.
31936 * sysdeps/nptl/fork.c: Likewise.
31937 * sysdeps/pthread/flockfile.c: Likewise.
31938 * sysdeps/pthread/ftrylockfile.c: Likewise.
31939 * sysdeps/pthread/funlockfile.c: Likewise.
31940
31941 [BZ #14912]
31942 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31943 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31944 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31945 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31946 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31947 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31948 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31949
31950 2015-09-03 Roland McGrath <roland@hack.frob.com>
31951
31952 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31953 (test-xfail-tst-protected1b): New variable.
31954
31955 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31956
31957 [BZ #14912]
31958 * bits/libc-tsd.h: Move to ...
31959 * sysdeps/generic/libc-tsd.h: ...here.
31960 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31961 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31962 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31963 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31964 * include/ctype.h: Include <libc-tsd.h> instead of
31965 <bits/libc-tsd.h>.
31966 * include/rpc/rpc.h: Likewise.
31967 * locale/localeinfo.h: Likewise.
31968 * sunrpc/rpc_thread.c: Likewise.
31969 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31970 * sysdeps/nptl/malloc-machine.h: Likewise.
31971
31972 * Makefile (headers): Remove bits/libc-lock.h.
31973 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31974
31975 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31976 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31977 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31978 <bits/stdio-lock.h>.
31979 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31980 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31981
31982 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31983
31984 [BZ #18757]
31985 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31986 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31987 BZ #18757.
31988
31989 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31990
31991 * malloc/mtrace.pl: Filter out NULL entries.
31992
31993 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31994
31995 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31996 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31997 macro.
31998
31999 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32000 (TCP_CC_INFO): Likewise.
32001 (TCP_SAVE_SYN): Likewise.
32002 (TCP_SAVED_SYN): Likewise.
32003
32004 2015-08-31 Brett Neumeier <brett@neumeier.us>
32005
32006 [BZ #18870]
32007 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32008
32009 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
32010
32011 [BZ #18873]
32012 Fix broken overflow check in posix_fallocate
32013 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32014 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32015 Fix parenthesization typo.
32016
32017 2015-08-28 Mike Frysinger <vapier@gentoo.org>
32018
32019 [BZ #18887]
32020 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32021 tst-mntent-blank-passno.
32022 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32023 * misc/tst-mntent-blank-corrupt.c: New test.
32024 * misc/tst-mntent-blank-passno.c: New test ripped from ...
32025 * misc/tst-mntent.c (do_test): ... here.
32026
32027 2015-08-29 Mike Frysinger <vapier@gentoo.org>
32028
32029 [BZ #4404]
32030 * po/de.po: Fix SIGALRM typo.
32031
32032 2015-08-28 James Perkins <james@loowit.net>
32033
32034 * time/tst-strptime2.c (tests): Replace short list of test
32035 strings for strptime %z specifier with code which exhaustively
32036 tests every combination of sign and 0 to 5 digits. Tests for
32037 rejection of invalid strings.
32038
32039 2015-08-28 James Perkins <james@loowit.net>
32040
32041 [BZ #16141]
32042 * time/strptime_l.c (__strptime_internal): Fix %z minutes
32043 calculation, removing incorrect decimal time rounding, so that
32044 all minute values result in a valid seconds value.
32045 * time/strptime_l.c (__strptime_internal): Extend %z time zone
32046 offset range limits to UTC-99:59 through UTC+99:59 to parse
32047 current and historical use cases.
32048 * time/tst-strptime2.c (tests): Modify and add tests for the
32049 strptime %z input field descriptor, specifically conversion of
32050 minutes to seconds and validating an offset range of -9959 to
32051 +9959.
32052
32053 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32054 Dmitry V. Levin <ldv@altlinux.org>
32055
32056 [BZ #18877]
32057 * posix/Makefile (tests): Add tst-mmap-offset.
32058 * posix/tst-mmap.c: New file.
32059 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32060 offset calculation for negative values.
32061
32062 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32063
32064 * sysdeps/i386/init-arch.h: New file.
32065 * sysdeps/i386/i586/init-arch.h: Likewise.
32066 * sysdeps/i386/i686/init-arch.h: Likewise.
32067 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32068 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
32069 * sysdeps/x86/cpu-features.h (bit_I586): New.
32070 (bit_I686): Likewise.
32071 (bit_CX8): Likewise.
32072 (bit_CMOV): Likewise.
32073 (index_CX8): Likewise.
32074 (index_CMOV): Likewise.
32075 (index_I586): Likewise.
32076 (index_I686): Likewise.
32077 (reg_CX8): Likewise.
32078 (reg_CMOV): Likewise.
32079 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32080 available at compile-time.
32081 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32082 available at compile-time.
32083 * sysdeps/x86/init-arch.h (USE_I586): New macro.
32084 (USE_I686): Likewise.
32085
32086 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32087
32088 * sysdeps/i386/bcopy.S: New file.
32089 * sysdeps/i386/bzero.S: Likewise.
32090 * sysdeps/i386/memcpy.S: Likewise.
32091 * sysdeps/i386/memmove.S: Likewise.
32092 * sysdeps/i386/mempcpy.S: Likewise.
32093 * sysdeps/i386/memset.S: Likewise.
32094 * sysdeps/i386/bzero.c: Removed.
32095 * sysdeps/i386/memset.c: Likewise.
32096 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32097 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32098 * sysdeps/i386/i586/memset_chk.S: Likewise.
32099 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32100 * sysdeps/i386/memcpy_chk.S: Here.
32101 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32102 * sysdeps/i386/memmove_chk.S: Here.
32103 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32104 * sysdeps/i386/mempcpy_chk.S: Likewise.
32105 * sysdeps/i386/i686/memset_chk.S: Moved to ...
32106 * sysdeps/i386/memset_chk.S: Likewise.
32107
32108 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
32109
32110 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32111 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32112 file, move DIAG_POP_NEEDS_COMMENT to end of file.
32113 * soft-fp/fmadf4.c: Ditto.
32114 * soft-fp/fmatf4.c: Ditto.
32115
32116 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32117
32118 * sysdeps/i386/i586/Implies: Removed.
32119 * sysdeps/i386/i686/Implies: Likewise.
32120
32121 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32122
32123 * sysdeps/i386/i486/strlen.S: Moved to ...
32124 * sysdeps/i386/strlen.S: Here.
32125
32126 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * sysdeps/i386/i486/strcat.S: Moved to ...
32129 * sysdeps/i386/strcat.S: Here.
32130
32131 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32132
32133 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32134 * sysdeps/i386/pthread_spin_trylock.S: Here.
32135 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32136 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32137
32138 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32139
32140 * sysdeps/i386/i486/string-inlines.c: Moved to ...
32141 * sysdeps/i386/string-inlines.c: Here.
32142
32143 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32144
32145 * sysdeps/i386/i486/htonl.S: Moved ...
32146 * sysdeps/i386/htonl.S: here.
32147
32148 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32149
32150 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32151 * sysdeps/i386/bits/atomic.h: Here.
32152
32153 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
32154
32155 * sysdeps/i386/i486/Versions: Removed.
32156
32157 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
32158
32159 [BZ #2898]
32160 * misc/mktemp.c: Add mkdtemp to the link_warning message.
32161 Based on patch by Aurelien Jarno.
32162
32163 2015-08-26 Stan Shebs <stanshebs@google.com>
32164
32165 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32166 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32167
32168 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32169
32170 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32171 * sysdeps/powerpc/dl-procinfo.c:
32172 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32173 feature so it shows when LD_SHOW_AUXV=1.
32174
32175 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32176
32177 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32178 (__arch_compare_and_exchange_val_32_acq): Remove and use common
32179 definition. ISA 2.07B no longer requires full sync.
32180
32181 2015-08-26 Mike Frysinger <vapier@gentoo.org>
32182
32183 [BZ #18863]
32184 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32185 (si_call_addr): Define.
32186 (si_syscall): Define.
32187 (si_arch): Define.
32188
32189 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
32190
32191 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32192 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32193 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32194 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32195 (__memset_zero_constant_len_parameter): New.
32196 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32197 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32198 (__memset_zero_constant_len_parameter): Don't define if
32199 __memset_chk or USE_AS_BZERO are defined.
32200
32201 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32202 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32203 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32204
32205 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32206 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32207 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32208 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
32209 comments.
32210 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32211 -mno-mmx for $(all-rtld-routines).
32212 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32213 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
32214 i386.
32215
32216 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32217
32218 * sysdeps/generic/unwind.h
32219 (_Unwind_Word): Use __mode__(__unwind_word__)
32220 instead of __mode__(__word__).
32221 (_Unwind_Sword): Likewise.
32222
32223 * sysdeps/s390/s390-64/utf8-utf16-z9.c
32224 (MAX_NEEDED_INPUT): New define.
32225 (MAX_NEEDED_OUTPUT): New define.
32226
32227 * NEWS: New item for IBM z13 string optimizations.
32228
32229 * sysdeps/s390/multiarch/memrchr-c.c: New File.
32230 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32231 * sysdeps/s390/multiarch/memrchr.c: Likewise.
32232 * sysdeps/s390/multiarch/Makefile
32233 (sysdep_routines): Add memrchr functions.
32234 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32235 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32236
32237 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32238 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32239 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32240 * sysdeps/s390/multiarch/Makefile
32241 (sysdep_routines): Add wmemcmp functions.
32242 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32243 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32244 * benchtests/bench-wmemcmp.c: New File.
32245 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32246
32247 * sysdeps/s390/multiarch/wmemset-c.c: New File.
32248 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32249 * sysdeps/s390/multiarch/wmemset.c: Likewise.
32250 * sysdeps/s390/multiarch/Makefile
32251 (sysdep_routines): Add wmemset functions.
32252 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32253 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32254 * wcsmbs/wmemset.c: Use WMEMSET if defined.
32255 * string/test-memset.c: Add wmemset support.
32256 * wcsmbs/test-wmemset.c: New File.
32257 * wcsmbs/Makefile (strop-tests): Add wmemset.
32258 * benchtests/bench-memset.c: Add wmemset support.
32259 * benchtests/bench-wmemset.c: New File.
32260 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32261
32262 * sysdeps/s390/multiarch/memccpy-c.c: New File.
32263 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32264 * sysdeps/s390/multiarch/memccpy.c: Likewise.
32265 * sysdeps/s390/multiarch/Makefile
32266 (sysdep_routines): Add memccpy functions.
32267 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32268 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32269 * string/memccpy.c: Use MEMCCPY if defined.
32270
32271 * sysdeps/s390/multiarch/memchr-vx.S: New File.
32272 * sysdeps/s390/multiarch/memchr.c: Likewise.
32273 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32274 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32275 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32276 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32277 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32278 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32279 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32280 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32281 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32282 and rawmemchr functions.
32283 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32284 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32285 and wmemchr.
32286 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32287 * string/test-memchr.c: Add wmemchr support.
32288 * wcsmbs/test-wmemchr.c: New File.
32289 * wcsmbs/Makefile (strop-tests): Add wmemchr.
32290 * benchtests/bench-memchr.c: Add wmemchr support.
32291 * benchtests/bench-wmemchr.c: New File.
32292 * benchtests/Makefile (wcsmbs-bench): wmemchr.
32293
32294 * sysdeps/s390/multiarch/strcspn-c.c: New File.
32295 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32296 * sysdeps/s390/multiarch/strcspn.c: Likewise.
32297 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32298 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32299 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32300 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32301 wcscspn functions.
32302 * sysdeps/s390/multiarch/ifunc-impl-list.c
32303 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32304 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32305 * string/test-strcspn.c: Add wcscspn support.
32306 * wcsmbs/test-wcscspn.c: New File.
32307 * wcsmbs/Makefile (strop-tests): Add wcscspn.
32308 * benchtests/bench-strcspn.c: Add wcscspn support.
32309 * benchtests/bench-wcscspn.c: New File.
32310 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32311
32312 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32313 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32314 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32315 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32316 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32317 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32318 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32319 wcspbrk functions.
32320 * sysdeps/s390/multiarch/ifunc-impl-list.c
32321 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32322 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32323 * string/test-strpbrk.c: Add wcspbrk support.
32324 * wcsmbs/test-wcspbrk.c: New File.
32325 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32326 * benchtests/bench-strpbrk.c: Add wcspbrk support.
32327 * benchtests/bench-wcspbrk.c: New File.
32328 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32329
32330 * sysdeps/s390/multiarch/strspn-c.c: New File.
32331 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32332 * sysdeps/s390/multiarch/strspn.c: Likewise.
32333 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32334 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32335 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32336 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32337 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32338 wcsspn functions.
32339 * sysdeps/s390/multiarch/ifunc-impl-list.c
32340 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32341 * string/test-strspn.c: Add wcsspn support.
32342 * wcsmbs/test-wcsspn.c: New File.
32343 * wcsmbs/Makefile (strop-tests): Add wcsspn.
32344 * benchtests/bench-strspn.c: Add wcsspn support.
32345 * benchtests/bench-wcsspn.c: New File.
32346 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32347
32348 * sysdeps/s390/multiarch/strrchr-c.c: New File.
32349 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32350 * sysdeps/s390/multiarch/strrchr.c: Likewise.
32351 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32352 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32353 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32354 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32355 wcsrchr functions.
32356 * sysdeps/s390/multiarch/ifunc-impl-list.c
32357 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32358 * benchtests/bench-wcsrchr.c: New File.
32359 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32360
32361 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32362 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32363 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32364 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32365 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32366 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32367 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32368 wcschrnul functions.
32369 * sysdeps/s390/multiarch/ifunc-impl-list.c
32370 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32371 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32372 * string/test-strchr.c: Add wcschrnul support.
32373 * wcsmbs/test-wcschrnul.c: New File.
32374 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32375 * benchtests/bench-strchr.c: Add wcschrnul support.
32376 * benchtests/bench-wcschrnul.c: New File.
32377 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32378
32379 * sysdeps/s390/multiarch/strchr-c.c: New File.
32380 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32381 * sysdeps/s390/multiarch/strchr.c: Likewise.
32382 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32383 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32384 * sysdeps/s390/multiarch/wcschr.c: Likewise.
32385 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32386 wcschr functions.
32387 * sysdeps/s390/multiarch/ifunc-impl-list.c
32388 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32389 * string/strchr.c (STRCHR): Define and use macro.
32390 * benchtests/bench-wcschr.c: New File.
32391 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32392
32393 * sysdeps/s390/multiarch/strncmp-c.c: New File.
32394 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32395 * sysdeps/s390/multiarch/strncmp.c: Likewise.
32396 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32397 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32398 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32399 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32400 wcsncmp functions.
32401 * sysdeps/s390/multiarch/ifunc-impl-list.c
32402 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32403 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32404 * benchtests/bench-strncmp.c: Add wcsncmp support.
32405 * benchtests/bench-wcsncmp.c: New File.
32406 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32407
32408 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32409 * sysdeps/s390/multiarch/strcmp.c: Likewise.
32410 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32411 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32412 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32413 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32414 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32415 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32416 wcscmp functions.
32417 * sysdeps/s390/multiarch/ifunc-impl-list.c
32418 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32419 * string/strcmp.c (STRCMP): Define and use macro.
32420 * benchtests/bench-wcscmp.c: New File.
32421 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32422 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32423 instead of _HAVE_STRING_ARCH_memchr.
32424
32425 * sysdeps/s390/multiarch/strncat-c.c: New File.
32426 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32427 * sysdeps/s390/multiarch/strncat.c: Likewise.
32428 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32429 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32430 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32431 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32432 wcsncat functions.
32433 * sysdeps/s390/multiarch/ifunc-impl-list.c
32434 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32435 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32436 * string/test-strncat.c: Add wcsncat support.
32437 * wcsmbs/test-wcsncat.c: New File.
32438 * wcsmbs/Makefile (strop-tests): Add wcsncat.
32439 * benchtests/bench-strncat.c: Add wcsncat support.
32440 * benchtests/bench-wcsncat.c: New File.
32441 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32442
32443 * sysdeps/s390/multiarch/strcat-c.c: New File.
32444 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32445 * sysdeps/s390/multiarch/strcat.c: Likewise.
32446 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32447 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32448 * sysdeps/s390/multiarch/wcscat.c: Likewise.
32449 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32450 wcscat functions.
32451 * sysdeps/s390/multiarch/ifunc-impl-list.c
32452 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32453 * string/strcat.c (STRCAT): Define and use macro.
32454 * wcsmbs/wcscat.c: Use WCSCAT if defined.
32455 * string/test-strcat.c: Add wcscat support.
32456 * wcsmbs/test-wcscat.c: New File.
32457 * wcsmbs/Makefile (strop-tests): Add wcscat.
32458 * benchtests/bench-strcat.c: Add wcscat support.
32459 * benchtests/bench-wcscat.c: New File.
32460 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32461
32462 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32463 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32464 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32465 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32466 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32467 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32468 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32469 wcpncpy functions.
32470 * sysdeps/s390/multiarch/ifunc-impl-list.c
32471 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32472 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32473 * string/test-stpncpy.c: Add wcpncpy support.
32474 * wcsmbs/test-wcpncpy.c: New File.
32475 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32476 * benchtests/bench-stpncpy.c: Add wcpncpy support.
32477 * benchtests/bench-wcpncpy.c: New File.
32478 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32479
32480 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32481 * sysdeps/s390/multiarch/strncpy.c: Likewise.
32482 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32483 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32484 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32485 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32486 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32487 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32488 wcsncpy functions.
32489 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32490 * sysdeps/s390/multiarch/ifunc-impl-list.c
32491 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32492 * string/test-strncpy.c: Add wcsncpy support.
32493 * wcsmbs/test-wcsncpy.c: New File.
32494 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32495 * benchtests/bench-strncpy.c: Add wcsncpy support.
32496 * benchtests/bench-wcsncpy.c: New File.
32497 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32498
32499 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32500 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32501 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32502 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32503 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32504 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32505 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32506 wcpcpy functions.
32507 * string/stpcpy.c: Use STPCPY if defined.
32508 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32509 * sysdeps/s390/multiarch/ifunc-impl-list.c
32510 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32511 * string/test-stpcpy.c: Add wcpcpy support.
32512 * wcsmbs/test-wcpcpy.c: New File.
32513 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32514 * benchtests/bench-stpcpy.c: Add wcpcpy support.
32515 * benchtests/bench-wcpcpy.c: New File.
32516 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32517
32518 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32519 * sysdeps/s390/multiarch/strcpy.c: Likewise.
32520 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32521 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32522 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32523 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32524 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32525 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32526 wcscpy functions.
32527 * sysdeps/s390/multiarch/ifunc-impl-list.c
32528 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32529 * benchtests/bench-wcscpy.c: New File.
32530 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32531
32532 * sysdeps/s390/multiarch/strnlen-c.c: New File.
32533 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32534 * sysdeps/s390/multiarch/strnlen.c: Likewise.
32535 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32536 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32537 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32538 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32539 wcsnlen functions.
32540 * sysdeps/s390/multiarch/ifunc-impl-list.c
32541 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32542 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32543 * string/test-strnlen.c: Add wcsnlen support.
32544 * wcsmbs/test-wcsnlen.c: New File.
32545 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32546 * benchtests/bench-strnlen.c: Add wcsnlen support.
32547 * benchtests/bench-wcsnlen.c: New File.
32548 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32549
32550 * sysdeps/s390/multiarch/Makefile: New File.
32551 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32552 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32553 * sysdeps/s390/multiarch/strlen.c: Likewise.
32554 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32555 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32556 * sysdeps/s390/multiarch/wcslen.c: Likewise.
32557 * string/strlen.c (STRLEN): Define and use macro.
32558 * sysdeps/s390/multiarch/ifunc-impl-list.c
32559 (IFUNC_VX_IMPL): New macro function.
32560 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32561 * benchtests/Makefile (wcsmbs-bench): New variable.
32562 (string-bench-all): Added wcsmbs-bench.
32563 * benchtests/bench-wcslen.c: New File.
32564
32565 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32566 s390_vx_libc_ifunc2): New macro function.
32567
32568 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32569 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32570 assembler support.
32571 * sysdeps/s390/configure: Regenerated.
32572
32573 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32574 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32575
32576 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32577 * sysdeps/s390/dl-procinfo.h: Add vector capability.
32578 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32579
32580 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32581 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32583 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32584 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32585 (memcmp, bcmp): Use __memcmp_default as alias source.
32586 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32587 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32588 Rename to __memcmp_default.
32589 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32590 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32591 (memcpy): Use __memcpy_default as alias source.
32592 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32593 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32594 Rename to __memcpy_default.
32595 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32596 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32597 (memset): Use __memset_default as alias source.
32598 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32599 * sysdeps/s390/s390-32/memset.S (__memset_g5):
32600 Rename to __memset_default.
32601 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32602 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32603 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32604 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32605 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32606 (memcmp, bcmp): Use __memcmp_default as alias source.
32607 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32608 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32609 Rename to __memcmp_default.
32610 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32611 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32612 (memcpy): Use __memcpy_default as alias source.
32613 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32614 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32615 Rename to __memcpy_default.
32616 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32617 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32618 (memset): Use __memset_default as alias source.
32619 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32620 * sysdeps/s390/s390-64/memset.S (__memset_z900):
32621 Rename to __memset_default.
32622 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32623 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32624
32625 [BZ #18610]
32626 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32627 __ieee_instruction_pointer to __unused.
32628 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32629 __ieee_instruction_pointer.
32630 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32631 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32632 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32633 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32634 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32635 Mark dxc-field as reserved.
32636
32637 2015-08-25 Roland McGrath <roland@hack.frob.com>
32638
32639 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32640 if the weak reference is not null.
32641
32642 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32643
32644 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32645
32646 [BZ #11214]
32647 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32648
32649 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32650
32651 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32652 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32653 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32654 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32655 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32656 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32657 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32658 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32659 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32660 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32661 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32662 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32663 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32664 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32665 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32666 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32667 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32668 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32669
32670 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
32671
32672 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32673 register other than r0 for tabort, it has special meaning.
32674 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32675 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32676 transaction before starting syscall.
32677
32678 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32679
32680 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32681
32682 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32683
32684 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32685
32686 * sysdeps/x86_64/rtld-memcmp.c: Removed.
32687 * sysdeps/x86_64/rtld-memset.S: Likewise.
32688 * sysdeps/x86_64/rtld-strchr.S: Likewise.
32689 * sysdeps/x86_64/rtld-strlen.S: Likewise.
32690 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32691 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32692
32693 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32694
32695 2015-08-25 Ondƙej Bílka <neleai@seznam.cz>
32696
32697 * debug/strcpy_chk.c: Improve performance.
32698 * debug/stpcpy_chk.c: Likewise.
32699 * sysdeps/x86_64/strcpy_chk.S: Remove.
32700 * sysdeps/x86_64/stpcpy_chk.S: Remove.
32701
32702 [BZ #18240]
32703 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32704
32705 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
32706
32707 [BZ #15128]
32708 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32709 ifuncmain8.
32710 (modules-names): Add ifuncmod8.
32711 ($(objpfx)ifuncmain8): New rule.
32712 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32713 <cpuid.h>.
32714 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32715 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32716 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32717 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32718 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32719 * sysdeps/x86_64/dl-trampoline.h: Likewise.
32720 * sysdeps/x86_64/ifuncmain8.c: New file.
32721 * sysdeps/x86_64/ifuncmod8.c: Likewise.
32722 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32723 Removed.
32724 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32725 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32726 Change rtld_savespace_sse to __glibc_unused2.
32727 (RTLD_CHECK_FOREIGN_CALL): Removed.
32728 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32729 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32730 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32731
32732 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32733
32734 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32735
32736 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32737
32738 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32739 Unconditionally set __fpcr to avoid uninialized warning.
32740 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32741
32742 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32743
32744 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32745 is corrupt.
32746
32747 * malloc/arena.c (arena_get2): Drop unused argument.
32748 (arena_lock): Adjust.
32749 (arena_get_retry): Likewise.
32750
32751 2015-08-24 Andreas Schwab <schwab@suse.de>
32752
32753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32754 Don't define.
32755 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32756 (__ASSUME_IPC64): Don't undef.
32757 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32758 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32759 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32760 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32761 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32763 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32764 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32765 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32766 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32767 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32768 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32769 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32770 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32771 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32772 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32773 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32774 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32775 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32776 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32777 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32778
32779 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32780
32781 * manual/Makefile (install): Only build manual when perl is available.
32782
32783 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32784
32785 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32786 '#undef memcpy' by '#undef memchr'.
32787
32788 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32789
32790 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32791 memchr not point to the internal __GI_memchr implementation.
32792
32793 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32794
32795 * timezone/Makefile (CFLAGS-zdump.c): Remove
32796 -Wno-strict-prototypes.
32797 (CFLAGS-zic.c): Likewise.
32798 (CFLAGS-ialloc.c): Likewise.
32799 (CFLAGS-scheck.c): Likewise.
32800
32801 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32802 -Wno-error=undef.
32803
32804 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32805
32806 * i386/i686/multiarch/strcasestr-c.c: Removed.
32807 * x86_64/multiarch/strcasestr.c: Likewise.
32808 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32809 Remove strcasestr.
32810
32811 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32812
32813 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32814
32815 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32816 variables for high and low parts before possibly modifying them.
32817
32818 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32819
32820 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32821 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32822 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32823 of "multiarch/init-arch.h".
32824 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32825 * sysdeps/x86/init-arch.h: This.
32826
32827 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32828
32829 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32830 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32831
32832 2015-08-20 Ondƙej Bílka <neleai@seznam.cz>
32833
32834 [BZ #17787]
32835 * manual/macros.texi: Add twoexp macro.
32836 * manual/filesys.texi: Fix exponents.
32837 * manual/llio.texi: Likewise.
32838 * manual/stdio.texi: Likewise.
32839
32840 2015-08-20 Florian Weimer <fweimer@redhat.com>
32841
32842 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32843 incorrect use.
32844
32845 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32846
32847 [BZ #18370]
32848 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32849 whose real or imaginary part has small absolute value.
32850 * math/s_csqrtf.c (__csqrtf): Likewise.
32851 * math/s_csqrtl.c (__csqrtl): Likewise.
32852 * math/auto-libm-test-in: Add more tests of csqrt.
32853 * math/auto-libm-test-out: Regenerated.
32854 * sysdeps/i386/fpu/libm-test-ulps: Update.
32855
32856 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32857
32858 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32859 __ppc_set_ppr_very_low): New functions.
32860 * manual/platform.texi: Add documentation about
32861 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32862
32863 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32864
32865 * string/stpncpy.c (stpncpy): Improve performance using
32866 __strnlen/memcpy/memset.
32867
32868 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32869
32870 [BZ #18796]
32871 * scripts/test-installation.pl: Don't add -lmvec to build options if
32872 libmvec wasn't built.
32873
32874 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32875
32876 [BZ #14341]
32877 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32878 case when there is a gap between DT_REL and DT_JMPREL sections.
32879 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32880 (LDFLAGS-tst-split-dynreloc): New.
32881 (tst-split-dynreloc-ENV): Likewise.
32882 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32883 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32884
32885 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32886
32887 [BZ #18822]
32888 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32889 attribute_hidden.
32890 (__xstat64_conv): Likewise.
32891 (__xstat32_conv): Likewise.
32892
32893 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32894
32895 [BZ #18822]
32896 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32897 Don't load %ebx when calling __setcontext. Call __setcontext
32898 with HIDDEN_JUMPTARGET.
32899 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32900 libc_hidden_def.
32901
32902 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32903
32904 * sysdeps/i386/i686/Makefile
32905 [$(subdir) == string] (sysdep_routines): Moved to ...
32906 * sysdeps/i386/Makefile: Here.
32907 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32908 * sysdeps/i386/cacheinfo.c: Here.
32909 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32910 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32911 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32912 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32913
32914 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32917 __i586__ is defined.
32918 (HAS_I686): Defined to 1 if __i686__ is defined.
32919
32920 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32921
32922 * elf/Makefile [$(have-z-execstack) = yes]
32923 (CPPFLAGS-tst-execstack.c): New variable.
32924
32925 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32926 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32927 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32928 UTMPX || _HAVE_UT_TV].
32929 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32930 UTMPX || _HAVE_UT_TV - 0].
32931
32932 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32933
32934 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32935 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32936 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32937
32938 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32939
32940 * sysdeps/powerpc/dl-procinfo.c:
32941 (_dl_powerpc_cap_flags): Added missing strings for some
32942 hwcap features.
32943 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32944
32945 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32946
32947 Port the 0x7efe...feff pattern to GCC 6.
32948 See Steve Ellcey's bug report in:
32949 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32950 * string/memrchr.c (MEMRCHR):
32951 * string/rawmemchr.c (RAWMEMCHR):
32952 * string/strchr.c (strchr):
32953 * string/strchrnul.c (STRCHRNUL):
32954 Rewrite code to avoid issues with signed shift overflow.
32955
32956 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32957
32958 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32959 whether cpuid is available only if HAS_CPUID is 0.
32960 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32961 (HAS_I586): Likewise.
32962 (HAS_I686): Likewise.
32963
32964 2015-08-18 Zack Weinberg <zackw@panix.com>
32965
32966 * misc/Versions (libc): Add GLIBC_2.23.
32967
32968 2015-08-18 Alan Modra <amodra@gmail.com>
32969
32970 [BZ #18421]
32971 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32972 .Lp__global.
32973 (_start): Load %dp via .Lp__global.
32974 [!SHARED]: Use .section .rodata.
32975
32976 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32977
32978 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32979 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32980
32981 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32982
32983 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32984 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32985
32986 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32987
32988 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32989 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32990
32991 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32992
32993 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32994 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32995
32996 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32997
32998 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32999 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33000
33001 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33002
33003 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33004 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33005
33006 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33007
33008 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33009
33010 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33011
33012 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33013 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
33014 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33015 (__ASSUME_LWS_CAS): Delete.
33016
33017 2015-08-18 Mike Frysinger <vapier@gentoo.org>
33018
33019 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33020 * sysdeps/hppa/configure: Regenerated.
33021 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33022 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33023 * sysdeps/hppa/nptl/tls.h: Likewise.
33024
33025 2015-08-17 Joseph Myers <joseph@codesourcery.com>
33026
33027 [BZ #18823]
33028 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33029 for scaling up small arguments.
33030 * math/s_csqrtf.c (__csqrtf): Likewise.
33031 * math/s_csqrtl.c (__csqrtl): Likewise.
33032 * math/auto-libm-test-in: Add more tests of csqrt.
33033 * math/auto-libm-test-out: Regenerated.
33034
33035 2015-08-17 Andreas Schwab <schwab@suse.de>
33036
33037 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33038 version set GLIBC_2.19.
33039
33040 2015-08-16 Zack Weinberg <zackw@panix.com>
33041
33042 [BZ #18681]
33043 * misc/regexp.h: This interface is no longer supported.
33044 Remove all contents, leaving only an #error directive.
33045 * misc/regexp.c (loc1, loc2, locs, step, advance):
33046 Demote to compatibility symbols.
33047
33048 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
33049
33050 [BZ #18084]
33051 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33052 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33053 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33054 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33055 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33056 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33057 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33058 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33059 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33060
33061 2015-08-15 Zack Weinberg <zackw@panix.com>
33062
33063 [BZ #18795]
33064 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33065 buffer length is known to be too large, not if it's known to be
33066 small enough.
33067 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33068 overflow at runtime, involving a length parameter, twice: once
33069 with a compile-time constant length parameter, once without.
33070
33071 2015-08-14 Joseph Myers <joseph@codesourcery.com>
33072
33073 [BZ #18824]
33074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33075 scaling x * y up instead of down.
33076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33078 * math/auto-libm-test-in: Add more tests of fma.
33079 * math/auto-libm-test-out: Regenerated.
33080
33081 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
33082
33083 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33084
33085 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33086
33087 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33088 unnecessary movq.
33089 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33090 Likewise.
33091
33092 2015-08-13 Joseph Myers <joseph@codesourcery.com>
33093
33094 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33095 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33096 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33097 and tgamma.
33098 * math/auto-libm-test-out: Regenerated.
33099 * sysdeps/i386/fpu/libm-test-ulps: Update.
33100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33101
33102 [BZ #16520]
33103 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33104 (__tanh): Force underflow exception for arguments with small
33105 absolute value.
33106 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33107 (__tanhf): Force underflow exception for arguments with small
33108 absolute value.
33109 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33110 (__tanhl): Force underflow exception for arguments with small
33111 absolute value.
33112 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33113 (__tanhl): Force underflow exception for arguments with small
33114 absolute value.
33115 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33116 (__tanhl): Force underflow exception for arguments with small
33117 absolute value.
33118 * math/auto-libm-test-in: Add more tests of tanh.
33119 * math/auto-libm-test-out: Regenerated.
33120 * sysdeps/i386/fpu/libm-test-ulps: Update.
33121
33122 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33123
33124 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33125 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33126
33127 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33128
33129 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33130 <cpuid.h>.
33131
33132 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33133
33134 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33135 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33136
33137 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33138
33139 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33140 Remove $(objpfx)init-arch.o.
33141 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33142 init-arch.
33143 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33144 (INIT_ARCH_EXT): Defined as empty.
33145 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33146 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33147 __init_cpu_features call. Replace HAS_XXX with
33148 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33149 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33150 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33151 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33152 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33153 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33154 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33155 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33156 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33157 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33158 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33159 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33160 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33161 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33162 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33163 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33166 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33167 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33168 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33169 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33170 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33171 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33172 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33173 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33174 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33175 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33176 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33177 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33178 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33179 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33180 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33181 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33182 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33183 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33184
33185 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33186
33187 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33188 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33189 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33190 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33191 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33192 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33193 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33194 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33195 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33196 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33197 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33198 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
33199 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33200 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33201 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33202 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33203 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33204 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33205 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33206 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33207 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33208 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33209 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33210 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33211 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33212 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33213 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33214 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33215 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33216 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33217 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33218 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33219 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33220 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33221 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33222 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33223 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33224 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33225 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33226 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33227 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33228 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33229 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33230
33231 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33232
33233 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33234 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33237 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33238 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33240 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33241 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33244 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33245 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33246 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33247 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33248 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33249 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33250 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33251 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33252 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33254 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33255 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33256 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33257 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33258 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33259 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33260 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
33261 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33262 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33263 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33264 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33265 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33266 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33267 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33268 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33269 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33270 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33271 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33272 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33273 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33274 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33275 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33276
33277 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
33278
33279 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33280 (dl_platform_init): Call init_cpu_features.
33281 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33282 * sysdeps/i386/i686/cacheinfo.c
33283 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33284 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33285 * sysdeps/i386/i686/multiarch/Versions: Removed.
33286 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33287 Removed.
33288 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33289 * sysdeps/unix/sysv/linux/x86/Makefile
33290 (libpthread-sysdep_routines): Remove init-arch.
33291 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33292 <sysdeps/x86_64/dl-procinfo.c> instead of
33293 sysdeps/generic/dl-procinfo.c>.
33294 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33295 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33296 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33297 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33298 [$(subdir) == elf] (tests-static): Add
33299 tst-get-cpu-features-static.
33300 * sysdeps/x86/Versions: New file.
33301 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33302 * sysdeps/x86/cpu-features.c: Likewise.
33303 * sysdeps/x86/cpu-features.h: Likewise.
33304 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33305 * sysdeps/x86/libc-start.c: Likewise.
33306 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33307 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33308 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33309 * sysdeps/x86_64/dl-procinfo.c: Likewise.
33310 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33311 Assume USE_MULTIARCH is defined and don't check it.
33312 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33313 (is_amd): Likewise.
33314 (max_cpuid): Likewise.
33315 (intel_check_word): Likewise.
33316 (__cache_sysconf): Don't call __init_cpu_features.
33317 (__x86_preferred_memory_instruction): Removed.
33318 (init_cacheinfo): Don't call __init_cpu_features. Replace
33319 __cpu_features with GLRO(dl_x86_cpu_features).
33320 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33321 (dl_platform_init): Call init_cpu_features.
33322 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33323 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33324 * sysdeps/x86_64/multiarch/Versions: Removed.
33325 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33326 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33327 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33328 Removed.
33329 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33330
33331 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33332
33333 [BZ #18820]
33334 * libio/Makefile (test-fmemopen-mem): New test.
33335 * libio/test-fmemopen.c (do_bz18820): New test.
33336 * libio/fmemopen.c (__fmemopen): Fix memory leak.
33337 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33338
33339 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
33340
33341 [BZ #16734]
33342 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33343 (FREE_BUF): Delete.
33344 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33345 * libio/genops.c (_IO_setb): Use malloc and free directly.
33346 (_IO_default_doallocate, _IO_default_finish): Likewise.
33347 ( _IO_unbuffer_all): Likewise.
33348 ( libc_freeres_fn): Likewise.
33349 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33350 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33351 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33352 (_IO_wdefault_doallocate): Likewise.
33353
33354 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
33355
33356 [BZ #18086]
33357 * sysdeps/posix/nice.c (nice): Restore old errno.
33358 * posix/tst-nice.c (do_test): Add test for BZ #18086.
33359
33360 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
33361
33362 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33363
33364 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33365
33366 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33367 __bcopy and add a weak_alias to bcopy.
33368 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33369 for static build.
33370
33371 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33372 cleanup macro usage.
33373 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33374 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33375 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33376 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33377 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33378 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33379 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33380 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33381 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33382 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33383 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33384 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33385 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33386 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33388 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33389 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33390 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33391 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33392
33393 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33394 libc_hidden_def.
33395 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33396
33397 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33398 (sysdep_routines): Add strstr-ppc64.
33399 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33400
33401 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
33402
33403 [BZ #18778]
33404 * elf/Makefile (tests): Add Add tst-nodelete2.
33405 (modules-names): Add tst-nodelete2mod.
33406 (tst-nodelete2mod.so-no-z-defs): New.
33407 ($(objpfx)tst-nodelete2): Likewise.
33408 ($(objpfx)tst-nodelete2.out): Likewise.
33409 (LDFLAGS-tst-nodelete2): Likewise.
33410 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33411 out of loop through all loaded libraries.
33412 * elf/tst-nodelete2.c: New file.
33413 * elf/tst-nodelete2mod.c: Likewise.
33414 * elf/tst-znodelete-zlib.cc: Delete.
33415
33416 2015-08-11 Andreas Schwab <schwab@suse.de>
33417
33418 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33419 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33420 (__openat64_nocancel): Likewise.
33421
33422 2015-08-11 Joseph Myers <joseph@codesourcery.com>
33423
33424 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33425 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33426 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33427 * math/auto-libm-test-out: Regenerated.
33428 * sysdeps/i386/fpu/libm-test-ulps: Update.
33429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33430
33431 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33432
33433 [BZ #18790]
33434 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33435 threshold for returning +/- 1.
33436 * math/auto-libm-test-in: Add more tests of tanh.
33437 * math/auto-libm-test-out: Regenerated.
33438 * sysdeps/i386/fpu/libm-test-ulps: Update.
33439
33440 2015-08-10 Andreas Schwab <schwab@suse.de>
33441
33442 [BZ #18781]
33443 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33444 MORE_OFLAGS to oflag.
33445 * io/test-lfs.c (do_test): Test openat64.
33446
33447 2015-08-10 Joseph Myers <joseph@codesourcery.com>
33448
33449 [BZ #18789]
33450 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33451 smaller threshold for returning the argument.
33452 * math/auto-libm-test-in: Add more tests of sinh.
33453 * math/auto-libm-test-out: Regenerated.
33454 * sysdeps/i386/fpu/libm-test-ulps: Update.
33455
33456 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
33457
33458 [BZ #18674]
33459 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33460 break.
33461
33462 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
33463
33464 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33465 (generated): Don't add $(addprefix z.,$(tzfiles)).
33466
33467 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33468
33469 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33470 * scripts/sysd-rules.awk: Likewise.
33471
33472 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33473
33474 * iconvdata/tst-tables.sh: Change echo -n to printf.
33475 * nss/db-Makefile: Likewise.
33476 * posix/tst-getconf.sh: Likewise.
33477 * stdio-common/tst-unbputc.sh: Likewise.
33478
33479 2015-08-09 Mike Frysinger <vapier@gentoo.org>
33480
33481 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33482 MADV_*_PAGES defines behind this feature check.
33483
33484 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
33485
33486 [BZ #18480]
33487 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33488 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33489 Define.
33490 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33491 LOAD_REGS_5, LOAD_REGS_6): Update.
33492 (INTERNAL_SYSCALL): Update using new LOAD defines.
33493 (INTERNAL_SYSCALL_NCS): Likewise.
33494 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33495
33496 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33497
33498 [BZ #16734]
33499 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33500
33501 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33502
33503 [BZ #17905]
33504 * catgets/Makefile (tst-catgets-mem): New test.
33505 * catgets/catgets.c (catopen): Don't use unbounded alloca.
33506 * catgets/open_catalog.c (__open_catalog): Likewise.
33507 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33508
33509 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
33510
33511 [BZ #18787]
33512 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33513 clobber registers.
33514 (atomic_compare_and_exchange_val_acq): Use register asms to assign
33515 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33516 Cast return to __typeof (oldval).
33517
33518 2015-08-08 Mike Frysinger <vapier@gentoo.org>
33519
33520 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33521 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
33522 and delete sys/syscall.h include.
33523
33524 2015-08-07 Joseph Myers <joseph@codesourcery.com>
33525
33526 [BZ #16517]
33527 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33528 (tan): Force underflow exception for arguments with small absolute
33529 value.
33530 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33531 (__kernel_tanf): Force underflow exception for arguments with
33532 small absolute value.
33533 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33534 (__kernel_tanl): Force underflow exception for arguments with
33535 small absolute value.
33536 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33537 (__kernel_tanl): Force underflow exception for arguments with
33538 small absolute value.
33539 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33540 (__kernel_tanl): Force underflow exception for arguments with
33541 small absolute value.
33542 * math/auto-libm-test-in: Add more tests of tan.
33543 * math/auto-libm-test-out: Regenerated.
33544
33545 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33546
33547 Fix sysdeps/i386/fpu/s_scalbn.S build
33548
33549 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33550
33551 2015-08-07 Mike Frysinger <vapier@gentoo.org>
33552
33553 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33554
33555 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33556
33557 Fix gcrt0.o compilation
33558
33559 When static-start-installed-name is different from
33560 start-installed-name, we must not use the shared objects.
33561
33562 * csu/Makefile
33563 (extra-objs): Add gmon-start.o when building shared library and
33564 $(static-start-installed-name) is different from
33565 $(start-installed-name).
33566 $(objpfx)g$(static-start-installed-name): When building shared
33567 library and $(static-start-installed-name) is different from
33568 $(static-start-installed-name), revert to non-shared rule,
33569 i.e. using $(objpfx)% and gmon-start.o.
33570
33571 2015-08-06 Joseph Myers <joseph@codesourcery.com>
33572
33573 [BZ #16519]
33574 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33575 (__ieee754_sinh): Force underflow exception for arguments with
33576 small absolute value.
33577 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33578 (__ieee754_sinhf): Force underflow exception for arguments with
33579 small absolute value.
33580 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33581 (__ieee754_sinhl): Force underflow exception for arguments with
33582 small absolute value.
33583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33584 (__ieee754_sinhl): Force underflow exception for arguments with
33585 small absolute value.
33586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33587 (__ieee754_sinhl): Force underflow exception for arguments with
33588 small absolute value.
33589 * math/auto-libm-test-in: Add more tests of sinh.
33590 * math/auto-libm-test-out: Regenerated.
33591 * sysdeps/i386/fpu/libm-test-ulps: Update.
33592
33593 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33594
33595 * libio/oldfileops.c: Include unistd.h.
33596
33597 2015-08-06 Mike Frysinger <vapier@gentoo.org>
33598
33599 * stdlib/isomac.c: Include ctype.h.
33600
33601 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
33602
33603 * dirent/tst-seekdir.c (main): Converted to ...
33604 (do_test): ... this.
33605 (TEST_FUNCTION): New macro.
33606 Include test-skeleton.c.
33607 * elf/tst-dlmodcount.c (main): Converted to ...
33608 (do_test): ... this.
33609 (TEST_FUNCTION): New macro.
33610 Include test-skeleton.c.
33611 * elf/tst-order-main.c (main): Converted to ...
33612 (do_test): ... this.
33613 (TEST_FUNCTION): New macro.
33614 Include test-skeleton.c.
33615 * elf/tst-pie2.c (main): Converted to ...
33616 (do_test): ... this.
33617 (TEST_FUNCTION): New macro.
33618 Include test-skeleton.c.
33619 * inet/tst-ether_aton.c (main): Converted to ...
33620 (do_test): ... this.
33621 (TEST_FUNCTION): New macro.
33622 Include test-skeleton.c.
33623 * misc/tst-mntent.c (main): Converted to ...
33624 (do_test): ... this.
33625 (TEST_FUNCTION): New macro.
33626 Include test-skeleton.c.
33627 * misc/tst-tsearch.c (main): Converted to ...
33628 (do_test): ... this.
33629 (TEST_FUNCTION): New macro.
33630 Include test-skeleton.c.
33631 * posix/tst-regexloc.c (main): Converted to ...
33632 (do_test): ... this.
33633 (TEST_FUNCTION): New macro.
33634 Include test-skeleton.c.
33635 * resolv/tst-aton.c (main): Converted to ...
33636 (do_test): ... this.
33637 (TEST_FUNCTION): New macro.
33638 Include test-skeleton.c.
33639 * stdio-common/test-fwrite.c (main): Converted to ...
33640 (do_test): ... this.
33641 (TEST_FUNCTION): New macro.
33642 Include test-skeleton.c.
33643 * stdio-common/tst-ferror.c (main): Converted to ...
33644 (do_test): ... this.
33645 (TEST_FUNCTION): New macro.
33646 Include test-skeleton.c.
33647 * stdio-common/tst-printf.c (main): Converted to ...
33648 (do_test): ... this.
33649 (TEST_FUNCTION): New macro.
33650 Include test-skeleton.c.
33651 * stdio-common/tst-printfsz.c (main): Converted to ...
33652 (do_test): ... this.
33653 (TEST_FUNCTION): New macro.
33654 Include test-skeleton.c.
33655 * stdlib/tst-strtod.c (main): Converted to ...
33656 (do_test): ... this.
33657 (TEST_FUNCTION): New macro.
33658 Include test-skeleton.c.
33659 * string/tst-strlen.c (main): Converted to ...
33660 (do_test): ... this.
33661 (TEST_FUNCTION): New macro.
33662 Include test-skeleton.c.
33663 * string/tst-svc.c (main): Converted to ...
33664 (do_test): ... this.
33665 (TEST_FUNCTION): New macro.
33666 Include test-skeleton.c.
33667 * time/tst-strptime.c (main): Converted to ...
33668 (do_test): ... this.
33669 (TEST_FUNCTION): New macro.
33670 Include test-skeleton.c.
33671 * timezone/tst-timezone.c (main): Converted to ...
33672 (do_test): ... this.
33673 (TEST_FUNCTION): New macro.
33674 Include test-skeleton.c.
33675
33676 2015-08-05 Zack Weinberg <zackw@panix.com>
33677
33678 * misc/regexp.h: Update comments.
33679
33680 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
33681
33682 [BZ #18635]
33683 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33684 before return label.
33685
33686 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33687
33688 [BZ #18661]
33689 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33690 when calling __errno_location.
33691 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33692 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33693
33694 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33695
33696 [BZ #18661]
33697 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33698 (__lll_timedwait_tid): Align stack to 16 bytes when calling
33699 __gettimeofday.
33700
33701 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33702
33703 [BZ #18661]
33704 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33705 (__start_context): Don't use pop to restore %rdi so that stack
33706 is aligned to 16 bytes when calling __setcontext.
33707
33708 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33709
33710 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33711 only for libc.
33712 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33713
33714 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33715
33716 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33717 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
33718 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33719
33720 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33721
33722 * string/memccpy.c (memccpy):
33723 Improve performance by using memchr/memcpy/__mempcpy.
33724
33725 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33726
33727 * string/strncpy.c (strncpy):
33728 Improve performance by using __strnlen/memcpy.
33729
33730 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33731
33732 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33733 Optimize to avoid an unnecessary FPCR read.
33734
33735 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33736
33737 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33738 Optimize to reduce FPCR/FPSR accesses.
33739
33740 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33741
33742 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33743 dead->data[category] != NULL.
33744
33745 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33746
33747 [BZ #18647]
33748 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33749 and |x| close to 1, use absolute value of x when computing log.
33750 * math/auto-libm-test-in: Add more tests of pow.
33751 * math/auto-libm-test-out: Regenerated.
33752
33753 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33754
33755 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33756 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33757 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33758
33759 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33760
33761 [BZ #18525]
33762 * locales/km_KH: Remove timezone definition.
33763 * locales/lo_LA: Likewise.
33764 * locales/my_MM: Likewise.
33765 * locales/nan_TW@latin: Likewise.
33766 * locales/th_TH: Likewise.
33767 * locales/uk_UA: Likewise.
33768
33769 2015-08-05 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
33770
33771 [BZ #18265]
33772 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33773 (wcsncat): Likewise.
33774 (wcscmp): Likewise.
33775 (wcsncmp): Likewise.
33776
33777 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33778
33779 * test-skeleton.c (usage): New function.
33780 (main): Call usage when opt is '?'.
33781
33782 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33783
33784 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33785 before first use.
33786
33787 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33788
33789 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33790 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33791 in there too.
33792
33793 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33794
33795 * version.h (RELEASE): Set to "development".
33796 (VERSION): Set to "2.22.90"
33797
33798 * version.h (RELEASE): Set to "stable".
33799 (VERSION): Set to "2.22"
33800 * include/features.h (__GLIBC_MINOR__): Set to 22.
33801
33802 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33803
33804 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33805 Restructure macro to avoid "value computed is not used" warning.
33806 (atomic_compare_and_exchange_val_acq): Likewise.
33807
33808 2015-08-04 Andreas Schwab <schwab@suse.de>
33809
33810 [BZ #18635]
33811 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33812 ret.
33813 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33814
33815 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33816
33817 * po/pl.po: Updated translation.
33818 * po/uk.po: Likewise.
33819 * po/fi.po: Likewise.
33820 * po/ko.po: Likewise.
33821 * po/ru.po: Likewise.
33822 * po/vi.po: Likewise.
33823
33824 2015-07-31 Zack Weinberg <zackw@panix.com>
33825
33826 [BZ #18681]
33827 * regexp.h: Add unconditional #warning stating that this header
33828 will be removed soon. Revise banner comment to match.
33829 (compile): Consistently use ERROR instead of RETURN to report
33830 errors (partial fix for BZ #18681).
33831 * regexp.c: Don't include regexp.h. Remove some unnecessary
33832 declarations.
33833
33834 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33835
33836 * po/libc.pot: Regenerated.
33837
33838 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33839
33840 [BZ #18740]
33841 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33842 float-vlen4-arch-ext-cflags): Removed.
33843 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33844 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33845
33846 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33847
33848 [BZ #14113]
33849 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33850 aligned to __aligned__.
33851 (pthread_cond_t, pthread_rwlock_t): Likewise.
33852
33853 2015-07-30 Torvald Riegel <triegel@redhat.com>
33854
33855 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33856
33857 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33858
33859 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33860 (struct sigaction): Change sa_flags from a long to an int, and add
33861 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33862
33863 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33864
33865 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33866 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33867 sysdeps/generic/sysdep.h include.
33868 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33869 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33870 sysdeps/hppa/sysdep.h.
33871 (ENTRY, PSEUDO): Undefine before defining.
33872
33873 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33874
33875 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33876 from scratch to use INTERNAL_SYSCALL.
33877
33878 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33879
33880 [BZ #18078]
33881 * scripts/check-localplt.awk: Support alternate relocations.
33882 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33883 sections.
33884 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33885 malloc entries with + REL R_386_GLOB_DAT.
33886 * sysdeps/x86_64/localplt.data: New file.
33887
33888 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33889
33890 [BZ #18731]
33891 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33892 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33893 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33894
33895 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33896
33897 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33898
33899 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33900
33901 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33902 directly in terms of __sync_fetch_and_add and delete (int) cast.
33903
33904 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33905
33906 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33907 the -D_ASM_IA64_CURRENT_H flag.
33908
33909 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33910
33911 [BZ #18641]
33912 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33913
33914 2015-07-27 Andreas Schwab <schwab@suse.de>
33915
33916 * conform/conformtest.pl (checknamespace): Filter out string
33917 literals while tokenizing.
33918
33919 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33920
33921 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33922 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33923 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33924
33925 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33926
33927 * nptl/tst-join7mod.c: Add #include <string.h>.
33928
33929 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33930
33931 * sysdeps/nios2/libm-test-ulps: Update.
33932
33933 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33934
33935 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33936 Fix order of arguments to the rt_sigprocmask syscall.
33937 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33938 Likewise.
33939
33940 2015-07-24 Roland McGrath <roland@hack.frob.com>
33941
33942 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33943
33944 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33945
33946 [BZ #18457]
33947 * nptl/Makefile (tests): New test case tst-join7.
33948 (modules-names): New test case module tst-join7mod.
33949 * nptl/tst-join7.c: New file.
33950 * nptl/tst-join7mod.c: New file.
33951 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33952 all translation units in libc.so, libpthread.so and rtld.
33953
33954 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33955
33956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33957
33958 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33959
33960 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33961 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33962 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33964 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33966 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33967 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33968 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33969 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33970 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33971 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33972 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33973 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33974 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33975 implementation.
33976
33977 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33978
33979 [BZ #17711]
33980 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33981 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33982 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33983 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33984 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33985 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33986
33987 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33988
33989 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33990 instead of just saying load lock in the comments.
33991
33992 2015-07-23 Roland McGrath <roland@hack.frob.com>
33993
33994 * sysdeps/unix/Subdirs: Moved ...
33995 * sysdeps/posix/Subdirs: ... here.
33996 * login/pty.h (struct termios, struct winsize): Add forward decls.
33997 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33998 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33999 * sysdeps/arm/nacl/libc.abilist: Updated.
34000 * sysdeps/nacl/libutil.abilist: New file.
34001
34002 * bits/signum.h: Update comments to mention 1003.1-2013 too.
34003 (SIGWINCH): New macro.
34004
34005 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34006 * sysdeps/arm/nacl/libc.abilist: Add it.
34007
34008 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34009
34010 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34011
34012 2015-07-23 Mike Frysinger <vapier@gentoo.org>
34013
34014 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34015 Swap __glibc_reserved0 and sa_flags order.
34016
34017 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34018
34019 [BZ #18657]
34020 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34021 are pending TLS destructor calls.
34022 * include/link.h (struct link_map): Add concurrency note for
34023 L_TLS_DTOR_COUNT.
34024 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34025 Don't touch the link map flag. Atomically increment
34026 l_tls_dtor_count.
34027 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34028 Avoid taking the load lock and don't touch the link map flag.
34029 * stdlib/tst-tls-atexit-nodelete.c: New test case.
34030 * stdlib/Makefile (tests): Use it.
34031 * stdlib/tst-tls-atexit.c (do_test): dlopen
34032 tst-tls-atexit-lib.so again before dlclose. Add conditionals
34033 to allow tst-tls-atexit-nodelete test case to use it.
34034
34035 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34036
34037 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34038 to bits/types.h.
34039 (msgqnum_t): New typedef.
34040 (msglen_t): Likewise.
34041 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
34042 and msg_qbytes type to msglen_t.
34043
34044 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34045
34046 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34047 pad0 to __glibc_reserved0.
34048 (struct stat64): Likewise.
34049
34050 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34051
34052 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34053 Change sa_flags from a long to an int and add __glibc_reserved0 before
34054 it for padding.
34055
34056 2015-07-22 Mike Frysinger <vapier@gentoo.org>
34057
34058 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34059 anonymous by deleting "siginfo" name.
34060
34061 2015-07-21 Roland McGrath <roland@hack.frob.com>
34062
34063 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34064 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34065 rather than __nacl_irt_filename.
34066 * sysdeps/nacl/xstat.c (__xstat): Likewise.
34067
34068 * NEWS: New item for arm-nacl port.
34069 * sysdeps/arm/nacl/libc.abilist: New file.
34070 * sysdeps/nacl/ld.abilist: New file.
34071 * sysdeps/nacl/libBrokenLocale.abilist: New file.
34072 * sysdeps/nacl/libanl.abilist: New file.
34073 * sysdeps/nacl/libcrypt.abilist: New file.
34074 * sysdeps/nacl/libdl.abilist: New file.
34075 * sysdeps/nacl/libm.abilist: New file.
34076 * sysdeps/nacl/libpthread.abilist: New file.
34077 * sysdeps/nacl/libresolv.abilist: New file.
34078 * sysdeps/nacl/librt.abilist: New file.
34079
34080 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
34081
34082 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34083 __startcontext to initialize the new context.
34084 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34085 up CFI directive to forbid further backtracing.
34086
34087 2015-07-21 Marko Myllynen <myllynen@redhat.com>
34088
34089 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34090 reference.
34091 * charmaps/ANSI_X3.4-1968: Likewise.
34092 * charmaps/BS_4730: Likewise.
34093 * charmaps/BS_VIEWDATA: Likewise.
34094 * charmaps/CP1250: Likewise.
34095 * charmaps/CP1251: Likewise.
34096 * charmaps/CP1252: Likewise.
34097 * charmaps/CP1253: Likewise.
34098 * charmaps/CP1254: Likewise.
34099 * charmaps/CP1255: Likewise.
34100 * charmaps/CP1256: Likewise.
34101 * charmaps/CSN_369103: Likewise.
34102 * charmaps/EBCDIC-DK-NO: Likewise.
34103 * charmaps/GB_1988-80: Likewise.
34104 * charmaps/GREEK-CCITT: Likewise.
34105 * charmaps/GREEK7: Likewise.
34106 * charmaps/INIS-8: Likewise.
34107 * charmaps/ISIRI-3342: Likewise.
34108 * charmaps/ISO_2033-1983: Likewise.
34109 * charmaps/ISO_5427-EXT: Likewise.
34110 * locales/POSIX: Likewise.
34111 * locales/ar_SA: Likewise.
34112 * locales/be_BY: Likewise.
34113 * locales/be_BY@latin: Likewise.
34114 * locales/ca_ES: Likewise.
34115 * locales/cs_CZ: Likewise.
34116 * locales/da_DK: Likewise.
34117 * locales/de_BE: Likewise.
34118 * locales/de_CH: Likewise.
34119 * locales/de_LU: Likewise.
34120 * locales/en_AU: Likewise.
34121 * locales/en_BW: Likewise.
34122 * locales/en_CA: Likewise.
34123 * locales/en_DK: Likewise.
34124 * locales/en_GB: Likewise.
34125 * locales/en_IE: Likewise.
34126 * locales/en_NZ: Likewise.
34127 * locales/en_ZA: Likewise.
34128 * locales/en_ZW: Likewise.
34129 * locales/es_AR: Likewise.
34130 * locales/es_BO: Likewise.
34131 * locales/es_CL: Likewise.
34132 * locales/es_CO: Likewise.
34133 * locales/es_DO: Likewise.
34134 * locales/es_EC: Likewise.
34135 * locales/es_ES: Likewise.
34136 * locales/es_HN: Likewise.
34137 * locales/es_MX: Likewise.
34138 * locales/es_PA: Likewise.
34139 * locales/es_PE: Likewise.
34140 * locales/es_PY: Likewise.
34141 * locales/es_SV: Likewise.
34142 * locales/es_US: Likewise.
34143 * locales/es_UY: Likewise.
34144 * locales/es_VE: Likewise.
34145 * locales/et_EE: Likewise.
34146 * locales/fa_IR: Likewise.
34147 * locales/fo_FO: Likewise.
34148 * locales/fr_CA: Likewise.
34149 * locales/fr_CH: Likewise.
34150 * locales/gv_GB: Likewise.
34151 * locales/he_IL: Likewise.
34152 * locales/hr_HR: Likewise.
34153 * locales/id_ID: Likewise.
34154 * locales/is_IS: Likewise.
34155 * locales/it_CH: Likewise.
34156 * locales/iw_IL: Likewise.
34157 * locales/kl_GL: Likewise.
34158 * locales/ko_KR: Likewise.
34159 * locales/kw_GB: Likewise.
34160 * locales/lg_UG: Likewise.
34161 * locales/lt_LT: Likewise.
34162 * locales/lv_LV: Likewise.
34163 * locales/mi_NZ: Likewise.
34164 * locales/nhn_MX: Likewise.
34165 * locales/nl_BE: Likewise.
34166 * locales/pl_PL: Likewise.
34167 * locales/sk_SK: Likewise.
34168 * locales/sl_SI: Likewise.
34169 * locales/sv_FI: Likewise.
34170 * locales/tl_PH: Likewise.
34171 * locales/tr_TR: Likewise.
34172 * locales/vi_VN: Likewise.
34173
34174 2015-07-21 Khem Raj <raj.khem@gmail.com>
34175
34176 [BZ #17475]
34177 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34178 of tu_IN and bh_IN.
34179
34180 2015-07-21 Mike Frysinger <vapier@gentoo.org>
34181
34182 [BZ #18694]
34183 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34184 bits/wordsize.h.
34185 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34186
34187 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34188
34189 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34190 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34191 (spawn_thread): New function.
34192 (load): Rename to reg_dtor_and_close. Move dlopen to...
34193 (do_test): ... here. Use IS_LOADED to test for its
34194 availability.
34195
34196 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
34197
34198 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34199
34200 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
34201
34202 [BZ #18696]
34203 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34204 si_addr_bnd.
34205 (si_lower): New.
34206 (si_upper): Likewise.
34207
34208 2015-07-16 David S. Miller <davem@davemloft.net>
34209
34210 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34211
34212 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34213
34214 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34215 buffer.
34216 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34217 fail output information.
34218
34219 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34220
34221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34222 and strstr-ppc64..
34223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34224 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34225 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34226 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34227 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34228
34229 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34230
34231 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34232 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34233 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34234 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34235
34236 2015-07-16 Mike Frysinger <vapier@gentoo.org>
34237
34238 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34239 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34240 rtld_hidden_proto.
34241 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34242
34243 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34244
34245 * tst-nodelete-opened.c (do_test): Add comment to clarify how
34246 the test can fail.
34247
34248 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34249
34250 [BZ #18676]
34251 * elf/tst-nodelete-opened.c: New test case.
34252 * elf/tst-nodelete-opened-lib.c: New test case module.
34253 * elf/Makefile (tests, modules-names): Use them.
34254 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34255 early.
34256
34257 2015-07-15 David S. Miller <davem@davemloft.net>
34258
34259 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34260 futex-intenal.h
34261 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34262 * sysdeps/sparc/sparc64/Makefile: Likewise.
34263 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34264 Remove space from macro define.
34265 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34266
34267 2015-07-15 Pravin Satpute <psatpute@redhat.com>
34268
34269 [BZ #17475]
34270 * locale/iso-639.def: Update Bhili and Tulu language codes as
34271 per iso639-3.
34272
34273 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
34274
34275 * elf/tst-leaks1.c (main): Converted to ...
34276 (do_test): ... this.
34277 (TEST_FUNCTION): New macro.
34278 Include test-skeleton.c.
34279 * localedata/tst-langinfo.c (main): Converted to ...
34280 (do_test): ... this.
34281 (TEST_FUNCTION): New macro.
34282 Include test-skeleton.c.
34283 * math/test-fpucw.c (main): Converted to ...
34284 (do_test): ... this.
34285 (TEST_FUNCTION): New macro.
34286 Include test-skeleton.c.
34287 * math/test-tgmath.c (main): Converted to ...
34288 (do_test): ... this.
34289 (TEST_FUNCTION): New macro.
34290 Include test-skeleton.c.
34291 * math/test-tgmath2.c (main): Converted to ...
34292 (do_test): ... this.
34293 (TEST_FUNCTION): New macro.
34294 Include test-skeleton.c.
34295 * setjmp/tst-setjmp.c (main): Converted to ...
34296 (do_test): ... this.
34297 (TEST_FUNCTION): New macro.
34298 Include test-skeleton.c.
34299 * stdio-common/tst-sscanf.c (main): Converted to ...
34300 (do_test): ... this.
34301 (TEST_FUNCTION): New macro.
34302 Include test-skeleton.c.
34303 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34304 (do_test): ... this.
34305 (TEST_FUNCTION): New macro.
34306 Include test-skeleton.c.
34307
34308 * elf/tst-audit9.c (main): Converted to ...
34309 (do_test): ... this.
34310 (TEST_FUNCTION): New macro.
34311 Include test-skeleton.c.
34312
34313 2015-07-15 Mike Frysinger <vapier@gentoo.org>
34314
34315 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34316
34317 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34318
34319 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34320 New variable.
34321
34322 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34323
34324 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34325
34326 2015-07-14 Roland McGrath <roland@hack.frob.com>
34327
34328 * sysdeps/generic/dl-fileid.h: New file.
34329 * sysdeps/posix/dl-fileid.h: New file.
34330 * sysdeps/nacl/dl-fileid.h: New file.
34331 * include/link.h: Include <dl-fileid.h>.
34332 (struct link_map): Replace l_dev and l_ino with l_file_id.
34333 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34334 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
34335 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
34336
34337 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34338
34339 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34340
34341 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34342
34343 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34344 Add iff $CXX is set.
34345 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34346 Likewise.
34347 (tst-nodelete-zmodiff): Likewise.
34348 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34349
34350 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34351
34352 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34353
34354 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34355
34356 * sysdeps/aarch64/fpu/math_private.h
34357 (define math_opt_barrier): Add AArch64 version.
34358 (math_force_eval): Likewise.
34359
34360 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
34361
34362 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34363
34364 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
34365
34366 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34367 %ld with %jd and cast to intmax_t.
34368 (do_test_length_zero): Likewise.
34369
34370 2015-07-10 Roland McGrath <roland@hack.frob.com>
34371
34372 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34373
34374 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
34375
34376 * sysdeps/tile/libm-test-ulps: Regenerated.
34377
34378 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34379 Comment out the whole function, not just its body.
34380
34381 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34382
34383 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34384 locks.
34385
34386 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34387
34388 2015-07-10 Torvald Riegel <triegel@redhat.com>
34389
34390 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34391 (sem_assume_only_signals_cause_futex_EINTR): Remove.
34392
34393 2015-07-10 Torvald Riegel <triegel@redhat.com>
34394
34395 * sysdeps/nptl/futex-internal.h: New file.
34396 * sysdeps/nacl/futex-internal.h: New file.
34397 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34398 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34399 error checking.
34400 (setxid_unmark_thread): Likewise.
34401 (__nptl_setxid): Likewise.
34402 (__wait_lookup_done): Likewise.
34403 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34404 * nptl/nptl-init.c (sighandler_setxid): Likewise.
34405 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34406 * nptl/pthread_once.c (clear_once_control): Likewise.
34407 (__pthread_once_slow): Likewise.
34408 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34409 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34410 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34411 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34412 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34413 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34414 Likewise.
34415 (__pthread_rwlock_rdlock): Likewise.
34416 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34417 Likewise.
34418 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34419 Likewise.
34420 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34421 Likewise.
34422 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34423 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34424 Likewise.
34425 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34426 __ASSUME_PRIVATE_FUTEX check.
34427 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34428 Check that shared futexes are supported.
34429 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34430 wrappers with error checking.
34431 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34432 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34433 * nptl/pthread_barrierattr_setpshared.c
34434 (pthread_barrierattr_setpshared): Check that shared futexes are
34435 supported.
34436 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34437 Likewise.
34438 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34439 Likewise.
34440 * nptl/sem_init.c (futex_private_if_supported): Remove.
34441 (__new_sem_init): Adapt and check that shared futexes are supported.
34442 * nptl/sem_open.c (sem_open): Likewise.
34443 * nptl/sem_post.c (futex_wake): Remove.
34444 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34445 (do_futex_wait): Use futex wrappers with error checking.
34446 * nptl/sem_wait.c: Include lowlevellock.h.
34447 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34448 Use futex_supports_pshared.
34449 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34450 Use futex wrappers with error checking.
34451 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34452 Likewise.
34453 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34454 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34455 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34456 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34457 (futex_wake): Likewise.
34458 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34459 (do_futex_wait): Use futex wrappers with error checking.
34460 (__new_sem_wait_slow): Update EINTR handling.
34461 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34462
34463 2015-07-09 Martin Sebor <msebor@redhat.com>
34464
34465 [BZ #18435]
34466 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34467 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34468 * nptl/Makefile (test-xfail-tst-once5): Define.
34469
34470 2015-07-09 Roland McGrath <roland@hack.frob.com>
34471
34472 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34473 * elf/dl-minimal.c: For readability, reorder some definitions and
34474 introduce more page breaks. Include <stdio.h>.
34475 (__libc_fatal): New function.
34476
34477 * include/unistd.h: Add rtld_hidden_proto for _exit.
34478 * posix/_exit.c: Add rtld_hidden_def.
34479 * sysdeps/mach/hurd/_exit.c: Likewise.
34480 * sysdeps/nacl/_exit.c: Likewise.
34481 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34482 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34483
34484 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
34485
34486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34487 bndmov encoding with zero displacement.
34488
34489 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
34490 H.J. Lu <hongjiu.lu@intel.com>
34491
34492 [BZ #18134]
34493 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34494 * sysdeps/i386/configure: Regenerated.
34495 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34496 (_dl_runtime_profile): Save and restore Intel MPX return bound
34497 registers when calling _dl_call_pltexit. Add
34498 PRESERVE_BND_REGS_PREFIX before return.
34499 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34500 (LRV_BND1_OFFSET): Likewise.
34501 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34502 lrv_bnd1.
34503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34504 typo in bndmov encoding.
34505 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34506 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
34507 branch instructions to preserve bounds.
34508
34509 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34510
34511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34512 [GLIBC_2.22]: Add fmemopen.
34513
34514 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
34515
34516 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34517 returns an error, also try to use host port from __mach_host_self for
34518 the __vm_wire call.
34519 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34520
34521 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
34522
34523 [BZ #18400]
34524 [BZ #18648]
34525 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34526 Fix pr_uid and pr_gid members.
34527 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34528 definition to elf_greg_t.
34529
34530 2015-07-08 Roland McGrath <roland@hack.frob.com>
34531
34532 [BZ #18383]
34533 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34534 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34535 * sysdeps/arm/configure: Regenerated.
34536 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34537 (test-xfail-tst-tlsalign-static): Variable removed.
34538
34539 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34540 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34541 rather than explicit 'ln -s'.
34542
34543 * resolv/rpc/netdb.h: New file.
34544 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34545
34546 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34547
34548 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34549 length buffers.
34550 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34551 test-skeleton.c.
34552
34553 [BZ #6544]
34554 [BZ #11216]
34555 [BZ #12836]
34556 [BZ #13151]
34557 [BZ #13152]
34558 [BZ #14292]
34559 * include/stdio.h (fmemopen): Remove hidden prototype.
34560 (__fmemopen): Add new hidden prototype.
34561 * libio/Makefile: Add oldfmemopen object.
34562 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34563 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34564 compliance.
34565 * libio/oldfmemopen.c: New file: old fmemopen implementation for
34566 symbol compatibility.
34567 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34568 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34569 fmemopen.
34570 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34571 on append and read mode.
34572 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34573 fmemopen.
34574 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34575 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34576 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34577 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34578 Likewise.
34579 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34580 [GLIBC_2.22]: Likewise.
34581 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34582 Likewise.
34583 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34584 Likewise.
34585 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34586 [GLIBC_2.22]: Likewise.
34587 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34588 [GLIBC_2.22]: Likewise.
34589 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34590 [GLIBC_2.22]: Likewise.
34591 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34592 [GLIBC_2.22]: Likewise.
34593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34594 [GLIBC_2.22]: Likewise.
34595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34596 [GLIBC_2.22]: Likewise.
34597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34598 [GLIBC_2.22]: Likewise.
34599 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34600 Likewise.
34601 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34602 Likewise.
34603 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34604 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34605 [GLIBC_2.22]: Likewise.
34606 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34607 [GLIBC_2.22]: Likewise.
34608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34609 [GLIBC_2.22]: Likewise.
34610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34611 [GLIBC_2.22]: Likewise.
34612 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34613 Likewise.
34614 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34615 Likewise.
34616 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34617 Likewise.
34618 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34619 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34620
34621 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34622
34623 [BZ #18643]
34624 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34625 IPV6_PATHMTU, and IPV6_DONTFRAG.
34626
34627 2015-07-08 Feng Gao <gfree.wind@gmail.com>
34628
34629 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34630 and _IO_UNBUFFERED.
34631 * libio/oldfileops.c: Likewise.
34632 * libio/wfileops.c: Likewise.
34633
34634 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34635
34636 * nscd/selinux.c: Delete selinux/flask.h include.
34637
34638 2015-07-08 Mike Frysinger <vapier@gentoo.org>
34639
34640 [BZ #18641]
34641 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34642 (putpwent): Likewise.
34643 (getpwnam): Likewise.
34644 (getpwent_r): Likewise.
34645 (getpwuid_r): Likewise.
34646 (getpwnam_r): Likewise.
34647 (fgetpwent_r): Likewise.
34648
34649 2015-07-08 Carlos O'Donell <carlos@redhat.com>
34650
34651 [BZ #18557]
34652 * inet/rcmd.c (__validuser2_sa): Check user first to
34653 short-circuit host check.
34654
34655 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
34656 Mikhail Ilin <m.ilin@samsung.com>
34657
34658 [BZ #17833]
34659 * elf/Makefile (tests): Add tst-nodelete.
34660 (modules-names): Add tst-nodelete-uniquemod.
34661 (tst-nodelete-uniquemod.so-no-z-defs): New.
34662 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34663 (tst-nodelete-zmod.so-no-z-defs): Likewise.
34664 ($(objpfx)tst-nodelete): Likewise.
34665 ($(objpfx)tst-nodelete.out): Likewise.
34666 (LDFLAGS-tst-nodelete): Likewise.
34667 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34668 * elf/dl-close.c (_dl_close_worker): Add a parameter to
34669 implement forced object deletion.
34670 (_dl_close): Pass false to _dl_close_worker.
34671 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34672 * elf/tst-nodelete.cc: New file.
34673 * elf/tst-nodeletelib.cc: Likewise.
34674 * elf/tst-znodeletelib.cc: Likewise.
34675 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34676
34677 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34678
34679 [BZ #18508]
34680 * stdlib/Makefile ($(objpfx)tst-makecontext3):
34681 Depend on $(libdl).
34682 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34683 is not called infinitely times.
34684 (backtrace_helper): New function.
34685 (trace_arg): New struct.
34686 (st1): Enlarge stack size.
34687 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34688 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34689 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34690 Likewise.
34691
34692 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34693
34694 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34695
34696 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
34697
34698 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34699 Include sys/types.h instead of bits/types.h.
34700 Remove inclusion of bits/wordsize.h.
34701
34702 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34703
34704 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34705 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34706 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34707 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34708 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34709 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34710
34711 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34712
34713 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34714 link-defines.sym.
34715 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34716 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34717 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34718 and LR_SIZE.
34719 * sysdeps/i386/link-defines.sym: New file.
34720
34721 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
34722
34723 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34724 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34725 ($(objpfx)tst-audit3): New rule.
34726 ($(objpfx)tst-audit3.out): Likewise.
34727 * sysdeps/i386/tst-audit3.c: New file.
34728 * sysdeps/i386/tst-audit3.h: Likewise.
34729 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34730 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34731
34732 2015-07-07 Torvald Riegel <triegel@redhat.com>
34733
34734 [BZ #18633]
34735 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34736 pointer in C code.
34737 (__strcat_c): Likewise.
34738 (__strcat_g): Likewise.
34739
34740 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34741
34742 [BZ #18592]
34743 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34744
34745 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34746
34747 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34748 New function. (__ieee754_sqrtf): New function.
34749 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34750 New function.
34751 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34752 New function.
34753
34754 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34755
34756 * sysdeps/ieee754/support.c: Remove unused file.
34757
34758 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34759
34760 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34761 registers instead of d ones so the layout is kernel abi compatible.
34762 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34763 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34764 Likewise.
34765
34766 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34767
34768 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34769
34770 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34771
34772 [BZ #18619]
34773 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34774 and return argument in case of subnormal argument.
34775
34776 2015-07-01 Martin Sebor <msebor@redhat.com>
34777
34778 [BZ #18435]
34779 * nptl/Makefile: Add tst-once5.cc.
34780 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34781 Remove macro redefinitions.
34782 * nptl/tst-once5.cc: New test.
34783
34784 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34785
34786 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34787
34788 * sysdeps/arm/libm-test-ulps: Regenerated.
34789
34790 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34791 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34792
34793 2015-06-30 Torvald Riegel <triegel@redhat.com>
34794
34795 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34796 lll_lock_wait_private and lll_futex_wake probes.
34797
34798 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34799 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34800 Likewise.
34801 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34802 atomic_spin_nop.
34803 * sysdeps/x86_64/bits/atomic.h: Likewise.
34804 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34805 to atomic_spin_nop and move ...
34806 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34807 ... here and ...
34808 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34809 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34810 atomic_spin_nop instead of BUSY_WAIT_NOP.
34811 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34812 Likewise.
34813 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34814 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34815 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34816 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34817 instead of atomic_delay.
34818
34819 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34820
34821 [BZ #18613]
34822 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34823 X_ADJ not X when adjusting exponent.
34824 (__ieee754_gamma_r): Do intermediate computations in
34825 round-to-nearest then adjust overflowing and underflowing results
34826 as needed.
34827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34828 of X_ADJ not X when adjusting exponent.
34829 (__ieee754_gammaf_r): Do intermediate computations in
34830 round-to-nearest then adjust overflowing and underflowing results
34831 as needed.
34832 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34833 log of X_ADJ not X when adjusting exponent.
34834 (__ieee754_gammal_r): Do intermediate computations in
34835 round-to-nearest then adjust overflowing and underflowing results
34836 as needed. Use 1.0L not 1.0f as numerator of division.
34837 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34838 log of X_ADJ not X when adjusting exponent.
34839 (__ieee754_gammal_r): Do intermediate computations in
34840 round-to-nearest then adjust overflowing and underflowing results
34841 as needed. Use 1.0L not 1.0f as numerator of division.
34842 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34843 of X_ADJ not X when adjusting exponent.
34844 (__ieee754_gammal_r): Do intermediate computations in
34845 round-to-nearest then adjust overflowing and underflowing results
34846 as needed. Use 1.0L not 1.0f as numerator of division.
34847 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34848 to auto-libm-test-in.
34849 (tgamma_test): Use ALL_RM_TEST.
34850 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34851 tests of tgamma with spurious-overflow.
34852 * math/auto-libm-test-out: Regenerated.
34853 * math/gen-libm-have-vector-test.sh: Do not check for START.
34854 * sysdeps/i386/fpu/libm-test-ulps: Update.
34855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34856
34857 [BZ #18612]
34858 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34859 arguments, just return 0.5 times the argument, with underflow
34860 forced as needed.
34861 * math/auto-libm-test-in: Add more tests of j1.
34862 * math/auto-libm-test-out: Regenerated.
34863
34864 [BZ #16559]
34865 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34866 (__ieee754_j1): Force underflow exception for small results.
34867 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34868 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34869 (__ieee754_j1f): Force underflow exception for small results.
34870 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34871 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34873 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34874 (__ieee754_j1l): Force underflow exception for small results.
34875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34876 * math/auto-libm-test-in: Add more tests of j1 and jn.
34877 * math/auto-libm-test-out: Regenerated.
34878
34879 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34880 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34881 (PF_MPLS): Likewise.
34882 (AF_IB): Likewise.
34883 (AF_MPLS): Likewise.
34884 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34885 value and macro.
34886 (MS_RMT_MASK): Include MS_LAZYTIME.
34887
34888 2015-06-26 Mel Gorman <mgorman@suse.de>
34889
34890 [BZ #18502]
34891 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34892 already minimal.
34893
34894 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34895
34896 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34897 (DT_MIPS_NUM): Update.
34898 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34899 DT_MIPS_RLD_MAP_REL.
34900
34901 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34902
34903 [BZ #16559]
34904 [BZ #18602]
34905 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34906 round-to-nearest internally then recompute results that
34907 underflowed to zero in the original rounding mode.
34908 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34909 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34911 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34912 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34913 * sysdeps/i386/fpu/libm-test-ulps: Update.
34914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34915
34916 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34917
34918 * NEWS: Fixed description of link with vector math library.
34919
34920 2015-06-25 Andreas Schwab <schwab@suse.de>
34921
34922 [BZ #18549]
34923 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34924 * libio/test-fmemopen.c (do_test): Add test for it.
34925
34926 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34927
34928 [BZ #17841]
34929 * Makeconfig (no-pie-ldflag): New.
34930 (+link): Set to $(+link-pie) if default to PIE.
34931 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34932 * config.make.in (build-pie-default): New.
34933 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34934 is default. AC_SUBST.
34935 * configure: Regenerated.
34936 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34937
34938 2015-06-24 Roland McGrath <roland@hack.frob.com>
34939
34940 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34941 to 'unsigned int'.
34942
34943 * resolv/gai_misc.h (struct waitlist): Change type of field
34944 counterp to 'volatile unsigned int *'.
34945 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34946 FUTEXADDR and OLDVAL.
34947 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34948 Give local variable TOTAL type 'volatile unsigned int'.
34949 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34950 * resolv/gai_suspend.c (gai_suspend):
34951 Give local variable CNTR type 'unsigned int'.
34952
34953 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34954 counterp to 'volatile unsigned int *'.
34955 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34956 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34957 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34958 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34959 Give local variable TOTAL type 'volatile unsigned int'.
34960 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34961
34962 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34963
34964 [BZ #18383]
34965 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34966 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34967 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34968 comment for i386/x86-64.
34969 (test-xfail-tst-tlsalign-extern-static): Removed.
34970
34971 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34972
34973 * math/test-double.h: New file.
34974 * math/test-float.h: Likewise.
34975 * math/test-ldouble.h: Likewise.
34976 * math/test-math-inline.h: Likewise.
34977 * math/test-math-no-inline.h: Likewise.
34978 * math/test-math-scalar.h: Likewise.
34979 * math/test-math-vector.h: Likewise.
34980 * math/test-vec-loop.h: Remove file. Contents moved into
34981 test-math-vector.h.
34982 * math/libm-test.inc (MATHCONST): Do not document macro.
34983 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34984 and test-math-scalar.h.
34985 (FUNC): Remove macro.
34986 (FUNC_TEST): Likewise.
34987 (FLOAT): Likewise.
34988 (MATHCONST): Likewise.
34989 (PRINTF_EXPR): Likewise.
34990 (PRINTF_XEXPR): Likewise.
34991 (PRINTF_NEXPR): Likewise.
34992 (TEST_DOUBLE): Likewise.
34993 (TEST_MATHVEC): Likewise.
34994 (__NO_MATH_INLINES): Likewise.
34995 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34996 and test-math-scalar.h.
34997 (FUNC): Remove macro.
34998 (FUNC_TEST): Likewise.
34999 (FLOAT): Likewise.
35000 (MATHCONST): Likewise.
35001 (PRINTF_EXPR): Likewise.
35002 (PRINTF_XEXPR): Likewise.
35003 (PRINTF_NEXPR): Likewise.
35004 (TEST_FLOAT): Likewise.
35005 (TEST_MATHVEC): Likewise.
35006 (__NO_MATH_INLINES): Likewise.
35007 * math/test-idouble.c: Include test-double.h, test-math-inline.h
35008 and test-math-scalar.h.
35009 (FUNC): Remove macro.
35010 (FUNC_TEST): Likewise.
35011 (FLOAT): Likewise.
35012 (MATHCONST): Likewise.
35013 (PRINTF_EXPR): Likewise.
35014 (PRINTF_XEXPR): Likewise.
35015 (PRINTF_NEXPR): Likewise.
35016 (TEST_DOUBLE): Likewise.
35017 (TEST_MATHVEC): Likewise.
35018 (TEST_INLINE): Likewise.
35019 (__NO_MATH_INLINES): Likewise.
35020 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35021 test-math-scalar.h.
35022 (FUNC): Remove macro.
35023 (FUNC_TEST): Likewise.
35024 (FLOAT): Likewise.
35025 (MATHCONST): Likewise.
35026 (PRINTF_EXPR): Likewise.
35027 (PRINTF_XEXPR): Likewise.
35028 (PRINTF_NEXPR): Likewise.
35029 (TEST_FLOAT): Likewise.
35030 (TEST_MATHVEC): Likewise.
35031 (TEST_INLINE): Likewise.
35032 (__NO_MATH_INLINES): Likewise.
35033 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35034 and test-math-scalar.h.
35035 (FUNC): Remove macro.
35036 (FUNC_TEST): Likewise.
35037 (FLOAT): Likewise.
35038 (MATHCONST): Likewise.
35039 (PRINTF_EXPR): Likewise.
35040 (PRINTF_XEXPR): Likewise.
35041 (PRINTF_NEXPR): Likewise.
35042 (TEST_LDOUBLE): Likewise.
35043 (TEST_MATHVEC): Likewise.
35044 (TEST_INLINE): Likewise.
35045 (__NO_MATH_INLINES): Likewise.
35046 * math/test-ldouble.c: Include test-ldouble.h,
35047 test-math-no-inline.h and test-math-scalar.h.
35048 (FUNC): Remove macro.
35049 (FUNC_TEST): Likewise.
35050 (FLOAT): Likewise.
35051 (MATHCONST): Likewise.
35052 (PRINTF_EXPR): Likewise.
35053 (PRINTF_XEXPR): Likewise.
35054 (PRINTF_NEXPR): Likewise.
35055 (TEST_LDOUBLE): Likewise.
35056 (TEST_MATHVEC): Likewise.
35057 (__NO_MATH_INLINES): Likewise.
35058 * math/test-double-vlen2.h: Include test-double.h,
35059 test-math-no-inline.h and test-math-vector.h.
35060 (FLOAT): Remove macro.
35061 (FUNC): Likewise.
35062 (MATHCONST): Likewise.
35063 (PRINTF_EXPR): Likewise.
35064 (PRINTF_XEXPR): Likewise.
35065 (PRINTF_NEXPR): Likewise.
35066 (TEST_DOUBLE): Likewise.
35067 (TEST_MATHVEC): Likewise.
35068 (__NO_MATH_INLINES): Likewise.
35069 (CNCT): Likewise.
35070 (CONCAT): Likewise.
35071 (WRAPPER_NAME): Likewise.
35072 (WRAPPER_DECL): Likewise.
35073 (WRAPPER_DECL_ff): Likewise.
35074 (WRAPPER_DECL_fFF): Likewise.
35075 (VECTOR_WRAPPER): Likewise.
35076 (VECTOR_WRAPPER_ff): Likewise.
35077 (VECTOR_WRAPPER_fFF): Likewise.
35078 (VEC_LEN): New macro.
35079 * math/test-double-vlen4.h: Include test-double.h,
35080 test-math-no-inline.h and test-math-vector.h.
35081 (FLOAT): Remove macro.
35082 (FUNC): Likewise.
35083 (MATHCONST): Likewise.
35084 (PRINTF_EXPR): Likewise.
35085 (PRINTF_XEXPR): Likewise.
35086 (PRINTF_NEXPR): Likewise.
35087 (TEST_DOUBLE): Likewise.
35088 (TEST_MATHVEC): Likewise.
35089 (__NO_MATH_INLINES): Likewise.
35090 (CNCT): Likewise.
35091 (CONCAT): Likewise.
35092 (WRAPPER_NAME): Likewise.
35093 (WRAPPER_DECL): Likewise.
35094 (WRAPPER_DECL_ff): Likewise.
35095 (WRAPPER_DECL_fFF): Likewise.
35096 (VECTOR_WRAPPER): Likewise.
35097 (VECTOR_WRAPPER_ff): Likewise.
35098 (VECTOR_WRAPPER_fFF): Likewise.
35099 (VEC_LEN): New macro.
35100 * math/test-double-vlen8.h: Include test-double.h,
35101 test-math-no-inline.h and test-math-vector.h.
35102 (FLOAT): Remove macro.
35103 (FUNC): Likewise.
35104 (MATHCONST): Likewise.
35105 (PRINTF_EXPR): Likewise.
35106 (PRINTF_XEXPR): Likewise.
35107 (PRINTF_NEXPR): Likewise.
35108 (TEST_DOUBLE): Likewise.
35109 (TEST_MATHVEC): Likewise.
35110 (__NO_MATH_INLINES): Likewise.
35111 (CNCT): Likewise.
35112 (CONCAT): Likewise.
35113 (WRAPPER_NAME): Likewise.
35114 (WRAPPER_DECL): Likewise.
35115 (WRAPPER_DECL_ff): Likewise.
35116 (WRAPPER_DECL_fFF): Likewise.
35117 (VECTOR_WRAPPER): Likewise.
35118 (VECTOR_WRAPPER_ff): Likewise.
35119 (VECTOR_WRAPPER_fFF): Likewise.
35120 (VEC_LEN): New macro.
35121 * math/test-float-vlen4.h: Include test-float.h,
35122 test-math-no-inline.h and test-math-vector.h.
35123 (FLOAT): Remove macro.
35124 (FUNC): Likewise.
35125 (MATHCONST): Likewise.
35126 (PRINTF_EXPR): Likewise.
35127 (PRINTF_XEXPR): Likewise.
35128 (PRINTF_NEXPR): Likewise.
35129 (TEST_FLOAT): Likewise.
35130 (TEST_MATHVEC): Likewise.
35131 (__NO_MATH_INLINES): Likewise.
35132 (CNCT): Likewise.
35133 (CONCAT): Likewise.
35134 (WRAPPER_NAME): Likewise.
35135 (WRAPPER_DECL): Likewise.
35136 (WRAPPER_DECL_ff): Likewise.
35137 (WRAPPER_DECL_fFF): Likewise.
35138 (VECTOR_WRAPPER): Likewise.
35139 (VECTOR_WRAPPER_ff): Likewise.
35140 (VECTOR_WRAPPER_fFF): Likewise.
35141 (VEC_LEN): New macro.
35142 * math/test-float-vlen8.h: Include test-float.h,
35143 test-math-no-inline.h and test-math-vector.h.
35144 (FLOAT): Remove macro.
35145 (FUNC): Likewise.
35146 (MATHCONST): Likewise.
35147 (PRINTF_EXPR): Likewise.
35148 (PRINTF_XEXPR): Likewise.
35149 (PRINTF_NEXPR): Likewise.
35150 (TEST_FLOAT): Likewise.
35151 (TEST_MATHVEC): Likewise.
35152 (__NO_MATH_INLINES): Likewise.
35153 (CNCT): Likewise.
35154 (CONCAT): Likewise.
35155 (WRAPPER_NAME): Likewise.
35156 (WRAPPER_DECL): Likewise.
35157 (WRAPPER_DECL_ff): Likewise.
35158 (WRAPPER_DECL_fFF): Likewise.
35159 (VECTOR_WRAPPER): Likewise.
35160 (VECTOR_WRAPPER_ff): Likewise.
35161 (VECTOR_WRAPPER_fFF): Likewise.
35162 (VEC_LEN): New macro.
35163 * math/test-float-vlen16.h: Include test-float.h,
35164 test-math-no-inline.h and test-math-vector.h.
35165 (FLOAT): Remove macro.
35166 (FUNC): Likewise.
35167 (MATHCONST): Likewise.
35168 (PRINTF_EXPR): Likewise.
35169 (PRINTF_XEXPR): Likewise.
35170 (PRINTF_NEXPR): Likewise.
35171 (TEST_FLOAT): Likewise.
35172 (TEST_MATHVEC): Likewise.
35173 (__NO_MATH_INLINES): Likewise.
35174 (CNCT): Likewise.
35175 (CONCAT): Likewise.
35176 (WRAPPER_NAME): Likewise.
35177 (WRAPPER_DECL): Likewise.
35178 (WRAPPER_DECL_ff): Likewise.
35179 (WRAPPER_DECL_fFF): Likewise.
35180 (VECTOR_WRAPPER): Likewise.
35181 (VECTOR_WRAPPER_ff): Likewise.
35182 (VECTOR_WRAPPER_fFF): Likewise.
35183 (VEC_LEN): New macro.
35184 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35185 test-vec-loop.h.
35186 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35187 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35188 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35189 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35190 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35191 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35192 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35193
35194 2015-06-24 Roland McGrath <roland@hack.frob.com>
35195
35196 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35197 (__getlogin_r): ... this.
35198
35199 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35200
35201 [BZ #18594]
35202 * math/s_ccosh.c (__ccosh): Compare with least normal value
35203 instead of comparing class with FP_SUBNORMAL.
35204 * math/s_ccoshf.c (__ccoshf): Likewise.
35205 * math/s_ccoshl.c (__ccoshl): Likewise.
35206 * math/s_cexp.c (__cexp): Likewise.
35207 * math/s_cexpf.c (__cexpf): Likewise.
35208 * math/s_cexpl.c (__cexpl): Likewise.
35209 * math/s_csin.c (__csin): Likewise.
35210 * math/s_csinf.c (__csinf): Likewise.
35211 * math/s_csinh.c (__csinh): Likewise.
35212 * math/s_csinhf.c (__csinhf): Likewise.
35213 * math/s_csinhl.c (__csinhl): Likewise.
35214 * math/s_csinl.c (__csinl): Likewise.
35215 * math/s_ctan.c (__ctan): Likewise.
35216 * math/s_ctanf.c (__ctanf): Likewise.
35217 * math/s_ctanh.c (__ctanh): Likewise.
35218 * math/s_ctanhf.c (__ctanhf): Likewise.
35219 * math/s_ctanhl.c (__ctanhl): Likewise.
35220 * math/s_ctanl.c (__ctanl): Likewise.
35221 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35222 csin, csinh, ctan and ctanh.
35223 * math/auto-libm-test-out: Regenerated.
35224 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35225 * sysdeps/i386/fpu/libm-test-ulps: Update.
35226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35227
35228 2015-06-24 Roland McGrath <roland@hack.frob.com>
35229
35230 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35231 return value is wrong, print the expected value too.
35232
35233 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
35234
35235 [BZ #18585]
35236 * elf/readlib.c (is_gdb_python_file): New.
35237 (process_file): Don't issue errors on filenames with -gdb.py
35238 suffix.
35239
35240 2015-06-24 Joseph Myers <joseph@codesourcery.com>
35241
35242 * math/auto-libm-test-in: Add more tests of csin and csinh.
35243 * math/auto-libm-test-out: Regenerated.
35244 * math/libm-test.inc (csin_test_data): Remove tests moved to
35245 auto-libm-test-in.
35246 (csinh_test_data): Likewise.
35247
35248 [BZ #18593]
35249 * math/s_csin.c (__csin): Negate before rather than after possibly
35250 overflowing multiplication.
35251 * math/s_csinf.c (__csinf): Likewise.
35252 * math/s_csinh.c (__csinh): Likewise.
35253 * math/s_csinhf.c (__csinhf): Likewise.
35254 * math/s_csinhl.c (__csinhl): Likewise.
35255 * math/s_csinl.c (__csinl): Likewise.
35256 * math/auto-libm-test-in: Add some tests of csin and csinh.
35257 * math/auto-libm-test-out: Regenerated.
35258 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35259 (csinh_test_data): Likewise.
35260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35261
35262 [BZ #18586]
35263 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35264 underflow exception for small results.
35265
35266 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
35267
35268 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35269 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35270 variable and included header.
35271 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35272 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35273 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35274 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35275 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35276 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35277 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35278 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35279 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35280 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35281 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35282 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35283 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35284 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35285 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35286 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35287
35288 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35289
35290 [BZ #16526]
35291 [BZ #16538]
35292 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35293 (__sin): Force underflow exception for arguments with small
35294 absolute value.
35295 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35296 (__kernel_sinf): Force underflow exception for arguments with
35297 small absolute value.
35298 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35299 (__kernel_sincosl): Force underflow exception for arguments with
35300 small absolute value.
35301 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35302 (__kernel_sinl): Force underflow exception for arguments with
35303 small absolute value.
35304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35305 (__kernel_sincosl): Force underflow exception for arguments with
35306 small absolute value.
35307 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35308 (__kernel_sinl): Force underflow exception for arguments with
35309 small absolute value.
35310 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35311 (__kernel_sinl): Force underflow exception for arguments with
35312 small absolute value.
35313 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35314 (__kernel_sinf): Force underflow exception for arguments with
35315 small absolute value.
35316 * math/auto-libm-test-in: Add more tests of sin and sincos.
35317 * math/auto-libm-test-out: Regenerated.
35318
35319 [BZ #18245]
35320 [BZ #18583]
35321 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35322 (__kernel_standard_l): Use feholdexcept and fesetenv around
35323 conversion to double instead of special-casing overflow and
35324 underflow.
35325 * math/libm-test.inc (fmod_test_data): Add more tests.
35326 (remainder_test_data): Likewise.
35327 (sqrt_test_data): Likewise.
35328
35329 2015-06-23 Torvald Riegel <triegel@redhat.com>
35330
35331 [BZ #17403]
35332 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35333 atomic_read_barrier, atomic_write_barrier): Define.
35334 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35335 atomic_read_barrier, atomic_write_barrier): Define.
35336
35337 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35338
35339 * math/Makefile [$(PERL) != no]
35340 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35341 dependency on libm-test.stmp below the inclusion of Rules.
35342
35343 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
35344
35345 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35346 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35347 and included header.
35348 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35349 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35350 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35351 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35352 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35354 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35356 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35357 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35358 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35359 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35360 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35361 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35362 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35363 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35364 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35365 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35366 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35367
35368 2015-06-23 Joseph Myers <joseph@codesourcery.com>
35369
35370 [BZ #18371]
35371 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35372 intermediate but not final result might underflow.
35373 * math/s_csqrtf.c (__csqrtf): Likewise.
35374 * math/s_csqrtl.c (__csqrtl): Likewise.
35375 * math/auto-libm-test-in: Add more tests of csqrt.
35376 * math/auto-libm-test-out: Regenerated.
35377 * sysdeps/i386/fpu/libm-test-ulps: Update.
35378
35379 [BZ #18219]
35380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35381 threshold on absolute value of exponent for which scaling is used.
35382 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35383 * math/auto-libm-test-in: Add more tests of exp2.
35384 * math/auto-libm-test-out: Regenerated.
35385
35386 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
35387
35388 [BZ #17977]
35389 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35390 when initializing interface list, based on the bug analysis
35391 and the patch proposed by Eric Newton.
35392 * resolv/tst-res_hconf_reorder.c: New test.
35393 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35394 tst-res_hconf_reorder.
35395 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35396 and $(shared-thread-library).
35397 (tst-res_hconf_reorder-ENV): New variable.
35398
35399 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35400 in comment.
35401
35402 2015-06-22 Joseph Myers <joseph@codesourcery.com>
35403
35404 [BZ #16353]
35405 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35406 (__expm1): Force underflow exception for arguments with small
35407 absolute value.
35408 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35409 (__expm1f): Force underflow exception for arguments with small
35410 absolute value.
35411 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35412 (__expm1): Force underflow exception for arguments with small
35413 absolute value.
35414 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35415 (__expm1f): Force underflow exception for arguments with small
35416 absolute value.
35417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35418 Check for small arguments before calling __expm1.
35419 * math/auto-libm-test-in: Do not mark underflow exceptions as
35420 possibly missing for bug 16353.
35421 * math/auto-libm-test-out: Regenerated.
35422
35423 2015-06-22 Andreas Schwab <schwab@suse.de>
35424
35425 [BZ #18513]
35426 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35427 PTR queries.
35428
35429 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
35430
35431 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35432
35433 * string/strcoll_l.c: Remove unused struct element idxnow.
35434
35435 2015-06-21 Joseph Myers <joseph@codesourcery.com>
35436
35437 [BZ #18569]
35438 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35439 underflow and return argument in case of subnormal argument.
35440 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35441 Likewise.
35442 * math/auto-libm-test-in: Add more tests of expm1.
35443 * math/auto-libm-test-out: Regenerated.
35444
35445 [BZ #16361]
35446 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35447 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35448 tiny results.
35449 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35450 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35451 tiny results.
35452 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
35453 mark underflow exceptions as possibly missing for bug 16361.
35454 * math/auto-libm-test-out: Regenerated.
35455
35456 2015-06-19 Joseph Myers <joseph@codesourcery.com>
35457
35458 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35459 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35460 Remove variable.
35461 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35462 (test-xfail-XOPEN2K8/utmpx.h/conform).
35463
35464 * conform/conformtest.pl ($xerrors): New variable.
35465 (note_error): New function.
35466 (compiletest): New argument $xfail. Use not_error.
35467 (runtest): Likewise.
35468 (top level): Handle xfail- lines. Update calls to compiletest and
35469 runtest. Handle xfail- and optional- in headers listed with
35470 allow-header.
35471 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35472 (O_EXEC): Likewise.
35473 (O_SEARCH): Likewise.
35474 * conform/data/stropts.h-data (ioctl): Likewise.
35475 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35476 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35477 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35478 (msghdr.msg_controllen): Likewise.
35479 (cmsghdr.cmsg_len): Likewise.
35480 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35481 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35482 variable.
35483 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35484 (test-xfail-XPG4/stropts.h/conform): Likewise.
35485 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35486 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35487 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35488 (test-xfail-UNIX98/stropts.h/conform): Likewise.
35489 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35490 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35491 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35492 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35493 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35494 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35495 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35496 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35497 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35498 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35499 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35500 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35501 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35502 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35503 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35504
35505 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
35506
35507 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35508 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35509 definitions for proper unfolding of __MATHDECL_VEC.
35510
35511 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35512
35513 * benchtests/bench-strcoll.c:
35514 Include string.h.
35515 (main): Remove unused variable res.
35516
35517 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35518
35519 * timezone/Makefile (%/UTC %/Universal):
35520 Generate test-result files for UTC and Universal.
35521
35522 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
35523
35524 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35525
35526 2015-06-18 Joseph Myers <joseph@codesourcery.com>
35527
35528 [BZ #16350]
35529 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35530 for arguments with small absolute value.
35531 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35532 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35533 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35534 (__asinh): Force underflow exception for arguments with small
35535 absolute value.
35536 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35537 (__asinhf): Force underflow exception for arguments with small
35538 absolute value.
35539 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35540 (__asinhl): Force underflow exception for arguments with small
35541 absolute value.
35542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35543 (__asinhl): Force underflow exception for arguments with small
35544 absolute value.
35545 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35546 (__asinhl): Force underflow exception for arguments with small
35547 absolute value.
35548 * math/auto-libm-test-in: Do not mark underflow exceptions as
35549 possibly missing for bug 16350.
35550 * math/auto-libm-test-out: Regenerated.
35551
35552 * include/bits/ipc.h: Remove file.
35553 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35554 variable.
35555 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35556 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35557 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35558 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35559 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35560 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35561 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35562 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35563 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35564
35565 * math/auto-libm-test-in: Remove spurious underflow allowance for
35566 tests of cexp.
35567 * math/auto-libm-test-out: Regenerated.
35568
35569 [BZ #18558]
35570 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35571 unconditional definition.
35572 (MCAST_BLOCK_SOURCE): Likewise.
35573 (MCAST_UNBLOCK_SOURCE): Likewise.
35574 (MCAST_LEAVE_GROUP): Likewise.
35575 (MCAST_JOIN_SOURCE_GROUP): Likewise.
35576 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35577 (MCAST_MSFILTER): Likewise.
35578 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35579 Remove variable.
35580 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35581 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35582 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35583 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35584 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35585
35586 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
35587
35588 * NEWS: Mention addition of x86_64 vector sincosf.
35589 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35590 * math/test-float-vlen4.h: Likewise.
35591 * math/test-float-vlen8.h: Likewise.
35592 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35593 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35594 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35595 * sysdeps/x86_64/fpu/Versions: New versions added.
35596 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35597 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35598 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35599 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35600 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35601 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35602 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35603 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35604 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35605 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35606 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35607 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35608 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35609 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35610 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35611 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35612 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35613 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35614 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35615 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35616 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35617 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35618 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35619 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35620
35621 * NEWS: Mention addition of x86_64 vector sincos.
35622 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35623 * math/math.h (__MATHDECL_VEC): New macro.
35624 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35625 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35626 declaration under condition.
35627 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35628 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35629 TEST_VEC_LOOP change.
35630 * math/test-double-vlen4.h: Likewise.
35631 * math/test-double-vlen8.h: Likewise.
35632 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35633 * math/test-float-vlen4.h: Likewise.
35634 * math/test-float-vlen8.h: Likewise.
35635 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35636 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35637 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35638 * sysdeps/x86_64/fpu/Versions: New versions added.
35639 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35640 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35641 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35642 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35643 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35644 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35645 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35646 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35647 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35648 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35649 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35650 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35651 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35652 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35653 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35654 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35655 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35656 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35657 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35658 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35659 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35660 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35661 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35662 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35663
35664 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35665 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35666 redirections for powf.
35667 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35668 * sysdeps/x86_64/fpu/Versions: New versions added.
35669 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35670 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35671 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35672 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35673 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35674 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35675 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35676 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35677 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35678 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35679 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35680 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35681 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35682 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35683 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35684 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35685 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35686 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35687 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35688 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35689 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35690 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35691 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35692 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35693 * math/test-float-vlen16.h: Fixed 2 argument macro.
35694 * math/test-float-vlen4.h: Likewise.
35695 * math/test-float-vlen8.h: Likewise.
35696 * NEWS: Mention addition of x86_64 vector powf.
35697
35698 2015-06-17 Joseph Myers <joseph@codesourcery.com>
35699
35700 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35701 and redefine.
35702 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35703 and redefine.
35704 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35705 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35707
35708 [BZ #18553]
35709 * resource/getpriority.c (getpriority): Rename to __getpriority
35710 and define as weak alias of __getpriority.
35711 * resource/setpriority.c (setpriority): Rename to __setpriority
35712 and define as weak alias of __setpriority.
35713 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35714 __getpriority and define as weak alias of __getpriority.
35715 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35716 __setpriority and define as weak alias of __setpriority.
35717 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35718 strong name.
35719 (setpriority): Use __setpriority as strong name.
35720 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35721 __getpriority and define as weak alias of __getpriority.
35722 * include/sys/resource.h (__getpriority): Declare. Use
35723 libc_hidden_proto.
35724 (__setpriority): Likewise.
35725 (getpriority): Don't use libc_hidden_proto.
35726 (setpriority): Likewise.
35727 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35728 getpriority. Call __setpriority instead of setpriority.
35729 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35730 Remove variable.
35731
35732 [BZ #18547]
35733 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35734 as weak alias of __getttynam. Use prototype function definition.
35735 Call __setttyent, __getttyent and __endttyent instead of
35736 setttyent, getttyent and endttyent.
35737 (getttyent): Rename to __getttyent and define as weak alias of
35738 __getttyent. Call __setttyent instead of setttyent. Call
35739 __fgets_unlocked instead of fgets_unlocked.
35740 (setttyent): Rename to __setttyent and define as weak alias of
35741 __setttyent.
35742 (endttyent): Rename to __endttyent and define as weak alias of
35743 __endttyent.
35744 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35745 (__setttyent): Likewise.
35746 (__endttyent): Likewise.
35747 (getttyent): Don't use libc_hidden_proto.
35748 (setttyent): Likewise.
35749 (endttyent): Likewise.
35750 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35751 __endttyent instead of setttyent, getttyent and endttyent.
35752 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35753 Remove variable.
35754
35755 [BZ #18546]
35756 * socket/recv.c (__recv): Use libc_hidden_def.
35757 * socket/socket.c (__socket): Likewise.
35758 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35759 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35760 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35761 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35762 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35763 libc_hidden_def.
35764 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35765 libc_hidden_weak.
35766 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35767 Use libc_hidden_proto.
35768 (__recv): Likewise.
35769 * socket/Versions (libc): Export __recv and __socket at version
35770 GLIBC_PRIVATE.
35771 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35772 instead of recv.
35773 (init_mq_netlink): Call __socket instead of socket.
35774 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35775 Remove variable.
35776
35777 [BZ #18545]
35778 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35779 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35780 hidden_weak.
35781 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35782 define as alias of __mq_timedsend. Use hidden_weak.
35783 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35784 __mq_timedsend as strong name.
35785 (mq_timedreceive): Use __mq_timedreceive as strong name.
35786 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35787 (__mq_timedreceive): Likewise.
35788 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35789 __mq_timedreceive instead of mq_timedreceive.
35790 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35791 instead of mq_timedsend.
35792 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35793 Remove variable.
35794
35795 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35796 hidden_def and hidden_weak instead of libc_hidden_def and
35797 libc_hidden_weak.
35798 (top level): Refer to hidden_def in comment.
35799 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35800 macro. Use it instead of libc_hidden_def.
35801 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35802 specify __GI_* name explicitly.
35803 (mq_timedreceive): Likewise.
35804 (mq_setattr): Likewise.
35805
35806 [BZ #18544]
35807 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35808 __pthread_barrier_init and define as weak alias of
35809 __pthread_barrier_init.
35810 * sysdeps/sparc/nptl/pthread_barrier_init.c
35811 (pthread_barrier_init): Likewise.
35812 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35813 __pthread_barrier_wait and define as weak alias of
35814 __pthread_barrier_wait.
35815 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35816 (pthread_barrier_wait): Likewise.
35817 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35818 (pthread_barrier_wait): Likewise.
35819 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35820 (pthread_barrier_wait): Likewise.
35821 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35822 (pthread_barrier_wait): Likewise.
35823 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35824 __pthread_barrier_wait at version GLIBC_PRIVATE.
35825 * include/pthread.h (__pthread_barrier_init): Declare.
35826 (__pthread_barrier_wait): Likewise.
35827 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35828 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35829 (helper_thread): Likewise.
35830 (init_mq_netlink): Call __pthread_barrier_init instead of
35831 pthread_barrier_init.
35832
35833 [BZ #18542]
35834 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35835 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35836 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35837 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35838 vswscanf.
35839 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35840 Remove variable.
35841
35842 [BZ #18540]
35843 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35844 strong alias of _IO_fflush. Use libc_hidden_def.
35845 * libio/iofflush_u.c (fflush_unlocked): Rename to
35846 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35847 Use libc_hidden_weak.
35848 * include/stdio.h (__fflush_unlocked): Declare. Use
35849 libc_hidden_proto.
35850 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35851 fflush_unlocked.
35852 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35853 Remove variable.
35854
35855 [BZ #18539]
35856 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35857 define as weak alias of __addseverity.
35858 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35859 Remove variable.
35860 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35861 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35862 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35863
35864 [BZ #18536]
35865 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35866 (__tfind): Likewise.
35867 (__tdelete): Likewise.
35868 (__twalk): Likewise.
35869 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35870 __twalk to GLIBC_PRIVATE.
35871 * include/search.h (__tsearch): Use libc_hidden_proto.
35872 (__tfind): Likewise.
35873 (__tdelete): Likewise.
35874 (__twalk): Likewise.
35875 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35876 Call __tdelete instead of tdelete.
35877 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35878 tfind. Call __tsearch instead of tsearch.
35879 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35880 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35881 Remove variable.
35882 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35883
35884 [BZ #18534]
35885 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35886 (dprintf): Define as a weak alias of __dprintf, not a strong
35887 alias.
35888 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35889 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35890 dprintf.
35891 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35892 Remove variable.
35893 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35894 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35895
35896 [BZ #18533]
35897 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35898 not a strong alias.
35899 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35900 Remove variable.
35901
35902 [BZ #18532]
35903 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35904 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35905 (in6addr_loopback): Rename to __in6addr_loopback and define as
35906 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35907 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35908 libc_hidden_proto.
35909 (__in6addr_any): Likewise.
35910 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35911 in6addr_any.
35912 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35913 variable.
35914 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35915
35916 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35917
35918 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35919 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35920 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35921 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35922 redirections for pow.
35923 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35924 * sysdeps/x86_64/fpu/Versions: New versions added.
35925 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35926 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35927 build of SSE, AVX2 and AVX512 IFUNC versions.
35928 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35929 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35930 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35931 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35932 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35933 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35934 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35935 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35936 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35937 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35938 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35939 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35940 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35941 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35942 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35943 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35944 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35945 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35946 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35947 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35948 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35949 * NEWS: Mention addition of x86_64 vector pow.
35950
35951 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35952 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35953 redirections for expf.
35954 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35955 * sysdeps/x86_64/fpu/Versions: New versions added.
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35957 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35958 build of SSE, AVX2 and AVX512 IFUNC versions.
35959 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35960 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35961 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35962 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35963 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35964 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35965 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35966 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35967 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35968 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35969 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35970 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35971 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35972 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35973 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35974 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35975 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35976 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35977 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35978 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35979 * NEWS: Mention addition of x86_64 vector expf.
35980
35981 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35982 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35983 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35984 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35985 redirections for exp.
35986 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35987 * sysdeps/x86_64/fpu/Versions: New versions added.
35988 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35989 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35990 build of SSE, AVX2 and AVX512 IFUNC versions.
35991 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35992 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35993 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35994 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35995 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35996 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35997 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35998 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35999 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36000 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36001 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36002 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36003 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36004 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36005 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36006 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36007 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36008 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36009 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36010 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36011 * NEWS: Mention addition of x86_64 vector exp.
36012
36013 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36014 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36015 redirections for logf.
36016 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36017 * sysdeps/x86_64/fpu/Versions: New versions added.
36018 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36019 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36020 build of SSE, AVX2 and AVX512 IFUNC versions.
36021 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36022 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36023 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36024 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36025 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36026 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36027 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36028 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36029 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36030 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36031 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36032 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36033 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36034 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36035 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36036 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36037 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36038 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36039 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36040 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36041 * NEWS: Mention addition of x86_64 vector logf.
36042
36043 * bits/libm-simd-decl-stubs.h: Added stubs for log.
36044 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36045 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36046 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36047 redirections for log.
36048 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36049 * sysdeps/x86_64/fpu/Versions: New versions added.
36050 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36051 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36052 build of SSE, AVX2 and AVX512 IFUNC versions.
36053 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36054 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36055 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36056 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36057 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36058 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36059 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36060 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36061 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36062 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36063 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36064 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36065 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36066 test.
36067 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36068 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36069 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36070 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36071 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36072 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36073 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36074 * NEWS: Mention addition of x86_64 vector log.
36075
36076 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
36077
36078 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36079 cfi_adjust_cfa_offset argument.
36080 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36081 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36082
36083 [BZ #18034]
36084 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36085 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36086 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36087 ordering using ldar.
36088 (_dl_tlsdesc_dynamic): Likewise.
36089 (_dl_tlsdesc_return_lazy): Likewise.
36090 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36091 relaxed atomics instead of volatile and synchronize with release store.
36092 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36093 volatile.
36094 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36095
36096 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
36097
36098 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36099 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36100 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36101 * sysdeps/x86_64/fpu/Versions: New versions added.
36102 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36103 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36104 build of SSE, AVX2 and AVX512 IFUNC versions.
36105 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36106 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36107 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36108 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36109 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36110 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36111 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36112 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36113 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36114 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36115 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36116 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36117 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36118 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36119 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36120 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36121 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36122 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36123 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36124 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36125 * NEWS: Mention addition of x86_64 vector sinf.
36126
36127 2015-06-14 Joseph Myers <joseph@codesourcery.com>
36128
36129 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36130 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36131 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36132 Remove variable.
36133 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36134 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36135
36136 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36137
36138 [BZ #18530]
36139 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36140 strong alias of _IO_fputs. Use libc_hidden_def.
36141 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36142 and define as weak alias of __fputs_unlocked. Use
36143 libc_hidden_weak.
36144 * include/stdio.h (__fputs_unlocked): Declare. Use
36145 libc_hidden_proto.
36146 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36147 fputs_unlocked.
36148
36149 [BZ #18529]
36150 * resolv/netdb.h [__USE_POSIX]: Change condition to
36151 [__USE_XOPEN2K].
36152 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36153 not expect.
36154 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36155 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36156 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36157 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36158 [XPG4 || UNIX98] (AI_ALL): Likewise.
36159 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36160 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36161 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36162 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36163 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36164 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36165 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36166 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36167 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36168 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36169 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36170 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36171 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36172 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36173 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36174 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36175 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36176 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36177 [XPG4 || UNIX98] (gai_strerror): Likewise.
36178 [XPG4 || UNIX98] (getaddrinfo): Likewise.
36179 [XPG4 || UNIX98] (getnameinfo): Likewise.
36180
36181 [BZ #18528]
36182 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36183 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36184 __USE_XOPEN2K8].
36185 (getgrent): Likewise.
36186 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36187 expect.
36188 [XPG3 || POSIX2008] (endgrent): Likewise.
36189 [XPG3] (setgrent): Likewise.
36190 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36191 variable.
36192 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36193
36194 [BZ #18527]
36195 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36196 define as weak alias of __getlogin_r. Use libc_hidden_weak.
36197 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36198 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36199 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36200 * include/unistd.h (__getlogin_r): Declare. Use
36201 libc_hidden_proto.
36202 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36203 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36204 variable.
36205 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36206 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36207 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36208
36209 2015-06-12 Martin Sebor <msebor@redhat.com>
36210
36211 [BZ #18512]
36212 * Makerules (check-install-supported): New target.
36213 (install): Add check-install-supported as a dependency.
36214 * manual/install.texi (Installing the C Library): Document
36215 that overriding prefix and exec_prefix is not supported.
36216 Mention DESTDIR.
36217 * INSTALL: Regenerate from the above.
36218
36219 2015-06-12 Joseph Myers <joseph@codesourcery.com>
36220
36221 [BZ #18519]
36222 * posix/Versions (libc): Export __libc_pread at version
36223 GLIBC_PRIVATE.
36224 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36225 instead of pread.
36226 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36227 variable.
36228
36229 [BZ #18522]
36230 * misc/efgcvt_r.c
36231 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36232 (cvt_symbol): Use weak_alias instead of strong_alias.
36233 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36234 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36235 Remove variable.
36236 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36237 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36238
36239 [BZ #18520]
36240 * inet/herrno.c (h_errno): Rename to __h_errno.
36241 (__libc_h_errno): Define as alias of __h_errno not h_errno.
36242 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36243 to __h_errno instead of h_errno.
36244 * nptl/herrno.c (h_errno): Rename to __h_errno.
36245 (__h_errno_location): Refer to __h_errno not h_errno.
36246 * resolv/Versions (h_errno): Rename to __h_errno.
36247 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36248 Remove variable.
36249 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36250
36251 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
36252
36253 * configure.ac: More strict check for AVX512 assembler support.
36254 * configure: Regenerated.
36255
36256 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36257 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36258 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36259 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36260 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36261 * sysdeps/x86_64/fpu/Versions: New versions added.
36262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36263 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36264 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36265 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36266 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36267 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36268 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36269 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36271 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36272 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36273 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36274 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36275 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36276 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36277 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36278 test.
36279 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36280 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36281 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36282 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36283 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36284 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36285 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36286 * NEWS: Mention addition of x86_64 vector sin.
36287
36288 2015-06-11 Florian Weimer <fweimer@redhat.com>
36289
36290 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36291 comment.
36292
36293 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
36294
36295 [BZ #18479]
36296 * nptl/pt-interp.c: New file.
36297 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36298 Add pt-interp.
36299 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36300 $(common-objpfx)runtime-linker.h.
36301
36302 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
36303
36304 * Makeconfig (+interp): Remove unused variable.
36305 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36306 only. Depend on $(common-objpfx)runtime-linker.h instead of
36307 $(elf-objpfx)runtime-linker.h.
36308 ($(elf-objpfx)runtime-linker.h): Rename to
36309 $(common-objpfx)runtime-linker.h and move ...
36310 * Makerules [$(build-shared) = yes]: ... here.
36311 * elf/interp.c: Include <runtime-linker.h> instead of
36312 <elf/runtime-linker.h>.
36313
36314 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36315
36316 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36317 (__gettimeofday_syscall): Remove vsyscall fallback.
36318 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36319 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36320 Add syscall fallback function.
36321 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36322 if vDSO is not present.
36323 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36324 fallback function.
36325 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36326 present.
36327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36328 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36329
36330 2015-06-09 Joseph Myers <joseph@codesourcery.com>
36331
36332 [BZ #18497]
36333 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36334 of wcscmp.
36335 (wcscmp): Define as weak alias of WCSCMP.
36336 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36337 wcscoll.
36338 (USE_HIDDEN_DEF): Define.
36339 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36340 __wcscoll. Don't use libc_hidden_weak.
36341 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36342 wcscmp.
36343 * sysdeps/i386/i686/multiarch/wcscmp-c.c
36344 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36345 __GI_wcscmp.
36346 (weak_alias): Undefine and redefine.
36347 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36348 __wcscmp and define as weak alias of __wcscmp.
36349 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36350 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
36351 (__wcscoll): Likewise.
36352 (wcscmp): Don't use libc_hidden_proto.
36353 (wcscoll): Likewise.
36354 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36355 wcscoll.
36356 * posix/regexec.c (check_node_accept_bytes): Likewise.
36357 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36358 variable.
36359 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36360 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36361
36362 [BZ #18507]
36363 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36364 __fstatvfs and define as weak alias of __fstatvfs. Use
36365 libc_hidden_weak.
36366 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36367 and define as weak alias of __statvfs. Use libc_hidden_weak.
36368 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36369 Define as alias of __fstatvfs, not fstatvfs.
36370 (fstatvfs64): Likewise.
36371 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36372 Define as alias of __statvfs, not statvfs.
36373 (statvfs64): Likewise.
36374 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36375 Remove variable.
36376
36377 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36378
36379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36380 (HAVE_GETCPU_VSYSCALL): Define.
36381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36382 (HAVE_GETCPU_VSYSCALL): Likewise.
36383 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36384 * sysdeps/unix/sysv/linux/sched_getcpu.c
36385 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36386 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36387 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36388 prototype.
36389 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36390 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36391 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36393 Define.
36394 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36395 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36396 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36397 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36398
36399 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
36400
36401 * sysdeps/x86_64/fpu/Makefile: New file.
36402 * sysdeps/x86_64/fpu/Versions: New file.
36403 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36404 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36405 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36406 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36407 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36408 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36409 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36410 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36411 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36412 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36413 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36414 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36415 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36416 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36417 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36418 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36419 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36420 * sysdeps/x86_64/configure.ac: Options for libmvec build.
36421 * sysdeps/x86_64/configure: Regenerated.
36422 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36423 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36424 * manual/install.texi (Configuring and compiling): Document
36425 --disable-mathvec.
36426 * INSTALL: Regenerated.
36427 * NEWS: Mention addition of libmvec and x86_64 vector cos.
36428
36429 * math/Makefile: Added rules for vector tests.
36430 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36431 declaration under condition.
36432 * math/test-double-vlen2.h: New file.
36433 * math/test-double-vlen4.h: New file.
36434 * math/test-double-vlen8.h: New file.
36435 * math/test-vec-loop.h: Added initialization macro.
36436 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36437 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36438 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36439 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36440 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36441 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36442 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36443 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36444 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36445 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36446 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36447
36448 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36449 * sysdeps/x86_64/fpu/Versions: New versions added.
36450 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36451 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36452 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36453 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36454 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36455 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36456 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36457 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36458 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36459 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36460 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36461 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36462 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36463 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36464 Added build of SSE, AVX2 and AVX512 IFUNC versions.
36465 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36466 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36467 * NEWS: Mention addition of x86_64 vector cosf.
36468
36469 * math/Makefile: Added CFLAGS for new tests.
36470 * math/test-float-vlen16.h: New file.
36471 * math/test-float-vlen4.h: New file.
36472 * math/test-float-vlen8.h: New file.
36473 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36474 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36476 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36477 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36478 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36479 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36480 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36481 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36482 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36483 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36484
36485 2015-06-09 Marko Myllynen <myllynen@redhat.com>
36486
36487 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36488 * locale/programs/ld-ctype.c: Likewise.
36489
36490 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
36491
36492 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36493 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36494 bit_ZMM16_31_state): New macro.
36495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36496 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36497
36498 2015-06-08 Joseph Myers <joseph@codesourcery.com>
36499
36500 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36501
36502 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
36503
36504 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36505
36506 2015-06-05 Joseph Myers <joseph@codesourcery.com>
36507
36508 [BZ #18498]
36509 * libio/memstream.c (open_memstream): Rename to __open_memstream
36510 and define as weak alias of __open_memstream.
36511 * include/stdio.h (__open_memstream): Declare. Use
36512 libc_hidden_proto.
36513 (open_memstream): Don't use libc_hidden_proto.
36514 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36515 open_memstream.
36516 * posix/getopt.c (_getopt_internal_r): Likewise.
36517 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36518 variable.
36519 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36520 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36521 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36522
36523 [BZ #18496]
36524 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36525 instead of wcrtomb.
36526
36527 [BZ #18483]
36528 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36529 [__USE_XOPEN2K8]. Remove redundant #endif.
36530 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36531 Remove redundant #if.
36532 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36533 Remove variable.
36534 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36535 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36536
36537 [BZ #18495]
36538 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36539 (__iswlower): Likewise.
36540 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36541 (__iswlower): Likewise.
36542 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36543 instead of towlower.
36544 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36545 instead of iswlower. Call __towupper instead of towupper.
36546 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36547 instead of iswalnum.
36548
36549 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36550
36551 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36552 errors to stderr.
36553
36554 2015-06-05 Florian Weimer <fweimer@redhat.com>
36555
36556 [BZ #15661]
36557 [BZ #17322]
36558 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36559 Check for overflow properly. Check for O_APPEND. Ignore large
36560 file system block sizes. Add comments about problems.
36561 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36562 * manual/filesys.texi (Storage Allocation): New node.
36563
36564 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36565
36566 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36567 cancellable syscalls.
36568 (SYS_ify): Add guard to no redefine it.
36569 (INLINE_SYSCALL): Likewise.
36570 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36571 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36572 SYSCALL_CANCEL instead.
36573 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36574 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36575 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36576 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36577 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36578 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36579 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36580 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36581 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36582 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36583 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36584 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36585 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36586 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36587 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36588 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36589 Likewise.
36590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36591 (__libc_pread64): Likewise.
36592 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36593 (__libc_preadv): Likewise.
36594 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36595 (__libc_readv64): Likewise.
36596 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36597 (__libc_pwrite): Likewise.
36598 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36599 (__libc_pwrite64): Likewise.
36600 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36601 (__libc_pwritev): Likewise.
36602 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36603 (__libc_pwritev64): Likewise.
36604 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36605 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36606 (sync_file_range): Likewise.
36607 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36608 Likewise.
36609 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36610 Likewise.
36611 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36612 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36613 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36614 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36615 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36616 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36617 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36618 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36620 Likewise.
36621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36622 (__libc_read64): Likewise.
36623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36624 Likewise.
36625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36626 Likewise.
36627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36628 Likewise.
36629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36630 Likewise.
36631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36632 (__libc_pread64): Likewise.
36633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36634 Likewise.
36635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36636 (__libc_pwrite64): Likewise.
36637 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36638 (sync_file_range): Likewise.
36639 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36640 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36641 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36642 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36643 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36644 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36645 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36646 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36647 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36648 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36649 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36650 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36651 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36652 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36653 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36654 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36655 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36656 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36657 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36658 Likewise.
36659 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36660 Likewise.
36661 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36662 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36663 Likewise.
36664 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36665 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36666 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36667 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36668 Likewise.
36669 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36670 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36671 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36672 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36673 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36674
36675 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
36676
36677 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36678 Include dl-vdso.
36679 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36680 Use VDSO routines for gettimeofday, clock_gettime if
36681 available.
36682 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36683 Declare VDSO symbols.
36684 * sysdeps/unix/sysv/linux/arm/sysdep.h:
36685 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36686 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36687 * sysdeps/unix/sysv/linux/arm/Versions: Add
36688 __vdso_clock_gettime.
36689
36690 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36691
36692 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36693 be an inline implementation regardless of library is built within.
36694 (open_not_cancel_2): Likewise.
36695 (__read_nocancel): Likewise.
36696 (__write_nocancel): Likewise.
36697 (openat_not_cancel): Likewise.
36698 (openat_not_cancel_3): Likewise.
36699 (openat64_not_cancel): Likewise.
36700 (openat64_not_cancel_3): Likewise.
36701 (__close_nocancel): Likewise.
36702 (pause_not_cancel): Likewise.
36703 (nanosleep_not_cancel): Likewise.
36704 (sigsuspend_not_cancel): Likewise.
36705
36706 2015-06-04 Torvald Riegel <triegel@redhat.com>
36707
36708 [BZ #14958]
36709 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36710 wake-up.
36711 (__pthread_rwlock_rdlock_slow): Likewise.
36712 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36713 Likewise.
36714 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36715 Likewise.
36716 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36717 * nptl/tst-rwlock16.c: New file.
36718 * nptl/Makefile (tests): Add new test.
36719
36720 2015-06-04 Torvald Riegel <triegel@redhat.com>
36721
36722 [BZ #18324]
36723 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36724 missing wake-up of readers.
36725 * nptl/tst-rwlock15.c: New file.
36726 * nptl/Makefile (tests): Add new test.
36727
36728 2015-06-03 Roland McGrath <roland@hack.frob.com>
36729
36730 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36731 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36732 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36733 and __nacl_supply_interface_rtld.
36734 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36735 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36736 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36737 Add __nacl_supply_interface_rtld.
36738 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36739
36740 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36741
36742 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36743 isfinite.
36744 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36745 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36746
36747 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36748
36749 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36750 __signbit* with standard C99 macros.
36751 * math/e_exp10l.c: Likewise.
36752 * math/e_exp2l.c: Likewise.
36753 * math/e_scalb.c: Likewise.
36754 * math/e_scalbf.c: Likewise.
36755 * math/e_scalbl.c: Likewise.
36756 * math/s_ldexp.c: Likewise.
36757 * math/s_ldexpf.c: Likewise.
36758 * math/s_ldexpl.c: Likewise.
36759 * math/w_atan2.c: Likewise.
36760 * math/w_atan2f.c: Likewise.
36761 * math/w_atan2l.c: Likewise.
36762 * math/w_cosh.c: Likewise.
36763 * math/w_coshf.c: Likewise.
36764 * math/w_coshl.c: Likewise.
36765 * math/w_exp10.c: Likewise.
36766 * math/w_exp10f.c: Likewise.
36767 * math/w_exp10l.c: Likewise.
36768 * math/w_exp2.c: Likewise.
36769 * math/w_exp2f.c: Likewise.
36770 * math/w_exp2l.c: Likewise.
36771 * math/w_fmod.c: Likewise.
36772 * math/w_fmodf.c: Likewise.
36773 * math/w_fmodl.c: Likewise.
36774 * math/w_hypot.c: Likewise.
36775 * math/w_hypotf.c: Likewise.
36776 * math/w_hypotl.c: Likewise.
36777 * math/w_jnl.c: Likewise.
36778 * math/w_lgamma.c: Likewise.
36779 * math/w_lgamma_r.c: Likewise.
36780 * math/w_lgammaf.c: Likewise.
36781 * math/w_lgammaf_r.c: Likewise.
36782 * math/w_lgammal.c: Likewise.
36783 * math/w_lgammal_r.c: Likewise.
36784 * math/w_pow.c: Likewise.
36785 * math/w_powf.c: Likewise.
36786 * math/w_powl.c: Likewise.
36787 * math/w_remainder.c: Likewise.
36788 * math/w_remainderf.c: Likewise.
36789 * math/w_remainderl.c: Likewise.
36790 * math/w_scalb.c: Likewise.
36791 * math/w_scalbf.c: Likewise.
36792 * math/w_scalbl.c: Likewise.
36793 * math/w_scalbln.c: Likewise.
36794 * math/w_scalblnf.c: Likewise.
36795 * math/w_scalblnl.c: Likewise.
36796 * math/w_sinh.c: Likewise.
36797 * math/w_sinhf.c: Likewise.
36798 * math/w_sinhl.c: Likewise.
36799 * math/w_tgamma.c: Likewise.
36800 * math/w_tgammaf.c: Likewise.
36801 * math/w_tgammal.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36809 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36810 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36811 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36812 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36813 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36815 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36816 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36817 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36819 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36825 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36827 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36828 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36829 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36830 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36833 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36834 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36835 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36836 * stdio-common/printf_fp.c: Likewise.
36837 * stdio-common/printf_fphex.c: Likewise.
36838 * stdio-common/printf_size.c: Likewise.
36839
36840 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36841
36842 [BZ #18470]
36843 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36844 strnlen.
36845 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36846 Remove variable.
36847 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36848 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36849 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36850 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36851 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36852 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36853 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36854 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36855 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36856 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36857
36858 [BZ #18468]
36859 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36860 weak alias of __wmemchr. Use libc_hidden_weak.
36861 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36862 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36863 instead of wmemchr.
36864
36865 2015-06-02 Roland McGrath <roland@hack.frob.com>
36866
36867 [BZ #18383]
36868 * elf/tst-tlsalign-extern.c: New file.
36869 * elf/tst-tlsalign-extern-static.c: New file.
36870 * elf/tst-tlsalign-vars.c: New file.
36871 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36872 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36873 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36874 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36875 (test-xfail-tst-tlsalign-extern-static): New variable.
36876
36877 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36878
36879 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36880 Use variable name _sc_err instead of err.
36881 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36882 instead of ret.
36883 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36884 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36885 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36886 (INLINE_SYSCALL): Likewise.
36887
36888 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36889 * include/string.h (__strnlen): Use libc_hidden_proto.
36890 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36891 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36892 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36893 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36894 (libc_hidden_def): Undefine and redefine.
36895 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36896 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36897 __GI_strnlen.
36898 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36899 libc_hidden_def.
36900 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36901
36902 [BZ #18469]
36903 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36904 weak alias of __towlower. Use libc_hidden_weak.
36905 (towupper): Rename to __towupper and define as weak alias of
36906 __towupper. Use libc_hidden_weak.
36907 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36908 (__towupper): Likewise.
36909 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36910 __towlower instead of towlower.
36911
36912 2015-06-02 Roland McGrath <roland@hack.frob.com>
36913
36914 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36915 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36916
36917 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36918
36919 * sysdeps/aarch64/libm-test-ulps: Update.
36920
36921 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36922
36923 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36924 Define.
36925 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36927 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36928 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36929 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36930 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36931 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36932
36933 2015-06-01 Martin Sebor <msebor@redhat.com>
36934
36935 [BZ #18116]
36936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36937 (__setcontext): Use extended four-operand version of mtsf whenever
36938 possible.
36939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36940 (__novec_swapcontext): Likewise.
36941
36942 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36943
36944 * benchtests/scripts/compare_bench.py: New file.
36945 * benchtests/scripts/import_bench.py (mean): New function.
36946 (split_list): Likewise.
36947 (do_for_all_timings): Likewise.
36948 (compress_timings): Likewise.
36949
36950 * benchtests/scripts/import_bench.py: New file.
36951 * benchtests/scripts/validate_benchout.py: Import import_bench
36952 instead of jsonschema.
36953 (validate_bench): Remove function.
36954 (main): Use import_bench.
36955
36956 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36957
36958 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36959 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36960
36961 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36962
36963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36964
36965 2015-05-28 Roland McGrath <roland@hack.frob.com>
36966
36967 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36968 set THREAD_SELF->tid to a magic value and futex-wake it.
36969 Pass its address to the thread_exit system call.
36970 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36971 bit is clear.
36972 * sysdeps/nacl/lowlevellock.h: New file.
36973 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36974
36975 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36976 Add TIMEOUT to current time, don't subtract it.
36977
36978 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36979
36980 [BZ #2981]
36981 [BZ #18422]
36982 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36983 ($(objpfx)tst-audit2.out): Also depend on
36984 $(objpfx)tst-auditmod9b.so.
36985 * elf/tst-audit2.c: Include <dlfcn.h>.
36986 (calloc_called): New.
36987 (calloc): Allow to be called more than once.
36988 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36989
36990 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36991
36992 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36993 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36994
36995 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36996
36997 * stdlib/monetary.h: Fix comment.
36998
36999 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
37000
37001 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37002 Avoid using variables in #defines that might cause shadowing.
37003 (INTERNAL_VSYSCALL_CALL): Likewise.
37004
37005 2015-05-26 Roland McGrath <roland@hack.frob.com>
37006
37007 * sysdeps/nacl/lll_timedlock_wait.c: New file.
37008
37009 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37010 * nptl/lll_timedlock_wait.c: ... to this new file.
37011 * nptl/Makefile (libpthread-routines): Add it.
37012 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37013 * nptl/lll_timedwait_tid.c: ... to this new file.
37014 * nptl/Makefile (libpthread-routines): Add it.
37015 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37016 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37017 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37018 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37019 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37020 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37021 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37022 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37023 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37024 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37025
37026 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37027
37028 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37029 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37030 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37031 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37032 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37033 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37034 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37036 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37037 * sysdeps/unix/sysv/linux/tile/sysdep.h
37038 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37039 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37040 using vDSO syscall macro.
37041
37042 2015-05-26 Andriy Rysin <arysin@gmail.com>
37043
37044 [BZ #17293]
37045 * uk_UA: Fix sorting order for Ukrainian locale
37046
37047 2015-05-26 Marko Myllynen <myllynen@redhat.com>
37048
37049 * stdlib/monetary.h: Fix comment.
37050
37051 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
37052
37053 [BZ #18234]
37054 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37055 st_mtim and st_ctim members.
37056 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37057 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37058 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37059 (struct stat64): Likewise.
37060 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37061 (struct stat64): Likewise.
37062 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37063 (struct stat64): Likewise.
37064
37065 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37066
37067 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37068 Define and include sysdep-vdso.h.
37069 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37070 Likewise.
37071 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37072 Likewise.
37073 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37074 Define with VDSO_SYMBOL and use PTR_MANGLE.
37075 (__vdso_clock_gettime): Likewise.
37076 (__vdso_clock_getres): Likewise.
37077 (_libc_vdso_platform_setup): Likewise.
37078 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37079 Likewise.
37080 (_libc_vdso_platform_setup): Likewise.
37081 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37082 Likewise.
37083 (__vdso_clock_gettime): Likewise.
37084 (__vdso_clock_getres): Likewise.
37085 (__vdso_get_tbfreq): Likewise.
37086 (__vdso_getcpu): Likewise.
37087 (__vdso_time): Likewise.
37088 (__vdso_sigtramp_rt64): Likewise.
37089 (__vdso_signtramp32): Likewise.
37090 (__vdso_sigtramp_rt32): Likewise.
37091 (_libc_vdso_platform_setup): Likewise.
37092 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37093 Likewise.
37094 (__vdso_clock_gettime): Likewise.
37095 (__vdso_clock_getres): Likewise.
37096 (_libc_vdso_platform_setup): Likewise.
37097 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37098 Likewise.
37099 (__vdso_clock_gettime): Likewise.
37100 (_libc_vdso_platform_setup): Likewise.
37101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37102 Likewise.
37103 (__vdso_getcpu): Likewise.
37104 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37105 Use VDSO_SYMBOL macro to define.
37106 (__vdso_clock_gettime): Likewise.
37107 (__vdso_clock_getres): Likewise.
37108 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37109 Likewise.
37110 (__vdso_clock_gettime): Likewise.
37111 (__vdso_clock_getres): Likewise.
37112 (__vdso_get_tbfreq): Likewise.
37113 (__vdso_getcpu): Likewise.
37114 (__vdso_time): Likewise.
37115 (__vdso_sigtramp_rt64): Likewise.
37116 (__vdso_signtramp32): Likewise.
37117 (__vdso_sigtramp_rt32): Likewise.
37118 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37119 Likewise.
37120 (__vdso_clock_gettime): Likewise.
37121 (__vdso_clock_getres): Likewise.
37122 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37123 Likewise.
37124 (__vdso_clock_gettime): Likewise.
37125 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37126 Likewise.
37127 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
37128 macro.
37129 (INTERNAL_VSYSCALL): Likewise.
37130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37131 Remove macro.
37132 (INTERNAL_VSYSCALL): Likewise.
37133 (INTERNAL_VSYSCALL_NCS): Likewise.
37134 (INTERNAL_VSYSCALL_CALL): New macro.
37135 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37137 Likewise.
37138 (INTERNAL_VSYSCALL): Likewise.
37139 (INTERNAL_VSYSCALL_NCS): Likewise.
37140 (INTERNAL_VSYSCALL_CALL): New macro.
37141 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37143 (INLINE_VSYSCALL): Remove macro.
37144 (INTERNAL_VSYSCALL): Remove macro.
37145 (INTERNAL_VSYSCALL_NCS): Remove macro.
37146 (INTERNAL_VSYSCALL_CALL): New macro.
37147 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37148 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37149 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37150 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37151 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37153 (INLINE_VSYSCALL): Remove macro.
37154 (INTERNAL_VSYSCALL): Likewise.
37155 (INTERNAL_VSYSCALL_NCS): Likewise.
37156 (INTERNAL_VSYSCALL_CALL): New macro.
37157 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37158 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37159 PTR_DEMANGLE on vDSO pointer.
37160 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37161 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37162 macro.
37163 (INTERNAL_SYSCALL): Likewise.
37164 (INTERNAL_VSYSCALL_NCS): Remove macro.
37165 (INTERNAL_VSYSCALL_CALL): New macro.
37166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37167 Remove macro.
37168 (INTERNAL_VSYSCALL): Likewise.
37169 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37170 sysdep-vdso.h instead of libc-vdso.h.
37171 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37172 definition.
37173 (INLINE_VSYSCALL): Likewise.
37174 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37175 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37176 definition.
37177 (INLINE_VSYSCALL): Likewise.
37178 (INTERNAL_VSYSCALL): Likewise.
37179 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37180 * sysdeps/unix/sysv/linux/timespec_get.c
37181 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37182 (timespec_get): Use ANSI prototype.
37183 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37184 and definition for Linux.
37185
37186 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
37187
37188 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37189 * include/libc-symbols.h: libmvec_hidden_* macro series added.
37190
37191 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
37192
37193 [BZ #2981]
37194 [BZ #18410]
37195 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37196 for missing DT_PLTRELSZ.
37197
37198 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
37199
37200 Remove obsolete aliases that broke 'locale -a'
37201 [BZ #18412]
37202 * intl/locale.alias: Remove obsolete aliases "bokmÄl" and "français"
37203 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37204 breaking some applications that use 'locale -a' output.
37205 Change the encoding of this file from Latin-1 to ASCII to avoid
37206 other potential problems with people grepping this file.
37207
37208 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37209
37210 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37211 -fasynchronous-unwind-tables.
37212 (CFLAGS-sendto.c): Likewise.
37213 (CFLAGS-sendmsg.c): Likewise.
37214 (CFLAGS-connect.c): Likewise.
37215 (CFLAGS-recvmsg.c): Likewise.
37216 (CFLAGS-recvfrom.c): Likewise.
37217 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37218 (SOCKETCALL): New macro: non-cancellable socketcall.
37219 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37220 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37221 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37222 * sysdeps/unix/sysv/linux/accept.c: New file.
37223 * sysdeps/unix/sysv/linux/bind.c: Likewise.
37224 * sysdeps/unix/sysv/linux/connect.c: Likewise.
37225 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37226 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37227 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37228 * sysdeps/unix/sysv/linux/listen.c: Likewise.
37229 * sysdeps/unix/sysv/linux/recv.c: Likewise.
37230 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37231 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37232 * sysdeps/unix/sysv/linux/send.c: Likewise.
37233 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37234 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37235 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37236 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37237 * sysdeps/unix/sysv/linux/socket.c: Likewise.
37238 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37239 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37240 prototype.
37241 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37242 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37243 instead of __internal_xxx function.
37244 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37245 prototype.
37246 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37247 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37248 instead of __internal_xxx function.
37249 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37250 prototype.
37251 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37252 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37253 instead of __internal_xxx function.
37254 * sysdeps/unix/sysv/linux/accept.S: Remove file.
37255 * sysdeps/unix/sysv/linux/bind.S: Likewise.
37256 * sysdeps/unix/sysv/linux/connect.S: Likewise.
37257 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37258 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37259 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37260 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37261 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37262 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37263 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37264 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37265 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37266 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37267 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37269 * sysdeps/unix/sysv/linux/listen.S: Likewise.
37270 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37271 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37272 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37273 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37276 * sysdeps/unix/sysv/linux/recv.S: Likewise.
37277 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37278 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37279 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37280 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37281 * sysdeps/unix/sysv/linux/send.S: Likewise.
37282 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37283 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37284 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37285 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37286 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37287 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37288 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37289 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37290 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37291 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37292 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37293 socketcall is implemented in GLIBC.
37294
37295 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37296
37297 * soft-fp/fmadf4.c: Include <libc-internal.h>.
37298 (__fma): Ignore uninitialized warnings around packing.
37299 * soft-fp/fmasf4.c: Include <libc-internal.h>.
37300 (__fmaf): Ignore uninitialized warnings around packing.
37301 * soft-fp/fmatf4.c: Include <libc-internal.h>.
37302 (__fmal): Ignore uninitialized warnings around packing.
37303
37304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37305 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37307 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37308
37309 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37310 switch statement into default case.
37311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37312
37313 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37314 a conditional in forcing "inexact".
37315 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37316 Likewise.
37317
37318 2015-05-22 Roland McGrath <roland@hack.frob.com>
37319
37320 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37321 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37322 for each INTERNAL_SYSCALL use.
37323
37324 2015-05-22 Joseph Myers <joseph@codesourcery.com>
37325
37326 [BZ #438]
37327 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37328 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37329 variable.
37330
37331 [BZ #18444]
37332 * string/basename.c (basename): Rename to __basename and define as
37333 weak alias of __basename. Use libc_hidden_weak.
37334 * include/string.h (__basename): Declare. Use libc_hidden_proto.
37335 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37336 __basename instead of basename.
37337 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37338 Remove variable.
37339 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37340
37341 2015-05-18 Florian Weimer <fweimer@redhat.com>
37342
37343 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37344 (_IO_JUMPS_FILE_plus): New.
37345 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37346 _IO_CAST_FIELD_ACCESS.
37347 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37348 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37349 * libio/freopen.c (freopen): Likewise.
37350 * libio/freopen64.c (freopen64): Likewise.
37351 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37352 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37353 * libio/iofwide.c (_IO_fwide): Likewise.
37354 * libio/memstream.c (open_memstream): Likewise.
37355 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37356 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37357 * libio/oldiopopen.c (_IO_old_popen): Likewise.
37358
37359 2015-05-21 Joseph Myers <joseph@codesourcery.com>
37360
37361 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37362 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37363 NADJ.
37364 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37365 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37366 NADJ.
37367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37368 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37369 NADJ.
37370
37371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37372 (p == 4) case.
37373
37374 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37375 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37376 Remove variable.
37377 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37378 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37379 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37380
37381 2015-05-21 Florian Weimer <fweimer@redhat.com>
37382
37383 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37384 Adjust jump table label generation macros.
37385
37386 2015-05-21 Florian Weimer <fweimer@redhat.com>
37387
37388 * stdio-common/vfprintf.c (vfprintf): Move local variables
37389 args_malloced, specs, specs_malloced, and the code after
37390 do_positional to the printf_positional function.
37391 (printf_positional): New function.
37392
37393 2015-05-21 Florian Weimer <fweimer@redhat.com>
37394
37395 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37396 function.
37397 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37398 STEP4_TABLE, process_arg): Move macro definitions
37399 out of the vfprintf function. (Cosmetic change only.)
37400
37401 2015-05-21 Carlos O'Donell <carlos@redhat.com>
37402
37403 * benchtests/Makefile (stdio-common-bench): Define.
37404 (benchset): Add stdio-common-bench.
37405 * sprintf-inputs: New file.
37406 * sprintf-source.c: New file.
37407
37408 2015-05-21 Andreas Schwab <schwab@suse.de>
37409
37410 [BZ #13028]
37411 [BZ #17053]
37412 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37413 of struct __res_state.
37414 * resolv/res_send.c (__libc_res_nsend): Likewise.
37415 (get_nsaddr): New function.
37416 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37417 statp directly.
37418
37419 2015-05-20 Joseph Myers <joseph@codesourcery.com>
37420
37421 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37422 -D_POSIX_C_SOURCE=199506L.
37423
37424 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37425
37426 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37427 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37428 Do not mention otherwise.
37429 [POSIX] (_XOPEN_VERSION): Do not expect.
37430 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37431 [POSIX] (_POSIX2_C_BIND): Likewise.
37432 [POSIX] (_POSIX2_VERSION): Likewise.
37433 [POSIX] (_XOPEN_XPG2): Likewise.
37434 [POSIX] (_XOPEN_XPG3): Likewise.
37435 [POSIX] (_XOPEN_XPG4): Likewise.
37436 [POSIX] (_XOPEN_UNIX): Likewise.
37437 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37438 [POSIX] (_POSIX_BARRIERS): Likewise.
37439 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37440 [POSIX] (_POSIX_CPUTIME): Likewise.
37441 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37442 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37443 [POSIX] (_POSIX_SHELL): Likewise.
37444 [POSIX] (_POSIX_SPAWN): Likewise.
37445 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37446 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37447 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37448 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37449 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37450 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37451 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37452 [POSIX] (_XBS5_LP64_OFF64): Likewise.
37453 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37454 [POSIX] (_POSIX_TIMEOUTS): Likewise.
37455 [POSIX] (_POSIX2_PBS): Likewise.
37456 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37457 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37458 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37459 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37460 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37461 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37462 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37463 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37464 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37465 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37466 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37467 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37468 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37469 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37470 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37471 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37472 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37473 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37474 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37475 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37476 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37477 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37478 [POSIX] (_SC_2_C_BIND): Likewise.
37479 [POSIX] (_SC_2_C_VERSION): Likewise.
37480 [POSIX] (_SC_2_PBS): Likewise.
37481 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37482 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37483 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37484 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37485 [POSIX] (_SC_2_PBS_TRACK): Likewise.
37486 [POSIX] (_SC_ATEXIT_MAX): Likewise.
37487 [POSIX] (_SC_BARRIERS): Likewise.
37488 [POSIX] (_SC_BASE): Likewise.
37489 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37490 [POSIX] (_SC_DEVICE_IO): Likewise.
37491 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37492 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37493 [POSIX] (_SC_FD_MGMT): Likewise.
37494 [POSIX] (_SC_FIFO): Likewise.
37495 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37496 [POSIX] (_SC_FILE_LOCKING): Likewise.
37497 [POSIX] (_SC_FILE_SYSTEM): Likewise.
37498 [POSIX] (_SC_IOV_MAX): Likewise.
37499 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37500 [POSIX] (_SC_NETWORKING): Likewise.
37501 [POSIX] (_SC_PAGE_SIZE): Likewise.
37502 [POSIX] (_SC_PASS_MAX): Likewise.
37503 [POSIX] (_SC_PIPE): Likewise.
37504 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37505 [POSIX] (_SC_REGEXP): Likewise.
37506 [POSIX] (_SC_SHELL): Likewise.
37507 [POSIX] (_SC_SIGNALS): Likewise.
37508 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37509 [POSIX] (_SC_SPIN_LOCKS): Likewise.
37510 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37511 [POSIX] (_SC_USER_GROUPS): Likewise.
37512 [POSIX] (_SC_USER_GROUPS_R): Likewise.
37513 [POSIX] (_SC_STREAMS): Likewise.
37514 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37515 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37516 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37517 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37518 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37519 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37520 [POSIX] (_PC_FILESIZEBITS): Likewise.
37521 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37522 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37523 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37524 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37525 [POSIX] (uid_t): Likewise.
37526 [POSIX] (gid_t): Likewise.
37527 [POSIX] (off_t): Likewise.
37528 [POSIX] (pid_t): Likewise.
37529 [POSIX] (cuserid): Allow.
37530 (_SC_2_CHAR_TERM): Require constant.
37531 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37532 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37533 variable.
37534
37535 2015-05-20 Roland McGrath <roland@hack.frob.com>
37536
37537 * sysdeps/nacl/pthread-pids.h: New file.
37538 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37539 (create_thread): Use __nacl_get_tid to initialize PD->tid.
37540
37541 * nptl/pthread-pids.h: New file.
37542 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37543 * nptl/nptl-init.c: Include <pthread-pids.h>.
37544 (__pthread_initialize_minimal_internal):
37545 Call __pthread_initialize_pids instead of set_tid_address syscall.
37546
37547 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37548 * sysdeps/posix/usleep.c: ... here.
37549
37550 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37551
37552 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37553 call_pselect6 object.
37554 [$(subdir) = io]: Remove call_sync_file_range object.
37555 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37556 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37557 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37558 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37559
37560 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
37561
37562 * math/s_cproj.c: Add include "math_private.h".
37563 * math/s_cprojf.c: Likewise.
37564 * math/s_cprojl.c: Likewise.
37565
37566 2015-05-19 Joseph Myers <joseph@codesourcery.com>
37567
37568 [BZ #18244]
37569 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37570 high mantissa bit when testing whether P is a NaN.
37571 * math/libm-test.inc (remainder_test_data): Add more tests.
37572 (remquo_test_data): Likewise.
37573
37574 [BZ #18049]
37575 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37576 below -32, return the argument, with underflow if subnormal.
37577 * math/auto-libm-test-in: Add more tests of atanh.
37578 * math/auto-libm-test-out: Regenerated.
37579
37580 2015-05-19 Roland McGrath <roland@hack.frob.com>
37581
37582 [BZ #18434]
37583 * nptl/tst-sem15.c: New file.
37584 * nptl/Makefile (tests): Add it.
37585 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37586 s/<</>>/ to fix typo in EOVERFLOW check.
37587 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37588
37589 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37590
37591 * manual/strings.texi (envz_remove): Fix typo in safety
37592 annotations.
37593
37594 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
37595 Steve Ellcey <sellcey@imgtec.com>
37596
37597 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37598 in order to avoid strict alias warnings.
37599 (iruserok_af): Ditto for ra.
37600
37601 2015-05-19 James Lemke <jwlemke@codesourcery.com>
37602
37603 [BZ #17581]
37604 * malloc/hooks.c
37605 (magicbyte): Convert to a function and avoid returning 0x01.
37606 (mem2mem_check): Avoid using a length byte equal to the magic byte.
37607 (mem2chunk_check): Fix unsigned comparisons to zero.
37608 Hoist defs of sz and magic.
37609
37610 2015-05-19 Richard Henderson <rth@redhat.com>
37611
37612 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37613
37614 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37615
37616 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37617
37618 [BZ #16159]
37619 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37620 * malloc/arena.c (arena_lock): Check if arena is corrupt.
37621 (reused_arena): Find a non-corrupt arena.
37622 (heap_trim): Pass arena to unlink.
37623 * malloc/hooks.c (malloc_check_get_size): Pass arena to
37624 malloc_printerr.
37625 (top_check): Likewise.
37626 (free_check): Likewise.
37627 (realloc_check): Likewise.
37628 * malloc/malloc.c (malloc_printerr): Add arena argument.
37629 (unlink): Likewise.
37630 (munmap_chunk): Adjust.
37631 (ARENA_CORRUPTION_BIT): New macro.
37632 (arena_is_corrupt): Likewise.
37633 (set_arena_corrupt): Likewise.
37634 (sysmalloc): Use mmap if there are no usable arenas.
37635 (_int_malloc): Likewise.
37636 (__libc_malloc): Don't fail if arena_get returns NULL.
37637 (_mid_memalign): Likewise.
37638 (__libc_calloc): Likewise.
37639 (__libc_realloc): Adjust for additional argument to
37640 malloc_printerr.
37641 (_int_free): Likewise.
37642 (malloc_consolidate): Likewise.
37643 (_int_realloc): Likewise.
37644 (_int_memalign): Don't touch corrupt arenas.
37645 * malloc/tst-malloc-backtrace.c: New test case.
37646
37647 * Makefile (summarize-tests): Fix return value on success.
37648
37649 * manual/string.texi (Envz Functions): Add envz_remove.
37650
37651 2015-05-18 Roland McGrath <roland@hack.frob.com>
37652
37653 * sysdeps/posix/opendir.c: Include <stdbool.h>.
37654 (invalid_name): New function, broken out of ...
37655 (__opendirat): ... here. Call it.
37656 (need_isdir_precheck): New function, broken out of ...
37657 (__opendirat): ... here. Call it.
37658 Use __fxstatat64, not __xstatat64.
37659 (opendir_oflags): New function, broken out of ...
37660 (__opendirat): ... here. Call it.
37661 (opendir_tail): New function, broken out of ...
37662 (__opendirat): ... here. Call it.
37663 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37664 opendir_tail, rather than punting to __opendirat.
37665 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37666
37667 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37668
37669 * .gitignore: Ignore generated *.pyc.
37670
37671 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
37672
37673 * include/stdio.h: Define __need_wint_t.
37674 * test-skeleton.c: Avoid `for' loop initial declaration.
37675 * nptl/tst-initializers1.c: Use test-skeleton.c.
37676
37677 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37678
37679 [BZ #18418]
37680 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37681
37682 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37683
37684 [BZ #16352]
37685 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37686 (__ieee754_atanh): Force underflow exception for results with
37687 small absolute value.
37688 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37689 (__ieee754_atanhf): Force underflow exception for results with
37690 small absolute value.
37691 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37692 (__ieee754_atanh): Force underflow exception for results with
37693 small absolute value.
37694 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37695 (__ieee754_atanhf): Force underflow exception for results with
37696 small absolute value.
37697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37698 (__ieee754_atanhl): Force underflow exception for results with
37699 small absolute value.
37700 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37701 (__ieee754_atanhl): Force underflow exception for results with
37702 small absolute value.
37703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37704 (__ieee754_atanhl): Force underflow exception for results with
37705 small absolute value.
37706 * math/auto-libm-test-in: Do not allow missing underflow
37707 exceptions from atanh.
37708 * math/auto-libm-test-out: Regenerated.
37709
37710 [BZ #18221]
37711 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37712 2**-28 as threshold for returning x or +/- 1/x.
37713 * math/auto-libm-test-in: Add more tests of tan.
37714 * math/auto-libm-test-out: Regenerated.
37715
37716 [BZ #18220]
37717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37718 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37719 * math/auto-libm-test-in: Add another test of lgamma.
37720 * math/auto-libm-test-out: Regenerated.
37721
37722 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
37723
37724 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37725 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37726 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37727 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37728 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37729 (ADD2A): Use fabs. (SUB2A): Use fabs.
37730 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37733 (log1): Use fabs. (my_log2): Use fabs.
37734 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37735 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37737 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37739 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37740 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37741 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37742 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37743 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37744 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37745
37746 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37747
37748 [BZ #18217]
37749 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37750 as threshold for returning 1 - x.
37751 * math/auto-libm-test-in: Add more tests of erfc.
37752 * math/auto-libm-test-out: Regenerated.
37753
37754 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37755
37756 [BZ #18196]
37757 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37758 threshold for large arguments.
37759 * math/auto-libm-test-in: Add another test of atan.
37760 * math/auto-libm-test-out: Regenerated.
37761
37762 [BZ #16339]
37763 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37764 (__log1p): Force underflow exception for results with small
37765 absolute value.
37766 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37767 (__log1pf): Force underflow exception for results with small
37768 absolute value.
37769 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37770 (__log1p): Force underflow exception for results with small
37771 absolute value.
37772 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37773 (__log1pf): Force underflow exception for results with small
37774 absolute value.
37775 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37776 (__log1pl): Force underflow exception for results with small
37777 absolute value.
37778 * math/auto-libm-test-in: Do not allow missing underflow
37779 exceptions from log1p.
37780 * math/auto-libm-test-out: Regenerated.
37781
37782 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37783 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37784
37785 [BZ #16704]
37786 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37787
37788 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37789
37790 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37791 (libmvec): New variable.
37792 * configure.ac: Added option for mathvec build.
37793 * configure: Regenerated.
37794 * mathvec/Depend: New file.
37795 * mathvec/Makefile: New file.
37796 * shlib-versions: Added libmvec.
37797 * math/Makefile: Added rule for libm.so installation.
37798
37799 * bits/math-vector.h: New file.
37800 * bits/libm-simd-decl-stubs.h: New header.
37801 * math/Makefile (headers): Added new header
37802 libm-simd-decl-stubs.h.
37803 * math/math.h (__MATHCALL_VEC): New macro.
37804
37805 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37806 for conditions in testing functions.
37807 * math/Makefile: Added call of libm-have-vector-test.sh.
37808 * math/libm-test.inc (HAVE_VECTOR): New macros.
37809
37810 * math/libm-test.inc: START refactored.
37811 * math/test-double.c (TEST_MATHVEC): Add define.
37812 * math/test-float.c: Likewise.
37813 * math/test-idouble.c: Likewise.
37814 * math/test-ifloat.c: Likewise.
37815 * math/test-ildoubl.c: Likewise.
37816 * math/test-ldouble.c: Likewise.
37817 * sysdeps/generic/math-tests-arch.h
37818 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37819 architecture check.
37820
37821 * math/test-double.c (FUNC_TEST): New macro.
37822 * math/test-float.c: Likewise.
37823 * math/test-idouble.c: Likewise.
37824 * math/test-ifloat.c: Likewise.
37825 * math/test-ildoubl.c: Likewise.
37826 * math/test-ldouble.c: Likewise.
37827 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37828
37829 2015-05-13 Roland McGrath <roland@hack.frob.com>
37830
37831 * sysdeps/nacl/fdopendir.c: New file.
37832
37833 * dirent/scandir-tail.c: New file.
37834 * dirent/scandir64-tail.c: New file.
37835 * dirent/Makefile (routines): Add them.
37836 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37837 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37838 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37839 [!SCANDIR] (SCANDIR_TAIL): New macro.
37840 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37841 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37842 (SCANDIRAT): Macro removed.
37843 (SCANDIR_TAIL): New macro.
37844 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37845 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37846 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37847 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37848 (READDIR): Macro removed.
37849 (SCANDIR_TAIL): New macro.
37850 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37851 (SCANDIR_TAIL): New macro.
37852
37853 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37854 * dirent/scandir-cancel.c: ... to this new file.
37855 * dirent/Makefile (routines): Add it.
37856 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37857 * sysdeps/unix/sysv/linux/i386/scandir64.c
37858 (SKIP_SCANDIR_CANCEL): Macro removed.
37859 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37860
37861 * dirent/tst-scandir.c: New file.
37862 * dirent/tst-scandir64.c: New file.
37863 * dirent/Makefile (tests): Add them.
37864
37865 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37866
37867 [BZ #18409]
37868 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37869
37870 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37871
37872 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37873 list.
37874
37875 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37876
37877 * benchtests/bench-strcoll.c: New benchmark.
37878 * benchtests/Makefile: Generate locales and run benchmark.
37879 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37880 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37881 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37882 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37883 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37884 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37885 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37886 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37887 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37888 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37889 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37890 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37891 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37892 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37893 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37894 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37895 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37896 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37897 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37898 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37899 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37900 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37901 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37902 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37903
37904 2015-05-12 Ondƙej Bílka <neleai@seznam.cz>
37905
37906 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37907 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37908
37909 2015-05-12 Roland McGrath <roland@hack.frob.com>
37910
37911 * posix/uname-values.h: New file.
37912 * posix/uname.c: Include that instead of <config-name.h>.
37913 * sysdeps/nacl/uname-values.h: New file.
37914 * sysdeps/arm/nacl/uname-values.h: New file.
37915
37916 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37917
37918 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37919 splitting into fields.
37920
37921 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37922
37923 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37924 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37925 * locale/localeinfo.h: Add enum collation_encoding_type.
37926 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37927 * programs/ld-collate.c (collate_output): Add encoding type info.
37928 * string/strcoll_l.c (STRDIFF): New function.
37929 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37930 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37931
37932 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37933
37934 [BZ #18397]
37935 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37936 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37937 <fpu_control.h> instead of <math/fpu_control.c>.
37938 * sysdeps/mips/mips32/fpu/Makefile: New file.
37939
37940 2015-05-11 Andreas Schwab <schwab@suse.de>
37941
37942 [BZ #18007]
37943 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37944 nss_endgrent.
37945 (_nss_compat_endgrent): Call nss_endgrent.
37946 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37947 nss_endpwent.
37948 (_nss_compat_endpwent): Call nss_endpwent.
37949 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37950 needent, call nss_setspent only if non-zero.
37951 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37952 (internal_endspent): Don't call nss_endspent.
37953 (_nss_compat_endspent): Call nss_endspent.
37954 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37955 Remove. All uses removed.
37956 (internal_setent): Remove parameter stayopen, add parameter
37957 stream. Use it instead of global variable.
37958 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37959 (internal_endent, internal_getent): Add parameter stream. Use it
37960 instead of global variable.
37961 (CONCAT(_nss_files_end,ENTNAME))
37962 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37963 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37964 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37965 uses removed.
37966 (internal_setent, internal_endent): Add parameter stream. Use it
37967 instead of global variable.
37968 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37969 stream.
37970 (get_next_alias): Add parameter stream.
37971 (_nss_files_getaliasent_r): Pass global stream.
37972 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37973 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37974 (_nss_files_gethostbyname4_r): Pass local stream to
37975 internal_setent, internal_getent and internal_endent. Remove
37976 locking.
37977
37978 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37979
37980 * tst-strfmon1.c (tests): Update expected currency symbol.
37981
37982 2015-05-08 Roland McGrath <roland@hack.frob.com>
37983
37984 * sysdeps/nacl/gethostname.c: New file.
37985
37986 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37987
37988 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37989 and sinh.
37990 * math/auto-libm-test-out: Regenerated.
37991 * sysdeps/i386/fpu/libm-test-ulps: Update.
37992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37993
37994 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37995
37996 [BZ #18125]
37997 * stdlib/tst-setcontext3.c: New file.
37998 * stdlib/tst-setcontext3.sh: New file.
37999 * stdlib/Makefile (tests): Add tst-setcontext3.
38000 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38001 to verify test program created output file.
38002 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38003 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38004 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38005 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38006
38007 2015-05-06 Roland McGrath <roland@hack.frob.com>
38008
38009 [BZ #18383]
38010 * elf/tst-tlsalign.c: New file.
38011 * elf/tst-tlsalign-static.c: New file.
38012 * elf/tst-tlsalign-lib.c: New file.
38013 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38014 (tests-static): Add tst-tlsalign-static.
38015 (modules-names): Add tst-tlsalign-lib.
38016 (test-xfail-tst-tlsalign): New variable.
38017 (test-xfail-tst-tlsalign-static): New variable.
38018
38019 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38020 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38021
38022 2015-05-06 Joseph Myers <joseph@codesourcery.com>
38023
38024 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38025 csqrt, erfc, sin and sincos.
38026 * math/auto-libm-test-out: Regenerated.
38027 * sysdeps/i386/fpu/libm-test-ulps: Update.
38028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38029
38030 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
38031
38032 * sysdeps/aarch64/libm-test-ulps: Update.
38033
38034 2015-05-05 Joseph Myers <joseph@codesourcery.com>
38035
38036 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38037 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38038 * math/auto-libm-test-out: Regenerated.
38039 * sysdeps/i386/fpu/libm-test-ulps: Update.
38040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38041
38042 2015-04-30 Daniel MarjamÀki <daniel.marjamaki@evidente.se>
38043
38044 [BZ #18265]
38045 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38046 (wcsncpy): Likewise.
38047
38048 2015-05-05 Florian Weimer <fweimer@redhat.com>
38049
38050 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38051 Assume __ASSUME_FALLOCATE is always true.
38052 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38053 (__posix_fallocate64_l64): Likewise.
38054 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38055 (posix_fallocate): Likewise.
38056 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38057 (__posix_fallocate64_l64): Likewise.
38058 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38059 [!__ASSUME_FALLOCATE]: Add comment.
38060
38061 2015-05-05 Florian Weimer <fweimer@redhat.com>
38062
38063 * sysdeps/unix/sysv/linux/i386/Makefile
38064 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38065 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38066 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38067 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38068 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38069 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38070 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38071
38072 2015-05-02 Joseph Myers <joseph@codesourcery.com>
38073
38074 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38075 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38076 tgamma.
38077 * math/auto-libm-test-out: Regenerated.
38078 * sysdeps/i386/fpu/libm-test-ulps: Update.
38079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38080
38081 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38082
38083 * math/auto-libm-test-in: Add more tests of tgamma.
38084 * math/auto-libm-test-out: Regenerated.
38085 * sysdeps/i386/fpu/libm-test-ulps: Update.
38086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38087
38088 * math/auto-libm-test-in: Add more tests of tanh.
38089 * math/auto-libm-test-out: Regenerated.
38090 * sysdeps/i386/fpu/libm-test-ulps: Update.
38091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38092
38093 * math/auto-libm-test-in: Add more tests of tan.
38094 * math/auto-libm-test-out: Regenerated.
38095 * sysdeps/i386/fpu/libm-test-ulps: Update.
38096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38097
38098 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38099 * math/auto-libm-test-out: Regenerated.
38100 * sysdeps/i386/fpu/libm-test-ulps: Update.
38101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38102
38103 * math/auto-libm-test-in: Add another test of pow.
38104 * math/auto-libm-test-out: Regenerated.
38105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38106
38107 * math/auto-libm-test-in: Add more tests of lgamma.
38108 * math/auto-libm-test-out: Regenerated.
38109 * sysdeps/i386/fpu/libm-test-ulps: Update.
38110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38111
38112 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38113 log1p.
38114 * math/auto-libm-test-out: Regenerated.
38115 * sysdeps/i386/fpu/libm-test-ulps: Update.
38116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38117
38118 2015-05-01 Mark Wielaard <mjw@redhat.com>
38119
38120 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38121 Elf64_Chdr structs and ELFCOMPRESS constants.
38122
38123 2015-05-01 Joseph Myers <joseph@codesourcery.com>
38124
38125 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38126 expm1.
38127 * math/auto-libm-test-out: Regenerated.
38128 * sysdeps/i386/fpu/libm-test-ulps: Update.
38129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38130
38131 * math/auto-libm-test-in: Add more tests of erf and erfc.
38132 * math/auto-libm-test-out: Regenerated.
38133 * sysdeps/i386/fpu/libm-test-ulps: Update.
38134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38135
38136 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
38137
38138 * config.h.in (HAVE_AARCH64_BE): Add.
38139
38140 2015-04-30 Joseph Myers <joseph@codesourcery.com>
38141
38142 * math/auto-libm-test-in: Add more tests of csqrt.
38143 * math/auto-libm-test-out: Regenerated.
38144 * sysdeps/i386/fpu/libm-test-ulps: Update.
38145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38146
38147 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38148 * math/auto-libm-test-out: Regenerated.
38149 * sysdeps/i386/fpu/libm-test-ulps: Update.
38150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38151
38152 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38153
38154 2015-04-29 Roland McGrath <roland@hack.frob.com>
38155
38156 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38157 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38158
38159 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38160 (euidaccess, eaccess): Define as weak aliases.
38161
38162 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38163 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
38164 but __suseconds_t is often 'long int' so some sources assume that
38165 type is being used (e.g. they use %ld to print tv_usec).
38166
38167 2015-04-29 Florian Weimer <fweimer@redhat.com>
38168
38169 [BZ #18007]
38170 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38171 (CVE-2014-8121)
38172 * nss/tst-nss-getpwent.c: New file.
38173 * nss/Makefile (tests): Add new test.
38174
38175 2015-04-28 Joseph Myers <joseph@codesourcery.com>
38176
38177 [BZ #18346]
38178 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38179 exponents less than 48 as cases where high part of mantissa needs
38180 examining to determine whether argument is integral.
38181 * math/libm-test.inc (round_test_data): Add more tests.
38182
38183 2015-04-28 Mark Wielaard <mjw@redhat.com>
38184
38185 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38186
38187 2015-04-27 David S. Miller <davem@davemloft.net>
38188
38189 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38190 __tls_get_addr.
38191 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38192
38193 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
38194
38195 [BZ #18333]
38196 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38197
38198 2015-04-27 Florian Weimer <fweimer@redhat.com>
38199
38200 [BZ #18333]
38201 * time/tzset.c (parse_tzname): Return error on memory allocation
38202 failure.
38203 * test-skeleton.c (struct temp_name_list): Change type of name
38204 member to non-const.
38205 (add_temp_file): Create a copy of the file name.
38206 (delete_temp_files): Deallocate memory.
38207 (create_temp_file): Add comment.
38208
38209 2015-04-24 Florian Weimer <fweimer@redhat.com>
38210
38211 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38212 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38213
38214 2015-04-24 Roland McGrath <roland@hack.frob.com>
38215
38216 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38217 * sysdeps/arm/configure: Regenerated.
38218
38219 2015-04-24 Florian Weimer <fweimer@redhat.com>
38220
38221 [BZ #17715]
38222 * time/tzfile.c (__tzfile_read): Check for large values of
38223 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
38224 * time/tzset.c (__tzstring_len): New function, based on the old
38225 __tzstring function.
38226 (__tzstring): Call __tzstring_len.
38227 (parse_tzname): New helper function extracted from
38228 __tzset_parse_tz. Call __tzstring_len, without making a copy of
38229 the input string.
38230 (parse_offset): New helper function extracted from
38231 __tzset_parse_tz. Replace switch with fallthrough with
38232 initialization before sscanf.
38233 (parse_rule): Likewise.
38234 (__tzset_parse_tz): Rewrite using the new helper functions. Use
38235 new-style function definition.
38236 * timezone/Makefile (tests): Add tst-tzset.
38237 (tst-tzset.out): Dependencies on time zone files.
38238 (tst-tzset-ENV): Set TZDIR.
38239 (testdata/XT%): Copy crafted time zone files.
38240 * timezone/README: Mention crafted time zone files.
38241 * timezone/testdata/XT1, timezone/testdata/XT2,
38242 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38243 files.
38244 * timezone/tst-tzset.c: New test.
38245
38246 2015-04-24 Florian Weimer <fweimer@redhat.com>
38247
38248 * Makeconfig (+gccwarn): Remove -Winline.
38249
38250 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38251
38252 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38253
38254 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38255
38256 * NEWS: Mention sysconf() cache information support for s390.
38257 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38258
38259 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
38260
38261 * math/k_casinh.c (__kernel_casinh): Use __copysign.
38262 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38263 (__nearbyint): Likewise.
38264 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38265 (copysignl): Likewise.
38266
38267 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
38268
38269 [BZ #18287]
38270 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38271 based on padding. (CVE-2015-1781)
38272
38273 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38274
38275 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38276 libc-vdso.h.
38277 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38278 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38279 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38280 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38281 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38282 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38283 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38284 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38285 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38286 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38287 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38288 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38289 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38290 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38291 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38292 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38293 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38294 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38295 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38296 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38297 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38298 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38299 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38300
38301 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
38302
38303 * stdlib/setenv.c (__add_to_environ):
38304 Dump core quickly if setenv (..., NULL, ...) is called.
38305 This time, do it the right way, and pacify GCC with a pragma.
38306
38307 2015-04-17 Roland McGrath <roland@hack.frob.com>
38308
38309 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38310 IMAP->l_prev cannot be null, and #if out the code for the contrary
38311 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38312 believe that NS (&_dl_ns[NSID]) could point outside the array.
38313
38314 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38315 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38316 before using NSID as an index.
38317
38318 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
38319
38320 [BZ #17825]
38321 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38322 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38323 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38324
38325 2015-04-17 Roland McGrath <roland@hack.frob.com>
38326
38327 Add preliminary port to Google Native Client on ARM.
38328 * abi-tags (.*-.*-nacl.*): New entry.
38329 * sysdeps/arm/nacl: New directory.
38330 * sysdeps/nacl: New directory.
38331
38332 2015-04-16 David S. Miller <davem@davemloft.net>
38333
38334 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38335 lowlevellock-futex.h
38336
38337 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
38338
38339 * sysdeps/tile/configure.ac: New file.
38340 * sysdeps/tile/configure: Regenerated.
38341
38342 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
38343
38344 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
38345 conditionals for weak_alias and libc_hidden_weak.
38346 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38347 libc_hidden_weak and weak_alias.
38348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38349 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38350 and weak_alias for static one.
38351
38352 2015-04-15 David S. Miller <davem@davemloft.net>
38353
38354 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38355
38356 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38357
38358 [BZ #18206]
38359 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38360 Use signed comparision instead of substraction to avoid
38361 overflow bug.
38362 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38363 Take the sign of ret.
38364 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38365 Do not expect precise return values. Only the sign matters.
38366 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38367 * wcsmbs/test-wcsncmp.c: New File.
38368 * string/test-strncmp.c: Add wcsncmp support.
38369
38370 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38371
38372 [BZ #6792]
38373 * math/w_log1p.c: New file.
38374 * math/w_log1pf.c: Likewise.
38375 * math/w_log1pl.c: Likewise.
38376 * math/Makefile (libm-calls): Add w_log1p.
38377 * math/s_log1pl.c (log1pl): Remove weak_alias.
38378 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38379 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38380 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38381 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38382 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38383 [NO_LONG_DOUBLE] (log1pl): Likewise.
38384 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38385 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38386 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38387 (log1p): Remove long_double_symbol.
38388 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38389 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38390 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38391 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38392 remove weak_alias for corresponding log1p function.
38393 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38394 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38395 * sysdeps/ia64/fpu/w_log1p.c: New file.
38396 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38397 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38398 * math/libm-test.inc (log1p_test_data): Add errno expectations.
38399
38400 2015-04-10 Joseph Myers <joseph@codesourcery.com>
38401
38402 [BZ #18247]
38403 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38404 decimal exponent by 1.
38405 * stdlib/tst-strtod-round-data: Add more tests.
38406 * stdlib/tst-strtod-round.c (tests): Regenerated.
38407
38408 2015-04-09 Joseph Myers <joseph@codesourcery.com>
38409
38410 * math/auto-libm-test-in: Add more tests of clog and clog10.
38411 * math/auto-libm-test-out: Regenerated.
38412 * sysdeps/i386/fpu/libm-test-ulps: Update.
38413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38414
38415 2015-04-09 Roland McGrath <roland@hack.frob.com>
38416
38417 * Makeconfig (module-cppflags): Exclude all .v.i files.
38418 (skip-module-cppflags): Variable removed.
38419
38420 * configure.ac (libc_config_ok): Initialize before reading
38421 preconfigure scripts, not after.
38422 * configure: Regenerated.
38423
38424 * test-skeleton.c (TIMEOUT): Move #define to top level.
38425 (main): Grok environment variable TEST_DIRECT. If set, print
38426 test expectation details into that file and then behave as if
38427 given --direct.
38428
38429 2015-04-09 Florian Weimer <fweimer@redhat.com>
38430
38431 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38432 warning on 32-bit.
38433
38434 2015-04-08 David S. Miller <davem@davemloft.net>
38435
38436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38437
38438 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38439
38440 * math/auto-libm-test-in: Add more tests of atanh.
38441 * math/auto-libm-test-out: Regenerated.
38442 * sysdeps/i386/fpu/libm-test-ulps: Update.
38443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38444
38445 * math/auto-libm-test-in: Add more tests of atan.
38446 * math/auto-libm-test-out: Regenerated.
38447 * sysdeps/i386/fpu/libm-test-ulps: Update.
38448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38449
38450 2015-04-08 Florian Weimer <fweimer@redhat.com>
38451
38452 * elf/pldd.c (main): Rewrite to use struct
38453 scratch_buffer instead of extend_alloca.
38454 * elf/pldd-xx.c (find_maps): Likewise.
38455 * grp/initgroups.c: Include <scratch_buffer.h> instead of
38456 <alloca.h>.
38457 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38458 scratch_buffer instead of extend_alloca.
38459 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38460 grp/compat-initgroups.c.
38461 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38462 Rewrite to use struct scratch_buffer instead of extend_alloca.
38463 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38464 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38465
38466 2015-04-08 Joseph Myers <joseph@codesourcery.com>
38467
38468 * math/auto-libm-test-in: Add more tests of cbrt.
38469 * math/auto-libm-test-out: Regenerated.
38470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38471
38472 * math/auto-libm-test-in: Add more tests of cabs.
38473 * math/auto-libm-test-out: Regenerated.
38474 * sysdeps/i386/fpu/libm-test-ulps: Update.
38475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38476
38477 [BZ #18210]
38478 [BZ #18211]
38479 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38480 (__ieee754_atan2): Set FE_TONEAREST mode for internal
38481 computations.
38482 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38483 clog10.
38484 * math/auto-libm-test-out: Regenerated.
38485 * sysdeps/i386/fpu/libm-test-ulps: Update.
38486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38487
38488 [BZ #18197]
38489 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38490 (atan): Set FE_TONEAREST mode for internal computations.
38491 * math/auto-libm-test-in: Add more tests of atan.
38492 * math/auto-libm-test-out: Regenerated.
38493
38494 2015-04-07 James Cowgill <james410@cowgill.org.uk>
38495
38496 [BZ #17930]
38497 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38498
38499 2015-04-07 Florian Weimer <fweimer@redhat.com>
38500
38501 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38502
38503 2015-04-07 Florian Weimer <fweimer@redhat.com>
38504
38505 * include/scratch_buffer.h: New file.
38506 * malloc/scratch_buffer_grow.c: Likewise.
38507 * malloc/scratch_buffer_grow_preserve.c: Likewise.
38508 * malloc/scratch_buffer_set_array_size.c: Likewise.
38509 * malloc/tst-scratch_buffer.c: Likewise.
38510 * malloc/Makefile (routines): Add scratch_buffer_grow.
38511 (tests): Add test case.
38512 * malloc/Versions (GLIBC_PRIVATE): Export
38513 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38514 __libc_scratch_buffer_set_array_size.
38515
38516 2015-04-06 Richard Henderson <rth@redhat.com>
38517
38518 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38519 * sysdeps/alpha/fpu/libm-test-ulps: Update.
38520
38521 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38522 unsigned int before printing.
38523
38524 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38525
38526 [BZ #17596]
38527 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38528 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38529
38530 2015-04-02 Florian Weimer <fweimer@redhat.com>
38531
38532 * include/libc-internal.h (libc_max_align_t): Define.
38533
38534 2015-04-02 Andreas Schwab <schwab@suse.de>
38535
38536 [BZ #16850]
38537 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38538
38539 2015-04-02 Mel Gorman <mgorman@suse.de>
38540
38541 [BZ #17195]
38542 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38543 as well as the main arena.
38544
38545 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38546
38547 [BZ #18185]
38548 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38549 sharing L2 cache to 2 for Silvermont/Knights Landing.
38550
38551 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38552
38553 [BZ #17711]
38554 * config.make.in (have-protected-data): New.
38555 * configure.ac: Check linker support for protected data symbol.
38556 * configure: Regenerated.
38557 * elf/Makefile (modules-names): Add tst-protected1moda and
38558 tst-protected1modb if $(have-protected-data) is yes.
38559 (tests): Add tst-protected1a and tst-protected1b if
38560 $(have-protected-data) is yes.
38561 ($(objpfx)tst-protected1a): New.
38562 ($(objpfx)tst-protected1b): Likewise.
38563 (tst-protected1modb.so-no-z-defs): Likewise.
38564 * elf/tst-protected1a.c: New file.
38565 * elf/tst-protected1b.c: Likewise.
38566 * elf/tst-protected1mod.h: Likewise.
38567 * elf/tst-protected1moda.c: Likewise.
38568 * elf/tst-protected1modb.c: Likewise.
38569
38570 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
38571
38572 [BZ #17711]
38573 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38574 indicates it is called from do_lookup_x on relocation against
38575 protected data, skip the data definion in the executable from
38576 copy reloc.
38577 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38578 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38579 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38580 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38581 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38582 otherwise to 0.
38583 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38584 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38585 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38586 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38587 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38588 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38589
38590 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
38591
38592 * sysdeps/nptl/pthread.h: Remove duplicate definition of
38593 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38594
38595 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
38596
38597 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38598 THREAD_SETMEM_NC.
38599 * sysdeps/x86_64/nptl/tls.h: Ditto.
38600
38601 2015-03-27 Roland McGrath <roland@hack.frob.com>
38602
38603 * dlfcn/tststatic.c (main): Converted to ...
38604 (do_test): ... this.
38605 (TEST_FUNCTION): New macro.
38606 Include test-skeleton.c.
38607
38608 2015-03-26 Alan Modra <amodra@gmail.com>
38609
38610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38611 Don't segfault if ifunc resolver returns a NULL. Do set plt to
38612 zero for undefined weak.
38613 (elf_machine_plt_conflict): Similarly.
38614
38615 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38616
38617 * math/auto-libm-test-in: Add more tests of acosh, asinh and
38618 atanh.
38619 * math/auto-libm-test-out: Regenerated.
38620 * sysdeps/i386/fpu/libm-test-ulps: Update.
38621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38622
38623 * math/auto-libm-test-in: Add another test of asin.
38624 * math/auto-libm-test-out: Regenerated.
38625 * sysdeps/i386/fpu/libm-test-ulps: Update.
38626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38627
38628 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38629 Remove macro.
38630 (LLL_EBX_REG): Likewise.
38631 (LLL_ENTER_KERNEL): Likewise.
38632
38633 * math/auto-libm-test-in: Add more tests of asin.
38634 * math/auto-libm-test-out: Regenerated.
38635 * sysdeps/i386/fpu/libm-test-ulps: Update.
38636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38637
38638 [BZ #18138]
38639 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38640 libc_do_syscall_args): New structure.
38641 (INTERNAL_SYSCALL_MAIN_0): New macro.
38642 (INTERNAL_SYSCALL_MAIN_1): Likewise.
38643 (INTERNAL_SYSCALL_MAIN_2): Likewise.
38644 (INTERNAL_SYSCALL_MAIN_3): Likewise.
38645 (INTERNAL_SYSCALL_MAIN_4): Likewise.
38646 (INTERNAL_SYSCALL_MAIN_5): Likewise.
38647 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
38648 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38649 Replace conditional definitions by conditional definitions of ....
38650 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
38651 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38652 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38653 (libpthread-sysdep_routines): Add libc-do-syscall.
38654 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38655 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38656 to __NR_futex not 240.
38657
38658 2015-03-25 Alan Modra <amodra@gmail.com>
38659
38660 * NEWS: Advertise TLS optimization.
38661 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38662 (DT_PPC_NUM): Increment.
38663 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38664 (CHECK_STATIC_TLS): Use here.
38665 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38666 TLS descriptors.
38667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38668 * sysdeps/powerpc/dl-tls.c: New file.
38669 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38670 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38671 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38672 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38676
38677 2015-03-25 Alan Modra <amodra@gmail.com>
38678
38679 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38680 for overlapping .opd entries" to "support...".
38681 * sysdeps/powerpc/powerpc64/configure: Regenerate
38682
38683 2015-03-25 Joseph Myers <joseph@codesourcery.com>
38684
38685 * math/auto-libm-test-in: Add more tests of acos.
38686 * math/auto-libm-test-out: Regenerated.
38687 * sysdeps/i386/fpu/libm-test-ulps: Update.
38688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38689
38690 * math/auto-libm-test-in: Add more tests of expm1.
38691 * math/auto-libm-test-out: Regenerated.
38692 * sysdeps/i386/fpu/libm-test-ulps: Update.
38693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38694
38695 2015-03-24 Joseph Myers <joseph@codesourcery.com>
38696
38697 * math/auto-libm-test-in: Add more tests of cosh and sinh.
38698 * math/auto-libm-test-out: Regenerated.
38699 * sysdeps/i386/fpu/libm-test-ulps: Update.
38700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38701
38702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38704
38705 * math/auto-libm-test-in: Add more tests of log2.
38706 * math/auto-libm-test-out: Regenerated.
38707 * sysdeps/i386/fpu/libm-test-ulps: Update.
38708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38709
38710 2015-03-23 Roland McGrath <roland@hack.frob.com>
38711
38712 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38713 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
38714 _IO_IS_APPENDING bit in READ_WRITE instead.
38715
38716 2015-03-23 Florian Weimer <fweimer@redhat.com>
38717
38718 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38719 (__determine_cpumask_size): Replace extend_alloca with a
38720 variable-length array. Do not treat res == 0 as an error.
38721
38722 2015-03-23 Florian Weimer <fweimer@redhat.com>
38723
38724 [BZ #18100]
38725 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38726 and integer overflow.
38727 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38728 (main): Add integer overflow tests.
38729 * manual/pattern.texi (Calling Wordexp): Document additional use
38730 for WRDE_SYNTAX.
38731
38732 2015-03-23 Alan Modra <amodra@gmail.com>
38733
38734 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38735 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38736 and false branch of conditional.
38737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38738 Likewise.
38739
38740 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38741
38742 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38743 libc-modules.h
38744 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38745 unused declaration of _hurd_intr_rpc_msg_in_trap.
38746 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38747 defined instead of whether it is non-zero.
38748 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38749 input constraint instead of both input and output constraint. Use ecx
38750 clobber instead of %ecx.
38751 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38752 mutex_unlock): Use a statement expression instead of an expression list.
38753 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38754 type to vm_size_t instead of vm_address_t.
38755 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38756 defined instead of whether it is non-zero.
38757 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38758 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38759 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38760 comparisons with mapaddr.
38761 * nscd/nscd-client.h: Include <time.h>.
38762 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38763 9th parameter to __vm_region instead of int.
38764 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38765 * scripts/check-local-headers.sh (exclude): Add device/,
38766 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38767 cthreads.h.
38768
38769 2015-03-19 Roland McGrath <roland@hack.frob.com>
38770
38771 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38772 to account for alignment padding.
38773 * sysdeps/arm/memmove.S: Likewise.
38774
38775 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38776
38777 * sysdeps/unix/sysv/linux/generic/README: New file.
38778
38779 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38780
38781 [BZ #18138]
38782 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38783 (futex_abstimed_wait)
38784 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38785 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38786 of lll_futex_timed_wait.
38787
38788 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38789
38790 [BZ #17542]
38791 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38792
38793 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38794
38795 [BZ #17090]
38796 [BZ #17620]
38797 [BZ #17621]
38798 [BZ #17628]
38799 * NEWS: Update.
38800 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38801 entries with Static TLS too. Skip entries past the end of the
38802 allocated DTV, from Alan Modra.
38803 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38804 Static TLS DTV entry set up from...
38805 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38806 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38807 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38808 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38809 for Static TLS.
38810 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38811 that the slot we find is associated with the given map before
38812 using its generation count.
38813 * nptl_db/db_info.c: Include ldsodefs.h.
38814 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38815 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38816 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38817 (link_map::l_tls_offset): New struct field.
38818 (dtv_t::counter): Likewise.
38819 (rtld_global): New struct.
38820 (_rtld_global): New rtld variable.
38821 (dl_tls_dtv_slotinfo_list): New rtld global field.
38822 (dtv_slotinfo_list): New struct.
38823 (dtv_slotinfo): Likewise.
38824 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38825 (td_lookup): Rename to...
38826 (td_mod_lookup): ... this. Use new mod parameter instead of
38827 LIBPTHREAD_SO.
38828 * nptl_db/td_thr_tlsbase.c: Include link.h.
38829 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38830 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38831 addresses even if the DTV is out of date or missing them.
38832 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38833 index zero-length arrays.
38834 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38835 (td_lookup): Make it a macro implemented in terms of...
38836 (td_mod_lookup): ... this declaration.
38837 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38838 (DB_MAIN_VARIABLE): Likewise.
38839
38840 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38841
38842 [BZ #18134]
38843 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38844
38845 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38846
38847 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38848
38849 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38850
38851 [BZ #18128]
38852 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38853 (atomic_add, atomic_increment_and_test)
38854 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38855
38856 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38857
38858 * stdlib/setenv.c (__add_to_environ):
38859 Dump core quickly if setenv (..., NULL, ...) is called.
38860
38861 2015-03-13 Roland McGrath <roland@hack.frob.com>
38862
38863 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38864 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38865 all the necessary asm magic in one place.
38866 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38867 using those.
38868
38869 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38870
38871 [BZ #14906]
38872 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38873 traced file mtime. Use consistent log message.
38874 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38875 (register_traced_file): Call install_watches. Always set mtime.
38876 (invalidate_cache): Iterate over all trace files. Call install_watches.
38877 (inotify_check_files): Don't inline. Handle watching parent
38878 directories and configuration file movement in and out.
38879 (handle_inotify_events): New function.
38880 (main_loop_poll): Call handle_inotify_events.
38881 (main_loop_epoll): Likewise.
38882 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38883 (struct traced_file): Use array of inotify fds. Add parent directory,
38884 and basename.
38885 (struct database_dyn): Remove unused file_mtime.
38886 (init_traced_file): New inline function.
38887 (define_traced_file): New macro.
38888 * nss/nss_db/db-init.c: Use define_traced_file.
38889 (_nss_db_init): Use init_traced_file.
38890 * nss/nss_files/files-init.c: Use define_traced_file.
38891 (_nss_files_init): Use init_traced_file.
38892
38893 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38894
38895 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38896 [_LIBC]: Do not include <stdlib.h>.
38897 [!_LIBC] (abort): Remove declaration.
38898 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38899 _FP_STATIC_ASSERT instead of conditionally calling abort.
38900 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38901 (_FP_EXTEND_CNAN): Likewise.
38902 (FP_TRUNC): Likewise.
38903 (__FP_CLZ): Likewise.
38904 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38905
38906 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38907
38908 * manual/string.texi (XPG basename): Fix prototype.
38909
38910 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38911
38912 [BZ #18080]
38913 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38914 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38915 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38916 (__setcontext): Likewise.
38917 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38918 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38919 Call rt_sigprocmask syscall one time to set new signal mask
38920 and retrieve the current signal mask instead of two calls.
38921 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38922 (__swapcontext): Likewise.
38923 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38924 * stdlib/tst-setcontext2.c: New file.
38925
38926 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38927
38928 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38929
38930 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38931
38932 [BZ #18093]
38933 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38934 the wrong size.
38935
38936 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38937
38938 [BZ #18043]
38939 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38940
38941 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38942
38943 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38944 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38945 Remove define.
38946 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38947 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38948 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38949 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38950 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38951 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38952 define.
38953 * nptl_db/td_symbol_list.c (td_lookup): Remove
38954 HAVE_ASM_GLOBAL_DOT_NAME code.
38955 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38956 HAVE_ASM_GLOBAL_DOT_NAME check.
38957 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38958 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38959 (DOT_LABEL): Remove define.
38960 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38961 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38962 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38963 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38964 (__TLS_GET_ADDR): Likewise.
38965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38966 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38967
38968 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38969
38970 [BZ #18111]
38971 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38972 (_FPU_SETCW): Initialize cw from fpsr before storing.
38973 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38974 (fesetexceptflag): Rewrite using fpu_control.h.
38975 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38976
38977 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38978
38979 [BZ #18110]
38980 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38981 asms.
38982 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38983
38984 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38985
38986 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38987 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38988 abort.
38989 (_FP_FMA): Likewise.
38990 (_FP_DIV): Likewise.
38991
38992 2015-03-10 Roland McGrath <roland@hack.frob.com>
38993
38994 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38995 with 0 in that case.
38996 * Makefile (summarize-tests): New canned sequence, factored out of
38997 commands for targets tests and xtests. Display summary lines that
38998 don't start with PASS: or XFAIL: rather than ones that do start with
38999 ERROR: or FAIL:. Make the commands fail if any summary lines fail
39000 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39001 do start with ERROR: or FAIL:.
39002 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39003 (except for [$(build-shared) = yes]).
39004 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39005 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39006 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39007 * nptl/Makefile: Revert 2015-03-04 changes.
39008 [$(CXX) empty] (tests-unsupported): New variable.
39009 * debug/Makefile: Likewise.
39010
39011 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39012 gnulib file. Replace __attribute with __attribute__ throughout.
39013
39014 2015-03-10 Carlos O'Donell <carlos@redhat.com>
39015
39016 * sysdeps/hppa/fpu/libm-test-ulps: Update.
39017
39018 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39019
39020 [BZ #18104]
39021 * math/auto-libm-test-in: Add another test of pow.
39022 * math/auto-libm-test-out: Regenerated.
39023
39024 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39025
39026 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39027 $(config-cflags-nofma).
39028
39029 2015-03-10 Joseph Myers <joseph@codesourcery.com>
39030
39031 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39032 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39033 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39034 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39035 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39036 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39037 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39038 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39039 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39040 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39041 Add comment on closing #endif.
39042
39043 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39044
39045 * posix/wordexp.c (CHAR_IN_SET): New macro.
39046 (parse_param): Use it.
39047
39048 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39049
39050 * sysdeps/powerpc/fpu/libm-test-ulps: update.
39051
39052 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39053
39054 [BZ #18043]
39055 * posix/wordexp.c (parse_param): Fix buffer overflow.
39056 * posix/wordexp-test.c (test_case): Add test case.
39057
39058 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39059
39060 [BZ #18042]
39061 * posix/wordexp.c (parse_backtick): Fix off-by-one.
39062 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39063
39064 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
39065
39066 [BZ #18043]
39067 * posix/wordexp-test.c (test_case): Add test for BZ #18043
39068 (do_bz18043): Delete.
39069 (at_page_end): New.
39070 (testit): Refactor to have words at the edge of unreadable page.
39071
39072 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39073
39074 [BZ #16734]
39075 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39076 Cleanup read-only streams as well.
39077 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39078
39079 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39080
39081 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39082 <bits/libc-lockP.h>
39083
39084 2015-03-07 Joseph Myers <joseph@codesourcery.com>
39085
39086 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
39087 on [__KERNEL__].
39088 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39089 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39090 * soft-fp/op-common.h (_FP_DECL): Likewise.
39091
39092 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
39093
39094 * elf/ifuncdep2.c (global): Replace
39095 __attribute__((visibility("protected"))) with
39096 asm (".protected global").
39097 * elf/ifuncmod1.c (global): Likewise.
39098 * elf/ifuncmod5.c (global): Likewise.
39099
39100 2015-03-06 Joseph Myers <joseph@codesourcery.com>
39101
39102 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39103 <asm/sfp-machine.h> instead of <sfp-machine.h>.
39104
39105 2015-03-06 Roland McGrath <roland@hack.frob.com>
39106
39107 * manual/install.texi (Configuring and compiling):
39108 Document test-wrapper-env-only.
39109 * INSTALL: Regenerated.
39110
39111 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39112
39113 [BZ #18043]
39114 * posix/wordexp.c (parse_param): Fix buffer overflow.
39115 * posix/wordexp-test.c (do_bz18043): Add test case.
39116
39117 2015-03-06 Vincent Bernat <vincent@bernat.im>
39118
39119 * time/tst-strptime2.c (do_test): Ensure failing tests are
39120 reported correctly.
39121 * time/tst-strptime3.c (do_test): Likewise.
39122
39123 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
39124
39125 Fix aio_error thread-safety.
39126 * sysdeps/pthread/aio_error.c: New file
39127 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39128 synchronization.
39129
39130 2015-03-06 Florian Weimer <fweimer@redhat.com>
39131
39132 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39133 (group_number, vfprintf): Use it.
39134 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39135 (JUMP, REF): Use it.
39136 (WORK_BUFFER_SIZE): New enum constant.
39137 (process_arg, vfprintf): Use it.
39138
39139 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
39140
39141 * manual/errno.texi (Error Messages): Complete example function
39142 by adding missing #define.
39143 (program_invocation_name): Add statement indicating GNU
39144 extension and reference which header file declares the variable.
39145 (program_invocation_short_name): Likewise.
39146
39147 2015-03-06 Mike Frysinger <vapier@gentoo.org>
39148
39149 * manual/errno.texi (Error Messages): Delete strerror ISO C89
39150 compatibility note.
39151
39152 2015-03-05 Roland McGrath <roland@hack.frob.com>
39153
39154 * Makeconfig (test-wrapper-env-only): New variable.
39155 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39156 then use that with $(test-wrapper-env-only) rather than using
39157 $(test-wrapper-env) $(run-program-env) $($*-ENV).
39158
39159 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
39160
39161 [BZ #18082]
39162 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39163 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39164 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39165 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39166 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39167 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39168 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39169 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39170 Likewise.
39171 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39172 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39173 Likewise.
39174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39175 Likewise.
39176 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39177 Likewise.
39178 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39179 Likewise.
39180 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39181 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39182 Likewise.
39183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39184 Likewise.
39185 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39186 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39187
39188 2015-03-04 Roland McGrath <roland@hack.frob.com>
39189
39190 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39191 (ETH_ALEN): New macro.
39192 (struct ether_addr): Use it for length of ether_addr_octet.
39193
39194 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39195 (setdb): Don't call __nss_configure_lookup for "rpc".
39196 (do_test): Don't call test_rpc.
39197 (output_rpcent, test_rpc): Functions moved ...
39198 * sunrpc/test-rpcent.c: ... to this new file.
39199 * sunrpc/Makefile (tests): Add it.
39200
39201 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39202 __xpg_sigpause.
39203 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39204 * nptl/tst-signal6.c: Likewise.
39205 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39206 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39207
39208 * configure.ac (libc_cv_cxx_link_ok): New check.
39209 Reset CXX to empty if it fails to link.
39210 * configure: Regenerated.
39211 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39212 bug-atexit3-lib only if $(CXX) is nonempty.
39213 * nptl/Makefile (tests): Likewise for tst-cancel24.
39214 (tests, tests-static): Likewise for tst-cancel24-static.
39215 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39216 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39217 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39218 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39219
39220 2015-03-04 Andreas Schwab <schwab@suse.de>
39221
39222 [BZ #17631]
39223 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39224 for non-GCC compilers.
39225 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39226 Likewise.
39227
39228 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39229
39230 [BZ #17776]
39231 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39232 integer before bitwise and assembly operations.
39233 (feclearexcept): Likewise.
39234 * math/test-fenvinline.c: New file.
39235 * math/Makefile: Add test-fenvinline test.
39236
39237 2015-03-03 Alan Modra <amodra@gmail.com>
39238
39239 [BZ #16512]
39240 * scripts/localplt.awk: Strip off symbol version.
39241 * NEWS: Mention bug fix.
39242
39243 2015-03-02 Roland McGrath <roland@hack.frob.com>
39244
39245 * sysdeps/pthread/timer_routines.c
39246 (timer_free_list, thread_free_list, thread_active_list): Make static.
39247
39248 2015-03-02 Joseph Myers <joseph@codesourcery.com>
39249
39250 [BZ #17779]
39251 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39252 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39253 Undefine.
39254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39255 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39256 Likewise.
39257 * sysdeps/unix/sysv/linux/sh/kernel-features.h
39258 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39259 Likewise.
39260
39261 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39262
39263 [BZ #18036]
39264 * posix/fnmatch_loop.c (END): Detect invalid pattern.
39265 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39266
39267 2015-03-02 Andreas Schwab <schwab@suse.de>
39268
39269 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39270 variable name.
39271
39272 2015-03-02 Florian Weimer <fweimer@redhat.com>
39273
39274 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39275 Return error status.
39276
39277 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
39278
39279 [BZ #15969]
39280 * locale/findlocale.c (_nl_find_locale): Introduce const
39281 version of loc_name and drop unsafe type casts.
39282
39283 2015-02-27 Roland McGrath <roland@hack.frob.com>
39284
39285 * dlfcn/tststatic2.c (main): Converted to ...
39286 (do_test): ... this.
39287 (TEST_FUNCTION): New macro.
39288 Include test-skeleton.c.
39289
39290 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
39291
39292 [BZ #17711]
39293 * elf/Makefile (tests): Add vismain only if PIE is enabled.
39294 (tests-pie): Add vismain.
39295 (CFLAGS-vismain.c): New.
39296 * elf/vismain.c: Add comments for PIE requirement.
39297
39298 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39299
39300 [BZ #18046]
39301 [BZ #18047]
39302 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39303 0x1p-56L as threshold for just returning the argument.
39304 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39305 0x1p-32L as threshold for just returning the argument.
39306 * math/auto-libm-test-in: Add more tests of atanh.
39307 * math/auto-libm-test-out: Regenerated.
39308 * sysdeps/i386/fpu/libm-test-ulps: Update.
39309 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39310
39311 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39312
39313 * string/bcopy.c (bcopy): Call memmove for performance.
39314
39315 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
39316
39317 * string/bzero.c (__bzero): Call memset for performance.
39318
39319 2015-02-27 John David Anglin <dave.anglin@bell.net>
39320
39321 [BZ #18068]
39322 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39323 to 00100000.
39324
39325 2015-02-27 Joseph Myers <joseph@codesourcery.com>
39326
39327 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39328
39329 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39330
39331 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39332 (__kernel_standard): Use CSTR macro when setting exc.name.
39333 * sysdeps/ieee754/Makefile [$(subdir) = math]
39334 (CFLAGS-k_standard.c): Remove variable.
39335
39336 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39337 setting p and q from "else if" to "else".
39338 (qzero): Likewise.
39339 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39340 (qone): Likewise.
39341 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39342 (qzerof): Likewise.
39343 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39344 (qonef): Likewise.
39345 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39346 (qzero): Likewise.
39347 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39348 (qone): Likewise.
39349
39350 [BZ #18038]
39351 [BZ #18039]
39352 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39353 return pi/2 for arguments below 0x1p-113L.
39354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39355 return pi/2 for arguments below 0x1p-106L.
39356 * math/auto-libm-test-in: Add more tests of acos.
39357 * math/auto-libm-test-out: Regenerated.
39358
39359 [BZ #16351]
39360 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39361 (MO): New macro.
39362 (__ieee754_asin): Force underflow exception for results with small
39363 absolute value.
39364 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39365 (MO): New macro.
39366 (__ieee754_asinf): Force underflow exception for results with
39367 small absolute value.
39368 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39369 (__ieee754_asin): Force underflow exception for results with small
39370 absolute value.
39371 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39372 (__ieee754_asinf): Force underflow exception for results with
39373 small absolute value.
39374 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39375 (__ieee754_asinl): Force underflow exception for results with
39376 small absolute value.
39377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39378 (__ieee754_asinl): Force underflow exception for results with
39379 small absolute value.
39380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39381 (__ieee754_asinl): Force underflow exception for results with
39382 small absolute value.
39383 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39384 Include <math.h>.
39385 * math/auto-libm-test-in: Do not mark underflow exceptions as
39386 possibly missing for bug 16351.
39387 * math/auto-libm-test-out: Regenerated.
39388
39389 [BZ #18030]
39390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39391 of power of 2 down when low part has opposite sign.
39392 * math/libm-test.inc (logb_test_data): Add more tests.
39393
39394 2015-02-26 Andreas Schwab <schwab@suse.de>
39395
39396 [BZ #18032]
39397 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39398 over collating symbol inside a bracket expression. Minor cleanup.
39399 * posix/tst-fnmatch3.c (do_test): Add test case.
39400
39401 2015-02-26 Joseph Myers <joseph@codesourcery.com>
39402
39403 [BZ #18029]
39404 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39405 Adjust exponent of power of 2 down when low part has opposite
39406 sign.
39407 * math/libm-test.inc (ilogb_test_data): Add more tests.
39408
39409 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
39410
39411 [BZ #15969]
39412 * locale/findlocale.c (_nl_find_locale): Fix constness error in
39413 the previous change.
39414
39415 [BZ #15969]
39416 * locale/findlocale.c (_nl_find_locale): Retry archive search
39417 after alias expansion.
39418
39419 2015-02-25 Roland McGrath <roland@hack.frob.com>
39420
39421 * iconv/tst-iconv3.c (main): Converted to ...
39422 (do_test): ... this.
39423 (TEST_FUNCTION): New macro.
39424 Include test-skeleton.c.
39425
39426 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39427 (convert): Make function static.
39428 (test_unalign): Likewise. Add const to argument pointee types.
39429 (main): Replace with static function do_test.
39430 Print "Succeeded." only if RET is zero.
39431 (TEST_FUNCTION): New macro.
39432 Include test-skeleton.c.
39433
39434 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39435 returns a null pointer.
39436
39437 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39438
39439 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39440 to __memcpy_ppc only for static builds.
39441
39442 2015-02-25 Joseph Myers <joseph@codesourcery.com>
39443
39444 [BZ #18020]
39445 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39446 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39447 * math/auto-libm-test-in: Add more tests of asinh.
39448 * math/auto-libm-test-out: Regenerated.
39449 * sysdeps/i386/fpu/libm-test-ulps: Update.
39450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39451
39452 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
39453
39454 [BZ #15850]
39455 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39456 and ip6_mtuinfo definitions here.
39457 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39458 in this define too. Update comment.
39459
39460 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
39461
39462 * elf/sprof.c (load_shobj): Tweak error message to match others.
39463
39464 2015-02-24 Kevin Easton <kevin@guarana.org>
39465
39466 [BZ #16145] (partial fix)
39467 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39468 to reduce lock contention.
39469
39470 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
39471
39472 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39473 (struct timex): Update time comment.
39474 (ADJ_SETOFFSET): Define.
39475
39476 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39477
39478 [BZ #18019]
39479 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39480 2**56 not 2**28 as threshold for log (2x) formula.
39481 * math/auto-libm-test-in: Add more tests of acosh.
39482 * math/auto-libm-test-out: Regenerated.
39483 * sysdeps/i386/fpu/libm-test-ulps: Update.
39484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39485
39486 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39487
39488 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39489 parenthesis around the buf assignment.
39490 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39491
39492 2015-02-24 Joseph Myers <joseph@codesourcery.com>
39493
39494 [BZ #16783]
39495 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39496 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39497 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39498 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39499 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39500 * math/libm-test.inc (scalb_test_data): Add more tests.
39501
39502 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
39503
39504 [BZ #17916]
39505 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39506 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39507
39508 2015-02-24 Eric Rannaud <e@nanocritical.com>
39509
39510 [BZ #17523]
39511 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39512 * io/bits/fcntl2.h (open): Use it.
39513 (openat): Likewise.
39514 * io/open.c (__libc_open): Likewise.
39515 * io/open64.c (__libc_open64): Likewise.
39516 * io/open64_2.c (__open64_2): Likewise.
39517 * io/open_2.c (__open_2): Likewise.
39518 * io/openat.c (__openat): Likewise.
39519 * io/openat64.c (__openat64): Likewise.
39520 * io/openat64_2.c (__openat64_2): Likewise.
39521 * io/openat_2.c (__openat_2): Likewise.
39522 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39523 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39524 * sysdeps/posix/open64.c (__libc_open64): Likewise.
39525 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39526 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39527 (__open_nocancel): Likewise.
39528 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39529 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39530 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39531
39532 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39533
39534 [BZ #14841]
39535 * resolv/gethnamaddr.c (getanswer): Skip logging if
39536 RES_USE_DNSSEC is set.
39537 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39538
39539 2015-02-24 Mike Frysinger <vapier@gentoo.org>
39540
39541 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39542
39543 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
39544
39545 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39546 201304L, for Unicode 7.
39547
39548 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
39549
39550 [BZ #17836]
39551 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39552 shared library. Add gmon-start.os otherwise.
39553 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39554 $(objpfx)gmon-start.os if builing shared library.
39555 ($(objpfx)g$(static-start-installed-name)): Likewise.
39556
39557 2015-02-23 Andreas Schwab <schwab@suse.de>
39558
39559 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39560
39561 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39562
39563 [BZ #17269]
39564 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39565 (enlarge_userbuf): Likewise.
39566
39567 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
39568
39569 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39570 * math/atest-exp.c (TIMEOUT): Adjust to 200.
39571 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39572 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39573
39574 2015-02-20 Joseph Myers <joseph@codesourcery.com>
39575
39576 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39577 expression inside statement expression.
39578
39579 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39580
39581 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39582 <sysdeps/nptl/lowlevellock.h> and remove macros and
39583 functions that are now defined there.
39584 (SYS_futex): Remove.
39585 (lll_compare_and_swap): Remove.
39586 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39587
39588 2015-02-19 Joseph Myers <joseph@codesourcery.com>
39589
39590 [BZ #17999]
39591 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39592 instead of scandirat.
39593 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39594 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39595 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39596 __scandirat.
39597 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39598 (__scandirat): Declare. Use libc_hidden_proto.
39599 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39600 Remove variable.
39601 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39602
39603 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39604
39605 [BZ #15319]
39606 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39607 (MO): New macro.
39608 (__ieee754_atan2): For results with small absolute value, force
39609 underflow exception and remove excess range and precision from
39610 return value.
39611 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39612 (MO): New macro.
39613 (__ieee754_atan2f): For results with small absolute value, force
39614 underflow exception and remove excess range and precision from
39615 return value.
39616 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39617 (MO): New macro.
39618 (__atan): For results with small absolute value, force underflow
39619 exception and remove excess range and precision from return value.
39620 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39621 (MO): New macro.
39622 (__atanf): For results with small absolute value, force underflow
39623 exception and remove excess range and precision from return value.
39624 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39625 <math.h>.
39626 (__ieee754_atan2): Force underflow exception for results with
39627 small absolute value.
39628 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39629 <math_private.h>.
39630 (atan): Force underflow exception for results with small absolute
39631 value.
39632 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39633 (__atanf): Force underflow exception for results with small
39634 absolute value.
39635 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39636 <math.h>.
39637 (__atanl): Force underflow exception for results with small
39638 absolute value.
39639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39640 (__atanl): Force underflow exception for results with small
39641 absolute value.
39642 * sysdeps/x86/fpu/bits/mathinline.h
39643 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39644 (__ieee754_atan2): Only define inline for long double.
39645 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39646 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39647 * math/auto-libm-test-in: Do not mark underflow exceptions as
39648 possibly missing for bug 15319. Add more tests of atan2.
39649 * math/auto-libm-test-out: Regenerated.
39650 * math/libm-test.inc (casin_test_data): Do not mark underflow
39651 exceptions as possibly missing for bug 15319.
39652 (casinh_test_data): Likewise.
39653 * sysdeps/i386/fpu/libm-test-ulps: Update.
39654
39655 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
39656
39657 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39658 * sysdeps/mips/bits/endian.h: Fix comments.
39659
39660 2015-02-18 Joseph Myers <joseph@codesourcery.com>
39661
39662 [BZ #17996]
39663 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39664 (hdestroy_r): Likewise.
39665 (hsearch_r): Likewise.
39666 (__hcreate_r): Declare and use libc_hidden_proto.
39667 (__hdestroy_r): Likewise.
39668 (__hsearch_r): Likewise.
39669 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39670 (hcreate): Call __hcreate_r instead of hcreate_r.
39671 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39672 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39673 as weak alias of __hcreate_r.
39674 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39675 __hdestroy_r.
39676 (hsearch_r): Rename to __hsearch_r and define as weak alias of
39677 __hsearch_r.
39678 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39679 Remove variable.
39680 (test-xfail-XPG4/search.h/linknamespace): Likewise.
39681 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39682 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39683 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39684
39685 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39686
39687 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39688 arena_lock into a single arena_get.
39689
39690 2015-02-17 Carlos O'Donell <carlos@redhat.com>
39691
39692 * dl-reloc.c: Inlucde libc-internal.h.
39693 (_dl_try_allocate_static_tls): Call ALIGN_UP.
39694 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39695 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39696 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39697 (grow_heap): Likewise.
39698 * malloc/malloc.c: Include libc-internal.h.
39699 (do_check_malloc): Call powerof2.
39700 (sysmalloc): Use pagesize. Call ALIGN_UP.
39701 (systrim): Use pagesize.
39702 (mremap_chunk): Use pagesize. Call ALIGN_UP.
39703 (__libc_valloc): Use pagesize.
39704 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39705
39706 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39707
39708 [BZ #17991]
39709 * include/sys/resource.h (__getrlimit64): Declare. Use
39710 libc_hidden_proto.
39711 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39712 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
39713 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39714 getrlimit64.
39715 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39716 __getrlimit64.
39717 [!getrlimit64] (getrlimit64): Define as weak alias of
39718 __getrlimit64. Use libc_hidden_weak.
39719 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39720 using __getrlimit64 not __new_getrlimit64.
39721 (__GI_getrlimit64): Likewise.
39722 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39723 Likewise.
39724 (__GI_getrlimit64): Likewise.
39725 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39727 (getrlimit): Add __getrlimit64 alias.
39728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39729 Likewise.
39730 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39731 Remove variable.
39732 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39733 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39734
39735 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39736
39737 * libio/fileops.c: Add missing sys/mman.h
39738 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39739
39740 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39741
39742 * manual/math.texi (Errors in Math Functions): Clarify goals
39743 regarding inexact and underflow exceptions.
39744
39745 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39746
39747 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39748 * sysdeps/mips/memset.S: Ditto.
39749
39750 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39751
39752 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39753
39754 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39755
39756 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39757 (__v1longjmp): Remove versioned symbol.
39758 (__v1siglongjmp): Remove alias and versioned symbol.
39759 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39760 (__v2siglongjmp): Likewise.
39761
39762 2015-02-16 Torvald Riegel <triegel@redhat.com>
39763
39764 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39765
39766 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39767
39768 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39769
39770 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39771
39772 [BZ #17987]
39773 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39774 zero result does not depend on the sign resulting from
39775 subtraction.
39776 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39777 Likewise.
39778 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39779 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39780 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39781 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39782 * math/libm-test.inc (remquo_test_data): Add more tests.
39783
39784 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39785
39786 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39787 Problem reported by J William Piggott.
39788
39789 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39790
39791 [BZ #17978]
39792 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39793 products 4 * y and 2 * y where those would overflow.
39794 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39795 Likewise.
39796 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39797 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39798 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39799 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39800 * math/libm-test.inc (remquo_test_data): Add more tests.
39801
39802 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39803
39804 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39805 [defined _COMPILING_NEWLIB].
39806 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39807 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39808
39809 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39810 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39811
39812 2015-02-16 Torvald Riegel <triegel@redhat.com>
39813
39814 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39815 acquired.
39816
39817 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39818
39819 [BZ #17792]
39820 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39821 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39822 HOST_STACK_END_ADDR): Likewise.
39823
39824 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39825
39826 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39827 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39828 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39829
39830 2015-02-13 Roland McGrath <roland@hack.frob.com>
39831
39832 * sysdeps/generic/c++-types.data: New file.
39833 * sysdeps/generic/ld.abilist: New file.
39834 * sysdeps/generic/libBrokenLocale.abilist: New file.
39835 * sysdeps/generic/libanl.abilist: New file.
39836 * sysdeps/generic/libc.abilist: New file.
39837 * sysdeps/generic/libcrypt.abilist: New file.
39838 * sysdeps/generic/libdl.abilist: New file.
39839 * sysdeps/generic/libm.abilist: New file.
39840 * sysdeps/generic/libpthread.abilist: New file.
39841 * sysdeps/generic/libresolv.abilist: New file.
39842 * sysdeps/generic/librt.abilist: New file.
39843
39844 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39845
39846 [BZ #17569]
39847 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39848 Compute absolute value of x as modified by fmod, not original
39849 value of x.
39850 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39851 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39852 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39853 RUN_TEST_ffI_f1_mod8.
39854 (remquo_test_data): Add more tests.
39855
39856 2015-02-13 Roland McGrath <roland@hack.frob.com>
39857
39858 * sysdeps/init_array/pt-crti.S: New file.
39859
39860 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39861
39862 [BZ #17967]
39863 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39864 __builtin_fmaf instead of relying on contraction of a * b + c.
39865
39866 2015-02-12 J William Piggott <elseifthen@gmx.com>
39867
39868 [BZ #17969]
39869 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39870 node.
39871
39872 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39873
39874 [BZ #17964]
39875 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39876 __builtin_fma instead of relying on contraction of a * b + c.
39877
39878 2015-02-12 Roland McGrath <roland@hack.frob.com>
39879
39880 * Makeconfig (ASFLAGS): Add -Werror=undef.
39881 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39882 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39883 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39884
39885 * Makeconfig (after-link): New variable.
39886 (+link-pie, +link-pie-tests): Use it.
39887 (+link-static, +link-static-tests): Likewise.
39888 (+link, +link-tests): Likewise.
39889 * Makerules (build-module, build-module-asneeded): Likewise.
39890 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39891 Likewise.
39892 * elf/Makefile ($(objpfx)ld.so): Likewise.
39893
39894 2015-02-12 RĂŒdiger Sonderfeld <ruediger@c-plusplus.net>
39895
39896 [BZ #17965]
39897 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39898 both struct timeval and struct timespec.
39899
39900 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39901
39902 [BZ #16560]
39903 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39904 and redefine.
39905 (__ieee754_exp2l): Do not multiply small fractional parts by
39906 M_LN2l.
39907 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39908 small argument.
39909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39910 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39911 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39912 * math/auto-libm-test-in: Add more tests of exp2.
39913 * math/auto-libm-test-out: Regenerated.
39914
39915 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39916
39917 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39918 unaligned path.
39919
39920 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39921
39922 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39923 little endian.
39924
39925 2015-02-12 Andreas Schwab <schwab@suse.de>
39926
39927 [BZ #15790]
39928 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39929 Filter out elision flags from value returned in kind.
39930 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39931 * nptl/tst-pthread-mutexattr.c: New file.
39932
39933 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39934
39935 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39936 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39937 into gnu-gnu, and update comment to refer to abi-tags.
39938
39939 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39940
39941 [BZ #15467]
39942 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39943 (__sincos): Set errno to EDOM for infinite argument.
39944 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39945 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39946 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39947 (__sincosl): Set errno to EDOM for infinite argument.
39948 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39949 (__sincosl): Set errno to EDOM for infinite argument.
39950 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39951 (__sincosl): Set errno to EDOM for infinite argument.
39952 * math/libm-test.inc (sincos_test_data): Test errno setting.
39953
39954 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39955
39956 * string/strxfrm_l.c: Remove #define STRCMP.
39957 * string/strcoll_l.c: Remove #define STRLEN.
39958 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39959 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39960
39961 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39962
39963 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39964 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39965 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39966 * sysdeps/mips/mips64/Makefile: ... here.
39967 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39968 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39969 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39970 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39971 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39972 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39973 * sysdeps/mips/mips64/n64/Implies: Likewise.
39974
39975 2015-02-10 Roland McGrath <roland@hack.frob.com>
39976
39977 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39978 <sys/time.h>, <string.h>, and <errno.h>.
39979 (dest_offset, dest_address, value, zero): Remove unused variables.
39980 (ldouble): Remove typedef.
39981 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39982 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39983 1). Fix code style.
39984 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39985 (check): Function removed.
39986 (CHECK): New macro.
39987 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39988 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39989 Don't call set_sigaction_FP and remove_sigaction_FP here.
39990 (ldouble_test): Just use 'long double' as macro argument, no need for
39991 the 'ldouble' typedef.
39992 (do_test): Set up SIGFPE handler at start, using plain signal rather
39993 than sigaction. Fix code style.
39994
39995 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39996
39997 [BZ #17949]
39998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39999 jump label.
40000
40001 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40002
40003 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40004 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40005
40006 * sysdeps/powerpc/configure.ac: Remove file.
40007 * sysdeps/powerpc/configure: Likewise.
40008
40009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40010 [sysdep_routines]: Remove wordcopy-power6 object.
40011 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40012 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40013 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40014 (__memmove_ppc32): Likewise.
40015 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40016 file.
40017 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40018 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40019 Remove preprocessor.
40020
40021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40022 [sysdep_routines]: Remove wide chars objects.
40023 [wcsmbs]: New rule for wide char objects.
40024
40025 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40026 Remove wordcopy-power6 obejct.
40027 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40028 Use local call for wordcopy and memcpy symbols.
40029 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40030 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40031 implementation for loader.
40032 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40033
40034 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40035 Remove wordcopy-power7 object.
40036 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40037 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40038 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40039 (_wordcopy_fwd_dest_aligned): Likewise.
40040 (_wordcopy_bwd_aligned): Likewise.
40041 (_wordcopy_bwd_dest_aligned): Likewise.
40042
40043 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40044 Rewrite to call __memmove_ppc instead of include default
40045 implementation.
40046
40047 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40048 Remove wide chars objects.
40049 [wcsmbs]: New rule for wide char objects.
40050
40051 2015-02-09 Andreas Schwab <schwab@suse.de>
40052
40053 [BZ #17912]
40054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40055 in terms of __O_DIRECTORY.
40056
40057 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
40058
40059 * time/getdate.c: Include <stdbool.h>.
40060 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40061 call PTR_MANGLE.
40062 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40063 PTR_DEMANGLE.
40064
40065 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
40066
40067 Add ersatz _Static_assert on older C hosts
40068 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40069 pre-C11 C platform that is not known to support _Static_assert.
40070
40071 2015-02-07 Richard Braun <rbraun@sceen.net>
40072
40073 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40074 sigstate.
40075 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40076
40077 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
40078
40079 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40080 priority against unexistent AIO_PRIO_DELTA_MAX.
40081 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40082 instead of int.
40083 * misc/fchflags.c (fchflags): Likewise.
40084 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40085 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40086 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40087 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40088 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40089 Declare macros.
40090 [__USE_MISC] (chflags, fchflags): Declare functions.
40091 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40092 EINVAL when nfds is greater than FD_SETSIZE.
40093 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40094 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40095 45.
40096 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40097 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40098 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40099 MACH_RCV_TIMED_OUT.
40100 * hurd/hurd/signal.h (_hurd_self_sigstate,
40101 _hurd_critical_section_lock, _hurd_critical_section_unlock):
40102 Explicit casts from void *.
40103 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40104 * abi-tags: Rename gnu-gnu os into gnu.
40105
40106 [BZ #4719]
40107 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40108 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40109 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40110 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40111 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40112 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40113
40114 [BZ #17944]
40115 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40116 duplicates ADDR->sun_path with sockaddr LEN limitation.
40117 * sysdeps/mach/hurd/connect.c: Include <string.h>
40118 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40119 * sysdeps/mach/hurd/sendmsg.c: Likewise.
40120 * sysdeps/mach/hurd/sendto.c: Likewise.
40121 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40122 implementing it by hand.
40123
40124 2015-02-06 Roland McGrath <roland@hack.frob.com>
40125
40126 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40127 Use sfi_breg on ldr.
40128 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40129 Likewise.
40130
40131 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40132 it's defined.
40133 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40134 Test SIGSETXID only if it's defined.
40135
40136 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40137
40138 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40139 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
40140
40141 * nptl/tst-align2.c: Moved ...
40142 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40143 * nptl/Makefile (tests): Remove tst-align2.
40144 * sysdeps/unix/sysv/linux/Makefile
40145 [$(subdir) = nptl] (tests): Add tst-align-clone.
40146 * nptl/tst-getpid1.c: Moved ...
40147 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40148 * nptl/tst-getpid2.c: Moved ...
40149 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40150 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40151 * sysdeps/unix/sysv/linux/Makefile
40152 [$(subdir) = nptl] (tests): ... here.
40153 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40154 * sysdeps/unix/sysv/linux/Makefile
40155 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40156
40157 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40158 Drop trailing \n from perror argument. Use return rather than exit.
40159
40160 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40161 on [SA_SIGINFO].
40162 * nptl/tst-cancel21.c (do_test): Likewise.
40163 * debug/tst-backtrace6.c: Include <signal.h> first thing.
40164 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40165 [!SA_SIGINFO]: Make it a stub test.
40166
40167 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40168 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40169
40170 * posix/tst-getlogin.c: Move to ...
40171 * login/tst-getlogin.c: ... here.
40172 * posix/Makefile (tests): Move tst-getlogin to ...
40173 * login/Makefile (tests): ... here.
40174
40175 * libio/tst-atime.c (do_test): Move local variables SV and E
40176 inside [ST_NOATIME] conditional.
40177
40178 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40179
40180 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40181
40182 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40183 (wait_code): New function replaces macro.
40184 Call nanosleep rather than syscall.
40185
40186 * nptl/pt-system.c: Rewritten. Put everything under
40187 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40188 Use IFUNC to redirect when possible.
40189
40190 * nptl/pt-longjmp.c: Rewritten. Put everything under
40191 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40192 Use IFUNC to redirect when possible.
40193
40194 * nptl/pt-fork.c: Rewritten. Put everything under
40195 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40196 Use IFUNC to redirect when possible.
40197 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40198
40199 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40200 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40201 unconditionally nowadays. This included the only reference to
40202 __vdso_clock_gettime that appears outside libc proper.
40203 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40204 Remove version set (containing only __vdso_clock_gettime).
40205 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40206 Add attribute_hidden.
40207 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40208 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40209 libc_hidden_data_def.
40210 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40211 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40212
40213 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40214 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40215 setrpcent, and getrpcport to ...
40216 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40217 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40218 getrpcbynumber_r, and getrpcent_r to ...
40219 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40220 * inet/getrpcbyname.c: Moved ...
40221 * sunrpc/getrpcbyname.c: ... here.
40222 * inet/getrpcbyname_r.c: Moved ...
40223 * sunrpc/getrpcbyname_r.c: ... here.
40224 * inet/getrpcbynumber.c: Moved ...
40225 * sunrpc/getrpcbynumber.c: ... here.
40226 * inet/getrpcbynumber_r.c: Moved ...
40227 * sunrpc/getrpcbynumber_r.c: ... here.
40228 * inet/getrpcent.c: Moved ...
40229 * sunrpc/getrpcent.c: ... here.
40230 * inet/getrpcent_r.c: Moved ...
40231 * sunrpc/getrpcent_r.c: ... here.
40232 * inet/Makefile (routines): Move those to ...
40233 * sunrpc/Makefile (routines): ... here.
40234 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40235 the $(subdirs) list.
40236 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
40237 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40238 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40239 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40240
40241 * elf/Makefile (routines): Include $(all-dl-routines), not just
40242 $(dl-routines).
40243 (rtld-routines): Likewise. Use = rather than :=.
40244 * sysdeps/aarch64/Makefile [$(subdir) = elf]
40245 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40246 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40247 * sysdeps/arm/Makefile: Likewise.
40248 * sysdeps/i386/Makefile: Likewise.
40249 * sysdeps/x86_64/Makefile: Likewise.
40250 * sysdeps/hppa/Makefile [$(subdir) = elf]
40251 (sysdep_routines, sysdep-rtld-routines): Don't add
40252 $(sysdep-dl-routines) to these.
40253 * sysdeps/ia64/Makefile: Likewise.
40254 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40255 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40256 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40257 Don't add dl-static to these; sysdep-dl-routines alone is enough.
40258 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40259 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40260 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40261 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40262 * sysdeps/powerpc/Makefile [$(subdir) = elf]
40263 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40264 these; sysdep-dl-routines alone is enough.
40265
40266 2015-02-06 Joseph Myers <joseph@codesourcery.com>
40267
40268 [BZ #17932]
40269 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40270 where multiplication results in zero and third argument is finite
40271 and nonzero.
40272 * math/auto-libm-test-in: Add more tests of fma.
40273 * math/auto-libm-test-out: Regenerated.
40274
40275 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40276 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40277 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40278 (_FP_CMP_EQ): Likewise.
40279 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40280
40281 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40282 extra argument CHECK_NAN. Redefine as wrapper around
40283 _FP_EXTEND_CNAN.
40284
40285 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
40286
40287 * version.h (RELEASE): Set to "stable".
40288 (VERSION): Set to "2.21"
40289 * include/features.h (__GLIBC_MINOR__): Set to 21.
40290
40291 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40292
40293 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40294 Paul Eggert <eggert@cs.ucla.edu>
40295
40296 [BZ #16618]
40297 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40299 size in bytes. Store needed elements in wpmax. Use needed size
40300 in bytes for extend_alloca.
40301
40302 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
40303
40304 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40305 binutls 2.25, and texinfo 5.2.
40306 * INSTALL: Regenerate.
40307 * sysdeps/nios2/configure: Regenerate.
40308 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40309 * manual/contrib.texi: Update.
40310 * po/be.po: Update.
40311 * po/bg.po: Update.
40312 * po/ca.po: Update.
40313 * po/cs.po: Update.
40314 * po/da.po: Update.
40315 * po/de.po: Update.
40316 * po/el.po: Update.
40317 * po/eo.po: Update.
40318 * po/es.po: Update.
40319 * po/fi.po: Update.
40320 * po/fr.po: Update.
40321 * po/gl.po: Update.
40322 * po/hr.po: Update.
40323 * po/hu.po: Update.
40324 * po/ia.po: Update.
40325 * po/id.po: Update.
40326 * po/it.po: Update.
40327 * po/ja.po: Update.
40328 * po/ko.po: Update.
40329 * po/lt.po: Update.
40330 * po/nb.po: Update.
40331 * po/nl.po: Update.
40332 * po/pl.po: Update.
40333 * po/pt_BR.po: Update.
40334 * po/ru.po: Update.
40335 * po/rw.po: Update.
40336 * po/sk.po: Update.
40337 * po/sl.po: Update.
40338 * po/sv.po: Update.
40339 * po/tr.po: Update.
40340 * po/uk.po: Update.
40341 * po/vi.po: Update.
40342 * po/zh_CN.po: Update.
40343 * po/zh_TW.po: Update.
40344
40345 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40346 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40347 * sysdeps/hppa/dl-irel.h: Remove #warning.
40348 * sysdeps/hppa/entry.h: Provide prototype for
40349 __canonicalize_funcptr_for_compare and cast argument.
40350 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40351 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40352 * sysdeps/hppa/sotruss-lib.c: New file.
40353 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40354 (atomic_compare_and_exchange_val_acq): Use __typeof__.
40355 (atomic_compare_and_exchange_bool_acq): Likewise.
40356 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40357 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40358
40359 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40360 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40361 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40362
40363 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
40364
40365 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40366 called function in non-PIC case.
40367
40368 2015-01-31 David S. Miller <davem@davemloft.net>
40369
40370 * sysdeps/sparc/sparc32/bits/atomic.h
40371 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40372 unlock not after it.
40373 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40374 volatile register usage warnings from the compiler.
40375
40376 * sysdeps/sparc/nptl/sem_init.c: Delete.
40377 * sysdeps/sparc/nptl/sem_post.c: Delete.
40378 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40379 * sysdeps/sparc/nptl/sem_wait.c: Delete.
40380 * sysdeps/sparc/sparc32/sem_init.c: New file.
40381 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40382 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40383 padding explicitly initialized.
40384 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40385 padding for in-semaphore spinlock.
40386 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40387 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40388 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40389 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40390 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40391 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40392 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40393 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40394 version.
40395 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40396 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40397
40398 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
40399
40400 [BZ #17801]
40401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40402 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40403 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40404 New.
40405 (index_AVX_Fast_Unaligned_Load): Likewise.
40406 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40407 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40408 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40409 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40410 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40411 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40412 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40413 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40414 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40415
40416 2015-01-29 Andreas Schwab <schwab@suse.de>
40417
40418 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40419
40420 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40421
40422 [BZ #17892]
40423 * nscd/nscd_stat.c (send_stats): Initialize DATA.
40424
40425 2015-01-28 Martin Sebor <msebor@redhat.com>
40426
40427 * math/README.libm-test: Clarify. Add "How to read the test output."
40428
40429 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
40430
40431 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40432 Define to 0.
40433
40434 2015-01-28 Joseph Myers <joseph@codesourcery.com>
40435
40436 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40437 (__HAVE_64B_ATOMICS): Define to 0.
40438
40439 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40440
40441 [BZ #17885]
40442 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40443 value to set as new flag.
40444
40445 [BZ #16576]
40446 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40447 and use _ARCH_PPCSQ instead.
40448 (__ieee754_sqrt): Likewise.
40449 (__ieee754_sqrtf): Likewise.
40450 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40451 _ARCH_PPCSQ is defined.
40452 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40453 fsqrt instruction.
40454 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40455 _ARCH_PPCSQ is defined.
40456 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40457 fsqrts instruction.
40458 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40459
40460 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40461
40462 * iconv/loop.c: Suppress array out of bound warning caused by GCC
40463 bug (GCC BZ #64739).
40464
40465 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
40466
40467 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40468 Mark _retval as used.
40469 (lll_futex_wake_unlock): Likewise.
40470 (lll_futex_timed_wait_requeue_pi): Likewise.
40471
40472 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40473 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40474 register variables.
40475
40476 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40477 libm_hidden_def.
40478
40479 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40480 (__bswap_64): Mark as __always_inline.
40481
40482 2015-01-25 Bram <bug_rh@spam.wizbit.be>
40483
40484 [BZ #15378]
40485 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40486 when none of the search directories exist.
40487
40488 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
40489
40490 [BZ #17869]
40491 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40492 power8 in .machine directive.
40493
40494 [BZ #17868]
40495 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40496 set dependency from opd value.
40497
40498 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40499
40500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40501 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40502 architecture.
40503
40504 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
40505
40506 [BZ #17870]
40507 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40508 with uint64_t.
40509 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40510 (uint64_t) 1.
40511 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40512 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40513 Replace 1UL with (uint64_t) 1.
40514 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40515 int with uint64_t.
40516
40517 2015-01-23 Roland McGrath <roland@hack.frob.com>
40518
40519 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40520 (if_freenameindex): Likewise.
40521
40522 * resource/getrlimit64.c: Add missing libc_hidden_def.
40523
40524 2015-01-22 Joseph Myers <joseph@codesourcery.com>
40525
40526 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40527 __label__.
40528 (_FP_FMA): Likewise.
40529 (_FP_TO_INT_ROUND): Likewise.
40530 (_FP_FROM_INT): Likewise.
40531
40532 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40533
40534 [BZ #16418]
40535 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40536 Make code racy and cancel safe.
40537
40538 2015-01-21 Carlos O'Donell <carlos@redhat.com>
40539
40540 * sysdeps/arm/unwind-resume.h: Fix copyright year.
40541 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40542 attribution.
40543
40544 * pwd/tst-getpw.c: Rewrite.
40545
40546 [BZ #17702]
40547 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40548 (modules-names): Add moddummy1 and moddummy2.
40549 ($(objpfx)tst-rec-dlopen): Define.
40550 * dlfcn/moddummy1.c: New file.
40551 * dlfcn/moddummy2.c: New file.
40552 * dlfcn/tst-rec-dlopen.c: New file.
40553 * elf/dl-cache.c (_dl_load_cache_lookup):
40554 Return char*. Copy result with alloca/strcpy/strdup.
40555 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40556 returns char*. Free cached. If not saving realname
40557 free cached.
40558 * elf/dl-open.c (dl_open_worker): Do not assert that
40559 _r_debug->r_state is RT_CONSISTENT.
40560 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40561 returns char*.
40562
40563 2015-01-21 Torvald Riegel <triegel@redhat.com>
40564 Carlos O'Donell <carlos@redhat.com>
40565
40566 [BZ #12674]
40567 * nptl/sem_waitcommon.c: New file.
40568 * nptl/sem_wait.c: Include sem_waitcommon.c.
40569 (__sem_wait_cleanup, do_futex_wait): Remove.
40570 (__new_sem_wait): Adapt.
40571 (__new_sem_trywait): New function.
40572 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40573 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40574 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40575 (sem_timedwait): Adapt.
40576 * nptl/sem_post.c (__new_sem_post): Adapt.
40577 (futex_wake): New function.
40578 (__old_sem_post): Add release MO fence.
40579 * nptl/sem_open.c (sem_open): Adapt.
40580 * nptl/sem_init.c (__new_sem_init): Adapt.
40581 (futex_private_if_supported): New function.
40582 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40583 (__old_sem_getvalue): Add using previous code.
40584 * sysdeps/nptl/internaltypes.h: Adapt.
40585 * nptl/tst-sem13.c (do_test): Adapt.
40586 * nptl/tst-sem11.c (main): Adapt.
40587 * nptl/sem_trywait.c: Remove.
40588 * nptl/DESIGN-sem.txt: Remove.
40589 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40590 (gen-as-const-headers): Remove structsem.sym.
40591 * nptl/structsem.sym: Remove.
40592 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40593 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40594 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40595 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40596 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40597 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40598 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40599 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40600 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40601 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40602 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40603 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40604 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40605 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40606 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40607 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40608 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40609 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40610 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40611 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40612 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40613 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40614
40615 2015-01-20 Carlos O'Donell <carlos@redhat.com>
40616
40617 * INSTALL: Regenerated.
40618
40619 * po/libc.pot: Regenerated.
40620
40621 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
40622 Sandra Loosemore <sandra@codesourcery.com>
40623 Andrew Jenner <andrew@codesourcery.com>
40624 Joseph Myers <joseph@codesourcery.com>
40625 Nathan Sidwell <nathan@codesourcery.com>
40626
40627 * NEWS: Mention new Nios II port.
40628 * sysdeps/nios2/Implies: New file.
40629 * sysdeps/nios2/Makefile: New file.
40630 * sysdeps/nios2/Subdirs: New file.
40631 * sysdeps/nios2/Versions: New file.
40632 * sysdeps/nios2/__longjmp.S: New file.
40633 * sysdeps/nios2/abort-instr.h: New file.
40634 * sysdeps/nios2/backtrace.c: New file.
40635 * sysdeps/nios2/bits/endian.h: New file.
40636 * sysdeps/nios2/bits/fenv.h: New file.
40637 * sysdeps/nios2/bits/link.h: New file.
40638 * sysdeps/nios2/bits/setjmp.h: New file.
40639 * sysdeps/nios2/bsd-_setjmp.S: New file.
40640 * sysdeps/nios2/bsd-setjmp.S: New file.
40641 * sysdeps/nios2/configure: New generated file.
40642 * sysdeps/nios2/configure.ac: New file.
40643 * sysdeps/nios2/crti.S: New file.
40644 * sysdeps/nios2/crtn.S: New file.
40645 * sysdeps/nios2/dl-init.c: New file.
40646 * sysdeps/nios2/dl-machine.h: New file.
40647 * sysdeps/nios2/dl-sysdep.h: New file.
40648 * sysdeps/nios2/dl-tls.h: New file.
40649 * sysdeps/nios2/dl-trampoline.S: New file.
40650 * sysdeps/nios2/gccframe.h: New file.
40651 * sysdeps/nios2/gmp-mparam.h: New file.
40652 * sysdeps/nios2/jmpbuf-offsets.h: New file.
40653 * sysdeps/nios2/jmpbuf-unwind.h: New file.
40654 * sysdeps/nios2/ldsodefs.h: New file.
40655 * sysdeps/nios2/libc-tls.c: New file.
40656 * sysdeps/nios2/libm-test-ulps: New file.
40657 * sysdeps/nios2/machine-gmon.h: New file.
40658 * sysdeps/nios2/math-tests.h: New file.
40659 * sysdeps/nios2/math_private.h: New file.
40660 * sysdeps/nios2/memusage.h: New file.
40661 * sysdeps/nios2/nptl/Makefile: New file.
40662 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40663 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40664 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40665 * sysdeps/nios2/nptl/pthreaddef.h: New file.
40666 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40667 * sysdeps/nios2/nptl/tls.h: New file.
40668 * sysdeps/nios2/preconfigure: New file.
40669 * sysdeps/nios2/s_fma.c: New file.
40670 * sysdeps/nios2/s_fmaf.c: New file.
40671 * sysdeps/nios2/setjmp.S: New file.
40672 * sysdeps/nios2/sfp-machine.h: New file.
40673 * sysdeps/nios2/sotruss-lib.c: New file.
40674 * sysdeps/nios2/stackguard-macros.h: New file.
40675 * sysdeps/nios2/stackinfo.h: New file.
40676 * sysdeps/nios2/start.S: New file.
40677 * sysdeps/nios2/sysdep.h: New file.
40678 * sysdeps/nios2/tls-macros.h: New file.
40679 * sysdeps/nios2/tst-audit.h: New file.
40680 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40681 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40682 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40683 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40684 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40685 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40686 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40687 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40688 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40689 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40690 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40691 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40692 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40693 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40694 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40695 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40696 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40697 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40698 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40699 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40700 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40701 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40702 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40703 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40704 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40705 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40706 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40707 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40708 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40709 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40710 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40711 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40712 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40713 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40714 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40715 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40716 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40717 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40718 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40719 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40720 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40721 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40722 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40723 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40724
40725 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40726
40727 [BZ #17844]
40728 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40729 (getutent): Use weak_alias in non SHARED case
40730 and default_symbol_version in SHARED case.
40731 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40732 (getutent_r, pututline): Likewise.
40733 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40734 (getutid): Likewise.
40735 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40736 (getutid_r): Likewise.
40737 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40738 (getutline): Likewise.
40739 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40740 (getutline_r): Likewise.
40741 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40742 (updwtmp): Likewise.
40743
40744 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40745
40746 [BZ #17848]
40747 * sysdeps/s390/s390-32/memcmp.S
40748 (memcmp_g5): Rename to __memcmp_g5.
40749 * sysdeps/s390/s390-32/memcpy.S
40750 (memcpy_g5): Rename to __memcpy_g5.
40751 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40752 (memcpy_mvcle) Rename to __memcpy_mvcle.
40753 * sysdeps/s390/s390-32/memset.S
40754 (memset_g5): Rename to __memset_g5.
40755 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40756 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40757 and use prefixed functions.
40758 * sysdeps/s390/s390-32/multiarch/memcmp.S
40759 (memcmp_z196): Rename to __memcmp_z196.
40760 (memcmp_z10): Rename to __memcmp_z10.
40761 (memcmp): Set alias to __memcmp_g5.
40762 (bcmp): Set alias to __memcmp_g5.
40763 * sysdeps/s390/s390-32/multiarch/memcpy.S
40764 (memcpy_z196): Rename to __memcpy_z196.
40765 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40766 (memcpy_z10): Rename to __memcpy_z10.
40767 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40768 (memcpy): Set alias to __memcpy_g5.
40769 * sysdeps/s390/s390-32/multiarch/memset.S
40770 (memset_z196): Rename to __memset_z196.
40771 Jump to __memset_mvcle instead of memset_mvcle.
40772 (memset_z10): Rename to __memset_z10.
40773 Jump to __memset_mvcle instead of memset_mvcle.
40774 (memset_mvcle) Rename to __memset_mvcle.
40775 (memset): Set alias to __memset_g5.
40776 * sysdeps/s390/s390-64/memcmp.S
40777 (memcmp_z900): Rename to __memcmp_z900.
40778 * sysdeps/s390/s390-64/memcpy.S
40779 (memcpy_z900): Rename to __memcpy_z900.
40780 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40781 (memcpy_mvcle) Rename to __memcpy_mvcle.
40782 * sysdeps/s390/s390-64/memset.S
40783 (memset_z900): Rename to __memset_z900.
40784 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40785 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40786 and use prefixed functions.
40787 * sysdeps/s390/s390-64/multiarch/memcmp.S
40788 (memcmp_z196): Rename to __memcmp_z196.
40789 (memcmp_z10): Rename to __memcmp_z10.
40790 (memcmp): Set alias to __memcmp_z900.
40791 (bcmp): Set alias to __memcmp_z900.
40792 * sysdeps/s390/s390-64/multiarch/memcpy.S
40793 (memcpy_z196): Rename to __memcpy_z196.
40794 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40795 (memcpy_z10): Rename to __memcpy_z10.
40796 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40797 (memcpy): Set alias to __memcpy_z900.
40798 * sysdeps/s390/s390-64/multiarch/memset.S
40799 (memset_z196): Rename to __memset_z196.
40800 Jump to __memset_mvcle instead of memset_mvcle.
40801 (memset_z10): Rename to __memset_z10.
40802 Jump to __memset_mvcle instead of memset_mvcle.
40803 (memset_mvcle) Rename to __memset_mvcle.
40804 (memset): Set alias to __memset_z900.
40805
40806 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40807
40808 [BZ #17748]
40809 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40810 __fesetenv instead of fesetenv.
40811
40812 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40813
40814 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40815 macro.
40816
40817 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40818
40819 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40820 regression on LE.
40821
40822 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40823 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40824 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40825 strncmp-power8 object.
40826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40827 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40828 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40829 * NEWS: Update.
40830
40831 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40832 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40833
40834 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40835 trailing byte check.
40836
40837 2015-01-13 David S. Miller <davem@davemloft.net>
40838
40839 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40840
40841 2015-01-13 Roland McGrath <roland@hack.frob.com>
40842
40843 * login/logout.c (logout): Use memset rather than bzero.
40844 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40845 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40846 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40847 (_gethtbyaddr): Likewise.
40848 * locale/programs/simple-hash.c (bcopy): Macro removed.
40849
40850 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40851
40852 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40853 Add strcmp-power8 object.
40854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40855 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40856 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40857 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40858 __strcmp_power8 implementation.
40859 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40860 * NEWS: Update.
40861
40862 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40863 Add strncpy-power8 and stpncpy-power8 objects.
40864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40865 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40866 implementations.
40867 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40868 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40869 __stpncpy_power8 implementation.
40870 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40871 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40872 __strncpy_power8 implementation.
40873 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40874 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40875 * NEWS: Update.
40876
40877 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40878 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40879 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40880
40881 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40882 strncat-power8 object.
40883 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40884 __strcat_power8 implementation.
40885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40886 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40887 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40888 optimized strcat for power8.
40889
40890 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40891 strcpy-power8 and stpcpy-power8 objects.
40892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40893 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40894 implementations.
40895 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40896 multiarch stpcpy implementation for POWER8.
40897 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40898 multiarch strcpy implementation for POWER8.
40899 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40900 __strcpy_power8 function.
40901 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40902 stpcpy for POWER8.
40903 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40904 strcpy for POWER8.
40905 * NEWS: Update.
40906
40907 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40908
40909 [BZ #16009]
40910 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40911 weights and rules. Use do_xfrm_cached if data fits in cache,
40912 do_xfrm otherwise. Moved former main loop to...
40913 * (do_xfrm_cached): New function.
40914 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40915 find_idx, find_position and stack_push.
40916 * (find_idx): New function.
40917 * (find_position): Likewise.
40918 * localedata/sort-test.sh: Added test run for do_xfrm.
40919 * localedata/xfrm-test.c (main): Added command line option
40920 -nocache to run the test with strings that are too large for
40921 the STRXFRM cache.
40922
40923 2015-01-13 Torvald Riegel <triegel@redhat.com>
40924
40925 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40926 variable to lll_futex_wake call, not the value itself.
40927
40928 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40929
40930 [BZ #17803]
40931 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40932 twom64. Adjust value to 0x1p-64L.
40933 (__scalblnl): Only return standard underflowing result for K <=
40934 -64 not K <= -63; adjust exponent for underflowing result by 64
40935 not 63.
40936 * math/libm-test.inc (scalbn_test_data): Add more tests.
40937 (scalbln_test_data): Likewise.
40938
40939 [BZ #17834]
40940 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40941 0x1p63L.
40942 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40943 not HX.
40944 * math/libm-test.inc (scalbn_test_data): Add more tests.
40945 (scalbln_test_data): Likewise.
40946
40947 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40948 Stefani Seibold <stefani@seibold.net>
40949
40950 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40951 (sysdep_routines): Add dl-vdso here, ...
40952 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40953 (sysdep_routines): ... not here.
40954 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40955 fallback when vDSO is not presented.
40956 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40957 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40958 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40959 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40960 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40961 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40962 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40963 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40964 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40966 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40967 fallback configurable symbol when vDSO is not available.
40968 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40969 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40970 be able to redefine fallback symbol when vDSO is not available.
40971 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40972 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40973
40974 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40975
40976 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40977 (TLS_INIT_TP): Add tm_capable initialization.
40978 (TLS_DEFINE_INIT_TP): Likewise.
40979 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40980 TCB.
40981 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40982 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40983 calculation.
40984 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40985 transactoion is lock elision is built and TCB tm_capable is set.
40986 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40988 (INTERNAL_SYSCALL_NCS): Likewise.
40989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40990 (INTERNAL_SYSCALL_NCS): Likewise.
40991 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40992
40993 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40994 for powerpc.
40995 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40996 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40997 and remove it for 32 bits case.
40998 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41000 initialization.
41001 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41002 Disable lock elision with rdlocks if elision is not available.
41003
41004 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41005 (sysdep_routines): Add lock elision objects.
41006 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41007 [pthread_mutex_t] (__spins): Rework to add lock elision field.
41008 [pthread_mutex_t] (__elision): Add field.
41009 [__PTHREAD_SPINS]: Adjust to init lock elision field.
41010 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41011 elision definitions for powerpc.
41012 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41013 implementation of lock elision for powerpc.
41014 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41015 implementation of timed lock elision for powerpc.
41016 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41017 implementation of trylock with lock elision for powerpc.
41018 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41019 implementaion of unlock for lock elision for powerpc.
41020 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41021 automatic enable lock elision for mutexes.
41022 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41023 transaction execution definitions for powerpc.
41024 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41025 definitions.
41026 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41027 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41028 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41029 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41030 * NEWS: Update.
41031
41032 2015-01-09 Roland McGrath <roland@hack.frob.com>
41033
41034 * sysdeps/posix/shm-directory.c: Use <> rather than ""
41035 for #include of <shm-directory.h>.
41036
41037 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
41038
41039 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41040 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41041
41042 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
41043
41044 [BZ #17791]
41045 * NEWS: Mention bug fix.
41046 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41047 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41048 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41049
41050 2015-01-09 Torvald Riegel <triegel@redhat.com>
41051
41052 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41053
41054 2015-01-09 Torvald Riegel <triegel@redhat.com>
41055
41056 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41057
41058 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41059
41060 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41061 pointer and cast to uintptr_t.
41062
41063 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41064
41065 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41066 removed.
41067 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41068
41069 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
41070
41071 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41072 of 0.
41073
41074 2015-01-08 Roland McGrath <roland@hack.frob.com>
41075
41076 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41077 <nptl/pthreadP.h> instead.
41078 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41079
41080 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41081 already defined.
41082 [__SIGRTMIN] (init): Function removed.
41083 [__SIGRTMIN] (initialized): Variable removed.
41084 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41085 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41086 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41087 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41088 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41089 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41090 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41091 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41092 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41093 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41094 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41095 * sysdeps/nptl/allocrtsig.c: New file.
41096 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41097 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41098 * sysdeps/generic/testrtsig.h: File removed.
41099
41100 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41101 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41102
41103 * nptl/nptl-init.c (pthread_functions): Conditionalize
41104 .ptr__nptl_setxid initialization on [SIGSETXID].
41105
41106 * sysdeps/nptl/sys/procfs.h: New file.
41107 * nptl_db/Makefile (headers): Add it.
41108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41109
41110 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41111 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41112 * nptl/pthread_attr_setaffinity.c: Include it.
41113 * nptl/pthread_setattr_default_np.c: Likewise.
41114 * nptl/check-cpuset.h: New file.
41115
41116 2015-01-08 Richard Henderson <rth@redhat.com>
41117
41118 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41119 (CFLAGS-tst-execstack-prog.c): Likewise.
41120 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41121
41122 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
41123 Sandra Loosemore <sandra@codesourcery.com>
41124 Andrew Jenner <andrew@codesourcery.com>
41125 Joseph Myers <joseph@codesourcery.com>
41126 Nathan Sidwell <nathan@codesourcery.com>
41127
41128 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41129 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41130 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41131 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41132 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41133 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41134 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41135 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41136 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41137 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41138 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41139 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41140 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41141 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41142 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41143 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41144 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41145
41146 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41147
41148 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41149 timespec struct member in syscall macro.
41150 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41151 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41152 first timeval struct member in syscall macro.
41153 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41154
41155 2015-01-07 Joseph Myers <joseph@codesourcery.com>
41156
41157 [BZ #17748]
41158 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41159 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41160 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41161 __feupdateenv and define as weak alias of __feupdateenv. Use
41162 libm_hidden_weak.
41163 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41164 libm_hidden_def.
41165 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41166 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
41167 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41168 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41169 libm_hidden_def.
41170 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41171 __feupdateenv and define as weak alias of __feupdateenv. Use
41172 libm_hidden_weak.
41173 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41174 libm_hidden_def.
41175 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41176 __feupdateenv and define as weak alias of __feupdateenv. Use
41177 libm_hidden_weak.
41178 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41179 libm_hidden_def.
41180 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41181 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41182 (__feupdateenv): Likewise.
41183 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41184 __feupdateenv and define as weak alias of __feupdateenv. Use
41185 libm_hidden_weak.
41186 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41187 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41188 libm_hidden_def.
41189 * sysdeps/tile/math_private.h (__feupdateenv): New inline
41190 function.
41191 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41192 libm_hidden_def.
41193 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41194 __feupdateenv instead of feupdateenv.
41195 (default_libc_feupdateenv_test): Likewise.
41196 (libc_feresetround_ctx): Likewise.
41197
41198 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41199
41200 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41201 prototype.
41202
41203 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
41204
41205 * posix/regcomp.c (parse_bracket_exp): Initialize type to
41206 COLL_SYM in a couple of places to avoid uninitialized variable
41207 wanings on tilegx gcc 4.8.2.
41208
41209 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41210
41211 * sysdeps/aarch64/strcpy.S: New file.
41212 * sysdeps/aarch64/stpcpy.S: New file.
41213 * NEWS: Updated.
41214
41215 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
41216
41217 * sysdeps/aarch64/strrchr.S: New file.
41218 * NEWS: Updated.
41219
41220 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
41221
41222 [BZ #17658]
41223 * stdlib/setenv.c: Fix memory leak when setting large,
41224 duplicate string.
41225
41226 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
41227
41228 [BZ #17273]
41229 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41230 and tabs from buffer before parsing fstab entry.
41231 * misc/tst-mntent.c (main): Add test for mount entry with
41232 trailing spaces and tabs.
41233
41234 2015-01-06 Joseph Myers <joseph@codesourcery.com>
41235
41236 [BZ #17748]
41237 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
41238 * math/fesetround.c (fesetround): Rename to __fesetround and
41239 define as weak alias of __fesetround. Use libm_hidden_weak.
41240 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41241 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41242 * sysdeps/arm/fesetround.c (fesetround): Likewise.
41243 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41244 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41245 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41246 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41247 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41248 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41249 __fesetround_inline.
41250 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41251 __fesetround_inline instead of __fesetround.
41252 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41253 __fesetround and define as weak alias of __fesetround. Use
41254 libm_hidden_weak. Call __fesetround_inline instead of
41255 __fesetround.
41256 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41257 __fesetround and define as weak alias of __fesetround. Use
41258 libm_hidden_weak.
41259 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41260 Likewise.
41261 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41262 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41263 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41264 * sysdeps/tile/math_private.h (__fesetround): New inline function.
41265 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41266 __fesetround and define as weak alias of __fesetround. Use
41267 libm_hidden_weak.
41268 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41269 __fesetround instead of fesetround.
41270 (default_libc_feholdexcept_setround): Likewise.
41271 (libc_feholdsetround_ctx): Likewise.
41272 (libc_feholdsetround_noex_ctx): Likewise.
41273
41274 [BZ #17748]
41275 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41276 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41277 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41278 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41279 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41280 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41281 define as weak alias of __fesetenv. Use libm_hidden_weak.
41282 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41283 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41284 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41285 define as weak alias of __fesetenv. Use libm_hidden_weak.
41286 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41287 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41288 define as weak alias of __fesetenv. Use libm_hidden_weak.
41289 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41290 libm_hidden_def.
41291 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41292 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41293 Likewise.
41294 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41295 define as weak alias of __fesetenv. Use libm_hidden_weak.
41296 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41297 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41298 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41299 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41300 and define as weak alias of __fesetenv. Use libm_hidden_weak.
41301 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41302 __fesetenv instead of fesetenv.
41303 (libc_feresetround_noex_ctx): Likewise.
41304 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41305 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41306 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41307 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41308 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41309 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41310 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41311 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41312 (__feupdateenv): Likewise.
41313 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41314 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41315 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41316 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41317
41318 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41319
41320 [BZ #17806]
41321 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41322 addresses have been freed.
41323
41324 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
41325
41326 * resolv/res_init.c (__res_vinit): Improve comments about nserv
41327 and nservall.
41328
41329 2015-01-06 Ondƙej Bílka <neleai@seznam.cz>
41330
41331 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41332 Clean up check_pf allocation pattern. addresses
41333
41334 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41335
41336 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41337 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41338 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41339 * nptl/pthread_exit.c (__pthread_exit): Likewise.
41340 * nptl/pthread_join.c (pthread_join): Likewise.
41341 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41342 * sysdeps/posix/waitid.c (__waitid): Likewise.
41343 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41344 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41345 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41346 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41347 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41348 Likewise.
41349 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41350 (__libc_pread64): Likewise.
41351 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41352 (__libc_pwrite): Likewise.
41353 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41354 (__libc_pwrite64): Likewsie.
41355 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41356 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41357 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41358 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41359 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41360 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41361 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41363 Likewise.
41364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41365 (__libc_pread64): Likewise.
41366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41367 Likewise.
41368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41369 (__libc_pwrite64): Likewise.
41370 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41371 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41372 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41373 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41374 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41375 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41376 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41377 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41378 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41379 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41380 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41381 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41382 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41383 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41384 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41385 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41386 Likewise.
41387
41388 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
41389
41390 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41391 (CFLAGS-test-double.c): Likewise.
41392 (CFLAGS-test-ldouble.c): Likewise.
41393 (CPPFLAGS-test-ifloat.c): Likewise.
41394 (CPPFLAGS-test-idouble.c): Likewise.
41395 (CPPFLAGS-test-ildoubl.c): Likewise.
41396 (CFLAGS-test-test-fenv.c): Remove variable.
41397 (CFLAGS-test-misc.c): Likewise.
41398
41399 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
41400
41401 [BZ #17797]
41402 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41403 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41404 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41405 CLOCKS_PER_SEC == 1000000.
41406 * time/clocktest.c (main): Replace %ld with %jd and cast to
41407 intmax_t.
41408
41409 2015-01-05 Roland McGrath <roland@hack.frob.com>
41410
41411 * sysdeps/generic/unwind-resume.h: New file.
41412 * sysdeps/gnu/unwind-resume.c: Include it.
41413 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41414 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41415 argument list.
41416 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41417 global rather than static.
41418 (_Unwind_Resume): Update user.
41419 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41420 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
41421 rather than static. Add __attribute__ ((cold)).
41422 (_Unwind_Resume, __gcc_personality_v0): Update callers.
41423 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41424 * sysdeps/arm/arm-unwind-resume.S: New file.
41425 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41426 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41427 * sysdeps/arm/Makefile [$(subdir) = csu]
41428 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41429 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41430 Add rt-arm-unwind-resume.
41431 [$(subdir) = nptl]
41432 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41433 Add pt-arm-unwind-resume.
41434 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41435 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41436
41437 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41438
41439 [BZ #17748]
41440 * include/fenv.h (__feholdexcept): Declare. Use
41441 libm_hidden_proto.
41442 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41443 define as weak alias of __feholdexcept. Use libm_hidden_weak.
41444 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41445 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41446 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41447 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41448 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41449 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41450 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41451 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41452 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41453 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41454 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41455 (feholdexcept): Likewise.
41456 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41457 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41458 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41459 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41460 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41461 __feholdexcept instead of feholdexcept.
41462 (default_libc_feholdexcept_setround): Likewise.
41463
41464 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41465
41466 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41467 to avoid using stl/str to align destination.
41468
41469 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41470
41471 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41472
41473 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41474
41475 [BZ #17796]
41476 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41477 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41478 Define as weak alias not strong alias.
41479
41480 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
41481
41482 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41483 bltzal with addiupc.
41484 (RTLD_START): Ditto.
41485
41486 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
41487
41488 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41489 for __vdso_* functions in declarations.
41490 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41491 definitions.
41492 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41493 INTERNAL_VSYSCALL): Use struct return types to check for error.
41494
41495 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41496 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41497 function with cast from llround().
41498 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41499 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41500 Define.
41501
41502 2015-01-05 Joseph Myers <joseph@codesourcery.com>
41503
41504 [BZ #17793]
41505 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41506 Define as weak alias not strong alias.
41507
41508 [BZ #17635]
41509 * ctype/ctype-c99.c: New file. isblank implementation moved from
41510 ...
41511 * ctype/ctype-extn.c: ... here.
41512 (__isblank_l): Move to ...
41513 * ctype/ctype-c99_l.c: ... here. New file.
41514 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41515 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41516 Remove variable.
41517 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41518 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41519 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41520 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41521 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41522
41523 [BZ #17777]
41524 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41525 (posix_fadvise64): Define as weak alias not strong alias.
41526 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41527 (posix_fallocate64): Likewise.
41528 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41529 Remove variable.
41530 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41531 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41532 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41533 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41534 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41535
41536 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
41537
41538 [BZ #16191]
41539 * NEWS: Mention bug fix.
41540 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41541 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41542 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41543 (HOST_STACK_END_ADDR): Likewise.
41544
41545 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41546
41547 [BZ #17748]
41548 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
41549 * math/fegetround.c (fegetround): Rename to __fegetround and
41550 define as weak alias of __fegetround. Use libm_hidden_weak.
41551 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41552 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41553 * sysdeps/arm/fegetround.c (fegetround): Likewise.
41554 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41555 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41556 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41557 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41558 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41559 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41560 Undefine after rather than before function definition; use
41561 parentheses around function name in definition.
41562 (__fegetround): Also undefine macro after function definition.
41563 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41564 __fegetround and define as weak alias of __fegetround. Use
41565 libm_hidden_weak. Do not undefine as macro.
41566 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41567 Likewise.
41568 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41569 __fegetround and define as weak alias of __fegetround. Use
41570 libm_hidden_weak.
41571 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41572 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41573 * sysdeps/tile/math_private.h (__fegetround): New inline function.
41574 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41575 __fegetround and define as weak alias of __fegetround. Use
41576 libm_hidden_weak.
41577 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41578 __fegetround instead of fegetround.
41579
41580 [BZ #17782]
41581 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41582 Condition macro definition on [__USE_MISC].
41583
41584 [BZ #17781]
41585 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41586 (struct sigaction): Change type of sa_flags field to int.
41587
41588 [BZ #17780]
41589 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41590 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41591 __glibc_reserved0.
41592
41593 * nptl/version.c (banner): Use single year in copyright notice.
41594
41595 * NEWS: Update copyright dates.
41596 * catgets/gencat.c (print_version): Likewise.
41597 * csu/version.c (banner): Likewise.
41598 * debug/catchsegv.sh: Likewise.
41599 * debug/pcprofiledump.c (print_version): Likewise.
41600 * debug/xtrace.sh (do_version): Likewise.
41601 * elf/ldconfig.c (print_version): Likewise.
41602 * elf/ldd.bash.in: Likewise.
41603 * elf/pldd.c (print_version): Likewise.
41604 * elf/sotruss.sh: Likewise.
41605 * elf/sprof.c (print_version): Likewise.
41606 * iconv/iconv_prog.c (print_version): Likewise.
41607 * iconv/iconvconfig.c (print_version): Likewise.
41608 * locale/programs/locale.c (print_version): Likewise.
41609 * locale/programs/localedef.c (print_version): Likewise.
41610 * login/programs/pt_chown.c (print_version): Likewise.
41611 * malloc/memusage.sh (do_version): Likewise.
41612 * malloc/memusagestat.c (print_version): Likewise.
41613 * malloc/mtrace.pl: Likewise.
41614 * manual/libc.texinfo: Likewise.
41615 * nptl/version.c (banner): Likewise.
41616 * nscd/nscd.c (print_version): Likewise.
41617 * nss/getent.c (print_version): Likewise.
41618 * nss/makedb.c (print_version): Likewise.
41619 * posix/getconf.c (main): Likewise.
41620 * scripts/test-installation.pl: Likewise.
41621 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41622
41623 2015-01-02 Will Newton <will.newton@linaro.org>
41624
41625 * sysdeps/arm/armv7/configure: Removed.
41626 * sysdeps/arm/armv7/configure.ac: Likewise.
41627
41628 2015-01-02 Joseph Myers <joseph@codesourcery.com>
41629
41630 * All files with FSF copyright notices: Update copyright dates
41631 using scripts/update-copyrights.
41632 * intl/plural.c: Regenerated.
41633 * locale/programs/charmap-kw.h: Likewise.
41634 * locale/programs/locfile-kw.h: Likewise.
41635
41636 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41637
41638 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41639
41640 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41641
41642 [BZ #17748]
41643 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41644 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41645 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41646 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41647 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41648 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41649 define as weak alias of __fegetenv. Use libm_hidden_weak.
41650 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41651 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41652 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41653 define as weak alias of __fegetenv. Use libm_hidden_weak.
41654 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41655 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41656 define as weak alias of __fegetenv. Use libm_hidden_weak.
41657 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41658 libm_hidden_def.
41659 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41660 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41661 Likewise.
41662 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41663 define as weak alias of __fegetenv. Use libm_hidden_weak.
41664 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41665 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41666 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41667 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41668 and define as weak alias of __fegetenv. Use libm_hidden_weak.
41669 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41670 __fegetenv instead of fegetenv.
41671 (libc_feholdsetround_noex_ctx): Likewise.
41672
41673 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
41674
41675 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41676 (Elf_MIPS_ABIFlags_v0): New structure.
41677 (EF_MIPS_FP64): Define.
41678 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41679 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41680 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41681 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41682 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41683 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41684 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41685 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41686 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41687 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41688 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41689 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41690 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41691 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41692 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41693 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41694 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41695 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41696 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41697 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41698 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41699 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41700 field.
41701 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41702 EF_MIPS_FP64.
41703 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41704 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41705 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41706 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41707 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41708 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41709 * sysdeps/mips/tst-abi-interlink.c: Likewise.
41710 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41711 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41712 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41713 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41714 record the current FP ABI extension.
41715 (mips-mode-switch): Define to show if kernel headers support mode
41716 switching.
41717 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41718 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41719 supported SYSV ABI version to 3.
41720 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41721 feature.
41722
41723 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41724 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41725
41726 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41727 path.
41728 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41729
41730 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41731
41732 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41733 __fegetround and redefine to call __fegetround. Remove condition
41734 on [!__NO_MATH_INLINES].
41735 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41736 function.
41737 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41739 Remove macro.
41740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41741 instead of <fenv_libc.h>.
41742 (__llrintl): Call fegetround instead of __fegetround.
41743 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41744 instead of <fenv_libc.h>.
41745 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41746 (__lrintl): Call fegetround instead of __fegetround.
41747 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41748 instead of <fenv_libc.h>.
41749 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41750 (__rintl): Call fegetround instead of __fegetround.
41751
41752 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41753
41754 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41755 arrays.
41756
41757 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41758
41759 [BZ #17775]
41760 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41761 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41762 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41763
41764 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41765
41766 * sysdeps/i386/tls-macros.h: Include <features.h>.
41767 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41768 (TLS_IE): Likewise.
41769 (TLS_LD): Likewise.
41770 (TLS_GD): Likewise.
41771 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41772 define for GCC >= 5.0.
41773
41774 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41775
41776 * math/test-fenv.c (test_single_exception, set_single_exc,
41777 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41778 feexcp_mask_test, feenable_test, fe_single_test): Add
41779 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41780 case where they are not used.
41781 * math/libm-test.inc: Likewise.
41782 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41783 unused in the absence of FP rounding/exception support.
41784 * stdio-common/tst-printf-round.c: Likewise.
41785 * stdlib/tst-strtod-round.c: Likewise.
41786 * stdlib/tst-strtod-underflow.c: Likewise.
41787
41788 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41789
41790 [BZ #17723]
41791 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41792 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41793 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41794 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41795 libm_hidden_weak.
41796 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41797 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41798 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41799 libm_hidden_def.
41800 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41801 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41802 libm_hidden_weak.
41803 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41804 Likewise.
41805 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41806 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41807 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41808 libm_hidden_weak.
41809 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41810 libm_hidden_def.
41811 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41812 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41813 (__feraiseexcept): Likewise.
41814 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41815 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41816 libm_hidden_weak.
41817 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41818 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41819 libm_hidden_def.
41820 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41821 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41822 Use libm_hidden_def.
41823 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41824 libm_hidden_def.
41825 (feraiseexcept): Define as weak not strong alias. Use
41826 libm_hidden_weak.
41827 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41828 New inline function. Factored out of ...
41829 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41830 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41831 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41832 feraiseexcept.
41833 * math/w_acos.c (__acos): Likewise.
41834 * math/w_asin.c (__asin): Likewise.
41835 * math/w_ilogb.c (__ilogb): Likewise.
41836 * math/w_j0.c (y0): Likewise.
41837 * math/w_j1.c (y1): Likewise.
41838 * math/w_jn.c (yn): Likewise.
41839 * math/w_log.c (__log): Likewise.
41840 * math/w_log10.c (__log10): Likewise.
41841 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41842 * sysdeps/aarch64/fpu/math_private.h
41843 (libc_feupdateenv_test_aarch64): Likewise.
41844 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41845 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41846 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41847 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41848 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41849 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41850 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41851 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41852 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41853 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41854
41855 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41856
41857 [BZ #17732]
41858 * io/test-utime.c (main): Replace %ld with %jd and cast to
41859 intmax_t.
41860 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41861 * nptl/tst-mutex5.c: Include <stdint.h>.
41862 (do_test): Replace %ld with %jd and cast to intmax_t.
41863 * posix/tst-regex.c (run_test): Likewise.
41864 (run_test_backwards): Likewise.
41865 * rt/tst-clock.c: Include <stdint.h>.
41866 (clock_test): Replace %ld with %jd and cast to intmax_t.
41867 * rt/tst-cpuclock1.c: Include <stdint.h>.
41868 (do_test): Replace %lu with %ju and cast to uintmax_t.
41869 * rt/tst-cpuclock2.c: Include <stdint.h>.
41870 (do_test): Replace %lu with %ju and cast to uintmax_t.
41871 * rt/tst-mqueue1.c: Include <stdint.h>.
41872 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41873 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41874 intmax_t.
41875 * rt/tst-mqueue4.c (do_test): Likewise.
41876 * rt/tst-timer4.c: Include <stdint.h>.
41877 (check_ts): Replace %ld with %jd and cast to intmax_t.
41878 (do_test): Likewise.
41879 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41880 and cast to intmax_t.
41881 * sysdeps/pthread/tst-timer.c (main): Likewise.
41882 * time/clocktest.c (main): Likewise.
41883 * time/tst-posixtz.c (do_test): Likewise.
41884 * timezone/tst-timezone.c (main): Likewise.
41885
41886 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41887 H.J. Lu <hongjiu.lu@intel.com>
41888
41889 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41890 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41891 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41892 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41893 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41894 version if bit_Fast_Unaligned_Load is set.
41895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41902 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41903 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41904 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41905 to 4.
41906 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41907 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41908 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41909 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41910
41911 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41912
41913 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41914 instead of #if to avoid a Wundef warning.
41915 * stdlib/tst-limits.c (do_test): Likewise.
41916
41917 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41918 parallel other exception macros.
41919 (fegetenv): Convert from macro to extern inline so that it applies
41920 retroactively to inline functions already seen by the compiler.
41921 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41922
41923 * posix/Makefile (before-compile): Use $(objpfx) for
41924 posix-conf-vars-def.h.
41925
41926 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41927
41928 * posix/getconf.c (main): Use size_t for type of I.
41929 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41930 NSPEC.
41931
41932 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41933 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41934 * posix/posix-envs.def: Likewise.
41935 * sysdeps/posix/sysconf.c: Likewise.
41936 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41937 (specs): Remove array.
41938 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41939 array.
41940
41941 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41942 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41943 (__sysconf): Use CONF_IS_* macros.
41944
41945 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41946 ($(objpfx)posix-conf-vars-def.h): New target.
41947 * posix/posix-conf-vars.list: New file.
41948 * posix/posix-conf-vars.h: New file.
41949 * posix/confstr.c: Include posix-conf-vars.h.
41950 (confstr): Use CONF_IS_* macros.
41951 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41952 CONF_IS_* macros.
41953 * scripts/gen-posix-conf-vars.awk: New file.
41954
41955 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41956
41957 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41958 fegetround): Add no-op macros to avoid linknamespace issues.
41959
41960 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41961 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41962
41963 * sysdeps/unix/sysv/linux/tile/sysdep.h
41964 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41965 assembly-specific section to avoid a redefinition warning.
41966
41967 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41968 long before casting to pointer to avoid a cast warning.
41969
41970 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41971
41972 * sysdeps/tile/tilegx/Implies: New file.
41973
41974 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41975
41976 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41977
41978 2014-12-23 Florian Weimer <fweimer@redhat.com>
41979
41980 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41981
41982 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41983
41984 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41985 not define.
41986 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41987 <kernel-features.h>.
41988 (__utimes) [__NR_utimes]: Make code unconditional.
41989 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41990 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41991 (__ASSUME_UTIMES): Do not undefine.
41992 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41993 (__ASSUME_UTIMES): Likewise.
41994 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41995 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41996 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41997 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41998
41999 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42000
42001 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42002
42003 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
42004
42005 [BZ #17747]
42006 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42007 alias to weak alias for j0l, y0l.
42008 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42009 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42010
42011 [BZ #17746]
42012 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42013 conversion.
42014
42015 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
42016
42017 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42018 to zero if not already defined.
42019
42020 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42021
42022 [BZ #17724]
42023 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42024 (__kernel_standard_f): Remove. Moved to k_standardf.c.
42025 (__kernel_standard_l): Remove. Moved to k_standardl.c with
42026 (char *) casts added.
42027 * sysdeps/ieee754/k_standardf.c: New file.
42028 * sysdeps/ieee754/k_standardl.c: Likewise.
42029 * math/Makefile (libm-support): Remove k_standard.
42030 (libm-calls): Add k_standard.
42031
42032 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42033
42034 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42035 Optimize to avoid an unnecessary FPCR read.
42036
42037 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42038
42039 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42040 Optimize to reduce FPCR/FPSR accesses.
42041
42042 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42043
42044 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42045 Call libc_fetestexcept_aarch64.
42046
42047 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
42048
42049 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42050 Call libc_fesetround_aarch64.
42051
42052 2014-12-22 Joseph Myers <joseph@codesourcery.com>
42053
42054 [BZ #17733]
42055 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42056 (__bind): Do not define as weak alias.
42057 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42058 define.
42059 (__getsockname): Do not define as weak alias.
42060
42061 2014-12-22 Will Newton <will.newton@linaro.org>
42062
42063 * manual/install.texi: Document that we require bison 2.7
42064 or above.
42065 * INSTALL: Regenerate.
42066 * configure.ac: Use AC_CHECK_PROG_VER instead of
42067 AC_PATH_PROG when checking for bison and check for
42068 version 2.7 or above.
42069 * configure: Regenerate.
42070
42071 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
42072
42073 [BZ #17745]
42074 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42075 * sysdeps/tile/ffsll.c (ffsll): To here.
42076
42077 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42078
42079 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42080
42081 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42082 if not defined.
42083 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42084 definition.
42085 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42086 hidden ___tls_get_addr.
42087 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42088 hidden __tls_get_addr.
42089 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42090 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42091 Likewise.
42092
42093 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
42094
42095 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42096 _dl_init call.
42097
42098 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
42099
42100 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42101 from "call _dl_init@PLT".
42102 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42103
42104 2014-12-21 Anders Kaseorg <andersk@mit.edu>
42105
42106 * manual/search.texi: (Array Sort Function): Clarify stable sorting
42107 guarantees.
42108
42109 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
42110
42111 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42112
42113 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42114
42115 [BZ #17744]
42116 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42117 strnlen.
42118
42119 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42120
42121 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42122 of multu on MIPSr6.
42123 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42124 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42125 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42126 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42127 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42128
42129 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
42130
42131 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42132 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42133 (PTR_SUBU): Use subu for mips32r6/mips64r6.
42134 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42135 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42136 mips32r6/mips64r6.
42137 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42138
42139 2014-12-19 Ondƙej Bílka <neleai@seznam.cz>
42140
42141 * string/strncat.c (STRNCAT): Simplify implementation.
42142
42143 2014-12-19 David S. Miller <davem@davemloft.net>
42144
42145 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42146 access the quad as both a long double and as a series of 4 words.
42147
42148 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42149 link_map->l_info array access.
42150
42151 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
42152
42153 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42154
42155 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42156 * math/atest-exp2.c (TIMEOUT): Likewise.
42157 * math/atest-sincos.c (TIMEOUT): Likewise.
42158
42159 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42160
42161 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42162 -Wno-error with -fno-builtin-lround.
42163
42164 2014-12-19 Torvald Riegel <triegel@redhat.com>
42165
42166 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42167 Contains futex constants and functions moved over from ...
42168 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
42169 <lowlevellock-futex.h>.
42170 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42171 (lll_timedwait_tid): Add comments and parentheses around macro
42172 arguments.
42173
42174 2014-12-19 Torvald Riegel <triegel@redhat.com>
42175
42176 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42177 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
42178 (__lll_private_flag): Remove.
42179 (lll_futex_wait): Likewise.
42180 (lll_futex_timed_wait): Likewise.
42181 (lll_futex_wake): Likewise.
42182 (lll_futex_requeue): Likewise.
42183 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42184 (__lll_timedwait_tid): Spell out argument names.
42185 (lll_timedwait_tid): Add comments and parentheses around macro
42186 arguments.
42187 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42188 LLL_SHARED and LLL_PRIVATE usable from assembly code.
42189
42190 2014-12-19 Torvald Riegel <triegel@redhat.com>
42191
42192 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42193 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42194 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42195 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42196 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42197 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42198 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42199 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42200 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42201 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42202 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42203 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42204 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42205 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42206 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42207 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42208 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42209 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42210 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42211
42212 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42213
42214 * sysdeps/x86_64/x32/Makefile: New file.
42215
42216 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
42217
42218 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42219 1L with (mp_limb_t) 1.
42220
42221 2014-12-17 Roland McGrath <roland@hack.frob.com>
42222
42223 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42224 * nptl/libc_pthread_init.c: ... here.
42225 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42226 * nptl/register-atfork.c: ... here.
42227
42228 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42229 Use pthread_sigmask rather than INTERNAL_SYSCALL.
42230 Use assert_perror to check its return value.
42231 (__gai_create_helper_thread): Likewise.
42232
42233 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42234
42235 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42236
42237 2014-12-17 Joseph Myers <joseph@codesourcery.com>
42238
42239 [BZ #17725]
42240 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42241 __profil_counter.
42242 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42243 Likewise.
42244 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42245 Likewise.
42246 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42247 Likewise.
42248 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42249 (profil_counter): Likewise.
42250 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42251 (profil_counter): Likewise.
42252 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42253 Likewise.
42254 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42255 Likewise.
42256 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42257 (profil_counter): Likewise.
42258 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42259 Likewise.
42260 [!__profil_counter] (profil_counter): Define as weak alias of
42261 __profil_counter.
42262 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42263 (profil_counter): Rename to __profil_counter.
42264 [!__profil_counter] (profil_counter): Define as weak alias of
42265 __profil_counter.
42266 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42267 (profil_counter): Rename to __profil_counter.
42268 [!__profil_counter] (profil_counter): Define as weak alias of
42269 __profil_counter.
42270 * sysdeps/posix/profil.c: Update comment referring to
42271 profil_counter.
42272 (__profil): Use __profil_counter instead of profil_counter.
42273 * sysdeps/posix/sprofil.c (profil_counter): Rename to
42274 __profil_counter. Use __profil_counter_ushort and
42275 __profil_counter_uint in definitions.
42276 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42277 instead of profil_counter_uint and profil_counter_ushort.
42278
42279 [BZ #17722]
42280 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42281 define as weak alias of __inet_makeaddr.
42282 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42283 as weak alias of __inet_addr.
42284 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42285 as weak alias of __inet_pton. Use libc_hidden_weak.
42286 * include/arpa/inet.h (__inet_pton): Declare. Use
42287 libc_hidden_proto.
42288 (inet_makeaddr): Don't use libc_hidden_proto.
42289 (__inet_makeaddr): Declare. Use libc_hidden_proto.
42290 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42291 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
42292 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42293 Remove variable.
42294 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42295 (test-xfail-POSIX/time.h/linknamespace): Likewise.
42296
42297 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
42298
42299 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42300
42301 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42302
42303 * stdio-common/bug-vfprintf-nargs.c (do_test):
42304 Cast value to intptr_t to avoid format warning
42305 for usage with PRIdPTR printing macro.
42306
42307 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
42308
42309 * libio/tst-widetext.c (do_test):
42310 Use format type %td instead of %Zd for ptrdiff_t
42311 in order to avoid format warning.
42312
42313 2014-12-17 Andreas Schwab <schwab@suse.de>
42314
42315 * nscd/mem.c (gc): Add size_t cast to match printf format.
42316
42317 2014-12-16 Roland McGrath <roland@hack.frob.com>
42318
42319 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42320 (init): Apply PTR_MANGLE to pointers before storing them.
42321 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42322 before using them.
42323
42324 2014-12-16 Joseph Myers <joseph@codesourcery.com>
42325
42326 [BZ #17719]
42327 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42328 define as weak alias of __memrchr.
42329 (__memrchr): Do not define as strong alias of memrchr.
42330 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42331 Remove variable.
42332 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42333 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42334 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42335
42336 [BZ #17717]
42337 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42338 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
42339 (if_indextoname): Rename to __if_indextoname and define as weak
42340 alias of __if_indextoname. Use libc_hidden_weak.
42341 (if_freenameindex): Rename to __if_freenameindex and define as
42342 weak alias of __if_freenameindex.
42343 (if_nameindex): Rename to __if_nameindex and define as weak alias
42344 of __if_nameindex.
42345 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42346 __if_nametoindex and define as weak alias of __if_nametoindex.
42347 Use libc_hidden_weak.
42348 (if_freenameindex): Rename to __if_freenameindex and define as
42349 weak alias of __if_freenameindex.
42350 (if_nameindex): Rename to __if_nameindex and define as weak alias
42351 of __if_nameindex.
42352 (if_indextoname): Rename to __if_indextoname and define as weak
42353 alias of __if_indextoname. Use libc_hidden_weak.
42354 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42355 __if_nametoindex and define as weak alias of __if_nametoindex.
42356 Use libc_hidden_weak.
42357 (if_freenameindex): Rename to __if_freenameindex and define as
42358 weak alias of __if_freenameindex. Use libc_hidden_weak.
42359 (if_nameindex_netlink): Use __if_freenameindex instead of
42360 if_freenameindex.
42361 (if_nameindex): Rename to __if_nameindex and define as weak alias
42362 of __if_nameindex. Use libc_hidden_weak.
42363 (if_indextoname): Rename to __if_indextoname and define as weak
42364 alias of __if_indextoname. Use libc_hidden_weak.
42365 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42366 libc_hidden_proto.
42367 [!_ISOMAC] (__if_freenameindex): Likewise.
42368 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42369 if_nametoindex.
42370 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42371 variable.
42372 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42373 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42374 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42375 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42376 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42377 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42378 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42379
42380 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42381 Remove variable.
42382 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42383 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42384
42385 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42386
42387 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42388 subscript above bounds'
42389
42390 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42391 bounds.
42392
42393 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
42394
42395 * libio/tst-fopenloc.c: Use test-skeleton.c.
42396
42397 * stdlib/tst-bsearch.c: Use test-skeleton.c.
42398 (entry): Rename to ITEM.
42399 (do_test, comp): Adjust.
42400
42401 * stdio-common/tst-fseek.c: Use test-skeleton.c.
42402
42403 2014-12-16 Torvald Riegel <triegel@redhat.com>
42404
42405 * string/tester.c: Include <libc-internal.h>.
42406 (test_memset): Ignore -Wmemset-transposed-args.
42407
42408 2014-12-16 Torvald Riegel <triegel@redhat.com>
42409
42410 * misc/tst-mntent2.c (do_test): Fix warning.
42411
42412 2014-12-16 Torvald Riegel <triegel@redhat.com>
42413
42414 * elf/tst-unique4lib.cc(a): Mark as used.
42415
42416 2014-12-16 Florian Weimer <fweimer@redhat.com>
42417
42418 [BZ #17630]
42419 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42420 names.
42421
42422 2014-12-16 Allan McRae <allan@archlinux.org>
42423
42424 * stdio-common/Makefile (tests): Re-add bug26.
42425
42426 2014-12-15 Ondƙej Bílka <neleai@seznam.cz>
42427
42428 [BZ #17657]
42429 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42430 static array.
42431
42432 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
42433
42434 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42435 (__lll_lock_wait): Likewise.
42436 (__lll_timedlock_wait): Likewise.
42437 (__lll_timedwait_tid): Likewise.
42438 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42439 (__lll_robust_timedlock_wait): Likewise.
42440 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42441 (lll_cond_trylock): Likewise.
42442 (__lll_lock): Likewise.
42443 (__lll_robust_lock): Likewise.
42444 (__lll_cond_lock): Likewise.
42445 (lll_robust_cond_lock): Likewise.
42446 (__lll_timedlock): Likewise.
42447 (__lll_robust_timedlock): Likewise.
42448 (__lll_unlock): Likewise.
42449 (__lll_robust_unlock): Likewise.
42450 (lll_wait_tid): Likewise.
42451 (lll_timedwait_tid): Likewise.
42452
42453 2014-12-15 Torvald Riegel <triegel@redhat.com>
42454
42455 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42456
42457 2014-12-15 Torvald Riegel <triegel@redhat.com>
42458
42459 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42460
42461 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42462
42463 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42464 * stdio-common/tst-sprintf.c: Likewise.
42465
42466 2014-12-15 Torvald Riegel <triegel@redhat.com>
42467
42468 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42469
42470 2014-12-15 Jeff Law <law@redhat.com>
42471
42472 [BZ #16617]
42473 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42474 on the heap. (CVE-2012-3406)
42475 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42476 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
42477 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42478
42479 2014-12-15 Will Newton <will.newton@linaro.org>
42480
42481 * manual/install.texi: Bump required version of texinfo
42482 to 4.7 from 4.5.
42483 * INSTALL: Regenerated.
42484 * configure.ac: Check for makeinfo version 4.7 and above.
42485 * configure: Regenerated.
42486
42487 2014-12-12 Roland McGrath <roland@hack.frob.com>
42488
42489 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42490 PREFIX, string constant to insert between directory and name.
42491 * sysdeps/posix/shm_open.c: Update caller.
42492 * sysdeps/posix/shm_unlink.c: Likewise.
42493 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42494 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42495 (SEM_SHM_PREFIX): New macro.
42496 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42497 [$(have-thread-library) = no].
42498 * nptl/Makefile (libpthread-routines): Add shm-directory.
42499 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42500 * sysdeps/nptl/shm-directory.h: New file.
42501 * sysdeps/posix/shm-directory.c
42502 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42503 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42504 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42505 INTERNAL_SYSCALL.
42506 (__where_is_shmfs): Function removed.
42507 (mountpoint, defaultmount, defaultdir, __namedsem_once):
42508 Variables removed.
42509 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42510 Use SHM_GET_NAME.
42511 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
42512
42513 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42514 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42515 unconditional for use inside libpthread.
42516 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42517
42518 2014-12-12 Roland McGrath <roland@hack.frob.com>
42519
42520 * nptl/pthread_getaffinity.c: New file.
42521 * nptl/pthread_setaffinity.c: New file.
42522 * nptl/pthread_getname.c: New file.
42523 * nptl/pthread_setname.c: New file.
42524
42525 * nptl/pthread_create.c (START_THREAD_DEFN)
42526 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42527
42528 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42529 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42530
42531 * resolv/res_send.c (send_vc): Disable warning resplen may
42532 be used uninitialized.
42533
42534 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
42535
42536 * nptl/tst-mutex6.c
42537 (ATTR_NULL): New define checks ATTR against NULL.
42538 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42539 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42540
42541 2014-12-11 James Lemke <jwlemke@codesourcery.com>
42542
42543 [BZ #17581]
42544 * malloc/hooks.c
42545 (mem2mem_check): Revert my previous change.
42546 (malloc_check_get_size): Revert my previous change.
42547 (mem2chunk_check): Revert my previous change.
42548
42549 2014-12-11 Roland McGrath <roland@hack.frob.com>
42550
42551 * sysdeps/posix/shm-directory.c: New file.
42552 * sysdeps/posix/shm-directory.h: New file.
42553 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42554 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42555 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
42556 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42557 Transmute EPERM to EACCES.
42558 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42559 from ...
42560 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
42561 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42562
42563 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42564
42565 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42566 pointer and cast to uintptr_t.
42567 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42568 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42569 Add cast to avoid warning.
42570 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42571
42572 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42573
42574 * nptl/semaphore.h: Move to ...
42575 * sysdeps/pthread/semaphore.h: ... here.
42576 * Makefile (installed-headers): Change nptl/semaphore.h to
42577 sysdeps/pthread/semaphore.h.
42578
42579 2014-12-11 Roland McGrath <roland@hack.frob.com>
42580
42581 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42582 generated error format strings.
42583
42584 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42585 -Wformat-extra-args warnings for scanf formats.
42586 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42587 test of zero-length format (duh).
42588 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42589 corner-case scanf format test.
42590 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42591 generated fprintf format string.
42592 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42593 corner-case sprintf format tests.
42594 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42595 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42596 -Wformat-extra-args warnings throughout.
42597 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42598 (CFLAGS-scanf4.c): Likewise.
42599 (CFLAGS-scanf7.c): Likewise.
42600 (CFLAGS-tst-sprintf.c): Likewise.
42601 (CFLAGS-tst-printf.c): Likewise.
42602 (CFLAGS-tst-printfsz.c): Likewise.
42603
42604 2014-12-11 Joseph Myers <joseph@codesourcery.com>
42605
42606 * include/cpio.h: New file.
42607 * include/fmtmsg.h: Likewise.
42608
42609 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
42610 corresponding format argument to size_t.
42611 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
42612 arguments.
42613 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
42614 corresponding format argument to size_t.
42615 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
42616 arguments.
42617 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
42618 corresponding format argument to size_t.
42619 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42620 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42621 (CFLAGS-tst-mbswcs2.c): Likewise.
42622 (CFLAGS-tst-mbswcs3.c): Likewise.
42623 (CFLAGS-tst-mbswcs4.c): Likewise.
42624 (CFLAGS-tst-mbswcs5.c): Likewise.
42625 (CFLAGS-tst-trans.c): Likewise.
42626
42627 2014-12-11 Roland McGrath <roland@hack.frob.com>
42628
42629 * posix/regexbug1.c (main): Use "%s" format with regerror results,
42630 rather than assuming they won't contain any '%'s.
42631
42632 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
42633
42634 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42635 inhibit_loop_to_libcall to avoid recursive calls.
42636 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42637 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42638
42639 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
42640
42641 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42642 prototype.
42643
42644 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42645
42646 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42647 integer value instead of boolean.
42648
42649 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
42650
42651 * malloc/malloc.c: Fix powerof2 check.
42652
42653 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42654
42655 * locale/programs/locfile.h (maybe_swap_uint32):
42656 Remove inline and add unused attribute.
42657
42658 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42659
42660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42661 Truncating assembler expression to a .long expression.
42662
42663 2014-12-11 Andreas Schwab <schwab@suse.de>
42664
42665 * elf/rtld.c (struct map_args): Constify str member.
42666 (do_preload): Constify fname argument.
42667
42668 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42669
42670 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42671 constants definition.
42672
42673 2014-12-11 Andreas Schwab <schwab@suse.de>
42674
42675 [BZ #16657]
42676 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42677 FORCE_ELISION instead of DO_ELISION.
42678 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42679 Remove.
42680 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42681 Likewise.
42682
42683 * iconvdata/gconv-modules: Remove duplicate entry.
42684
42685 2014-12-11 Will Newton <will.newton@linaro.org>
42686
42687 Merge gettext 0.19.3 into intl/.
42688
42689 This involves a number of cosmetic changes to comments
42690 and ANSI function definitions and prototypes throughout
42691 all the files. The gettext copyright header is used but
42692 with the date ranges taken from the glibc copy.
42693
42694 * NEWS: Add gettext merge to 2.21.
42695 * intl/bindtextdom.c: Switch to gettext copyright.
42696 Use ANSI definitions and prototypes.
42697 Use gl_* locking primitives rather than __libc_* ones.
42698 Use __builtin_expect rather than __glibc_likely/unlikely.
42699 * intl/dcgettext.c: Switch to gettext copyright.
42700 Use ANSI definitions and prototypes.
42701 * intl/dcigettext.c: Switch to gettext copyright.
42702 Use ANSI definitions and prototypes.
42703 (INTDIV0_RAISES_SIGFPE): New define.
42704 Use gl_* locking primitives rather than __libc_* ones.
42705 Include eval-plural.h instead of plural-eval.c.
42706 Use __builtin_expect rather than __glibc_likely/unlikely.
42707 * intl/dcngettext.c: Switch to gettext copyright.
42708 Use ANSI definitions and prototypes.
42709 * intl/dgettext.c: Likewise.
42710 * intl/dngettext.c: Likewise.
42711 * intl/plural-eval.c: Renamed to...
42712 * intl/eval-plural.h: ...this.
42713 * intl/explodename.c: Switch to gettext copyright.
42714 Use ANSI definitions and prototypes.
42715 (_nl_explode_name): Use strchr instead of __rawmemchr.
42716 * intl/finddomain.c: Switch to gettext copyright.
42717 Use ANSI definitions and prototypes.
42718 Use gl_* locking primitives rather than __libc_* ones.
42719 (_nl_find_domain): Use malloc rather than alloca for
42720 allocation of temporary locale name.
42721 * intl/gettext.c: Switch to gettext copyright.
42722 Use ANSI definitions and prototypes.
42723 * intl/gettextP.h: Switch to gettext copyright.
42724 Use ANSI definitions and prototypes.
42725 Use gl_* locking primitives rather than __libc_* ones.
42726 * intl/gmo.h: Switch to gettext copyright.
42727 (struct sysdep_string): Move struct segment_pair outside of
42728 struct definition.
42729 * intl/hash-string.c: Use ANSI definitions and prototypes.
42730 * intl/hash-string.h: Switch to gettext copyright.
42731 Use ANSI definitions and prototypes.
42732 * intl/l10nflist.c: Switch to gettext copyright.
42733 Use ANSI definitions and prototypes.
42734 (_nl_normalize_codeset): Avoid integer overflow.
42735 * intl/loadinfo.h: Switch to gettext copyright.
42736 Use ANSI definitions and prototypes.
42737 (LIBINTL_DLL_EXPORTED): New define.
42738 (PATH_SEPARATOR): New define.
42739 * intl/loadmsgcat.c: Switch to gettext copyright.
42740 * intl/localealias.c: Switch to gettext copyright.
42741 Use ANSI definitions and prototypes.
42742 (_nl_expand_alias): Use PATH_SEPARATOR.
42743 * intl/ngettext.c: Switch to gettext copyright.
42744 Use ANSI definitions and prototypes.
42745 * intl/plural-exp.c: Likewise.
42746 * intl/plural-exp.h: Switch to gettext copyright.
42747 Use ANSI definitions and prototypes.
42748 (struct expression): Move definition of enum operator outside
42749 of struct definition.
42750 * intl/plural.c: Regenerate.
42751 * intl/plural.y: Switch to gettext copyright.
42752 Use ANSI definitions and prototypes.
42753 Port to bison 3.0.
42754 * intl/textdomain.c: Switch to gettext copyright.
42755 Use ANSI definitions and prototypes.
42756 Use gl_* locking primitives rather than __libc_* ones.
42757
42758 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42759
42760 * debug/warning-nop.c: Add used atrribute.
42761
42762 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42763
42764 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42765
42766 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42767 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42768 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42769
42770 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42771 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42772
42773 [BZ #17634]
42774 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42775 Undefine after defining function. Define as weak alias of
42776 __wcschr. Use libc_hidden_weak.
42777 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42778 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42779 (libc_hidden_def): Also define __GI___wcschr alias.
42780 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42781 __wcschr and define as weak alias of __wcschr.
42782 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42783 __wcschr.
42784 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42785 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42786 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42787 libc_hidden_weak. Do not use libc_hidden_def.
42788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42789 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42790 __GI___wcschr alias.
42791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42792 [IS_IN (libc)] (wcschr): Define as macro expanding to
42793 __redirect_wcschr.
42794 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42795 [IS_IN (libc)] (__wcschr_power6): Likewise.
42796 [IS_IN (libc)] (__wcschr_power7): Likewise.
42797 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42798 instead of wcschr.
42799 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42800 __libc_wcschr.
42801 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42802 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42803 __wcschr and define as weak alias of __wcschr. Use
42804 libc_hidden_builtin_def.
42805 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42806 as weak alias of __wcschr. Use libc_hidden_weak.
42807 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42808 wcschr.
42809 * time/era.c (_nl_init_era_entries): Likewise.
42810 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42811 variable.
42812 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42813 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42814
42815 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42816
42817 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42818 format for long int variable.
42819
42820 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42821
42822 [BZ #10672]
42823 * manual/search.texi: (Array Sort Function): Remove claim how to make
42824 qsort stable.
42825
42826 2014-12-10 Andreas Schwab <schwab@suse.de>
42827
42828 [BZ #12847]
42829 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42830 user-controlled locks.
42831
42832 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42833
42834 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42835 register.
42836
42837 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42838
42839 * configure.ac (--disable-werror): New configure option.
42840 (enable_werror): New AC_SUBST.
42841 * configure: Regenerated.
42842 * config.make.in (enable-werror): New variable.
42843 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42844 -Wno-error=undef.
42845 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42846 * manual/install.texi (Configuring and compiling): Document
42847 --disable-werror.
42848 * INSTALL: Regenerated.
42849 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42850 (CFLAGS-tst-chk2.c): Likewise.
42851 (CFLAGS-tst-chk3.c): Likewise.
42852 (CFLAGS-tst-chk4.cc): Likewise.
42853 (CFLAGS-tst-chk5.cc): Likewise.
42854 (CFLAGS-tst-chk6.cc): Likewise.
42855 (CFLAGS-tst-lfschk1.c): Likewise.
42856 (CFLAGS-tst-lfschk2.c): Likewise.
42857 (CFLAGS-tst-lfschk3.c): Likewise.
42858 (CFLAGS-tst-lfschk4.cc): Likewise.
42859 (CFLAGS-tst-lfschk5.cc): Likewise.
42860 (CFLAGS-tst-lfschk6.cc): Likewise.
42861
42862 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42863 (main): Disable -Wdeprecated-declarations around calls to
42864 register_printf_function.
42865
42866 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42867 (do_test): Disable -Wdiv-by-zero around some calls to
42868 fwrite_unlocked and fread_unlocked.
42869
42870 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42871 (DIAG_POP_NEEDS_COMMENT): Likewise.
42872 (_DIAG_STR1): Likewise.
42873 (_DIAG_STR): Likewise.
42874 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42875 * stdio-common/bug21.c: Include <libc-internal.h>.
42876 (do_test): Disable -Wformat around call to sscanf.
42877 * stdio-common/scanf14.c: Include <libc-internal.h>.
42878 (main): Disable -Wformat around some calls to scanf functions.
42879
42880 2014-12-09 Torvald Riegel <triegel@redhat.com>
42881
42882 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42883
42884 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42885
42886 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42887 stack variable alignment.
42888
42889 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42890
42891 [BZ #17682]
42892 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42893 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42894 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42895 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42896 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42897 __getrlimit instead of getrlimit.
42898 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42899 __gettimeofday instead of gettimeofday.
42900 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42901 Likewise.
42902 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42903 Likewise.
42904 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42905 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42906 Remove variable.
42907 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42908 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42909
42910 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42911
42912 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42913 for wide-character tests.
42914
42915 2014-12-04 Roland McGrath <roland@hack.frob.com>
42916
42917 * io/openat64.c: #include <libc-internal.h>
42918 (__openat64): Prototypify. Use ignore_value on MODE.
42919 * io/openat.c: Likewise.
42920 * misc/reboot.c: #include <libc-internal.h>
42921 (reboot): Prototypify. Use ignore_value on HOWTO.
42922 * misc/ptrace.c: #include <libc-internal.h>
42923 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42924
42925 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42926
42927 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42928 XPG4, UNIX98 and XOPEN2K.
42929 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42930 Remove variable.
42931 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42932
42933 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42934
42935 * libio/fileops.c: Use ISO C style for function definitions.
42936 * libio/iofopen.c: Likewise.
42937 * libio/wfileops.c: Likewise.
42938
42939 [BZ #17653]
42940 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42941 offset on EOF.
42942 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42943 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42944 (fgets_func): Function pointer to fgets and fgetws.
42945 (do_ftell_test): Add test to verify ftell value after read
42946 EOF.
42947 (do_test): Set fgets_func.
42948
42949 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42950 O_TRUNC flag for w and w+ modes.
42951 (do_rewind_test): Likewise.
42952 (do_ftell_test): Likewise.
42953 (do_write_test): Likewise.
42954
42955 [BZ #17647]
42956 * libio/fileops.c (do_ftell): Seek only when there are
42957 unflushed writes.
42958 * libio/wfileops.c (do_ftell_wide): Likewise.
42959 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42960 test case.
42961 (do_one_test): Call it.
42962
42963 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42964
42965 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42966 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42967 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42968 Remove variable.
42969 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42970 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42971 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42972
42973 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42974
42975 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42976 Remove variable.
42977 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42978
42979 [BZ #17668]
42980 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42981 as weak alias of __getifaddrs. Use libc_hidden_weak.
42982 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42983 __freeifaddrs. Use libc_hidden_weak.
42984 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42985 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42986 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42987 __freeifaddrs. Use libc_hidden_weak.
42988 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42989 __getifaddrs and define as weak alias of __getifaddrs. Use
42990 libc_hidden_weak.
42991 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42992 __freeifaddrs. Use libc_hidden_weak.
42993 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42994 Remove variable.
42995 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42996 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42997
42998 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42999
43000 [BZ #17601]
43001 * sysdeps/mips/start.S (__start): Use indirect jump to call
43002 __libc_start_main.
43003
43004 2014-12-02 Joseph Myers <joseph@codesourcery.com>
43005
43006 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43007
43008 * nptl/tst-mutex1.c: Include <stdbool.h>.
43009 [!ATTR] (ATTR_NULL): New macro.
43010 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43011 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43012 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43013
43014 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43015 to char *.
43016
43017 [BZ #17665]
43018 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43019 Change conditional to [__USE_MISC].
43020
43021 [BZ #17664]
43022 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43023 fgets_unlocked.
43024 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43025 __fgets_unlocked.
43026 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43027 fgets_unlocked.
43028 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43029 Remove variable.
43030 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43031 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43032 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43033 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43034 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43035 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43036 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43037 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43038 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43039
43040 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43041
43042 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43043
43044 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43045 Remove strpbrk objects.
43046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43047 (__libc_ifunc_impl_list): Remove strpbrk implementation.
43048 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43049 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43050 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43051 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43052
43053 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43054 Remove strcspn objects.
43055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43056 (__libc_ifunc_impl_list): Remove strcspn implementation.
43057 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43058 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43059 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43060 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43061
43062 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43063 Remove strspn objetcs.
43064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43065 (__libc_ifunc_impl_list): Remove strspn implementation.
43066 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43067 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43068 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43069 * sysdeps/powerpc/powerpc64/strspn.S: New file.
43070
43071 2014-12-01 James Lemke <jwlemke@codesourcery.com>
43072
43073 [BZ #17581]
43074 * malloc/hooks.c
43075 (mem2mem_check): Add a terminator to the chain of checking blocks.
43076 (malloc_check_get_size): Use it here.
43077 (mem2chunk_check): Ditto.
43078
43079 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43080
43081 * sysdeps/powerpc/powerpc64/strtok.S: New file.
43082 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43083
43084 2014-11-29 Carlos O'Donell <carlos@redhat.com>
43085
43086 * bits/ioctl-types.h: Indent preprocessor directives correctly.
43087
43088 * nptl/nptl-init.c: Include libc-internal.h.
43089 (__pthread_initialize_minimal_internal): Use ROUND_UP.
43090
43091 * elf/ldconfig.c (search_dir): Expand comment.
43092
43093 2014-11-29 Joseph Myers <joseph@codesourcery.com>
43094
43095 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43096 variable.
43097 (linknamespace-symlist-stdlibs-tests): Likewise.
43098 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43099 instead of $(objpfx)symlist-stdlibs.
43100 (linknamespace-libs-isoc): New variable.
43101 (linknamespace-libs): Use $(linknamespace-libs-isoc).
43102 (linknamespace-libs-ISO): New variable.
43103 (linknamespace-libs-ISO99): Likewise.
43104 (linknamespace-libs-ISO11): Likewise.
43105 (linknamespace-libs-XPG3): Likewise.
43106 (linknamespace-libs-XPG4): Likewise.
43107 (linknamespace-libs-POSIX): Likewise.
43108 (linknamespace-libs-UNIX98): Likewise.
43109 (linknamespace-libs-XOPEN2K): Likewise.
43110 (linknamespace-libs-POSIX2008): Likewise.
43111 (linknamespace-libs-XOPEN2K8): Likewise.
43112 ($(objpfx)symlist-stdlibs): Replace by
43113 $(linknamespace-symlist-stdlibs-tests). Use
43114 $(linknamespace-libs-$*) as set of libraries.
43115 ($(linknamespace-header-tests)): Update dependencies. Use
43116 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43117 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43118 * conform/linknamespace.pl: Remove comment about considering
43119 definitions of symbols from irrelevant libraries.
43120
43121 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
43122
43123 [BZ #13862]
43124 * elf/dl-tls.c: Include <atomic.h>.
43125 (oom): Remove #ifdef SHARED/#endif.
43126 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43127 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
43128 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43129 big enough.
43130 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43131 * nptl/Makefile (tests): Add tst-stack4.
43132 (modules-names): Add tst-stack4mod.
43133 ($(objpfx)tst-stack4): New.
43134 (tst-stack4mod.sos): Likewise.
43135 ($(objpfx)tst-stack4.out): Likewise.
43136 ($(tst-stack4mod.sos)): Likewise.
43137 (clean): Likewise.
43138 * nptl/tst-stack4.c: New file.
43139 * nptl/tst-stack4mod.c: Likewise.
43140
43141 2014-11-27 J. Brown <jb999@gmx.de>
43142
43143 * sysdeps/x86/bits/string.h: Add recent CPUs.
43144
43145 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43146
43147 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43148 sigblock.
43149
43150 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43151 feof.
43152
43153 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43154 variable.
43155
43156 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
43157
43158 * nscd/connections.c: Include libc-internal.h because of macro
43159 usage ignore_value.
43160
43161 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43162
43163 * string/bits/string3.h (__warn_memset_zero_len): Don't
43164 declare for gcc newer than 5.0.
43165 (memset): Don't test for zero-length __LEN for gcc newer than
43166 5.0.
43167
43168 2014-11-27 Joseph Myers <joseph@codesourcery.com>
43169
43170 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43171 size_t for %zu format.
43172
43173 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43174 difference, not %ju.
43175
43176 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43177
43178 * include/libc-internal.h (ignore_value): New macro.
43179 * nscd/connections.c (restart): Wrap calls to setuid and setgid
43180 with ignore_value.
43181
43182 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43183 definition.
43184
43185 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43186 pthread_cleanup_push to void *.
43187
43188 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43189 Undefine.
43190
43191 [BZ #16619]
43192 [BZ #16740]
43193 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43194 instead of 1L << 52.
43195
43196 * libio/bug-rewind.c (do_test): Check fwscanf return values.
43197 * libio/bug-rewind2.c (do_test): Likewise.
43198
43199 * debug/test-stpcpy_chk-ifunc.c: Remove file.
43200 * debug/test-strcpy_chk-ifunc.c: Likewise.
43201 * wcsmbs/test-wcschr-ifunc.c: Likewise.
43202 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43203 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43204 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43205 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43206 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43207 * Rules [$(multi-arch) = no] (tests): Do not filter out
43208 $(tests-ifunc).
43209 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43210 * debug/Makefile (tests-ifunc): Remove variable.
43211 (tests): Do not add $(tests-ifunc).
43212 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43213 (tests): Do not add $(tests-ifunc).
43214 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43215 [TEST_IFUNC]: Remove conditionals.
43216 * string/test-string.h (TEST_IFUNC): Remove macro.
43217 [TEST_IFUNC]: Remove conditionals.
43218
43219 * string/test-strchr.c [!WIDE] (L): New macro.
43220 [WIDE] (L): Likewise.
43221 (check1): Use CHAR instead of char. Use L on string and character
43222 constants.
43223
43224 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
43225
43226 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43227 tests.
43228 * sysdeps/powerpc/bits/atomic.h
43229 (__arch_atomic_exchange_and_add_32_acq): Add definition.
43230 (__arch_atomic_exchange_and_add_32_rel): Likewise.
43231 (atomic_exchange_and_add_acq): Likewise.
43232 (atomic_exchange_and_add_rel): Likewise.
43233 * sysdeps/powerpc/powerpc32/bits/atomic.h
43234 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43235 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43236 * sysdeps/powerpc/powerpc64/bits/atomic.h
43237 (__arch_atomic_exchange_and_add_64_acq): Add definition.
43238 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43239
43240 2014-11-26 Torvald Riegel <triegel@redhat.com>
43241
43242 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43243 Change synchronization of __sched_fifo_min_prio and
43244 __sched_fifo_max_prio.
43245 * nptl/pthread_mutexattr_getprioceiling.c
43246 (pthread_mutexattr_getprioceiling): Likewise.
43247 * nptl/pthread_mutexattr_setprioceiling.c
43248 (pthread_mutexattr_setprioceiling): Likewise.
43249 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43250 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43251 Likewise.
43252
43253 2014-11-26 Joseph Myers <joseph@codesourcery.com>
43254
43255 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43256 void.
43257
43258 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43259
43260 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43261 third argument const.
43262
43263 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
43264
43265 fnmatch: work around GCC compiler warning bug with uninit var
43266 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43267 This works around a bug with x86-64 GCC 4.9.2 and earlier
43268 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43269 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43270 used uninitialized in this function [-Wmaybe-uninitialized]".
43271
43272 2014-11-25 Joseph Myers <joseph@codesourcery.com>
43273
43274 * posix/bug-regex31.c (main): Return RES not 0.
43275
43276 2014-11-25 Anton Blanchard <anton@samba.org>
43277
43278 * sysdeps/powerpc/bits/atomic.h
43279 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43280
43281 2014-11-24 Sterling Augustine <saugustine@google.com>
43282
43283 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43284
43285 2014-11-24 Ryan Cumming <etaoins@gmail.com>
43286
43287 [BZ #17608]
43288 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43289
43290 2014-11-24 Joseph Myers <joseph@codesourcery.com>
43291
43292 [BZ #17633]
43293 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43294 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43295 variable.
43296 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43297 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43298
43299 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43300
43301 * string/strncpy.c (strncpy): Improve performance by using memset.
43302
43303 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
43304
43305 * string/strcpy.c (strcpy):
43306 Improve performance by using strlen and memcpy.
43307
43308 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
43309
43310 * string/strcoll_l.c (get_next_seq): __always_inline.
43311 * string/strcoll_l.c (do_compare): __always_inline.
43312
43313 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43314
43315 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43316 defined.
43317 * include/mqueue.h: Likewise.
43318 * include/stdlib.h: Likewise.
43319
43320 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43321 (get_null_defines): Adjust.
43322 * sunrpc/Makefile: Adjust comment.
43323 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43324 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43325 (CFLAGS-interp.c): Likewise.
43326 (CFLAGS-ldconfig.c): Likewise.
43327 (CPPFLAGS-.os): Likewise.
43328 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43329 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43330 * extra-modules.mk (extra-modules.mk): Likewise.
43331 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43332 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43333 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43334 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43335 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43336 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43337 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43338 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43339 * iconvdata/Makefile (CPPFLAGS): Likewise.
43340 (cpp-srcs-left): Add libof for all iconvdata routines.
43341 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43342 * include/assert.h: Likewise.
43343 * include/ctype.h: Likewise.
43344 * include/errno.h: Likewise.
43345 * include/libc-symbols.h: Likewise.
43346 * include/math.h: Likewise.
43347 * include/netdb.h: Likewise.
43348 * include/resolv.h: Likewise.
43349 * include/stdio.h: Likewise.
43350 * include/stdlib.h: Likewise.
43351 * include/string.h: Likewise.
43352 * include/sys/stat.h: Likewise.
43353 * include/wctype.h: Likewise.
43354 * intl/l10nflist.c: Likewise.
43355 * libidn/idn-stub.c: Likewise.
43356 * libio/libioP.h: Likewise.
43357 * nptl/libc_multiple_threads.c: Likewise.
43358 * nptl/pthreadP.h: Likewise.
43359 * posix/regex_internal.h: Likewise.
43360 * resolv/res_hconf.c: Likewise.
43361 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43362 * sysdeps/arm/memmove.S: Likewise.
43363 * sysdeps/arm/sysdep.h: Likewise.
43364 * sysdeps/generic/_itoa.h: Likewise.
43365 * sysdeps/generic/symbol-hacks.h: Likewise.
43366 * sysdeps/gnu/errlist.awk: Likewise.
43367 * sysdeps/gnu/errlist.c: Likewise.
43368 * sysdeps/i386/i586/memcpy.S: Likewise.
43369 * sysdeps/i386/i586/memset.S: Likewise.
43370 * sysdeps/i386/i686/memcpy.S: Likewise.
43371 * sysdeps/i386/i686/memmove.S: Likewise.
43372 * sysdeps/i386/i686/mempcpy.S: Likewise.
43373 * sysdeps/i386/i686/memset.S: Likewise.
43374 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43375 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43376 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43377 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43378 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43379 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43380 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43381 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43382 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43383 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43384 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43385 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43386 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43387 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43388 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43389 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43390 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43391 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43392 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43393 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43394 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43395 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43396 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43397 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43398 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43399 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43400 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43401 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43402 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43403 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43404 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43407 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43408 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43410 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43411 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43412 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43414 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43415 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43416 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43417 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43418 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43419 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43420 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43421 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43422 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43423 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43424 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43425 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43426 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43427 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43428 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43429 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43430 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43431 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43432 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43433 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43434 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43435 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43436 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43437 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43438 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43439 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43440 * sysdeps/posix/closedir.c: Likewise.
43441 * sysdeps/posix/opendir.c: Likewise.
43442 * sysdeps/posix/readdir.c: Likewise.
43443 * sysdeps/posix/rewinddir.c: Likewise.
43444 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43445 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43446 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43447 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43449 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43450 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43453 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43455 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43456 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43457 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43458 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43460 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43461 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43462 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43463 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43464 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43465 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43466 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43467 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43469 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43470 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43471 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43472 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43474 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43477 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43479 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43480 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43481 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43482 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43483 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43484 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43485 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43486 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43488 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43489 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43490 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43491 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43492 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43493 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43494 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43495 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43496 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43497 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43498 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43501 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43502 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43503 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43504 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43505 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43506 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43507 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43508 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43509 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43510 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43511 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43512 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43513 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43514 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43515 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43516 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43517 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43518 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43519 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43520 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43521 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43522 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43523 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43524 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43525 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43526 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43528 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43529 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43530 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43531 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43532 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43533 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43534 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43535 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43536 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43539 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43540 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43542 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43543 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43544 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43545 * sysdeps/unix/alpha/sysdep.S: Likewise.
43546 * sysdeps/unix/alpha/sysdep.h: Likewise.
43547 * sysdeps/unix/make-syscalls.sh: Likewise.
43548 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43549 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43550 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43551 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43552 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43553 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43554 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43555 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43556 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43557 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43558 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43559 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43560 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43561 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43562 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43563 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43564 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43565 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43566 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43567 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43568 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43569 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43570 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43571 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43572 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43573 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43574 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43577 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43578 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43582 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43585 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43586 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43587 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43588 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43589 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43590 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43591 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43592 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43595 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43598 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43599 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43600 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43601 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43602 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43603 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43604 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43606 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43607 * sysdeps/x86_64/memcpy.S: Likewise.
43608 * sysdeps/x86_64/memmove.c: Likewise.
43609 * sysdeps/x86_64/memset.S: Likewise.
43610 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43611 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43612 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43613 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43614 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43615 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43617 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43618 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43619 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43620 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43621 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43622 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43623 * sysdeps/x86_64/multiarch/memset.S: Likewise.
43624 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43625 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43626 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43627 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43628 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43629 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43630 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43631 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43634 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43635 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43636 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43637 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43638 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43639 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43640 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43641 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43642 * sysdeps/x86_64/strcmp.S: Likewise.
43643
43644 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43645
43646 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43647 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43648 * elf/rtld-Rules: Likewise.
43649 * elf/setup-vdso.h: Likewise.
43650 * include/assert.h: Likewise.
43651 * include/bits/stdlib-float.h: Likewise.
43652 * include/errno.h: Likewise.
43653 * include/sys/stat.h: Likewise.
43654 * include/unistd.h: Likewise.
43655 * sysdeps/aarch64/setjmp.S: Likewise.
43656 * sysdeps/alpha/setjmp.S: Likewise.
43657 * sysdeps/arm/__longjmp.S: Likewise.
43658 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43659 * sysdeps/arm/setjmp.S: Likewise.
43660 * sysdeps/arm/sysdep.h: Likewise.
43661 * sysdeps/generic/_itoa.h: Likewise.
43662 * sysdeps/generic/dl-sysdep.h: Likewise.
43663 * sysdeps/generic/ldsodefs.h: Likewise.
43664 * sysdeps/i386/dl-tls.h: Likewise.
43665 * sysdeps/i386/setjmp.S: Likewise.
43666 * sysdeps/m68k/setjmp.c: Likewise.
43667 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43668 * sysdeps/mach/hurd/opendir.c: Likewise.
43669 * sysdeps/posix/getcwd.c: Likewise.
43670 * sysdeps/posix/opendir.c: Likewise.
43671 * sysdeps/posix/profil.c: Likewise.
43672 * sysdeps/powerpc/dl-procinfo.h: Likewise.
43673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43674 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43675 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43676 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43677 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43678 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43679 * sysdeps/s390/dl-tls.h: Likewise.
43680 * sysdeps/s390/s390-32/setjmp.S: Likewise.
43681 * sysdeps/s390/s390-64/setjmp.S: Likewise.
43682 * sysdeps/sh/sh3/setjmp.S: Likewise.
43683 * sysdeps/sh/sh4/setjmp.S: Likewise.
43684 * sysdeps/unix/alpha/sysdep.h: Likewise.
43685 * sysdeps/unix/arm/sysdep.S: Likewise.
43686 * sysdeps/unix/i386/sysdep.S: Likewise.
43687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43688 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43689 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43690 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43691 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43692 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43693 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43694 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43695 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43696 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43697 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43698 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43699 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43702 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43705 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43706 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43707 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43710 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43711 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43712 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43714 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43715 * sysdeps/x86_64/setjmp.S: Likewise.
43716
43717 * include/math.h: Use IS_IN instead of IS_IN_libm.
43718 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43719 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43720 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43721 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43722 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43723 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43724 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43725 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43726 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43727 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43728 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43729 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43730 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43731 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43732 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43733 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43734 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43735 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43736 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43737 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43738 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43739 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43740 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43741 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43742 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43743 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43744 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43745 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43746 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43747 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43748 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43749 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43750 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43752 Likewise.
43753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43754 Likewise.
43755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43756 Likewise.
43757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43758 Likewise.
43759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43760 Likewise.
43761 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43763 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43764 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43765 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43766 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43772 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43773 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43774 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43775 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43776 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43777 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43778 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43779 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43780 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43781 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43782 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43783 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43785 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43787 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43788
43789 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43790 * nptl/pthreadP.h: Likewise.
43791 * nptl_db/structs.def: Likewise.
43792 * sysdeps/arm/sysdep.h: Likewise.
43793 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43794 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43795 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43796 * sysdeps/unix/alpha/sysdep.h: Likewise.
43797 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43799 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43800 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43801 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43802 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43803 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43804 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43805 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43806 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43807 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43808 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43809 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43810 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43815 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43818 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43819 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43820 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43821 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43822 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43823
43824 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43825 * nptl/pthreadP.h: Likewise.
43826 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43827 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43828 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43829 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43830 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43831 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43832 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43833 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43834 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43835 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43836 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43837 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43839 Likewise.
43840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43841 Likewise.
43842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43844 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43847 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43848 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43849 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43850
43851 * dlfcn/dladdr.c: Use IS_IN.
43852 * dlfcn/dladdr1.c: Likewise.
43853 * dlfcn/dlclose.c: Likewise.
43854 * dlfcn/dlerror.c: Likewise.
43855 * dlfcn/dlinfo.c: Likewise.
43856 * dlfcn/dlmopen.c: Likewise.
43857 * dlfcn/dlopen.c: Likewise.
43858 * dlfcn/dlsym.c: Likewise.
43859 * dlfcn/dlvsym.c: Likewise.
43860
43861 * include/ifaddrs.h: Use IS_IN.
43862 * inet/check_pf.c: Likewise.
43863 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43864 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43865
43866 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43867 IS_IN_ldconfig.
43868 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43869 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43870
43871 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43872 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43873 IS_IN (libc).
43874
43875 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43876
43877 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43878 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43879 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43880 * include/libc-symbols.h (IS_IN_LIB): New macro.
43881 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43882 * include/netdb.h: Likewise.
43883 * include/stap-probe.h: Remove all uses of IN_LIB.
43884
43885 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43886 instead of IN_MODULE.
43887 * include/libc-symbols.h (IN_MODULE): Define using
43888 MODULE_NAME.
43889 (PASTE_NAME, PASTE_NAME1): New macros.
43890 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43891 of IN_LIB.
43892 (STAP_PROBE_ASM): Likewise.
43893
43894 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43895
43896 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43897 __mach_init in dlopened libc.
43898
43899 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43900
43901 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43902 * sysdeps/arm/preconfigure: Regenerate.
43903
43904 2014-11-21 Roland McGrath <roland@hack.frob.com>
43905
43906 * nptl/pthread_create.c (__pthread_create_2_1): Set
43907 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43908 when copying values from IATTR into PD.
43909
43910 2014-11-21 Will Newton <will.newton@linaro.org>
43911 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43912
43913 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43914 Refactor inline-asm. Also add comment.
43915
43916 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43917 ElfW macro instead of hardcoded Elf64 types.
43918 (la_aarch64_gnu_pltenter): Likewise.
43919 * sysdeps/aarch64/dl-machine.h
43920 (elf_machine_runtime_setup): Use ElfW(Addr).
43921
43922 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43923 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43924 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43925 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43926 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43927 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43928 (R_AARCH64_TLS_DTPMOD): This.
43929 (R_AARCH64_TLS_DTPREL64): Rename to ...
43930 (R_AARCH64_TLS_DTPREL): This.
43931 (R_AARCH64_TLS_TPREL64): Rename to ...
43932 (R_AARCH64_TLS_TPREL): This.
43933 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43934 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43935 R_AARCH64_TLS_TPREL64.
43936 (elf_machine_rela): Likewise.
43937
43938 2014-11-21 Torvald Riegel <triegel@redhat.com>
43939
43940 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43941 by setting it to 0. 64b atomics are not supported currently.
43942
43943 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43944
43945 [BZ #16469]
43946 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43947 search domain names.
43948
43949 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43950
43951 [BZ #16469]
43952 * NEWS: Update.
43953 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43954 trailing dot.
43955 * posix/tst-getaddrinfo5.c: New.
43956 * posix/Makefile (tests): Add it.
43957
43958 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43959
43960 [BZ #14498]
43961 * NEWS: Fixed.
43962 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43963 after parsing line but before break_if_match.
43964 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43965 if there is a protocol mismatch.
43966
43967 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43968
43969 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43970 because the potential race is on the user-supplied stream.
43971
43972 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43973
43974 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43975 string literal if not passed a buffer.
43976 * manual/job.texi (ctermid): Update reasoning, note deviation
43977 from posix, suggest mtasurace when not passed a buffer, for
43978 future non-preliminary safety notes.
43979
43980 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43981
43982 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43983 of not passing it a buffer.
43984 Reported by Peng Haitao.
43985
43986 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43987
43988 * manual/Makefile ($(objpfx)stamp-summary): Require
43989 check-safety.sh to pass.
43990 * manual/check-safety.sh: Wish for verification that every
43991 @deftypefn and @deftypefun is followed by a @safety remark.
43992
43993 2014-11-20 Roland McGrath <roland@hack.frob.com>
43994
43995 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43996
43997 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43998 PTHREAD_CANCEL_ASYNCHRONOUS.
43999 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44000 send SIGCANCEL.
44001
44002 * nptl/default-sched.h: New file.
44003 * sysdeps/unix/sysv/linux/default-sched.h: New file.
44004 * nptl/pthread_create.c: Include it.
44005 (__pthread_create_2_1): Use collect_default_sched instead of making
44006 Linux syscalls here directly.
44007
44008 2014-11-20 Torvald Riegel <triegel@redhat.com>
44009
44010 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44011 __pthread_once): Use C11 atomics.
44012
44013 2014-11-20 Torvald Riegel <triegel@redhat.com>
44014
44015 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44016
44017 2014-11-20 Torvald Riegel <triegel@redhat.com>
44018
44019 * include/atomic.h (__atomic_link_error, __atomic_check_size,
44020 atomic_thread_fence_acquire, atomic_thread_fence_release,
44021 atomic_thread_fence_seq_cst, atomic_load_relaxed,
44022 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44023 atomic_compare_exchange_weak_relaxed,
44024 atomic_compare_exchange_weak_acquire,
44025 atomic_compare_exchange_weak_release,
44026 atomic_exchange_acquire, atomic_exchange_release,
44027 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44028 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44029 atomic_fetch_and_acquire,
44030 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44031
44032 2014-11-20 Torvald Riegel <triegel@redhat.com>
44033
44034 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44035 USE_ATOMIC_COMPILER_BUILTINS): Define.
44036 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44037 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44038 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44039 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44040 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44041 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44042 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44043 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44044 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44045 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44046 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44047 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44048 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44049 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44050 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44051 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44052 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44053 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44054 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44055 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44056 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44057 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44058 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44059 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44060 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44061 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44062 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44063 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44064 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44065 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44066 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44067 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44068 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44069 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44070 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44071 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44072 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44073 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44074 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44075 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44076
44077 2014-11-19 Roland McGrath <roland@hack.frob.com>
44078
44079 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44080 the sched_priority value here. It was already checked when the user
44081 called pthread_attr_setschedparam.
44082
44083 * nptl/tst-bad-schedattr.c: New file.
44084 * nptl/Makefile (tests): Add it.
44085
44086 2014-11-19 Carlos O'Donell <carlos@redhat.com>
44087 Florian Weimer <fweimer@redhat.com>
44088 Joseph Myers <joseph@codesourcery.com>
44089 Adam Conrad <adconrad@0c3.net>
44090 Andreas Schwab <schwab@suse.de>
44091 Brooks <bmoses@google.com>
44092
44093 [BZ #17625]
44094 * wordexp-test.c (__dso_handle): Add prototype.
44095 (__register_atfork): Likewise.
44096 (__app_register_atfork): New function.
44097 (registered_forks): New global.
44098 (register_fork): New function.
44099 (test_case): Add 3 new tests for WRDE_CMDSUB.
44100 (main): Call __app_register_atfork.
44101 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44102 fork count is non-zero fail the test.
44103 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44104 is set.
44105 (parse_dollars): Remove check for WRDE_NOCMD.
44106 (parse_dquote): Likewise.
44107
44108 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44109
44110 * Makeconfig (built-modules): List non-library modules to be
44111 built.
44112 (module-cppflags): Include libc-modules.h for
44113 everything except shlib-versions.v.i.
44114 (CPPFLAGS): Use it.
44115 (before-compile): Add libc-modules.h.
44116 ($(common-objpfx)libc-modules.h,
44117 $(common-objpfx)libc-modules.stmp): New targets.
44118 (common-generated): Add libc-modules.h and libc-modules.stmp.
44119 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44120 * include/libc-symbols.h: Don't include libc-modules.h.
44121 * include/libc-modules.h: Remove file.
44122 * scripts/gen-libc-modules.awk: New script to generate
44123 libc-modules.h.
44124 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44125 Depend on libc-modules.stmp.
44126
44127 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44128
44129 * Makeconfig (in-module): Get value of libof set for the
44130 translation unit.
44131 (CPPFLAGS): Use $(in-module).
44132 * Makerules: Don't suffix routine names for nonlib.
44133 * include/libc-modules.h: New file.
44134 * include/libc-symbols.h: Include libc-modules.h
44135 (IS_IN): New macro to replace IS_IN_* macros.
44136 * elf/Makefile: Set libof-* for each routine.
44137 * elf/rtld-Rules: Likewise.
44138 * extra-modules.mk: Likewise.
44139 * iconv/Makefile: Likewise.
44140 * iconvdata/Makefile: Likewise.
44141 * locale/Makefile: Likewise.
44142 * malloc/Makefile: Likewise.
44143 * nss/Makefile: Likewise.
44144 * sysdeps/gnu/Makefile: Likewise.
44145 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44146 * sysdeps/unix/sysv/linux/Makefile: Likewise.
44147 * sysdeps/s390/s390-64/Makefile: Likewise.
44148 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
44149 CPPFLAGS for nscd instead of nonlib.
44150
44151 2014-11-18 Roland McGrath <roland@hack.frob.com>
44152
44153 * nptl/createthread.c: New file.
44154
44155 * nptl/createthread.c: Moved ...
44156 * sysdeps/unix/sysv/linux/createthread.c: ... here.
44157
44158 * nptl/createthread.c: Add proper top-line comment.
44159 (do_clone): Folded into ...
44160 (create_thread): ... here. Take new arguments STOPPED_START and
44161 THREAD_RAN. Always set PD->stopped_start to something here. Don't
44162 increment __nptl_threads, do event-reporting logic, do
44163 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44164 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
44165 resource cleanup if sched_setaffinity or sched_setscheduler fails,
44166 just send SIGCANCEL.
44167 * nptl/pthread_create.c: Forward-declare create_thread before
44168 including createthread.c.
44169 (start_thread): Use new macro START_THREAD_DEFN to replace defining
44170 declaration, and new macro START_THREAD_SELF to replace argument.
44171 Remove return statement.
44172 (report_thread_creation): New function.
44173 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
44174 synchronization logic, and __nptl_nthreads increment here, around
44175 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
44176 PD->parent_cancelhandling here, before create_thread. When
44177 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44178 __deallocate_stack, and ENOMEM translation here.
44179
44180 2014-11-18 Joseph Myers <joseph@codesourcery.com>
44181
44182 [BZ #17616]
44183 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44184 (mptwo): Rename to __mptwo.
44185 (__inv): Use __mptwo instead of mptwo.
44186 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44187 (mptwo): Rename to __mptwo.
44188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44189 of mpone and __mptwo instead of mptwo.
44190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44191 instead of mpone.
44192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44193 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44194 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44195 of mpone and __mptwo instead of mptwo.
44196 (__mpranred): Use __mpone instead of mpone.
44197 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44198 variable.
44199 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44200 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44201 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44202 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44203 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44204 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44205 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44206 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44207 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44208 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44209 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44210 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44211 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44212 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44213 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44214 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44215 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44216 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44217 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44218
44219 2014-11-18 Tom de Vries <tom@codesoucery.com>
44220
44221 * manual/signal.texi (Primitives Interrupted by Signals): In section,
44222 replace BSD Handler xref with BSD Signal Handling.
44223
44224 2014-11-17 Richard Henderson <rth@redhat.com>
44225
44226 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44227 (_FP_PACK_RAW_2): Remove.
44228 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44229 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44230 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44231 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44232 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44233 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44234 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44235 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44236 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44237 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44238 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44239 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44240 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44241 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44242 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44243 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44244
44245 2014-11-14 Roland McGrath <roland@hack.frob.com>
44246
44247 * signal/signal.h [__USE_MISC]
44248 (struct sigvec): Remove type.
44249 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44250 (sigvec): Remove declaration.
44251 * sysdeps/posix/sigvec.c: Moved ...
44252 * signal/sigvec.c: ... here, replacing old file.
44253 (struct sigvec): New type, copied from old signal.h definition.
44254 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44255 (__sigvec): Convert definition to prototype.
44256 (sigvec): Replace weak_alias with compat_symbol.
44257 * signal/Versions (libc: GLIBC_2.21): New version set.
44258 * include/signal.h: Remove __sigvec declaration.
44259 * sysdeps/unix/bsd/sigvec.c: Remove file.
44260 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44261 * manual/signal.texi (BSD Handler): Remove subsection.
44262 Move siginterrupt up to ...
44263 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
44264 (Blocking in BSD): Fold subsection into its parent.
44265 * NEWS: Mention sigvec removal.
44266
44267 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44268
44269 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44270 (DLA_FMS): Make definition conditional only on [__FMA4__].
44271 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44272 definition.
44273
44274 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44275 Make definition conditional only on [PROF].
44276 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44277 definition.
44278 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44279 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44280
44281 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44282 !__GNUC__].
44283 * include/signal.h (__sigpause): Move declaration above call to
44284 libc_hidden_proto.
44285 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44286 variable.
44287 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44288 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44289
44290 2014-11-14 David S. Miller <davem@davemloft.net>
44291
44292 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44293 Define before including <string/memcpy.c> and <string/mempcpy.c>.
44294
44295 2014-11-14 Joseph Myers <joseph@codesourcery.com>
44296
44297 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44298 * configure: Regenerated.
44299 * manual/install.texi (Tools for Compilation): Document a
44300 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44301 compiler verified to work.
44302 * INSTALL: Regenerated.
44303
44304 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44305 redeclare with asm name.
44306 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44307 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44308 including <string.h>.
44309 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44310 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44311 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44312 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44313 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44314 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44315 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44316
44317 2014-11-13 Joseph Myers <joseph@codesourcery.com>
44318
44319 * stdlib/strtol.c (__strtol): Use prototype definition.
44320
44321 [BZ #17594]
44322 * stdlib/strtol.c (SYM__): New macro.
44323 (SYM__1): Likewise.
44324 (__strtol): Likewise.
44325 (strtol): Rename to __strtol and define as weak alias of
44326 __strtol. Use libc_hidden_weak.
44327
44328 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44329
44330 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44331 Use numbered labels in inline assembly.
44332
44333 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44334
44335 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44336 Add setjmp LIBC_PROBE.
44337 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44338 Likewise.
44339 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44340 Add longjmp, longjmp_target LIBC_PROBE.
44341 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44342 Likewise.
44343
44344 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44345
44346 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44347 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44348 to get rid of unused variable warning.
44349
44350 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
44351
44352 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44353 Check for unwind_backtrace == NULL only in SHARED case.
44354 (__backchain_backtrace): Compile only in SHARED case.
44355 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44356 Likewise.
44357 (__backchain_backtrace): Declare as static.
44358
44359 2014-11-12 Roland McGrath <roland@hack.frob.com>
44360
44361 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44362 (__libc_multiple_threads_ptr): Variable moved ...
44363 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44364
44365 2014-11-12 Joseph Myers <joseph@codesourcery.com>
44366
44367 * conform/GlibcConform.pm: New file.
44368 * conform/conformtest.pl: Use GlibcConform module.
44369 * conform/linknamespace.pl: New file.
44370 * conform/list-header-symbols.pl: Likewise.
44371 * conform/Makefile (linknamespace-symlists-base): New variable.
44372 (linknamespace-symlists-tests): Likewise.
44373 (linknamespace-header-base): Likewise.
44374 (linknamespace-header-tests): Likewise.
44375 (tests-special): Add new tests.
44376 ($(linknamespace-symlists-tests)): New rule.
44377 (linknamespace-libs): New variable.
44378 ($(objpfx)symlist-stdlibs): New rule.
44379 ($(linknamespace-header-tests)): Likewise.
44380 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44381 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44382 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44383 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44384 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44385 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44386 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44387 (test-xfail-ISO/math.h/linknamespace): Likewise.
44388 (test-xfail-ISO/signal.h/linknamespace): Likewise.
44389 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44390 (test-xfail-ISO/time.h/linknamespace): Likewise.
44391 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44392 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44393 (test-xfail-ISO99/math.h/linknamespace): Likewise.
44394 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44395 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44396 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44397 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44398 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44399 (test-xfail-ISO11/math.h/linknamespace): Likewise.
44400 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44401 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44402 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44403 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44404 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44405 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44406 (test-xfail-XPG3/math.h/linknamespace): Likewise.
44407 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44408 (test-xfail-XPG3/search.h/linknamespace): Likewise.
44409 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44410 (test-xfail-XPG3/time.h/linknamespace): Likewise.
44411 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44412 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44413 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44414 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44415 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44416 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44417 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44418 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44419 (test-xfail-XPG4/math.h/linknamespace): Likewise.
44420 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44421 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44422 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44423 (test-xfail-XPG4/search.h/linknamespace): Likewise.
44424 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44425 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44426 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44427 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44428 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44429 (test-xfail-XPG4/time.h/linknamespace): Likewise.
44430 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44431 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44432 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44433 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44434 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44435 (test-xfail-POSIX/math.h/linknamespace): Likewise.
44436 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44437 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44438 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44439 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44440 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44441 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44442 (test-xfail-POSIX/time.h/linknamespace): Likewise.
44443 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44444 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44445 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44446 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44447 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44448 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44449 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44450 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44451 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44452 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44453 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44454 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44455 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44456 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44457 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44458 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44459 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44460 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44461 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44462 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44463 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44464 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44465 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44466 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44467 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44468 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44469 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44470 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44471 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44472 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44473 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44474 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44475 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44476 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44477 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44478 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44479 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44480 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44481 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44482 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44483 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44484 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44485 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44486 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44487 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44488 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44489 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44490 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44491 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44492 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44493 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44494 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44495 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44496 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44497 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44498 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44499 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44500 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44501 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44502 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44503 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44504 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44505 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44506 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44507 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44508 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44509 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44510 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44511 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44512 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44513 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44514 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44515 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44516 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44517 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44518 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44519 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44520 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44521 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44522 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44523 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44524 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44525 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44526 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44527 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44528 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44529 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44530 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44531 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44532 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44533 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44534 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44535 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44536 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44537 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44538 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44539 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44540 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44541
44542 [BZ #17589]
44543 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44544 of fgets_unlocked.
44545
44546 [BZ #17585]
44547 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44548 (memmem): Rename to __memmem and define as weak alias of
44549 __memmem. Use libc_hidden_weak.
44550 (__memmem): Use libc_hidden_def.
44551 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
44552 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44553 memmem.
44554
44555 [BZ #17582]
44556 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44557 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
44558 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44559 and define as weak alias of __fgets_unlocked. Use
44560 libc_hidden_weak.
44561 (__fgets_unlocked): Use libc_hidden_def.
44562 * include/stdio.h (__fgets_unlocked): Declare. Use
44563 libc_hidden_proto.
44564 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44565 __fgets_unlocked instead of fgets_unlocked.
44566 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44567 (GET_NPROCS_CONF_PARSER): Likewise.
44568 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44569 (GET_NPROCS_CONF_PARSER): Likewise.
44570
44571 [BZ #17574]
44572 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44573 weak alias of __wmemset. Use libc_hidden_weak.
44574 (__wmemset): Use libc_hidden_def.
44575 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
44576 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44577 of wmemset.
44578
44579 [BZ #17573]
44580 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44581 with asm name __mempcpy.
44582 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44583
44584 [BZ #17572]
44585 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44586 and define as weak alias of __rawmemchr.
44587 (__rawmemchr): Do not define as strong alias of rawmemchr.
44588
44589 [BZ #17571]
44590 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44591 alias of __qsort_r.
44592 (qsort): Call __qsort_r instead of qsort_r.
44593 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44594 (__qsort_r): Declare. Call libc_hidden_proto.
44595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44596 instead of qsort_r.
44597 * nscd/gai.c (__qsort_r): Define to qsort_r.
44598 * posix/tst-rfc3484.c (__qsort_r): Likewise.
44599 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44600 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44601
44602 [BZ #17570]
44603 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44604 define as weak alias of __malloc_info.
44605
44606 [BZ #17584]
44607 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44608 as weak alias of __rewinddir. Don't use libc_hidden_def.
44609 (__rewinddir): Use libc_hidden_def.
44610 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44611 as weak alias of __rewinddir. Don't use libc_hidden_def.
44612 (__rewinddir): Use libc_hidden_def.
44613 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44614 weak alias of __rewinddir. Don't use libc_hidden_def.
44615 (__rewinddir): Use libc_hidden_def.
44616 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44617 (__rewinddir): Use libc_hidden_proto.
44618 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44619 rewinddir.
44620 (__getcwd): Use __rewinddir instead of rewinddir.
44621
44622 [BZ #17583]
44623 * libio/fileno.c (fileno): Rename to __fileno and define as weak
44624 alias of __fileno. Use libc_hidden_weak.
44625 (__fileno): Use libc_hidden_def.
44626 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44627 * libio/ftello.c (ftello): Rename to __ftello and define as weak
44628 alias of __ftello.
44629 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44630 __ftello.
44631 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44632 (__fread_unlocked): Define as strong alias of _IO_fread. Use
44633 libc_hidden_def.
44634 (fread_unlocked): Don't use libc_hidden_ver.
44635 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44636 and define as weak alias of __fread_unlocked. Don't use
44637 libc_hidden_def.
44638 (__fread_unlocked): Use libc_hidden_def.
44639 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
44640 (ftello): Don't use libc_hidden_proto.
44641 (__ftello): Declare. Use libc_hidden_proto.
44642 (fread_unlocked): Don't use libc_hidden_proto.
44643 (__fread_unlocked): Declare. Use libc_hidden_proto.
44644 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44645 and __ftello instead of fileno, fread_unlocked and ftello.
44646
44647 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44648
44649 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44650 GOT12.
44651 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44652 Likewise.
44653 (_dl_start_user): Likewise.
44654 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44655
44656 2014-11-12 Carlos O'Donell <carlos@redhat.com>
44657 Siddhesh Poyarekar <siddhesh@redhat.com>
44658
44659 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44660 Move argv and envp down instead of moving argc up.
44661 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44662
44663 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
44664
44665 [BZ #17506]
44666 * test-skeleton.c (main): Return successful if one of
44667 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44668 * string/tst-strcoll-overflow.c: Define expected status.
44669
44670 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
44671
44672 [BZ #17475]
44673 * locale/iso-639.def: Define Bhili and Tulu language codes.
44674
44675 2014-11-11 Alan Hayward <alan.hayward@arm.com>
44676
44677 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44678
44679 2014-11-10 Renlin Li <Renlin.Li@arm.com>
44680
44681 [BZ #17555]
44682 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44683
44684 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
44685
44686 * configure.ac: Updated check of minimal required version to
44687 2.22.
44688 * manual/install.texi (Tools for Compilation): Updated version
44689 number.
44690 * configure: Regenerated.
44691 * INSTALL: Likewise.
44692
44693 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
44694
44695 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44696 __tls_get_addr.
44697
44698 2014-11-07 Joseph Myers <joseph@codesourcery.com>
44699
44700 * include/sys/wait.h (__libc_waitpid): Remove declaration.
44701 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44702 (__waitpid): Don't define as alias. Use libc_hidden_def not
44703 libc_hidden_weak.
44704 (waitpid): Define as alias of __waitpid.
44705 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44706 __waitpid.
44707 (__waitpid): Don't define as alias. Use libc_hidden_def not
44708 libc_hidden_weak.
44709 (waitpid): Define as alias of __waitpid.
44710 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44711 __libc_waitpid alias.
44712 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44713 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44714 Likewise.
44715 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44716 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44717 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44718 alias.
44719 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44720 __waitpid.
44721 (__waitpid): Don't define as alias. Use libc_hidden_def not
44722 libc_hidden_weak.
44723 (waitpid): Define as alias of __waitpid.
44724
44725 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44726
44727 * manual/llio.texi: Add comment that write safety has been
44728 fixed in Linux.
44729
44730 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44731 (localplt-build-dso): Add elf/ld.so.
44732 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44733 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44734 and free for ld.so.
44735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44736 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44738 Likewise.
44739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44740 Likewise.
44741 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44742 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44743 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44744 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44745 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44746 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44747 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44748 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44749 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44750 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44751 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44752
44753 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44754
44755 [BZ #14132]
44756 * include/libc-symbols.h (INTUSE): Remove macro.
44757 (INTDEF): Likewise.
44758 (INTVARDEF): Likewise.
44759 (_INTVARDEF): Likewise.
44760 (INTDEF2): Likewise.
44761 (INTVARDEF2): Likewise.
44762 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44763 rtld_hidden_def instead of INTVARDEF.
44764 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44765 (_dl_starting_up_internal): Remove declaration.
44766 (_dl_starting_up): Use rtld_hidden_proto.
44767 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44768 declaration.
44769 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44770 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44771 _dl_starting_up.
44772 * elf/dl-writev.h (_dl_writev): Likewise.
44773 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44774 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44775 _dl_starting_up_internal.
44776
44777 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44778
44779 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44780 test-skeleton.c.
44781
44782 2014-11-05 Will Newton <will.newton@linaro.org>
44783
44784 * benchtests/Makefile: (bench-malloc): Add malloc thread
44785 scalability benchmark.
44786 * benchtests/bench-malloc-threads.c: New file.
44787
44788 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44789
44790 * sysdeps/aarch64/strchrnul.S: New file.
44791
44792 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44793
44794 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44795 definition.
44796 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44797 Likewise.
44798 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44799 Likewise.
44800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44801 Likewise.
44802 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44803 Likewise.
44804 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44805 Likewise.
44806
44807 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44808
44809 * catgets/test-gencat.c: Use test-skeleton.c.
44810 * catgets/tst-catgets.c: Likewise.
44811 * csu/tst-empty.c: Likewise.
44812 * elf/tst-audit2.c: Likewise.
44813 * elf/tst-global1.c: Likewise.
44814 * elf/tst-pathopt.c: Likewise.
44815 * elf/tst-piemod1.c: Likewise.
44816 * elf/tst-tls10.c: Likewise.
44817 * elf/tst-tls11.c: Likewise.
44818 * elf/tst-tls12.c: Likewise.
44819 * gnulib/tst-gcc.c: Likewise.
44820 * iconvdata/tst-e2big.c: Likewise.
44821 * iconvdata/tst-loading.c: Likewise.
44822 * iconv/tst-iconv1.c: Likewise.
44823 * iconv/tst-iconv2.c: Likewise.
44824 * inet/test-inet6_opt.c: Likewise.
44825 * inet/tst-gethnm.c: Likewise.
44826 * inet/tst-network.c: Likewise.
44827 * inet/tst-ntoa.c: Likewise.
44828 * intl/tst-codeset.c: Likewise.
44829 * intl/tst-gettext2.c: Likewise.
44830 * intl/tst-gettext3.c: Likewise.
44831 * intl/tst-ngettext.c: Likewise.
44832 * intl/tst-translit.c: Likewise.
44833 * io/test-stat.c: Likewise.
44834 * libio/test-fmemopen.c: Likewise.
44835 * libio/tst-freopen.c: Likewise.
44836 * libio/tst-sscanf.c: Likewise.
44837 * libio/tst-ungetwc1.c: Likewise.
44838 * libio/tst-ungetwc2.c: Likewise.
44839 * libio/tst-widetext.c: Likewise.
44840 * localedata/tst-ctype.c: Likewise.
44841 * localedata/tst-digits.c: Likewise.
44842 * localedata/tst-leaks.c: Likewise.
44843 * localedata/tst-mbswcs1.c: Likewise.
44844 * localedata/tst-mbswcs2.c: Likewise.
44845 * localedata/tst-mbswcs3.c: Likewise.
44846 * localedata/tst-mbswcs4.c: Likewise.
44847 * localedata/tst-mbswcs5.c: Likewise.
44848 * localedata/tst-setlocale.c: Likewise.
44849 * localedata/tst-trans.c: Likewise.
44850 * localedata/tst-wctype.c: Likewise.
44851 * localedata/tst-xlocale1.c: Likewise.
44852 * login/tst-grantpt.c: Likewise.
44853 * malloc/tst-calloc.c: Likewise.
44854 * malloc/tst-malloc.c: Likewise.
44855 * malloc/tst-mallocstate.c: Likewise.
44856 * malloc/tst-mcheck.c: Likewise.
44857 * malloc/tst-mtrace.c: Likewise.
44858 * malloc/tst-obstack.c: Likewise.
44859 * math/atest-exp2.c: Likewise.
44860 * math/atest-exp.c: Likewise.
44861 * math/atest-sincos.c: Likewise.
44862 * math/test-matherr.c: Likewise.
44863 * math/test-misc.c: Likewise.
44864 * math/test-powl.c: Likewise.
44865 * math/tst-definitions.c: Likewise.
44866 * misc/tst-dirname.c: Likewise.
44867 * misc/tst-efgcvt.c: Likewise.
44868 * misc/tst-fdset.c: Likewise.
44869 * misc/tst-hsearch.c: Likewise.
44870 * misc/tst-mntent2.c: Likewise.
44871 * nptl/tst-sem7.c: Likewise.
44872 * nptl/tst-sem8.c: Likewise.
44873 * nptl/tst-sem9.c: Likewise.
44874 * nss/test-netdb.c: Likewise.
44875 * posix/tst-fnmatch.c: Likewise.
44876 * posix/tst-getlogin.c: Likewise.
44877 * posix/tst-gnuglob.c: Likewise.
44878 * posix/tst-mmap.c: Likewise.
44879 * pwd/tst-getpw.c: Likewise.
44880 * resolv/tst-inet_ntop.c: Likewise.
44881 * rt/tst-timer.c: Likewise.
44882 * stdio-common/test-fseek.c: Likewise.
44883 * stdio-common/test-popen.c: Likewise.
44884 * stdio-common/test-vfprintf.c: Likewise.
44885 * stdio-common/tst-cookie.c: Likewise.
44886 * stdio-common/tst-fileno.c: Likewise.
44887 * stdio-common/tst-gets.c: Likewise.
44888 * stdio-common/tst-obprintf.c: Likewise.
44889 * stdio-common/tst-perror.c: Likewise.
44890 * stdio-common/tst-sprintf2.c: Likewise.
44891 * stdio-common/tst-sprintf3.c: Likewise.
44892 * stdio-common/tst-sprintf.c: Likewise.
44893 * stdio-common/tst-swprintf.c: Likewise.
44894 * stdio-common/tst-tmpnam.c: Likewise.
44895 * stdio-common/tst-unbputc.c: Likewise.
44896 * stdio-common/tst-wc-printf.c: Likewise.
44897 * stdlib/tst-environ.c: Likewise.
44898 * stdlib/tst-fmtmsg.c: Likewise.
44899 * stdlib/tst-limits.c: Likewise.
44900 * stdlib/tst-rand48-2.c: Likewise.
44901 * stdlib/tst-rand48.c: Likewise.
44902 * stdlib/tst-random2.c: Likewise.
44903 * stdlib/tst-random.c: Likewise.
44904 * stdlib/tst-strtol.c: Likewise.
44905 * stdlib/tst-strtoll.c: Likewise.
44906 * stdlib/tst-tls-atexit.c: Likewise.
44907 * stdlib/tst-xpg-basename.c: Likewise.
44908 * string/test-ffs.c: Likewise.
44909 * string/tst-bswap.c: Likewise.
44910 * string/tst-inlcall.c: Likewise.
44911 * string/tst-strtok.c: Likewise.
44912 * string/tst-strxfrm.c: Likewise.
44913 * sysdeps/x86_64/tst-audit10.c: Likewise.
44914 * sysdeps/x86_64/tst-audit3.c: Likewise.
44915 * sysdeps/x86_64/tst-audit4.c: Likewise.
44916 * sysdeps/x86_64/tst-audit5.c: Likewise.
44917 * time/tst-ftime_l.c: Likewise.
44918 * time/tst-getdate.c: Likewise.
44919 * time/tst-mktime3.c: Likewise.
44920 * time/tst-mktime.c: Likewise.
44921 * time/tst-posixtz.c: Likewise.
44922 * time/tst-strptime2.c: Likewise.
44923 * time/tst-strptime3.c: Likewise.
44924 * wcsmbs/tst-btowc.c: Likewise.
44925 * wcsmbs/tst-mbrtowc.c: Likewise.
44926 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44927 * wcsmbs/tst-wchar-h.c: Likewise.
44928 * wcsmbs/tst-wcpncpy.c: Likewise.
44929 * wcsmbs/tst-wcrtomb.c: Likewise.
44930 * wcsmbs/tst-wcsnlen.c: Likewise.
44931 * wcsmbs/tst-wcstof.c: Likewise.
44932
44933 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44934
44935 [BZ #14132]
44936 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44937 INTDEF.
44938 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44939 declaration.
44940 (_dl_mcount): Use rtld_hidden_proto.
44941 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44942 _dl_mcount.
44943 * elf/rtld.c (_rtld_global_ro): Likewise.
44944
44945 [BZ #14132]
44946 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44947 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44948 of _dl_init_internal.
44949 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44950 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44951 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44952 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44953 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44954 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44955 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44956 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44957 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44958 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44959 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44960 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44961 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44962 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44963 * sysdeps/tile/dl-start.S (_start): Likewise.
44964 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44965 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44966
44967 [BZ #14132]
44968 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44969 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44970 (rtld_progname): Make macro definition unconditional.
44971 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44972 INTDEF.
44973 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44974 (dl_main): Likewise.
44975 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44976 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44977 instead of _dl_argv_internal.
44978 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44979 __GI__dl_argv instead of INTUSE(_dl_argv).
44980 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44981 __GI__dl_argv instead of _dl_argv_internal.
44982
44983 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44984 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44985 macro.
44986 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44987 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44988 New macro.
44989 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44990 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44991 macro.
44992 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44993 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44994
44995 2014-11-04 Andreas Schwab <schwab@suse.de>
44996
44997 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44998
44999 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45000
45001 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45002 mtvsrd instruction in binary form.
45003
45004 2014-11-03 Andreas Schwab <schwab@suse.de>
45005
45006 [BZ #17522]
45007 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45008 for less than MB_LEN_MAX use a local buffer of that size.
45009 * libio/tst-fputws.c: New file.
45010 * libio/Makefile (tests): Add tst-fputws.
45011
45012 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
45013
45014 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45015 the size of the fpu_fr.fpu_dregs[] array.
45016
45017 2014-11-01 Joseph Myers <joseph@codesourcery.com>
45018
45019 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45020 (__nanosleep): Do not define as alias.
45021 (nanosleep): Define as alias of __nanosleep.
45022 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45023 __libc_nanosleep name.
45024
45025 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45026
45027 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45028 install.texi in comment.
45029
45030 2014-10-31 Torvald Riegel <triegel@redhat.com>
45031
45032 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45033 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45034 ... add here and use lwsync or sync ...
45035 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45036 ... and add here using lwsync.
45037
45038 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
45039
45040 * elf/dl-machine-reject-phdr.h: New file.
45041 * elf/dl-load.c: #include that.
45042 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45043 if that returned true.
45044
45045 2014-10-31 Roland McGrath <roland@hack.frob.com>
45046
45047 [BZ #17496]
45048 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45049 gen-as-const-headers chunk. Add a big scare comment after the last
45050 safe place to touch before-compile.
45051
45052 2014-10-31 Joseph Myers <joseph@codesourcery.com>
45053
45054 * manual/install.texi (Tools for Compilation): Update autoconf
45055 version requirements.
45056 * INSTALL: Regenerated.
45057
45058 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45059 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45060 (__libc_pselect): Likewise.
45061
45062 [BZ #14138]
45063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45067
45068 2014-10-31 Torvald Riegel <triegel@redhat.com>
45069
45070 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45071 correct barrier instruction.
45072 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45073 Likewise.
45074 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45075 Likewise.
45076
45077 2014-10-30 Roland McGrath <roland@hack.frob.com>
45078
45079 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45080 after defining inlines. Instead, just use parens to defeat macro
45081 expansion of __isctype in its declaration.
45082
45083 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45084
45085 * include/sys/uio.h (__libc_readv): Remove declaration.
45086 (__libc_writev): Likewise.
45087 * misc/readv.c (__libc_readv): Rename to __readv.
45088 (__readv): Do not define as alias.
45089 (readv): Define as alias of __readv.
45090 * misc/writev.c (__libc_writev): Rename to __writev.
45091 (__writev): Do not define as alias.
45092 (writev): Define as alias of __writev.
45093 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45094 (__readv): Do not define as alias.
45095 (readv): Define unconditionally as alias of __readv.
45096 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45097 (__writev): Do not define as alias.
45098 (writev): Define unconditionally as alias of __writev.
45099 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45100 name.
45101 (writev): Do not define __libc_writev name.
45102
45103 2014-10-30 Roland McGrath <roland@hack.frob.com>
45104
45105 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45106 (convert_charseq): New function, broken out of ...
45107 (use_from_charmap): ... here. Call it.
45108 (use_to_charmap): Use convert_charseq and free instead of duplicating
45109 its code with a variable-length stack struct.
45110
45111 2014-10-30 Joseph Myers <joseph@codesourcery.com>
45112
45113 * include/fcntl.h (__libc_creat): Remove declaration.
45114 * io/creat.c (__libc_creat): Rename to creat.
45115 (creat): Do not define as alias.
45116 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45117 of creat instead of __libc_creat.
45118 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45119 to creat.
45120 (creat): Do not define as alias.
45121 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45122 __libc_creat.
45123 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45124 __libc_creat name.
45125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45126 Likewise.
45127
45128 2014-10-29 Carlos O'Donell <carlos@redhat.com>
45129
45130 * manual/llio.texi: Add comments discussing why write() may be
45131 considered MT-unsafe on Linux.
45132
45133 2014-10-28 Carlos O'Donell <carlos@redhat.com>
45134
45135 * dl-load.c (local_strdup): Remove.
45136 (expand_dynamic_string_token): Use __strdup.
45137 (decompose_rpath): Likewise.
45138 (_dl_map_object): Likewise.
45139
45140 2014-10-28 Joseph Myers <joseph@codesourcery.com>
45141
45142 [BZ #14132]
45143 * sysdeps/generic/unwind-dw2-fde.c
45144 (__register_frame_info_bases_internal): Do not declare.
45145 (__register_frame_info_table_bases_internal): Likewise.
45146 (__deregister_frame_info_bases_internal): Likewise.
45147 (__register_frame_info_bases): Declare and use hidden_proto before
45148 definition. Use hidden_def instead of INTDEF.
45149 (__register_frame_info_table_bases): Likewise.
45150 (__deregister_frame_info_bases): Likewise.
45151 (__register_frame_info): Do not use INTUSE.
45152 (__register_frame): Likewise.
45153 (__register_frame_info_table): Likewise.
45154 (__register_frame_table): Likewise.
45155 (__deregister_frame_info): Likewise.
45156 (__deregister_frame): Likewise.
45157
45158 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
45159
45160 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45161 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45162 not undefine.
45163 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45164 Likewise.
45165 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45166 Likewise.
45167
45168 2014-10-27 Joseph Myers <joseph@codesourcery.com>
45169
45170 [BZ #14138]
45171 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45172 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45173 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45174 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45175 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45176 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45177 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45178 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45179 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45180 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45181 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45182 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45183 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45184 syscall.
45185 (setfsuid): Likewise.
45186 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45187 (setfsuid): Likewise.
45188 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45189 (setfsuid): Likewise.
45190 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45191 Likewise.
45192 (setfsuid): Likewise.
45193 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45194 (setfsuid): Likewise.
45195 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45196 Likewise.
45197 (setfsuid): Likewise.
45198
45199 2014-10-27 Andreas Schwab <schwab@suse.de>
45200
45201 [BZ #17501]
45202 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45203 check for Slow_SSE4_2 feature bit.
45204 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45205 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45206 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45207 Likewise. Fix check for Fast_Unaligned_Load feature bit.
45208
45209 2014-10-24 Roland McGrath <roland@hack.frob.com>
45210
45211 * configure.ac: Validate compiler version with a empirical test of
45212 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45213 $CC -v output.
45214 * configure: Regenerated.
45215
45216 * inet/htons.c (htons): Prototypify.
45217 * inet/htonl.c (htonl): Likewise.
45218
45219 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45220
45221 * string/strncat.c (strncat): Improve performance by using strlen.
45222
45223 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45224
45225 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45226
45227 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45228
45229 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45230 Call libc_fetestexcept_aarch64.
45231
45232 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45233
45234 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45235 Call libc_feholdexcept_aarch64.
45236
45237 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45238
45239 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45240 Call get_rounding_mode.
45241
45242 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45243
45244 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45245 Simplify logic.
45246
45247 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
45248
45249 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45250 Simplify logic.
45251
45252 2014-10-24 Joseph Myers <joseph@codesourcery.com>
45253
45254 [BZ #14138]
45255 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45256 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45257 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45258 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45259 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45260 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45261 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45262 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45263 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45264 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45265 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45266 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45267 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45268 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45269 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45270 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45271 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45272 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45273 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45274 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45275 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45276 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45277 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45278 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45279 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45280 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45281 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45282 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45283 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45284 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45285 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45286 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45287 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45288 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45289 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45290 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45291 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45292 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45293 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45294 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45295 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45296 syscall.
45297 (geteuid): Likewise.
45298 (getgid): Likewise.
45299 (getuid): Likewise.
45300 (getresgid): Likewise.
45301 (getresuid): Likewise.
45302 (getgroups): Likewise.
45303 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45304 (geteuid): Likewise.
45305 (getgid): Likewise.
45306 (getuid): Likewise.
45307 (getresgid): Likewise.
45308 (getresuid): Likewise.
45309 (getgroups): Likewise.
45310 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45311 (geteuid): Likewise.
45312 (getgid): Likewise.
45313 (getuid): Likewise.
45314 (getresgid): Likewise.
45315 (getresuid): Likewise.
45316 (getgroups): Likewise.
45317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45318 Likewise.
45319 (geteuid): Likewise.
45320 (getgid): Likewise.
45321 (getuid): Likewise.
45322 (getresgid): Likewise.
45323 (getresuid): Likewise.
45324 (getgroups): Likewise.
45325 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45326 (geteuid): Likewise.
45327 (getgid): Likewise.
45328 (getuid): Likewise.
45329 (getresgid): Likewise.
45330 (getresuid): Likewise.
45331 (getgroups): Likewise.
45332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45333 Likewise.
45334 (geteuid): Likewise.
45335 (getgid): Likewise.
45336 (getuid): Likewise.
45337 (getgroups): Likewise.
45338
45339 [BZ #14138]
45340 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45341 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45342 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45343 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45344 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45345 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45346 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45347 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45348 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45349 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45350 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45351 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45352 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45353 __chown.
45354 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45355 (lchown): Likewise.
45356 (fchown): Likewise.
45357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45358 Likewise.
45359 (lchown): Likewise.
45360 (fchown): Likewise.
45361 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45362 (lchown): Likewise.
45363 (fchown): Likewise.
45364 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45365 Likewise.
45366 (lchown): Likewise.
45367 (fchown): Likewise.
45368
45369 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45370
45371 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45372 Simplify logic.
45373
45374 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45375
45376 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45377 Cleanup logic.
45378
45379 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45380
45381 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45382 Remove unused include.
45383
45384 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
45385
45386 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45387 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45388 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45389 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45390
45391 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
45392 Helge Deller <deller@gmx.de>
45393
45394 [BZ #17508]
45395 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45396 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45397 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45398
45399 2014-10-23 Joseph Myers <joseph@codesourcery.com>
45400
45401 [BZ #14132]
45402 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45403 Remove macro definition.
45404 (__ashrdi3_v_glibc20): Likewise.
45405 (__lshrdi3_v_glibc20): Likewise.
45406 (__cmpdi2_v_glibc20): Likewise.
45407 (__ucmpdi2_v_glibc20): Likewise.
45408 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45409 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45410 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45411 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45412 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45413 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45414
45415 2014-10-22 Roland McGrath <roland@hack.frob.com>
45416
45417 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45418 old GNU extension [0] syntax.
45419 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45420 alloca rather than an array member with variable length.
45421 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45422 * nscd/nscd.c (invalidate_db): New function, broken out of ...
45423 (parse_opt): ... here. Likewise use alloca there.
45424 Validate the -i argument before checking for rootness.
45425 (send_shutdown): New function, broken out of ...
45426 (parse_opt): ... here.
45427
45428 2014-10-22 Roland McGrath <roland@hack.frob.com>
45429
45430 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45431 macro to get at the _rt_local_ro field.
45432 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45433 ([PIC] case) or _dl_hwcap ([!PIC] case).
45434 * sysdeps/arm/setjmp.S: Likewise.
45435
45436 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45437 * sysdeps/arm/configure.ac: New check to define it.
45438 * sysdeps/arm/configure: Regenerated.
45439 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45440 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45441 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45442 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45443 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45444 Use move/movt pair instead of a load.
45445 (LDST_GLOBAL): Macro removed.
45446 (LDR_GLOBAL): New macro replaces it.
45447 (LDR_HIDDEN): New macro.
45448 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45449 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45450
45451 * setjmp/tst-setjmp-static.c: New file.
45452 * setjmp/Makefile (tests): Add it.
45453 (tests-static): New variable.
45454
45455 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
45456
45457 [BZ #17485]
45458 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45459
45460 2014-10-21 Joseph Myers <joseph@codesourcery.com>
45461
45462 [BZ #14132]
45463 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45464
45465 2014-10-21 Roland McGrath <roland@hack.frob.com>
45466
45467 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45468
45469 2014-10-20 Roland McGrath <roland@hack.frob.com>
45470
45471 * io/fts.c (dirent_not_directory): New function.
45472 (fts_build): Call it.
45473
45474 2014-10-20 Roland McGrath <roland@hack.frob.com>
45475
45476 * nptl/version.c (__nptl_main): Use normal __write rather than
45477 INTERNAL_SYSCALL.
45478 (banner): Update copyright years.
45479
45480 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45481 gettimeofday.
45482 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45483 * nptl/pthread_cond_timedwait.c: Likewise.
45484 * nptl/pthread_mutex_timedlock.c: Likewise.
45485 * nptl/sem_timedwait.c: Likewise.
45486
45487 * sysdeps/nptl/bits/libc-lock.h
45488 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45489 (__libc_lock_init_recursive): Return void, not 0.
45490 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45491 (__libc_rwlock_init): Likewise.
45492 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45493
45494 2014-10-20 Torvald Riegel <triegel@redhat.com>
45495
45496 [BZ #15215]
45497 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45498 (__pthread_once_slow): ... here.
45499 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45500 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45501
45502 2014-10-20 Torvald Riegel <triegel@redhat.com>
45503
45504 [BZ #15215]
45505 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45506 __PTHREAD_ONCE_FORK_GEN_INCR): New.
45507 * sysdeps/nptl/fork.c (__libc_fork): Use them.
45508 * nptl/pthread_once.c (__pthread_once): Likewise.
45509 Update comments.
45510
45511 2014-10-20 Joseph Myers <joseph@codesourcery.com>
45512
45513 [BZ #14138]
45514 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45515 name.
45516 (writev): Use __libc_writev as strong name.
45517 * sysdeps/unix/sysv/linux/readv.c: Remove file.
45518 * sysdeps/unix/sysv/linux/writev.c: Likewise.
45519
45520 2014-10-17 Roland McGrath <roland@hack.frob.com>
45521
45522 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45523
45524 * sysdeps/i386/nptl/tls.h
45525 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45526 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45527 New macros.
45528 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45529 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45530 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45531 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45532 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45533 Call CHECK_THREAD_SYSINFO instead of doing an assert.
45534
45535 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45536 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45537 on [__NR_futex].
45538 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45539 broken out of ...
45540 (__pthread_mutex_init): ... here. Call it.
45541 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45542 Conditionalize PI cases on [__NR_futex].
45543 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45544 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45545 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45546
45547 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45548 conditional on [SIGSETXID].
45549 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45550 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45551 is defined. Likewise for SIGSETXID.
45552 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45553 Conditionalize definitions on [SIGSETXID].
45554 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45555 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45556 unblocking on [SIGCANCEL].
45557
45558 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45559 [__NR_set_robust_list].
45560
45561 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
45562
45563 * string/strcoll_l.c (get_next_seq): Fix up formatting.
45564 (do_compare): Likewise.
45565
45566 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
45567
45568 [BZ #15884]
45569 * string/strcoll_l.c: Don't include stdio.h.
45570 (coll_seq): Remove members idxarr and rulearr.
45571 (get_next_seq_cached): Remove function.
45572 (get_next_seq): Likewise.
45573 (get_next_seq_nocache): Rename to get_next_seq.
45574 (do_compare): Remove function.
45575 (do_compare_nocache): Rename to do_compare.
45576 (STRCOLL): Remove weight and rules cache.
45577
45578 2014-10-16 Roland McGrath <roland@hack.frob.com>
45579
45580 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45581 * sysdeps/arm/sfp-machine.h: ... to here.
45582 * sysdeps/arm/Implies: Remove arm/soft-fp.
45583
45584 2014-10-14 Joseph Myers <joseph@codesourcery.com>
45585
45586 * conform/data/sys/utsname.h-data (*_t): Allow.
45587 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45588 [POSIX] (WEXITED): Do not expect constant.
45589 [POSIX] (WSTOPPED): Likewise.
45590 [POSIX] (WNOHANG): Likewise.
45591 [POSIX] (WNOWAIT): Likewise.
45592 [POSIX] (siginfo_t): Do not expect type or elements.
45593 [POSIX] (pid_t): Do not expect type.
45594 [POSIX] (signal.h): Do not allow header.
45595 [POSIX] (sys/resource.h): Likewise.
45596 [POSIX] (si_*): Do not allow pattern.
45597 [POSIX] (W*): Likewise.
45598 [POSIX] (P_*): Likewise.
45599 [POSIX] (BUS_*): Likewise.
45600 [POSIX] (CLD_*): Likewise.
45601 [POSIX] (FPE_*): Likewise.
45602 [POSIX] (ILL_*): Likewise.
45603 [POSIX] (POLL_*): Likewise.
45604 [POSIX] (SEGV_*): Likewise.
45605 [POSIX] (SI_*): Likewise.
45606 [POSIX] (TRAP_*): Likewise.
45607 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45608 variable.
45609
45610 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
45611
45612 [BZ #12926]
45613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45614 infinite loop when __recvmsg returns 0.
45615
45616 2014-10-10 Joseph Myers <joseph@codesourcery.com>
45617
45618 * CANCEL-FCT-WAIVE: Remove file.
45619 * CANCEL-FILE-WAIVE: Likewise.
45620
45621 [BZ #14132]
45622 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45623 instead of INTVARDEF.
45624 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45625 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45626 rtld_hidden_data_def instead of INTVARDEF.
45627 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45628 * elf/dl-deps.c (expand_dst): Likewise.
45629 * elf/dl-load.c (_dl_dst_count): Likewise.
45630 (_dl_dst_substitute): Likewise.
45631 (decompose_rpath): Likewise.
45632 (_dl_init_paths): Likewise.
45633 (open_path): Likewise.
45634 (_dl_map_object): Likewise.
45635 * elf/rtld.c (dl_main): Likewise.
45636 (process_dl_audit): Likewise.
45637 (process_envvars): Likewise.
45638 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45639 Remove declaration.
45640 (__libc_enable_secure): Use rtld_hidden_proto.
45641
45642 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45643
45644 * elf/dl-load.c
45645 (add_path): New function broken out of _dl_rtld_di_serinfo.
45646 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
45647
45648 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45649
45650 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45651 parentheses around macro arguments.
45652 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45653 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45654 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45655 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45656 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45657 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45659 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45663 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45664 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45665 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45666 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45667 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45668 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45669 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45670 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45671 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45672 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45673 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45674 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45675 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45679 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45680 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45681 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45682 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45683 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45684 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45685 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45686 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45687 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45688 Likewise.
45689 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45690 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45691 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45692 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45693 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45694 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45695 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45696 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45697 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45698 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45699 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45700 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45701 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45702 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45703 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45704 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45705 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45706 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45707 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45708 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45709 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45710 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45711 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45712 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45713 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45714 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45715 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45716 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45717 (_FP_FRAC_SRS_1): Likewise.
45718 (_FP_FRAC_CLZ_1): Likewise.
45719 (_FP_MUL_MEAT_1_imm): Likewise.
45720 (_FP_MUL_MEAT_1_wide): Likewise.
45721 (_FP_MUL_MEAT_1_hard): Likewise.
45722 (_FP_SQRT_MEAT_1): Likewise.
45723 (_FP_FRAC_ASSEMBLE_1): Likewise.
45724 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45725 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45726 (__FP_CLZ_2): Likewise.
45727 (_FP_MUL_MEAT_2_wide): Likewise.
45728 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45729 (_FP_MUL_MEAT_2_gmp): Likewise.
45730 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45731 (_FP_SQRT_MEAT_2): Likewise.
45732 (_FP_FRAC_ASSEMBLE_2): Likewise.
45733 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45734 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45735 (_FP_FRAC_CLZ_4): Likewise.
45736 (_FP_MUL_MEAT_4_wide): Likewise.
45737 (_FP_MUL_MEAT_4_gmp): Likewise.
45738 (_FP_SQRT_MEAT_4): Likewise.
45739 (_FP_FRAC_ASSEMBLE_4): Likewise.
45740 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45741 * soft-fp/op-common.h (_FP_CMP): Likewise.
45742 (_FP_CMP_EQ): Likewise.
45743 (_FP_CMP_UNORD): Likewise.
45744 (_FP_TO_INT): Likewise.
45745 (_FP_FROM_INT): Likewise.
45746 [!__FP_CLZ] (__FP_CLZ): Likewise.
45747 (_FP_DIV_HELP_imm): Likewise.
45748 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45749 Likewise.
45750 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45751 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45752 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45761 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45762 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45764 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45765 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45766 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45769 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45778 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45779 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45780 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45781 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45782 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45783 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45784 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45785 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45786 (FP_UNPACK_RAW_SP): Likewise.
45787 (FP_PACK_RAW_S): Likewise.
45788 (FP_PACK_RAW_SP): Likewise.
45789 (FP_UNPACK_S): Likewise.
45790 (FP_UNPACK_SP): Likewise.
45791 (FP_UNPACK_SEMIRAW_S): Likewise.
45792 (FP_UNPACK_SEMIRAW_SP): Likewise.
45793 (FP_PACK_S): Likewise.
45794 (FP_PACK_SP): Likewise.
45795 (FP_PACK_SEMIRAW_S): Likewise.
45796 (FP_PACK_SEMIRAW_SP): Likewise.
45797 (_FP_SQRT_MEAT_S): Likewise.
45798 (FP_CMP_S): Likewise.
45799 (FP_CMP_EQ_S): Likewise.
45800 (FP_CMP_UNORD_S): Likewise.
45801 (FP_TO_INT_S): Likewise.
45802 (FP_FROM_INT_S): Likewise.
45803
45804 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45805
45806 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45807 (FP_EX_INVALID_IMZ): Likewise.
45808 (FP_EX_INVALID_IMZ_FMA): Likewise.
45809 (FP_EX_INVALID_ISI): Likewise.
45810 (FP_EX_INVALID_ZDZ): Likewise.
45811 (FP_EX_INVALID_IDI): Likewise.
45812 (FP_EX_INVALID_SQRT): Likewise.
45813 (FP_EX_INVALID_CVI): Likewise.
45814 (FP_EX_INVALID_VC): Likewise.
45815 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45816 "invalid" exceptions.
45817 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45818 (_FP_ADD_INTERNAL): Likewise.
45819 (_FP_MUL): Likewise.
45820 (_FP_FMA): Likewise.
45821 (_FP_DIV): Likewise.
45822 (_FP_CMP_CHECK_NAN): Likewise.
45823 (_FP_SQRT): Likewise.
45824 (_FP_TO_INT): Likewise.
45825 (FP_EXTEND): Likewise.
45826
45827 2014-10-09 Allan McRae <allan@archlinux.org>
45828
45829 * po/fr.po: Update French translation from translation project.
45830
45831 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45832
45833 [BZ #14132]
45834 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45835 of INTDEF.
45836 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45837 (__cxa_atexit): Use libc_hidden_proto.
45838 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45839
45840 [BZ #14132]
45841 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45842 declaration.
45843 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45844 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45845 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45846 [!_ISOMAC] (__iswctype_internal): Likewise.
45847 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45848 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45849 alias.
45850 (fcntl): Remove __fcntl_internal alias.
45851 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45852 __connect_internal alias.
45853 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45854 Likewise.
45855
45856 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45857 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45858 FP_DENORM_ZERO.
45859 (_FP_CHECK_FLUSH_ZERO): New macro.
45860 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45861 (_FP_CMP): Likewise.
45862 (_FP_CMP_EQ): Likewise.
45863 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45864 FP_DENORM_ZERO.
45865 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45866 (FP_TRUNC): Likewise.
45867
45868 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45869 treated as invalid conversion, not as normal exponent.
45870
45871 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45872 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45873 (_FP_CMP_EQ): Likewise.
45874 (_FP_CMP_UNORD): Likewise.
45875 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45876 (FP_CMP_EQ_D): Likewise.
45877 (FP_CMP_UNORD_D): Likewise.
45878 * soft-fp/extended.h (FP_CMP_E): Likewise.
45879 (FP_CMP_EQ_E): Likewise.
45880 (FP_CMP_UNORD_E): Likewise.
45881 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45882 (FP_CMP_EQ_Q): Likewise.
45883 (FP_CMP_UNORD_Q): Likewise.
45884 * soft-fp/single.h (FP_CMP_S): Likewise.
45885 (FP_CMP_EQ_S): Likewise.
45886 (FP_CMP_UNORD_S): Likewise.
45887 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45888 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45889 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45890 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45891 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45892 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45893 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45894 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45895 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45896 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45897 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45898 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45899 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45900 to FP_CMP_Q.
45901 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45902 FP_CMP_Q.
45903 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45904 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45905 FP_CMP_EQ_Q.
45906 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45907 FP_CMP_Q.
45908 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45909 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45910 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45911 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45912 FP_CMP_EQ_Q.
45913 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45914 FP_CMP_Q.
45915 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45916 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45917 FP_CMP_EQ_Q.
45918 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45919 FP_CMP_Q.
45920 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45921 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45922 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45923 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45924 FP_CMP_EQ_Q.
45925
45926 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45927 a subnormal result, set the underflow exception if trapping on
45928 underflow is enabled.
45929 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45930 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45931 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45932 redefine to 0.
45933 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45934 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45935 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45936 * soft-fp/extendxftf2.c (__extendxftf2): Use
45937 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45938
45939 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45940 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45941 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45942 FP_HANDLE_EXCEPTIONS.
45943 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45944 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45945 FP_HANDLE_EXCEPTIONS.
45946 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45947 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45948 FP_HANDLE_EXCEPTIONS.
45949 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45950 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45951 FP_HANDLE_EXCEPTIONS.
45952
45953 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45954
45955 [BZ #14132]
45956 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45957 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45958 use INTUSE.
45959 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45960 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45961 Remove alias.
45962 (__adjtimex): Define using libc_hidden_ver.
45963 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45964 Remove declaration.
45965 (ntp_gettime): Call __adjtimex directly.
45966 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45967 Remove declaration.
45968 (ntp_gettimex): Call __adjtimex directly.
45969 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45970 __adjtimex_internal alias.
45971
45972 2014-10-08 Roland McGrath <roland@hack.frob.com>
45973
45974 [BZ #17460]
45975 * nscd/nscd.c (more_help): Rewrite list of tables collection
45976 using xstrdup and asprintf.
45977
45978 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45979
45980 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45981 Roland McGrath <roland@hack.frob.com>
45982
45983 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45984 (do_lookup_unique): ... local function 'enter' here; update callers.
45985
45986 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45987
45988 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45989 compat_symbol calls on [SHARED].
45990 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45991 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45992 Remove.
45993 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45994 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45995 (oldsetrlimit): Remove.
45996 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45998 (lchown): New syscall entry.
45999 (oldsetrlimit): Remove.
46000 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46002 (oldsetrlimit): Remove.
46003 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46004
46005 [BZ #14138]
46006 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46007 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46008 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46009 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46010 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46011 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46012 (fchown): Likewise.
46013 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46014 (fchown): Likewise.
46015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46016 Likewise.
46017
46018 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46019
46020 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46021 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46022 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46023 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46024 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46025 Likewise.
46026 (__old_sem_post): Likewise.
46027
46028 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
46029
46030 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46031 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46032 HAVE_CLOCK_GETTIME_VSYSCALL macros.
46033 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46034 Use INLINE_VSYSCALL macro.
46035 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46036 __vdso_clock_gettime.
46037 * sysdeps/unix/sysv/linux/tile/init-first.c
46038 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46039 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46040 __vdso_clock_gettime.
46041
46042 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46043 to set up frame more cleanly.
46044
46045 * sysdeps/tile/memcmp.c: New file.
46046
46047 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46048
46049 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46050 * sysdeps/tile/tilegx/strcasestr.c: New file.
46051 * sysdeps/tile/tilegx/strnlen.c: New file.
46052 * sysdeps/tile/tilegx/strstr.c: New file.
46053
46054 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46055
46056 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
46057
46058 * nptl/tst-setuid3.c: Write errors to stdout.
46059
46060 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46061
46062 * elf/dl-deps.c
46063 (preload): New functions broken out of _dl_map_object_deps.
46064 (_dl_map_object_deps): Remove a nested function. Update call sites.
46065
46066 2014-10-01 Joseph Myers <joseph@codesourcery.com>
46067
46068 [BZ #14138]
46069 * sysdeps/unix/sysv/linux/execve.c: Remove file.
46070 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46071
46072 2014-10-01 Steve Ellcey <sellcey@mips.com>
46073
46074 * sysdeps/mips/strcmp.S: New.
46075
46076 2014-09-30 Joseph Myers <joseph@codesourcery.com>
46077
46078 [BZ #14138]
46079 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46080 (linkat): Likewise.
46081 (mkdirat): Likewise.
46082 (readlinkat): Likewise.
46083 (renameat): Likewise.
46084 (symlinkat): Likewise.
46085 (unlinkat): Likewise.
46086 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46087 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46088 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46089 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46090 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46091 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46092 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46093
46094 2014-09-30 Will Newton <will.newton@linaro.org>
46095
46096 * math/math.h: Define long double math functions if
46097 _LIBC_TEST is defined.
46098 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46099
46100 * localedata/Makefile: Move assignment to tests-special
46101 into an ifdef testing run-built-tests.
46102 * timezone/Makefile: Likewise.
46103
46104 2014-09-29 Joseph Myers <joseph@codesourcery.com>
46105
46106 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46107 with $(BASH) not $(SHELL).
46108
46109 2014-09-29 Carlos O'Donell <carlos@redhat.com>
46110 Matthew LeGendre <legendre1@llnl.gov>
46111
46112 [BZ #17411]
46113 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46114 l_reloc_result.
46115
46116 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46117
46118 * stdio-common/printf_fp.c
46119 (hack_digit): New function, broken out of ...
46120 (__printf_fp): ... local function here. Update call sites.
46121 hack_digit now takes an additional parameter that is a pointer
46122 to a struct of the referenced locals. Those locals moved inside
46123 the struct and references updated.
46124
46125 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
46126
46127 * aclocal.m4: Require autoconf 2.69.
46128 * configure: Regenerated.
46129 * sysdeps/aarch64/configure: Likewise.
46130 * sysdeps/alpha/configure: Likewise.
46131 * sysdeps/arm/armv7/configure: Likewise.
46132 * sysdeps/arm/configure: Likewise.
46133 * sysdeps/ia64/configure: Likewise.
46134 * sysdeps/mach/configure: Likewise.
46135 * sysdeps/mips/configure: Likewise.
46136 * sysdeps/s390/configure: Likewise.
46137 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46139
46140 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46141 file.
46142 * sysdeps/ia64/configure.ac: Likewise.
46143
46144 2014-09-26 Joseph Myers <joseph@codesourcery.com>
46145
46146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46147 specify symbol version for ld.so. Do not include entry for
46148 libpthread.
46149 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46150 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46151 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46152
46153 [BZ #14171]
46154 * Makeconfig [$(build-shared) = yes]
46155 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46156 makefiles.
46157 [$(build-shared) = yes && $(soversions.mk-done) = t]
46158 ($(common-objpfx)gnu/lib-names.h): Remove rule.
46159 [$(build-shared) = yes && $(soversions.mk-done) = t]
46160 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
46161 to Makerules.
46162 [$(build-shared) = yes && $(soversions.mk-done) = t]
46163 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46164 here.
46165 [$(build-shared) = yes && $(soversions.mk-done) = t]
46166 (common-generated): Don't append gnu/lib-names.h and
46167 gnu/lib-names.stmp here.
46168 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46169 (lib-names-h-abi): New variable.
46170 [$(build-shared) = yes && $(soversions.mk-done) = t]
46171 (lib-names-stmp-abi): Likewise.
46172 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46173 abi-variants] (before-compile): Append
46174 $(common-objpfx)$(lib-names-h-abi).
46175 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46176 abi-variants] (common-generated): Append gnu/lib-names.h.
46177 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46178 abi-variants] (install-others-nosubdir): Depend on
46179 $(inst_includedir)/$(lib-names-h-abi).
46180 [$(build-shared) = yes && $(soversions.mk-done) = t &&
46181 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46182 [$(build-shared) = yes && $(soversions.mk-done) = t]
46183 ($(common-objpfx)$(lib-names-h-abi)): New rule.
46184 [$(build-shared) = yes && $(soversions.mk-done) = t]
46185 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46186 [$(build-shared) = yes && $(soversions.mk-done) = t]
46187 (common-generated): Append $(lib-names-h-abi) and
46188 $(lib-names-stmp-abi).
46189 * scripts/lib-names.awk: Do not handle multi being set.
46190 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46191 Remove variable.
46192 (abi-lp64_be-ld-soname): Likewise.
46193 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46194 Likewise.
46195 (abi-hard-ld-soname): Likewise.
46196 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46197 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46198 Remove variable.
46199 (abi-o32_hard-ld-soname): Likewise.
46200 (abi-o32_soft_2008-ld-soname): Likewise.
46201 (abi-o32_hard_2008-ld-soname): Likewise.
46202 (abi-n32_soft-ld-soname): Likewise.
46203 (abi-n32_hard-ld-soname): Likewise.
46204 (abi-n32_soft_2008-ld-soname): Likewise.
46205 (abi-n32_hard_2008-ld-soname): Likewise.
46206 (abi-n64_soft-ld-soname): Likewise.
46207 (abi-n64_hard-ld-soname): Likewise.
46208 (abi-n64_soft_2008-ld-soname): Likewise.
46209 (abi-n64_hard_2008-ld-soname): Likewise.
46210 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46211 Likewise.
46212 (abi-64-v2-ld-soname): Likewise.
46213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46214 ld.so entries.
46215 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46216 variable.
46217 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46218 entry.
46219 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46220 variable.
46221 (abi-64-ld-soname): Likewise.
46222 (abi-x32-ld-soname): Likewise.
46223 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46224 entry.
46225 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46226
46227 2014-09-23 Joseph Myers <joseph@codesourcery.com>
46228
46229 [BZ #14138]
46230 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46231 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46232 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46233 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46234 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46235 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46236 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46237 syscall entry for GLIBC_2.2 symbol version.
46238 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46239 Likewise.
46240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46241 (setrlimit): Likewise.
46242 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46243 Likewise.
46244
46245 2014-09-23 Will Newton <will.newton@linaro.org>
46246
46247 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46248 _LINUX_ARM_SYSDEP_H include guard too.
46249 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46250 define.
46251
46252 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
46253
46254 * sysdeps/unix/sysv/linux/eventfd.c:
46255 Make first argument unsigned.
46256 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46257 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46258
46259 2014-09-20 Ondƙej Bílka <neleai@seznam.cz>
46260
46261 [BZ #16852]
46262 * socket/recvmmsg.c (recvmmsg): Drop const argument.
46263 * socket/sys/socket.h: Likewise.
46264 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46265
46266 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46267
46268 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46269
46270 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
46271
46272 * time/tst-ftime.c: New test.
46273 * time/Makefile (tests): Add tst-ftime.
46274
46275 2014-09-17 Joseph Myers <joseph@codesourcery.com>
46276
46277 * soft-fp/extended.h: Fix comment formatting.
46278 * soft-fp/op-1.h: Likewise.
46279 * soft-fp/op-2.h: Likewise.
46280 * soft-fp/op-4.h: Likewise.
46281 * soft-fp/op-8.h: Likewise.
46282 * soft-fp/op-common.h: Likewise.
46283 * soft-fp/soft-fp.h: Likewise.
46284
46285 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46286
46287 2014-09-16 Joseph Myers <joseph@codesourcery.com>
46288
46289 [BZ #6652]
46290 * Makeconfig (soversions-default-setname): Remove variable.
46291 ($(common-objpfx)soversions.i): Don't pass default_setname to
46292 soversions.awk.
46293 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46294 oldest_abi to abi-versions.awk.
46295 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46296 * config.make.in (oldest-abi): Remove variable.
46297 * configure.ac (--enable-oldest-abi): Remove configure option.
46298 * configure: Regenerated.
46299 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46300 text.
46301 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46302 * scripts/soversions.awk: Do not handle default_setname variable.
46303 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46304 variable.
46305 * sysdeps/mach/hurd/configure: Regenerated.
46306 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46307 variable.
46308 * sysdeps/unix/sysv/linux/configure: Regenerated.
46309
46310 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46311
46312 * elf/Makefile (CFLAGS-interp.c): Remove.
46313 ($(elf-objpfx)runtime-linker.h): Generate header with linker
46314 path string.
46315 * elf/interp.c: Include generated runtime-linker.h
46316
46317 * Makerules (lib%.so): Don't include $(+interp) in
46318 prerequisites.
46319 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46320 * dlfcn/eval.c: Remove file.
46321
46322 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46323 macros.
46324
46325 [BZ #17266]
46326 * misc/sys/cdefs.h: Define __extern_always_inline for clang
46327 4.2 and newer.
46328
46329 [BZ #17370]
46330 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46331
46332 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46333 Jakub Jelinek <jakub@redhat.com>
46334
46335 [BZ #17266]
46336 * libio/stdio.h: Check definition of __fortify_function
46337 instead of __extern_always_inline to include bits/stdio2.h.
46338 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46339 check if __extern_always_inline is defined.
46340 [__USE_MISC || __USE_XOPEN]: Likewise.
46341 [__USE_ISOC99] Likewise.
46342 * misc/sys/cdefs.h (__fortify_function): Define only if
46343 __extern_always_inline is defined.
46344 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46345 __extern_always_inline and __extern_inline only for g++-4.3
46346 and newer or a compatible gcc.
46347
46348 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
46349
46350 [BZ #17371]
46351 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46352 last change to handle zero prefix length.
46353
46354 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46355
46356 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46357 _SC_REGEX_VERSION.
46358
46359 * posix/getconf.c (vars): Add _POSIX_IPV6 and
46360 _POSIX_RAW_SOCKETS.
46361
46362 2014-09-13 Allan McRae <allan@archlinux.org>
46363
46364 * po/ru.po: Update Russian translation from translation project.
46365
46366 2014-09-12 Roland McGrath <roland@hack.frob.com>
46367
46368 * locale/programs/locale.c (show_locale_vars): Inline local function
46369 into its sole call site. Clean up some style nits.
46370 (print_item): New function, broken out of ...
46371 (show_info): ... local function here. Clean up style nits.
46372
46373 * locale/programs/ld-ctype.c (set_one_default): New function, broken
46374 out of ...
46375 (set_class_defaults): ... local function set_default here.
46376 Define set_default as a macro locally to pass constant parameters.
46377 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46378 rather than a shared local.
46379
46380 * stdlib/rpmatch.c (try): New function, broken out of ...
46381 (rpmatch): ... local function here. Also, prototypify definition.
46382
46383 2014-09-12 Joseph Myers <joseph@codesourcery.com>
46384
46385 * scripts/soversions.awk: Do not handle configuration names.
46386 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46387 vendor and os variables to soversions.awk.
46388 * configure.ac: Do not modify gnu-* host_os.
46389 * configure: Regenerated
46390 * shlib-versions: Remove first column with configuration names.
46391 * nptl/shlib-versions: Likewise.
46392 * nptl_db/shlib-versions: Likewise.
46393 * sysdeps/hppa/shlib-versions: Likewise.
46394 * sysdeps/m68k/shlib-versions: Likewise.
46395 * sysdeps/mach/hurd/shlib-versions: Likewise.
46396 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46397 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46398 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46399 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46400 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46401 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46402 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46403 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46405 Likewise.
46406 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46407 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46408 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46409 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46410 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46411 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46412 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46413 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46414
46415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46416 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46418 Regenerated.
46419 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46421 Condition symbol version definitions on [HAVE_ELFV2_ABI].
46422
46423 * shlib-versions: Remove OS-specific entries. Moved to files in
46424 sysdeps.
46425 * sysdeps/mach/hurd/shlib-versions: New file.
46426 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46427
46428 * nptl/shlib-versions: Remove architecture-specific entries.
46429 Moved to files in sysdeps.
46430 * shlib-versions: Likewise.
46431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46432 file.
46433 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46434 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46435 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46436 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46437
46438 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46439 (UDP_NO_CHECK6_RX): Likewise.
46440
46441 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46442
46443 * sysdeps/posix/sysconf.c (__sysconf): Spell
46444 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46445
46446 2014-08-12 Florian Weimer <fweimer@redhat.com>
46447
46448 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46449 loading.
46450 * iconv/Versions (__gconv_transliterate): Export for use from
46451 gconv modules.
46452 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46453 (struct __gconv_trans_data, __gconv_trans_fct,
46454 __gconv_trans_context_fct, __gconv_trans_query_fct,
46455 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46456 definitions.
46457 (struct __gconv_step_data): Remove __trans member.
46458 (__gconv_transliterate): Declaration moved from gconv_int.h. No
46459 longer hidden. Remove unused trans_data argument.
46460 * iconv/gconv_int.h (struct trans_struct): Remove definition.
46461 (__gconv_translit_find): Remove declaration.
46462 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
46463 prototype.
46464 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46465 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46466 trans_data argument. Add hidden definition.
46467 (__gconv_translit_find): Remove.
46468 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46469 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46470 * iconv/skeleton.c: Remove transliteration initialization.
46471 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46472 __gconv_step_data initialization.
46473 * libio/iofwide.c (__libio_translit_): Remove.
46474 (_IO_fwide): Adjust struct __gconv_step_data initialization.
46475 * wcsmbs/btowc.c (__btowc): Likewise.
46476 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46477 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46478 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46479 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46480 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46481 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46482 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46483 * wcsmbs/wctob.c (wctob): Likewise.
46484
46485 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46486
46487 [BZ #16194]
46488 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46489 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
46490 register usage.
46491 * sysdeps/x86/Makefile: Adjust.
46492
46493 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
46494 Roland McGrath <roland@hack.frob.com>
46495
46496 * locale/weight.h: Add include guard.
46497 (findidx): Make static rather than auto; take new parameters
46498 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46499 * locale/weightwc.h: Likewise.
46500 * posix/fnmatch_loop.c
46501 (FCT): Change type of EXTRA from int32_t to wint_t.
46502 Don't include either header inside the function.
46503 Call FINDIDX rather than findidx, and pass new arguments.
46504 #undef FINDIDX at the end of the file.
46505 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46506 FINDIDX before including fnmatch_loop.c for the non-wide version.
46507 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46508 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46509 for the wide version.
46510 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46511 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46512 Pass new arguments to findidx.
46513 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46514 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46515 Don't #include it inside the function. Pass new arguments to findidx.
46516 * posix/regex_internal.h
46517 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46518 (re_string_elem_size_at): Don't #include it inside the function.
46519 Pass new arguments to findidx.
46520 * string/strcoll_l.c: #include WEIGHT_H at top level.
46521 (get_next_seq): Don't #include it inside the function.
46522 Pass new arguments to findidx.
46523 (get_next_seq_nocache): Likewise.
46524 * string/strxfrm_l.c: #include WEIGHT_H at top level.
46525 (STRXFRM): Don't #include it inside the function.
46526 Pass new arguments to findidx.
46527
46528 2014-09-11 Florian Weimer <fweimer@redhat.com>
46529
46530 [BZ #17344]
46531 * malloc/malloc.c (unlink): Turn asserts into a call to
46532 malloc_printerr.
46533
46534 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
46535
46536 [BZ #17370]
46537 * libio/wfileops (do_ftell_wide): Free OUT.
46538
46539 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
46540
46541 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46542
46543 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46544
46545 [BZ #17363]
46546 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46547 group if the current group is empty.
46548
46549 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46550
46551 * benchtests/bench-memset.c (test_main): Add more test from size
46552 from 32 to 512 bytes.
46553 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46554 Add POWER8 memset object.
46555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46556 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46557 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46558 implementation.
46559 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46560 Likewise.
46561 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46562 multiarch POWER8 memset optimization.
46563 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46564 POWER8 memset optimization.
46565
46566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46567 Remove bzero multiarch objects.
46568 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46571 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46572 Remove define.
46573 [__bzero]: Redefine to specific name.
46574 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46575 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46576 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46577 define.
46578 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46579 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46580
46581 2014-09-10 Florian Weimer <fweimer@redhat.com>
46582
46583 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46584 warnings into errors.
46585
46586 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46587 __cxa_thread_atexit_impl prototype.
46588
46589 2014-09-09 Steve Ellcey <sellcey@mips.com>
46590
46591 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46592 Fix capitalization of error message.
46593
46594 2014-09-09 Steve Ellcey <sellcey@mips.com>
46595
46596 * sysdeps/mips/preconfigure: Modify ABI tests.
46597
46598 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
46599
46600 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46601
46602 2014-09-07 Roland McGrath <roland@hack.frob.com>
46603 Carlos O'Donell <carlos@systemhalted.org>
46604
46605 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46606 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46607 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46608 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46609 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46610 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46611 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46612 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46613 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46614 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46615 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46616 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46617 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46618 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46619 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46620 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46621 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46622 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46623 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46624 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46625 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46626 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46627 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46628 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46629 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46630 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46631 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46632 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46633 Deconditionalize the code that was previously under [RESET_PID].
46634 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46635 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46636 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46637 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46638 include sysdep.h.
46639
46640 2014-09-08 Allan McRae <allan@archlinux.org>
46641
46642 * version.h (RELEASE): Set to "development".
46643 (VERSION): Set to "2.20.90"
46644
46645 2014-09-07 Allan McRae <allan@archlinux.org
46646
46647 * version.h (RELEASE): Set to "stable".
46648 (VERSION): Set to "2.20"
46649 * include/features.h (__GLIBC_MINOR__): Set to 20.
46650
46651 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46652 Liebler.
46653
46654 * po/ko.po: Update Korean translation from translation project.
46655
46656 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
46657
46658 [BZ #17354]
46659 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46660 macro for handling signed relocations.
46661
46662 2014-09-03 Florian Weimer <fweimer@redhat.com>
46663
46664 [BZ #17325]
46665 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46666 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46667 assert.
46668 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46669 * iconvdata/ibm935.c (BODY): Likewise.
46670 * iconvdata/ibm937.c (BODY): Likewise.
46671 * iconvdata/ibm939.c (BODY): Likewise.
46672 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46673 assert.
46674 * iconvdata/Makefile (iconv-test.out): Pass module list to test
46675 script.
46676 * iconvdata/run-iconv-test.sh: New test loop for checking for
46677 decoder crashers.
46678
46679 2014-09-02 Khem Raj <raj.khem@gmail.com>
46680
46681 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46682 libm_hidden_ver.
46683
46684 2014-09-01 Allan McRae <allan@archlinux.org>
46685
46686 * po/eo.po: Update Esperanto translation from translation project.
46687
46688 * po/ca.po: Update Catalan translation from translation project.
46689
46690 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
46691
46692 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46693 __proc_dostop call.
46694
46695 2014-08-27 Mark Wielaard <mjw@redhat.com>
46696
46697 [BZ #17319]
46698 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46699 to call set_thread_area instead of hand written asm.
46700 (__NR_set_thread_area): Removed define.
46701 (TLS_FLAG_WRITABLE): Likewise.
46702 (__ASSUME_SET_THREAD_AREA): Remove check.
46703 (TLS_EBX_ARG): Remove define.
46704 (TLS_LOAD_EBX): Likewise.
46705
46706 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
46707
46708 Simplify atomicity of socket creation in bind.
46709
46710 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46711 looking up the name after linking the file.
46712
46713 2014-08-27 Allan McRae <allan@archlinux.org>
46714
46715 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46716
46717 2014-08-26 Florian Weimer <fweimer@redhat.com>
46718
46719 [BZ #17187]
46720 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46721 trans_compare, open_translit, __gconv_translit_find):
46722 Remove module loading code.
46723
46724 2014-08-26 Allan McRae <allan@archlinux.org>
46725
46726 * po/vi.po: Update Vietnamese translation from translation project.
46727
46728 * po/uk.po: Update Ukrainian translation from translation project.
46729
46730 * po/fr.po: Update French translation from translation project.
46731
46732 * po/ru.po: Update Russian translation from translation project.
46733
46734 * po/pl.po: Update Polish translation from translation project.
46735
46736 * po/cs.po: Update Czech translation from translation project.
46737
46738 * po/de.po: Update German translation from translation project.
46739
46740 * po/bg.po: Update Bulgarian translation from translation project.
46741
46742 * po/sv.po: Update Sweedish translation from translation project.
46743
46744 * po/nl.po: Update Dutch translation from translation project.
46745
46746 * po/es.po: Update Spanish translation from translation project.
46747
46748 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46749
46750 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46751
46752 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46753 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46754 (CPPFLAGS-iconvconfig): Likewise.
46755 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46756
46757 * include/libc-symbols.h: Remove unnecessary check for
46758 NOT_IN_libc.
46759 * nptl/pthreadP.h: Likewise.
46760 * sysdeps/aarch64/setjmp.S: Likewise.
46761 * sysdeps/alpha/setjmp.S: Likewise.
46762 * sysdeps/arm/sysdep.h: Likewise.
46763 * sysdeps/i386/setjmp.S: Likewise.
46764 * sysdeps/m68k/setjmp.c: Likewise.
46765 * sysdeps/posix/getcwd.c: Likewise.
46766 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46767 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46768 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46769 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46770 * sysdeps/sh/sh3/setjmp.S: Likewise.
46771 * sysdeps/sh/sh4/setjmp.S: Likewise.
46772 * sysdeps/unix/alpha/sysdep.h: Likewise.
46773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46774 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46775 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46776 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46780 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46781 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46784 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46786 * sysdeps/x86_64/setjmp.S: Likewise.
46787
46788 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46789
46790 [BZ #17263]
46791 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46792 <stdint.h>.
46793 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46794 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46795
46796 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46797
46798 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46799
46800 [BZ #17262]
46801 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46802 and __x86_64__ when disabling x87 inline functions.
46803
46804 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46805
46806 [BZ #17259]
46807 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46808 asm statement with __cpuid_count.
46809
46810 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46811
46812 * configure.ac: Change __ehdr_start code to dereference the struct.
46813 Run readelf on the output to look for relocations.
46814 * configure: Regenerated.
46815
46816 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46817
46818 [BZ #17261]
46819 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46820 value to 0.
46821 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46822
46823 2014-08-12 Roland McGrath <roland@hack.frob.com>
46824
46825 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46826
46827 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46828
46829 [BZ #16892]
46830 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46831 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46832
46833 2014-08-12 Sean Anderson <seanga2@gmail.com>
46834
46835 * malloc/malloc.c: Fix typo in comment.
46836
46837 2014-08-09 Allan McRae <allan@archlinux.org>
46838
46839 * Regenerate libc.po.
46840
46841 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46842
46843 * intl/tst-gettext2.sh: Check every lang file for creation.
46844
46845 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46846
46847 * sysdeps/aarch64/fpu/math_private.h
46848 (libc_feholdsetround_noex_aarch64_ctx): New function.
46849
46850 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46851
46852 * sysdeps/arm/armv6/strcpy.S (strcpy):
46853 Fix performance issue in misaligned cases.
46854
46855 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46856
46857 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46858 Move definition from termios.h.
46859 (struct termio): Likewise.
46860 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46861 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46862 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46863 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46864 Likewise.
46865 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46866 Move definition to ioctl-types.h
46867 (struct termio): Likewise.
46868 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46869 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46870 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46871 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46872 Likewise.
46873
46874 2014-08-05 Richard Henderson <rth@redhat.com>
46875
46876 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46877 exceptions.
46878 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46879 Add fraiseexcpt.
46880 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46881 Use __feraiseexcept.
46882 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46883 Protect libm symbols with IS_IN_libm.
46884
46885 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46886
46887 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46888
46889 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46890
46891 2014-08-04 Will Newton <will.newton@linaro.org>
46892
46893 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46894 file.
46895
46896 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46897
46898 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46899 variants for each function.
46900
46901 2014-08-04 Roland McGrath <roland@hack.frob.com>
46902
46903 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46904 appended ...
46905 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46906 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46907 appended ...
46908 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46909 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46910 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46911 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46912 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46913 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46914 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46915 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46916 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46917 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46918 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46919 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46920 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46921 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46922 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46923 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46924 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46925 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46926 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46927 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46928 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46929 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46930 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46931 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46932 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46933 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46934 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46935 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46936 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46937 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46938 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46939 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46940 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46941 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46942 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46943 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46944 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46945 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46946 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46947 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46948 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46950 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46951 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46952 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46953 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46954 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46955 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46956 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46957 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46958 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46959 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46960 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46961 Update #include.
46962 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46963 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46964
46965 2014-08-04 Roland McGrath <roland@hack.frob.com>
46966
46967 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46968 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46969 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46970 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46971 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46972 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46973
46974 2014-08-04 Roland McGrath <roland@hack.frob.com>
46975
46976 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46977 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46978 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46979 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46980
46981 2014-08-04 Roland McGrath <roland@hack.frob.com>
46982
46983 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46984 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46985 (__libc_vfork): Define function under this name.
46986 (__vfork): Define as an alias.
46987 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46988 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46989
46990 2014-08-04 Roland McGrath <roland@hack.frob.com>
46991
46992 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46993 that was previously under [RESET_PID].
46994 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46995
46996 2014-08-04 Andreas Schwab <schwab@suse.de>
46997
46998 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46999
47000 2014-08-03 Mike Frysinger <vapier@gentoo.org>
47001
47002 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47003 (main): Likewise.
47004
47005 2014-08-01 Roland McGrath <roland@hack.frob.com>
47006
47007 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47008
47009 2014-08-01 Richard Henderon <rth@redhat.com>
47010
47011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47012 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47013 typo in exact zero test.
47014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47015 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47017
47018 2014-08-01 Roland McGrath <roland@hack.frob.com>
47019
47020 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47021 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47022 * sysdeps/arm/sysdep.h: ... here.
47023 [!__ASSEMBLER__]: Include <stdint.h>.
47024
47025 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47026
47027 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47028 (HAVE_WCTYPE_H): Likewise.
47029 (HAVE_ISWCTYPE): Likewise.
47030 (ENABLE_NLS): Likewise.
47031 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47032 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47033
47034 * posix/regex_internal.c: Check if DEBUG is defined and is
47035 set.
47036
47037 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47038 (HAVE_MBSRTOWCS): Likewise.
47039 * posix/fnmatch.c: Include string.h unconditionally.
47040
47041 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47042
47043 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47044 reversal.
47045
47046 2014-07-31 Roland McGrath <roland@hack.frob.com>
47047
47048 * sysdeps/generic/safe-fatal.h: New file.
47049 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47050 * nptl/forward.c: Include it.
47051 (__pthread_unwind): Use __safe_fatal as default action, rather
47052 than a bogus use of INTERNAL_SYSCALL that could never work.
47053
47054 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47055 * configure.ac (libc_cv_builtin_trap): New test.
47056 * configure: Regenerated.
47057 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47058 (ABORT_INSTRUCTION): Define using __builtin_trap.
47059
47060 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47061 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47062 * sysdeps/nptl/nptl-signals.h: New file.
47063 * nptl/pthreadP.h: Include <nptl-signals.h>.
47064
47065 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47066
47067 * sysdeps/s390/s390-64/utf16-utf32-z9.c
47068 (ONE_DIRECTION): Define.
47069 * sysdeps/s390/s390-64/utf8-utf16-z9.c
47070 (ONE_DIRECTION): Define.
47071 * sysdeps/s390/s390-64/utf8-utf32-z9.c
47072 (ONE_DIRECTION): Define.
47073
47074 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
47075
47076 * sysdeps/s390/Makefile: Delete file.
47077 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47078 * sysdeps/s390/__longjmp.c: Delete file.
47079 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47080 Remove fields __flags and __reserved.
47081 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47082 and add versioning.
47083 * sysdeps/s390/rtld-__longjmp.c: Delete file.
47084 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47085 * sysdeps/s390/rtld-setjmp.S: Likewise.
47086 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47087 * sysdeps/s390/s390-32/__longjmp.c: ... here.
47088 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47089 * sysdeps/s390/s390-32/setjmp.S: ... here.
47090 Add versioning.
47091 (__sigsetjmp): Remove setting __flags field.
47092 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47093 * sysdeps/s390/s390-64/__longjmp.c: ... here.
47094 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47095 * sysdeps/s390/s390-64/setjmp.S: ... here.
47096 Add versioning.
47097 (__sigsetjmp): Remove setting __flags field.
47098 * sysdeps/s390/setjmp.S: Delete file.
47099 * sysdeps/s390/sigjmp.c: Likewise.
47100 * sysdeps/s390/v1-longjmp.c: Likewise.
47101 * sysdeps/s390/v1-setjmp.h: Likewise.
47102 * sysdeps/s390/v1-sigjmp.c: Likewise.
47103 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47104 Remove v1-longjmp_chk.
47105 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47106 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47107 Include debug/longjmp_chk.c and add versioning.
47108 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47109 Include nptl/pt-longjmp.c and add versioning.
47110 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47111 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47112 Include __longjmp.c.
47113 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47114 Move to ...
47115 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47116 (__getcontext): Remove setting __flags field.
47117 Add versioning.
47118 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47119 Don't restore upper high grps.
47120 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47121 Likewise.
47122 (__swapcontext): Remove setting uc_flags field.
47123 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47124 Delete file.
47125 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47126 Include __longjmp.c.
47127 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47128 Move to ...
47129 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47130 (__getcontext): Remove setting __flags field.
47131 Add versioning.
47132 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47133 (__swapcontext): Remove setting uc_flags field.
47134 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47135 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47136 Remove fields uc_high_gprs and __reserved.
47137 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47138 New file with reverted content.
47139 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47141 Regenerated.
47142 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47143 Regenerated.
47144
47145 2014-07-31 Andreas Schwab <schwab@suse.de>
47146
47147 * config.h.in (HAVE_IFUNC): Define to 0.
47148 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47149 definedness.
47150
47151 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
47152
47153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47154 memmove-avx-unaligned, memcpy-avx-unaligned and
47155 mempcpy-avx-unaligned.
47156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47157 Add tests for AVX memcpy functions.
47158 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47159 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47160 memcpy_chk.
47161 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47162 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47163 memmove_chk.
47164 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47165 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47166 mempcpy_chk.
47167 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47168 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47169 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47170
47171 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47172
47173 [BZ #17213]
47174 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47175 powerpc64le.
47176
47177 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
47178
47179 [BZ #16839]
47180 * manual/llio.texi: Add section about open file description locks.
47181 * manual/examples/ofdlocks.c: Example of open file description
47182 lock usage.
47183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47184 F_OFD_SETLK, and F_OFD_SETLKW.
47185
47186 2014-07-23 Allan McRae <allan@archlinux.org>
47187
47188 * po/es.po: Update Spanish translation from translation project.
47189
47190 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
47191
47192 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47193
47194 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
47195
47196 [BZ #17078]
47197 * sysdeps/arm/dl-machine.h (elf_machine_rela)
47198 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47199 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47200
47201 2014-07-17 Joseph Myers <joseph@codesourcery.com>
47202
47203 [BZ #17088]
47204 * math/fesetenv.c (__fesetenv)
47205 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47206 * math/feupdateenv.c (__feupdateenv)
47207 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47208
47209 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47210 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47211 (__ASSUME_SOCKETCALL): Do not define.
47212
47213 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47214 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47215 (__ASSUME_SOCKETCALL): Do not define.
47216 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47217 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47218 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47219 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47220 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47221 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47222 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47223 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47224
47225 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47226 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47227 (__ASSUME_SOCKETCALL): Do not define.
47228 (__ASSUME_IPC64): Define unconditionally.
47229 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47230 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47231 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47232 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47233 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47234 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47235 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47236 Likewise.
47237
47238 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47239 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47240 (__ASSUME_SOCKETCALL): Do not define.
47241 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47242 (__ASSUME_FUTEX_LOCK_PI): Likewise.
47243 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47244 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47245 (__ASSUME_REQUEUE_PI): Define unconditionally.
47246 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47247 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47248 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47249 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47250 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47251 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47252
47253 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47254 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47255 (__ASSUME_SOCKETCALL): Do not define.
47256 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47257 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47258 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47259 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47260 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47261 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47262
47263 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47264 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47265 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47266 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47267 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47268 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47269 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47270 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47271 (__ASSUME_GETCPU_SYSCALL): Likewise.
47272
47273 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47274 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
47275 cases for individual architectures.
47276 * sysdeps/gnu/configure: Regenerated.
47277 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47278 LIBC_SLIBDIR_RTLDDIR.
47279 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47280 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47281 LIBC_SLIBDIR_RTLDDIR.
47282 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47284 LIBC_SLIBDIR_RTLDDIR.
47285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47286 Regenerated.
47287 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47288 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47289 file.
47290 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47291 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47292 file.
47293 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47294 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47295 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47296 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47297
47298 * sysdeps/aarch64/shlib-versions: Move to ...
47299 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47300 * sysdeps/alpha/shlib-versions: Move to ...
47301 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47302 * sysdeps/arm/shlib-versions: Move to ...
47303 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47304 * sysdeps/hppa/shlib-versions: Move all contents except for
47305 libgcc_s entry to ...
47306 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
47307 entry from ...
47308 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
47309 * sysdeps/ia64/shlib-versions: Move to ...
47310 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
47311 entry from ...
47312 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
47313 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47314 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47315 * sysdeps/microblaze/shlib-versions: Move to ...
47316 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47317 * sysdeps/mips/shlib-versions: Move to ...
47318 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
47319 entry from ...
47320 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
47321 * sysdeps/tile/shlib-versions: Move to ...
47322 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47323 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47324 from ...
47325 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
47326 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47327 entry from ...
47328 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
47329
47330 2014-07-17 Will Newton <will.newton@linaro.org>
47331
47332 * sysdeps/arm/bits/atomic.h
47333 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47334 (__arch_compare_and_exchange_bool_16_int): Likewise.
47335 (__arch_compare_and_exchange_bool_64_int): Likewise.
47336
47337 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47338 into an #else block.
47339
47340 2014-07-16 Roland McGrath <roland@hack.frob.com>
47341
47342 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47343 just Linux configurations. Test empirically that the compiler sets
47344 __ARM_EABI__, rather than using the tuple to decide.
47345 * sysdeps/arm/preconfigure: Regenerated.
47346 * sysdeps/unix/sysv/linux/arm/configure: File removed.
47347 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47348 contents appended ...
47349 * sysdeps/arm/configure.ac: ... here.
47350 * sysdeps/arm/configure: Regenerated.
47351
47352 2014-07-15 Roland McGrath <roland@hack.frob.com>
47353
47354 * nptl/pthread_kill.c: New file.
47355 * nptl/pthread_sigmask.c: New file.
47356 * nptl/pthread_sigqueue.c: New file.
47357
47358 * sysdeps/nptl/lowlevellock.h: New file.
47359 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47360 * sysdeps/nptl/lowlevellock-futex.h: New file.
47361
47362 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47363 Remove dead declarations.
47364
47365 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
47366
47367 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47368 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47369 config-cflags-avx2.
47370 * sysdeps/x86_64/configure.ac: Likewise.
47371 * sysdeps/i386/configure: Regenerated.
47372 * sysdeps/x86_64/configure: Likewise.
47373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47374 memset-avx2 only if config-cflags-avx2 is yes.
47375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47376 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47377 defined.
47378 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47379 only if HAVE_AVX2_SUPPORT is defined.
47380 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47381
47382 2014-07-14 Alan Modra <amodra@gmail.com>
47383
47384 [BZ #17153]
47385 * elf/elf.h (DT_PPC64_NUM): Correct value.
47386 * NEWS: Add to fixed bug list.
47387
47388 2014-07-13 Jim Meyering <meyering@fb.com>
47389
47390 [BZ 17150]
47391 regex: don't deref NULL upon heap allocation failure
47392 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47393 failure in one more place.
47394 To trigger the segfault, configure grep -with-included-regex,
47395 build it, and run these commands:
47396 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47397
47398 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
47399
47400 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47401
47402 2014-07-11 Richard Henderson <rth@redhat.com>
47403
47404 * sysdeps/aarch64/libm-test-ulps: Update.
47405
47406 2014-07-10 Florian Weimer <fweimer@redhat.com>
47407
47408 [BZ #17135]
47409 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47410 * nptl/allocatestack.c (__nptl_setxid_error): New function.
47411 (__nptl_setxid): Initialize error member. Call
47412 __nptl_setxid_error.
47413 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47414 * nptl/descr.h (struct xid_command): Add error member.
47415 * nptl/tst-setuid3.c: New file.
47416 * nptl/Makefile (tests): Add it.
47417
47418 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47419
47420 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47421 New define.
47422 (__lll_trylock): Use __lll_base_trylock.
47423 (__lll_cond_trylock): Likewise.
47424
47425 2014-07-10 Roland McGrath <roland@hack.frob.com>
47426
47427 * nptl/pthread_create.c (start_thread): Use atomic_or and
47428 lll_futex_wake directly rather than lll_robust_dead.
47429 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47430 (lll_robust_dead): Macro removed.
47431 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47432 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47433 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47434 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47435 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47436 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47437 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47438 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47439 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47440 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47441 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47442 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47443 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47444 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47446
47447 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47448 Use atomic_compare_and_exchange_val_acq directly rather than
47449 lll_robust_trylock.
47450 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47451 (__lll_robust_trylock, lll_robust_trylock): Removed.
47452 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47453 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47454 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47455 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47456 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47457 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47458 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47459 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47460 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47461 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47462 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47463 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47464 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47465 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47466
47467 2014-07-02 Florian Weimer <fweimer@redhat.com>
47468
47469 * manual/locale.texi (Locale Names): New section documenting
47470 locale name syntax. Adjust menu and node chaining accordingly.
47471 (Choosing Locale): Reference Locale Names, Locale Categories.
47472 Mention setting LC_ALL=C. Reflect that name syntax is now
47473 documented.
47474 (Locale Categories): New section title. Reference Locale Names.
47475 LC_ALL is an environment variable, but not a category.
47476 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47477 description, now in Locale Name. Reference that section. Locale
47478 name syntax is now documented.
47479
47480 2014-07-02 Florian Weimer <fweimer@redhat.com>
47481
47482 [BZ #17137]
47483 * locale/findlocale.c (name_present, valid_locale_name): New
47484 functions.
47485 (_nl_find_locale): Use the loc_name variable to store name
47486 candidates. Call name_present and valid_locale_name to check and
47487 validate locale names. Return an error if the locale is invalid.
47488
47489 2014-07-02 Florian Weimer <fweimer@redhat.com>
47490
47491 * locale/setlocale.c (setlocale): Use strdup for allocating
47492 composite name copy.
47493
47494 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47495
47496 Sync up with gnulib.
47497 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47498 [!_LIBC && ENABLE_NLS]: Include gettext.h.
47499 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47500 and _GL_ARG_NONNULL.
47501 [USE_UNLOCKED_IO]: Include unlocked-io.h.
47502 [!_LIBC]: Include code for Windows and Cygwin.
47503 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47504 Include prototype for int strerror_r.
47505 [!_LIBC] (is_open): New function.
47506 (flush_stdout): New function.
47507 (print_errno_message): Use it.
47508 (error): Likewise.
47509 (error_at_line): Likewise.
47510 (error_tail) Add function attribute macros. Use
47511 __builtin_expect.
47512
47513 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47514
47515 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47516
47517 * io/ftw.c: Include sys/param.h unconditionally.
47518
47519 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47520
47521 [BZ #17125]
47522 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47523 libc_freeres_ptr.
47524 (freecache): New function to free CACHE on exit.
47525
47526 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47527 initialization.
47528
47529 2014-07-09 David S. Miller <davem@davemloft.net>
47530
47531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47532
47533 * sysdeps/sparc/nptl/internaltypes.h: Delete.
47534 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47535 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47536 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47537 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47538 * sysdeps/sparc/nptl/sem_init.c: Likewise.
47539 * sysdeps/sparc/nptl/sem_post.c: Likewise.
47540 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47541 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47542 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47543 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47544 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47545 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47546
47547 2014-07-09 Andreas Schwab <schwab@suse.de>
47548
47549 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47550 output.
47551 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47552 (do_test): Likewise.
47553
47554 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47555
47556 2014-07-09 Will Newton <will.newton@linaro.org>
47557
47558 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47559 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47560 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47561 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47562 * sysdeps/hppa/start.S (_start): Likewise.
47563
47564 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
47565
47566 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47567
47568 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47569 defined.
47570
47571 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47572
47573 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47574 after checking that it is non-NULL.
47575
47576 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47577
47578 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47579
47580 * sysdeps/powerpc/memmove.c: Remove file.
47581 * sysdeps/powerpc/powerpc32/power4/memcopy.h
47582 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47583 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47584 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47585 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47586 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47587 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47588 string memmove instead of removed powerpc one.
47589
47590 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47591 [weak_alias]: Fix compiler warning due trailing data.
47592 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47593 [weak_alias]: Likewise.
47594 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47595 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47596
47597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47598 (__libc_ifunc_impl_list): Add memmove functions.
47599
47600 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47601
47602 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47603 Remove code.
47604 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47605 Likewise.
47606 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47607 Likewise.
47608 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47609 Likewise.
47610 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47611 Likewise.
47612 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47613 Likewise.
47614 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47615 Likewise.
47616 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47617 Likewise.
47618 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47619 Likewise.
47620 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47621 Likewise.
47622 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47623 Likewise.
47624 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47625 Likewise.
47626 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47627 Likewise.
47628 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47629 Likewise.
47630 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47631 Likewise.
47632 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47633 Likewise.
47634 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47635 Likewise.
47636
47637 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47638
47639 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47640 to avoid alignment traps in non-cacheable memory.
47641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47642
47643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47644 multiarch objects.
47645 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47646 file: multiarch power7 memmove.
47647 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47648 multiarch default memmove.
47649 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47650 multiarch memove for powerpc32/power4.
47651
47652 * string/bcopy.c: Use full path to include memmove.c.
47653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47654 multiarch objects.
47655 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47656 bcopy for powerpc64.
47657 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47658 bcopy for powerpc64.
47659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47660 and memmove implementations.
47661 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47662 optimized multiarch memmove for POWER7/powerpc64.
47663 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47664 default multiarch memmove for powerpc64.
47665 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47666 multiarch for powerpc64.
47667 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47668 for POWER7/powerpc64.
47669 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47670 memmove for POWER7/powerpc64.
47671
47672 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47673 glibc default one.
47674
47675 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47676 __ELF_NATIVE_CLASS equal to 64.
47677
47678 2014-07-07 Roland McGrath <roland@hack.frob.com>
47679
47680 * sysdeps/nptl/lowlevellock.h: File removed.
47681
47682 * NEWS: NPTL is no longer an add-on!
47683 * nptl/internaltypes.h: Moved ...
47684 * sysdeps/nptl/internaltypes.h: ... here.
47685 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47686 * sysdeps/nptl/fork.c: Likewise.
47687 * sysdeps/nptl/gai_misc.h: Likewise.
47688 * sysdeps/nptl/librt-cancellation.c: Likewise.
47689 * sysdeps/nptl/jmp-unwind.c: Likewise.
47690 * sysdeps/nptl/setxid.h: Likewise.
47691 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47692 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47693 * sysdeps/unix/sysv/linux/arm/Implies: New file.
47694 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47695 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47696 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47697 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47698 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47699 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47700 * sysdeps/unix/sysv/linux/mips/Implies: New file.
47701 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47702 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47703 * sysdeps/unix/sysv/linux/sh/Implies: New file.
47704 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47705 * sysdeps/unix/sysv/linux/tile/Implies: New file.
47706 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47707 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47708 * nptl/Makeconfig: Moved ...
47709 * sysdeps/nptl/Makeconfig: ... here.
47710 * nptl/configure: File removed.
47711 * nptl/ANNOUNCE: File removed.
47712 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47713 * sysdeps/unix/sysv/linux/configure: Regenerated.
47714
47715 * nptl/Makefile (routines): Add libc_pthread_init,
47716 libc_multiple_threads, register-atfork and unregister-atfork.
47717 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47718 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47719 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47720 pthread-pi-defines.sym, structsem.sym.
47721 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47722 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47723 [$(subdir) = nptl] (tests): Add tst-setgetname.
47724 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47725 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47726 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47727 [!LIBC_SIGACTION]: Remove aliases.
47728 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47729 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47730 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47731 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47732 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47733 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47736 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47737 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47738 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47739 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47740 __libc_allocate_rtsig_private.
47741 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47742 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47743 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47744 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47745 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47746 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47747 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47748 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47749 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47750 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47751 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47752 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47753 * nptl/internaltypes.h: ... here.
47754 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47755 * sysdeps/nptl/jmp-unwind.c: ... here.
47756 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47757 * nptl/libc-lowlevellock.c: ... here.
47758 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47759 * nptl/libc_multiple_threads.c: ... here.
47760 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47761 * nptl/libc_pthread_init.c: ... here.
47762 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47763 * nptl/lowlevelbarrier.sym: ... here.
47764 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47765 * nptl/lowlevelcond.sym: ... here.
47766 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47767 * nptl/lowlevellock.c: ... here.
47768 * nptl/lowlevellock.h: Moved ...
47769 * sysdeps/nptl/lowlevellock.h: ... here.
47770 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47771 * nptl/lowlevelrobustlock.c: ... here.
47772 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47773 * nptl/lowlevelrobustlock.sym: ... here.
47774 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47775 * nptl/lowlevelrwlock.sym: ... here.
47776 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47777 * nptl/pt-fork.c: ... here.
47778 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47779 * nptl/pthread-pi-defines.sym: ... here.
47780 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47781 * nptl/pthread_attr_getaffinity.c: ... here.
47782 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47783 * nptl/pthread_attr_setaffinity.c: ... here.
47784 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47785 * nptl/pthread_mutex_cond_lock.c: ... here.
47786 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47787 Update #include.
47788 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47789 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47790 * nptl/pthread_once.c: ... here, replacing old file.
47791 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47792 * nptl/pthread_yield.c: ... here.
47793 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47794 * nptl/register-atfork.c: ... here.
47795 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47796 * nptl/sem_post.c: ... here.
47797 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47798 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47799 * nptl/sem_timedwait.c: ... here.
47800 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47801 * nptl/sem_trywait.c: ... here.
47802 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47803 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47804 * nptl/sem_wait.c: ... here.
47805 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47806 * nptl/structsem.sym: ... here.
47807 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47808 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47809 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47810 * nptl/unregister-atfork.c: ... here.
47811 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47812 * nptl/unwindbuf.sym: ... here.
47813 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47814 * sysdeps/nptl/fork.c: ... here.
47815 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47816 * sysdeps/nptl/fork.h: ... here.
47817 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47818 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47819 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47820 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47821 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47822 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47823 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47824 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47825 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47826 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47827 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47828 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47829 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47830 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47831 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47832 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47833 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47834 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47835 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47836 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47837 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47838 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47839 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47840 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47841 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47842 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47843 * sysdeps/unix/sysv/linux/raise.c: ... here.
47844 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47845 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47846 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47847 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47848 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47849 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47850 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47851 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47852 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47853 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47854 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47855 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47856 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47857 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47858 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47859
47860 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47861
47862 * sysdeps/generic/memcopy.h: Add comment for
47863 MEMCPY_OK_FOR_FWD_MEMMOVE.
47864
47865 2014-07-04 Will Newton <will.newton@linaro.org>
47866
47867 * string/memchr.c: Merge from gnulib.
47868 [_LIBC]: Remove conditionals.
47869 (__ptr_t): Remove define.
47870 (LONG_MAX_32_BITS): Likewise.
47871 (LONG_MAX): Likewise.
47872 (MEMCHR): Use ANSI prototype and optimize algorithm.
47873
47874 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47875
47876 2014-07-03 Roland McGrath <roland@hack.frob.com>
47877
47878 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47879 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47880
47881 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47882 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47883 in a bare environment with no <stdlib.h> installed.
47884 * sysdeps/nptl/configure: Regenerated.
47885
47886 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47887
47888 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47889 AC_EGREP_CPP for kernel header checks, so they only succeed if
47890 including <linux/version.h> actually works right.
47891 * sysdeps/unix/sysv/linux/configure: Regenerated.
47892
47893 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47894 value so it's not diagnosed as unused.
47895
47896 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47897 thing) with "ifeq ($(subdir),rt)".
47898
47899 2014-07-03 Richard Henderson <rth@redhat.com>
47900
47901 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47902 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47903 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47904
47905 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47906 (math_force_eval): New.
47907
47908 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47909 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47910
47911 * sysdeps/alpha/fpu/s_round.c: Remove file.
47912 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47913
47914 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47915 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47916 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47917 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47918 (_dl_start, print_statistics): Likewise.
47919 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47920 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47921
47922 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47923 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47924 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47925 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47926 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47927 (HP_SMALL_TIMING_AVAIL): Define.
47928 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47929 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47930 (HP_SMALL_TIMING_AVAIL): Define.
47931 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47932 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47933
47934 * sysdeps/aarch64/hp-timing.h: New file.
47935
47936 * sysdeps/generic/hp-timing.h: Remove dead comment.
47937 * sysdeps/generic/hp-timing-common.h: New file.
47938 * sysdeps/alpha/hp-timing.h: Include it.
47939 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47940 * sysdeps/i386/i686/hp-timing.h: Likewise.
47941 * sysdeps/ia64/hp-timing.h: Likewise.
47942 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47943 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47944 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47945 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47946 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47947 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47948 (hp_timing_t): New.
47949
47950 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47951 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47952 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47953 * elf/rtld.c (_dl_start_final): Likewise.
47954 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47955 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47956 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47957 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47958 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47959 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47960 (HP_TIMING_DIFF_INIT): Remove.
47961 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47962 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47963 (HP_TIMING_DIFF_INIT): Remove.
47964 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47965 * sysdeps/i386/i686/hp-timing.c: Remove file.
47966 * sysdeps/x86_64/hp-timing.c: Remove file.
47967 * sysdeps/ia64/hp-timing.c: Remove file.
47968 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47969 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47970 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47971 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47972
47973 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47974 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47975 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47976 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47977 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47978 (HP_TIMING_ACCUM): Remove.
47979 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47980 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47981 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47982
47983 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47984 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47985 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47986 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47988 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47990 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47991
47992 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47993
47994 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47995
47996 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47997
47998 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47999
48000 Sync up with gettext.
48001 * intl/loadmsgcat.c: Define O_BINARY if not defined.
48002 [_MSC_VER]: Include malloc.h
48003 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48004 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48005 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
48006 TEMP_FAILURE_RETRY. Cast return of alloca.
48007 [!_LIBC] Call gl_rwlock_init.
48008 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48009
48010 2014-07-02 Roland McGrath <roland@hack.frob.com>
48011
48012 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48013 before checking its value.
48014
48015 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48016
48017 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48018
48019 * debug/memcpy_chk.c: Don't include pagecopy.h.
48020 * debug/mempcpy_chk.c: Likewise.
48021 * string/memcpy.c: Likewise.
48022 * string/memmove.c: Likewise.
48023 * sysdeps/powerpc/memmove.c: Likewise.
48024 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
48025 definition of PAGE_COPY_FWD_MAYBE here...
48026 * sysdeps/generic/pagecopy.h: ... from here.
48027 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48028
48029 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
48030 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48031
48032 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48034 optimizations.
48035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48036 (__libc_ifunc_impl_list): Likewise.
48037 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48038 multiarch strcat for PPC64.
48039 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48040 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48041
48042 2014-07-02 Roland McGrath <roland@hack.frob.com>
48043
48044 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48045
48046 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48047
48048 * intl/loadmsgcat.c: Remove declaration of
48049 get_sysdep_segment_value.
48050 (get_sysdep_segment_value): Use ISO C style.
48051 (_nl_load_domain): Use ISO C style. Get rid of redundant
48052 semicolon. Fix typo and formatting in comment.
48053 (_nl_unload_domain): Use ISO C style.
48054
48055 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48056
48057 2014-07-02 Will Newton <will.newton@linaro.org>
48058
48059 * malloc/obstack.c: Merge from gnulib master.
48060 [HAVE_CONFIG_H]: Remove conditional code.
48061 [!_LIBC]: Include config.h.
48062 [!ELIDE_CODE]: Don't include inttypes.h, include
48063 stdint.h unconditionally.
48064 (print_and_abort): Mark as _Noreturn.
48065 (_obstack_allocated_p): Mark as __attribute_pure__.
48066 (obstack_free): Rename to __obstack_free.
48067 [!__attribute__]: Remove conditional code.
48068 * malloc/obstack.h: Merge from gnulib master.
48069 [__cplusplus]: Move conditional down.
48070 [!__attribute_pure__]: Define __attribute_pure__ here
48071 if it is not already defined.
48072 (_obstack_memory_used): Mark as __attribute_pure__.
48073 [!__obstack_free]: Define as obstack_free.
48074 [__GNUC__]: Remove check for ancient NeXT gcc.
48075
48076 2014-07-02 Will Newton <will.newton@linaro.org>
48077 Paul Eggert <eggert@cs.ucla.edu>
48078
48079 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48080
48081 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48082
48083 * resolv/gethnamaddr.c: Add comment warning that the file is
48084 not maintained.
48085
48086 2014-07-01 Carlos O'Donell <carlos@redhat.com>
48087
48088 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48089 entries.
48090
48091 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48092 entry for aio_cancel and aio_cancel64.
48093 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48094 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48095 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48096 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48097 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48098 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48099 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48100 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48101 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48102 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48103 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48104 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48105 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48106
48107 2014-07-01 Roland McGrath <roland@hack.frob.com>
48108
48109 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48110 * nptl/pthread_mutex_lock.c: Likewise.
48111 * nptl/pthread_mutex_timedlock.c: Likewise.
48112 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48113
48114 2014-07-01 Richard henderson <rth@redhat.com>
48115
48116 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48117 (__isnan, __isnanl): Remove.
48118 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48119
48120 * sysdeps/alpha/fpu/libm-test-ulps: Update.
48121
48122 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
48123
48124 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48125
48126 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
48127
48128 * resolv/nss_dns/dns-host.c (getanswer_r)
48129 [MULTI_PTRS_ARE_ALIASES]: Remove code.
48130
48131 2014-07-01 Joseph Myers <joseph@codesourcery.com>
48132
48133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48134 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48135 undefine.
48136 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48137 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48138
48139 2014-07-01 Roland McGrath <roland@hack.frob.com>
48140
48141 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48142 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48143
48144 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48145 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48146
48147 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48148 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48149 ... here.
48150 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48151 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48152
48153 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48154 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48155 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48156 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48157
48158 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48159 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48160 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48161 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48162 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48163 Moved ...
48164 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48165 ... here.
48166 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48167 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48168 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48169 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48170 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48171 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48172 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48173 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48174 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48175 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48176 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48177 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48178 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48179 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48180 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48181 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48182 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48183 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48184 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48185 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48186 ... here.
48187 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48188 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48189 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48190 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48191 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48192 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48193 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48194 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48195
48196 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
48197
48198 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48199 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48200 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48201 Add sysdep.
48202
48203 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48204
48205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48206
48207 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48208
48209 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48210 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48211
48212 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48213
48214 * sysdeps/arm/libm-test-ulps: Regenerated.
48215
48216 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48217 Roland McGrath <roland@hack.frob.com>
48218
48219 * test-skeleton.c (signal_handler): Kill the whole process group
48220 before killing the child individually.
48221 (main): Report any failure on `setpgid'.
48222
48223 2014-06-30 Roland McGrath <roland@hack.frob.com>
48224
48225 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48226 from _TLS_H to _ARM_NPTL_TLS_H.
48227 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48228 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48229
48230 2014-06-30 Joseph Myers <joseph@codesourcery.com>
48231
48232 [BZ #16539]
48233 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48234 (__expm1l): Return argument unchanged when small but not
48235 subnormal.
48236
48237 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48238 include macro name.
48239 (_FP_UNPACK_RAW_1_P): Likewise.
48240 (_FP_PACK_RAW_1): Likewise.
48241 (_FP_PACK_RAW_1_P): Likewise.
48242 (_FP_MUL_MEAT_1_wide): Likewise.
48243 (_FP_MUL_MEAT_DW_1_hard): Likewise.
48244 (_FP_MUL_MEAT_1_hard): Likewise.
48245 (_FP_DIV_MEAT_1_imm): Likewise.
48246 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48247 (_FP_DIV_MEAT_1_udiv): Likewise.
48248 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48249 (_FP_UNPACK_RAW_2): Likewise.
48250 (_FP_UNPACK_RAW_2_P): Likewise.
48251 (_FP_PACK_RAW_2): Likewise.
48252 (_FP_PACK_RAW_2_P): Likewise.
48253 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48254 (_FP_MUL_MEAT_2_wide): Likewise.
48255 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48256 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48257 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48258 (_FP_MUL_MEAT_2_gmp): Likewise.
48259 (_FP_DIV_MEAT_2_udiv): Likewise.
48260 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48261 (_FP_FRAC_SRL_4): Likewise.
48262 (_FP_FRAC_SRST_4): Likewise.
48263 (_FP_FRAC_SRS_4): Likewise.
48264 (_FP_UNPACK_RAW_4): Likewise.
48265 (_FP_UNPACK_RAW_4_P): Likewise.
48266 (_FP_PACK_RAW_4): Likewise.
48267 (_FP_PACK_RAW_4_P): Likewise.
48268 (_FP_MUL_MEAT_DW_4_wide): Likewise.
48269 (_FP_MUL_MEAT_4_wide): Likewise.
48270 (_FP_MUL_MEAT_4_gmp): Likewise.
48271 (umul_ppppmnnn): Likewise.
48272 (_FP_DIV_MEAT_4_udiv): Likewise.
48273 (__FP_FRAC_ADD_4): Likewise.
48274 (__FP_FRAC_SUB_3): Likewise.
48275 (__FP_FRAC_SUB_4): Likewise.
48276 (__FP_FRAC_DEC_3): Likewise.
48277 (__FP_FRAC_DEC_4): Likewise.
48278 (__FP_FRAC_ADDI_4): Likewise.
48279 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48280 (_FP_FRAC_SRL_8): Likewise.
48281 (_FP_FRAC_SRS_8): Likewise.
48282
48283 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48284 include macro name.
48285 (FP_UNPACK_RAW_EP): Likewise.
48286 (FP_PACK_RAW_E): Likewise.
48287 (FP_PACK_RAW_EP): Likewise.
48288 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48289 (_FP_ISSIGNAN): Likewise.
48290 (_FP_ADD_INTERNAL): Likewise.
48291 (_FP_FMA): Likewise.
48292 (_FP_CMP): Likewise.
48293 (_FP_SQRT): Likewise.
48294 (_FP_TO_INT): Likewise.
48295 (_FP_FROM_INT): Likewise.
48296 (FP_EXTEND): Likewise.
48297 (_FP_DIV_MEAT_N_loop): Likewise.
48298
48299 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
48300
48301 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48302 throughout.
48303
48304 2014-06-29 Joseph Myers <joseph@codesourcery.com>
48305
48306 [BZ #17097]
48307 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48308 result with correct sign in case of exponents that produce
48309 overflow except for X very close to 1.
48310
48311 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
48312
48313 mktime: merge #if/#ifdef usage from glibc
48314 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48315 as that works with both Glibc's and Gnulib's style.
48316 See thread starting at Siddhesh Poyarekar's bug report at:
48317 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48318
48319 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48320
48321 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48322 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48323 * sysdeps/tile/tilegx/memmove.c: Remove file.
48324
48325 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48326
48327 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48328 abi-name definition.
48329 * scripts/soversions.awk: Do not handle or generate ABI lines.
48330 * shlib-versions: Remove ABI entries.
48331 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48332 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48333
48334 2014-06-27 Roland McGrath <roland@hack.frob.com>
48335
48336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48337 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48338 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48339 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48341 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48343 Moved ...
48344 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48345 ... here.
48346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48347 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48349 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48351 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48353 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48355 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48357 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48358 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48359 Moved ...
48360 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48362 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48364 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48366 Moved ...
48367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48369 Moved ...
48370 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48371 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48372 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48374 Moved ...
48375 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48377 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48379 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48381 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48383 Moved ...
48384 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48386 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48387 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48388 Moved ...
48389 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48390 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48391 Moved ...
48392 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48394 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48395 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48396 Moved ...
48397 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48398 ... here.
48399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48400 Identical file removed.
48401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48402 Moved ...
48403 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48405 Identical file removed.
48406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48407 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48409 Moved ...
48410 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48412 Identical file removed.
48413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48414 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48415 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48416 Identical file removed.
48417 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48418 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48419 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48420 Identical file removed.
48421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48422 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48423 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48424 Identical file removed.
48425 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48426 Moved ...
48427 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48428 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48429 Identical file removed.
48430 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48431 Moved ...
48432 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48433 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48434 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48436 Identical file removed.
48437 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48438 Moved ...
48439 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48440 ... here.
48441 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48442 Identical file removed.
48443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48444 Moved ...
48445 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48447 Identical file removed.
48448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48449 Moved ...
48450 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48452 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48453 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48454 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48455 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48456 Moved ...
48457 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48458 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48459 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48460
48461 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48462 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48463 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48464 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48465 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48466
48467 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
48468
48469 [BZ #17092]
48470 * nscd/nscd.c (monitor_child): Return exit status of child
48471 instead of return value from wait syscall.
48472
48473 2014-06-27 Joseph Myers <joseph@codesourcery.com>
48474
48475 * configure.ac (libc_commonpagesize): Remove variable.
48476 (libc_relro_required): Likewise.
48477 (libc_cv_z_relro): Remove configure test.
48478 * configure: Regenerated.
48479 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48480 variable.
48481 (libc_relro_required): Likewise.
48482 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48483 (libc_relro_required): Likewise.
48484 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48485 (libc_relro_required): Likewise.
48486 * sysdeps/arm/preconfigure: Regenerated.
48487 * sysdeps/ia64/preconfigure: Remove file.
48488 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48489 variable.
48490 (libc_relro_required): Likewise.
48491
48492 [BZ #16561]
48493 [BZ #16562]
48494 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48495 (__ieee754_yn): Set FE_TONEAREST mode internally and then
48496 recompute overflowing results in original rounding mode.
48497 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48498 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48499 recompute overflowing results in original rounding mode.
48500 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48501 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48502 recompute overflowing results in original rounding mode.
48503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48504 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48505 recompute overflowing results in original rounding mode.
48506 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48507 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48508 recompute overflowing results in original rounding mode.
48509 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48510 (libc_feholdsetround_ctx): New macro.
48511 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48512 * sysdeps/i386/fpu/libm-test-ulps: Update.
48513 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48514
48515 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48516
48517 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48518 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48519 corresponding .cpsetup call.
48520
48521 2014-06-26 Roland McGrath <roland@hack.frob.com>
48522
48523 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48524 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48525 * sysdeps/arm/Makefile [$(subdir) = csu]
48526 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48527 (static-only-routines): Add aeabi_read_tp here.
48528 (shared-only-routines): Add libc-aeabi_read_tp here.
48529 (CFLAGS-libc-start.c): Add -fexceptions here.
48530 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48531 (sysdep_routines, static-only-routines, shared-only-routines):
48532 Don't add to these here.
48533 (CFLAGS-libc-start.c): Likewise.
48534
48535 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48536 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48537 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48538 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48539 * sysdeps/arm/Makefile [$(subdir) = rt]
48540 (librt-sysdep_routines, librt-shared-only-routines):
48541 Append rt-aeabi_unwind_cpp_pr1 here.
48542 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48543 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48544 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48545 (libpthread-sysdep_routines, libpthread-shared-only-routines):
48546 Append nptl-aeabi_unwind_cpp_pr1 here.
48547 (tests): Filter out tst-cleanupx4 here.
48548 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48549 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48550 Don't do those here.
48551
48552 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48553
48554 * scripts/list-sources.sh: Do not handle ports specially.
48555
48556 2014-06-26 Roland McGrath <roland@hack.frob.com>
48557
48558 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48559 * sysdeps/arm/feupdateenv.c: Likewise.
48560
48561 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48562
48563 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48564
48565 * manual/texinfo.tex: Update to version 2014-05-05.10 with
48566 trailing whitespace removed.
48567 * scripts/config.guess: Update to version 2014-03-23.
48568 * scripts/config.sub: Update to version 2014-05-01
48569 * scripts/install-sh: Update to version 2013-12-25.23.
48570 * scripts/move-if-change: Update from gnulib.
48571
48572 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48573
48574 * debug/memmove_chk.c: Remove pagecopy.h include.
48575
48576 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
48577
48578 * time/mktime.c (leapyear): Remove inline keyword. The code is now
48579 identical to gnulib mktime.
48580
48581 2014-06-26 Joseph Myers <joseph@codesourcery.com>
48582
48583 * configure.ac: Do not test for machine being rs6000. Do not test
48584 for powerpc*-*soft.
48585 * configure: Regenerated.
48586
48587 [BZ #11505]
48588 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48589 test.
48590 * configure: Regenerated.
48591 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48592 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48593 Remove configure test.
48594 * sysdeps/arm/configure: Regenerated.
48595 * sysdeps/nptl/configure.ac: Do not check
48596 libc_cv_asm_cfi_directives.
48597 * sysdeps/nptl/configure: Regenerated.
48598 * sysdeps/x86_64/nptl/configure.ac: Remove file.
48599 * sysdeps/x86_64/nptl/configure: Remove generated file.
48600 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48601 unconditional.
48602 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48603
48604 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48605
48606 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48607 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48608 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48609 it is defined.
48610
48611 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48612 instead of whether it is defined.
48613 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48614 * sysdeps/hppa/dl-machine.h: Likewise.
48615 * sysdeps/ia64/dl-machine.h: Likewise.
48616 * sysdeps/m68k/dl-machine.h: Likewise.
48617 * sysdeps/microblaze/dl-machine.h: Likewise.
48618 * sysdeps/mips/dl-machine.: Likewise.
48619 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48620 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48621 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48622 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48623 * sysdeps/sh/dl-machine.h: Likewise.
48624 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48625 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48626 * sysdeps/tile/dl-machine.h: Likewise.
48627 * sysdeps/x86_64/dl-machine.h: Likewise.
48628
48629 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48630 code.
48631 (verify_persistent_db): Likewise.
48632
48633 2014-06-26 Roland McGrath <roland@hack.frob.com>
48634
48635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48636 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48638 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48640 Moved ...
48641 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48642 ... here.
48643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48644 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48646 Identical file removed.
48647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48648 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48650 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48652 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48656 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48658 Moved ...
48659 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48661 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48663 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48665 Moved ...
48666 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48668 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48670 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48672 Identical file removed.
48673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48674 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48676 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48678 Moved ...
48679 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48680 ... here.
48681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48682 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48684 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48686 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48688 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48690 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48692 Moved ...
48693 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48695 Moved ...
48696 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48698 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48700 Moved ...
48701 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48703 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48704
48705 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48706 folded into ...
48707 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48708 * sysdeps/unix/sysv/linux/s390/Versions
48709 (libpthread: GLIBC_2.19): New version set.
48710 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48711 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48712 (librt: GLIBC_2.3.3): New version set.
48713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48714 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48715 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48716 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48717 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48718 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48719 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48720 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48721 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48722 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48723 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48724 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48725 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48726 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48727 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48728 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48729 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48730 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48731 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48732 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48733 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48734 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48735 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48736 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48737 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48739 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48743 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48744 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48749 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48751 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48753 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48758
48759 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48760 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48761 (__libc_vfork): Define the function under this name.
48762 [!NOT_IN_libc] (__vfork): Make this an alias.
48763 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48765 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48766 (__libc_vfork): Define the function under this name.
48767 [!NOT_IN_libc] (__vfork): Make this an alias.
48768 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48769 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48770 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48771 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48774
48775 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48776 code that was previously under [RESET_PID].
48777 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48778 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48780
48781 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48782 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48783 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48784 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48786 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48787 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48788 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48789 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48790 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48791 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48792 Moved ...
48793 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48794 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48795 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48796 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48797 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48798 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48799 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48800 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48801 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48802 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48803 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48804 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48805 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48806 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48807 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48808 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48809 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48810 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48811 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48812 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48813 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48814 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48815 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48816 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48817 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48818 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48819 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48820 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48821 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48822
48823 2014-06-25 Roland McGrath <roland@hack.frob.com>
48824
48825 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48826 that was previously under [RESET_PID].
48827 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48828
48829 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48830
48831 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48832 not undefine and redefine.
48833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48834 [O_CLOEXEC]: Make code unconditional.
48835 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48836 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48837 <kernel-features.h>.
48838 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48839 conditional variable definition.
48840 (shm_open) [O_CLOEXEC]: Make code unconditional.
48841 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48842 code.
48843
48844 * configure.ac (USE_REGPARMS): Don't define here.
48845 * configure: Regenerated.
48846 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48847 * sysdeps/i386/configure: Regenerated.
48848
48849 * nptl/createthread.c: Don't include kernel-features.h.
48850 * nptl/pthread_cancel.c: Likewise.
48851 * nptl/pthread_condattr_setclock.c: Likewise.
48852 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48853 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48854 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48855 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48856 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48857 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48858 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48861 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48862 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48863 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48864 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48865 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48866 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48867 * nscd/gai.c: Likewise.
48868 * nss/nss_db/db-open.c: Likewise.
48869 * sysdeps/generic/ldsodefs.h: Likewise.
48870 * sysdeps/sh/nptl/tls.h: Likewise.
48871 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48872 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48873 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48874 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48875 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48876 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48877 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48878 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48880 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48881 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48882 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48883 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48884 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48885 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48886 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48887 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48888 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48889 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48890 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48891 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48892 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48893 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48894 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48899 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48900 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48901 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48902 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48903 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48904 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48905 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48906 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48907 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48908 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48909 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48910 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48911 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48912 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48913 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48914 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48915 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48916 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48917 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48918 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48919 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48920 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48921 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48922 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48923 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48924 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48925 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48926 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48927 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48928 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48951 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48952 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48953 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48954 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48955 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48957 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48958 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48959 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48960 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48961 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48962 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48963 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48964 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48965 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48966 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48967 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48968 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48969 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48970 * sysdeps/unix/sysv/linux/system.c: Likewise.
48971 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48972 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48973 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48974 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48975 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48976 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48977 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48978
48979 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48980 * configure: Regenerated.
48981 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48982
48983 * configure.ac (base_machine): Do not set specially for particular
48984 machines here.
48985 * configure: Regenerated.
48986 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48987 settings from configure.ac.
48988 * sysdeps/i386/preconfigure: New file.
48989 * sysdeps/s390/preconfigure: Likewise.
48990 * sysdeps/sh/preconfigure: Likewise.
48991 * sysdeps/sparc/preconfigure: Likewise.
48992
48993 2014-06-25 Roland McGrath <roland@hack.frob.com>
48994
48995 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48996 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48997 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48998 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48999 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49000 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49001 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49002 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49003 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49004 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49005 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49006 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49007 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49008 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49010 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49011 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49012 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49013 * sysdeps/sparc/sparc64/Makefile: ... appended here.
49014
49015 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49016 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49017 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49018 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49019 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49020 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49021 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49022 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49023 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49024 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49025 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49026 * sysdeps/sparc/sparc32/sem_post.c: ... here.
49027 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49028 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49029 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49030 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49031 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49032 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49033 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49034 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49035 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49036 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49038 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49040 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49042 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49045 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49046 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49048 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49050 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49052 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49053
49054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49055 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49057 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49059 Moved ...
49060 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49061 ... here.
49062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49063 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49065 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49067 Moved ...
49068 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49070 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49074 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49076 Moved ...
49077 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49079 Moved ...
49080 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49082 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49084 Moved ...
49085 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49087 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49089 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49091 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49093 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49095 Moved ...
49096 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49097 ... here.
49098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49099 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49101 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49103 Moved ...
49104 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49106 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49108 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49110 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49112 Moved ...
49113 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49115 Moved ...
49116 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49118 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49120 Moved ...
49121 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49123 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49125 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49126
49127 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49128
49129 * timezone/checktab.awk: Update from tzcode 2014e.
49130 * timezone/private.h: Likewise.
49131 * timezone/tzfile.h: Likewise.
49132 * timezone/zdump.c: Likewise.
49133 * timezone/zic.c: Likewise.
49134
49135 * sysdeps/unix/sysv/linux/kernel-features.h
49136 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49137 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49138 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49139 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49140 Remove conditional code.
49141
49142 2014-06-25 Will Newton <will.newton@linaro.org>
49143
49144 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49145 (_dl_arm_cap_flags): Add HWCAP2 values.
49146 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49147 (_DL_HWCAP_COUNT): Increase to 37.
49148 (_DL_HWCAP_LAST): New define.
49149 (_DL_HWCAP2_LAST): New define.
49150 (_dl_procinfo): Add support for printing
49151 AT_HWCAP2 entries.
49152 (_dl_string_hwcap): Use _dl_hwcap_string.
49153
49154 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49155
49156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49157
49158 2014-06-25 Joseph Myers <joseph@codesourcery.com>
49159
49160 * README: Do not mention ports directory.
49161
49162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49163 Remove macro.
49164 * sysdeps/unix/sysv/linux/futimes.c: Do not include
49165 <kernel-features.h>.
49166 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49167 conditional variable definition.
49168 (__futimes): Update comment.
49169 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49170 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49171
49172 [BZ #16560]
49173 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49174 arguments close to 0.
49175 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49176 Likewise.
49177 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49178 Likewise.
49179 * math/auto-libm-test-in: Add more tests of exp10.
49180 * math/auto-libm-test-out: Regenerated.
49181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49182
49183 * sysdeps/unix/sysv/linux/kernel-features.h
49184 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49185 * sysdeps/unix/sysv/linux/readv.c: Do not include
49186 <kernel-features.h>.
49187 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49188 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49189 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49190 unconditional.
49191 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49192 conditional code.
49193 * sysdeps/unix/sysv/linux/writev.c: Do not include
49194 <kernel-features.h>.
49195 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49196 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49197 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49198 unconditional.
49199 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49200 conditional code.
49201
49202 2014-06-25 Will Newton <will.newton@linaro.org>
49203
49204 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49205 comment changes throughout the file. Remove checks
49206 for HAVE_*_H definitions that are not required.
49207 (__gen_tempname): Call abort if an unknown kind value is
49208 passed.
49209
49210 2014-06-25 Andreas Schwab <schwab@suse.de>
49211
49212 [BZ #17086]
49213 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49214 scalbln, scalblnf, scalblnl in libc.
49215
49216 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49217
49218 [BZ #17086]
49219 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49220 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49221 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49222
49223 2014-06-24 Roland McGrath <roland@hack.frob.com>
49224
49225 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49226 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49227 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49228 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49229 Update #include.
49230 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49231 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49232 Update #include.
49233 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49234 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49235 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49236 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49237 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49238 * sysdeps/x86/bits/pthreadtypes.h: ... here.
49239 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49240 * sysdeps/x86/bits/semaphore.h: ... here.
49241 * sysdeps/x86/nptl/elide.h: Moved ...
49242 * sysdeps/x86/elide.h: ... here.
49243 * sysdeps/x86_64/nptl/Implies: File removed.
49244 * sysdeps/i386/nptl/Implies: File removed.
49245
49246 2014-06-24 Joseph Myers <joseph@codesourcery.com>
49247
49248 [BZ #16539]
49249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49250 return the argument for normal arguments with exponent below -64.
49251 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49252 Likewise.
49253 * math/auto-libm-test-in: Add another test of expm1.
49254 * math/auto-libm-test-out: Regenerated.
49255
49256 [BZ #16287]
49257 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49258 calling __erfcl for arguments at least 16.
49259 * math/auto-libm-test-in: Add more tests of erf.
49260 * math/auto-libm-test-out: Regenerated.
49261
49262 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49263 individual architectures.
49264 * sysdeps/unix/sysv/linux/configure: Regenerated.
49265 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49266 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49267 * sysdeps/unix/sysv/linux/powerpc/configure.ac
49268 (ldd_rewrite_script): Define variable.
49269 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49271 file.
49272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49273 generated file.
49274 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49275 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49276 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49277 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49278 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49279 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49280 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49281 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49282
49283 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49284
49285 [BZ #17084]
49286 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49287 Rename member __data.d to __data.__elision_data.
49288
49289 2014-06-24 Wilco <wdijkstr@arm.com>
49290
49291 * NEWS: Add 16918 to fixed bug list.
49292
49293 2014-06-24 Wilco <wdijkstr@arm.com>
49294
49295 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49296
49297 2014-06-24 Wilco <wdijkstr@arm.com>
49298
49299 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49300 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49301 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49302 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49303 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49304 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49305 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49306 Use _FPU_MASK_RM.
49307
49308 2014-06-24 Wilco <wdijkstr@arm.com>
49309
49310 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49311
49312 2014-06-24 Wilco <wdijkstr@arm.com>
49313
49314 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49315 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49316 * sysdeps/arm/fesetround.c (fesetround): Remove space.
49317 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49318
49319 2014-06-24 Wilco <wdijkstr@arm.com>
49320
49321 [BZ #16918]
49322 * sysdeps/arm/feupdateenv.c (feupdateenv):
49323 Rewrite to reduce FPSCR accesses and fix return value.
49324
49325 2014-06-24 Wilco <wdijkstr@arm.com>
49326
49327 * sysdeps/arm/fclrexcpt.c (feclearexcept):
49328 Optimize to avoid unnecessary FPSCR writes.
49329 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49330 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49331 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49332 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49333
49334 2014-06-24 Wilco <wdijkstr@arm.com>
49335
49336 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49337 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49338 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49339 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49340 Call libc_fetestexcept_vfp.
49341 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49342 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49343 __SOFTFP__ ifdef so that they can be built for softfp.
49344
49345 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49346
49347 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49348 argument type signed char.
49349
49350 * Makerules (check-abi): Dump diff of symlist if the test
49351 fails.
49352
49353 2014-06-23 Roland McGrath <roland@hack.frob.com>
49354
49355 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49356 using abort.
49357
49358 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49359 Remove unused variable ST.
49360
49361 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49362
49363 [BZ #16354]
49364 [BZ #17061]
49365 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49366 small arguments before calling __expm1.
49367 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49368 small arguments before calling __expm1f.
49369 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49370 small arguments before calling __expm1l.
49371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49372 Likewise.
49373 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49374 * math/auto-libm-test-in: Add more cosh tests. Do not allow
49375 spurious underflow for some cosh tests.
49376 * math/auto-libm-test-out: Regenerated.
49377 * sysdeps/i386/fpu/libm-test-ulps: Update.
49378
49379 [BZ #17050]
49380 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49381 (__ieee754_y1): Set errno if return value overflows.
49382 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49383 (__ieee754_y1f): Set errno if return value overflows.
49384 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49385 (__ieee754_y1l): Set errno if return value overflows.
49386 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49387 (__ieee754_y1l): Set errno if return value overflows.
49388 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49389 * math/auto-libm-test-out: Regenerated.
49390
49391 * math/gen-auto-libm-tests.c: Document use of
49392 ignore-zero-inf-sign.
49393 (input_flag_type): Add value flag_ignore_zero_inf_sign.
49394 (input_flags): Add ignore-zero-inf-sign.
49395 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49396 * math/gen-libm-test.pl (generate_testfile): Handle
49397 ignore-zero-inf-sign.
49398 * math/auto-libm-test-in: Mark some cpow tests with
49399 ignore-zero-inf-sign and some with xfail-rounding.
49400 * math/auto-libm-test-out: Regenerated.
49401 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49402 * sysdeps/i386/fpu/libm-test-ulps: Update.
49403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49404
49405 [BZ #16315]
49406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49407 overflowing or underflowing operations take place with sign of
49408 result.
49409 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49410 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49411 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49412 (__ieee754_pow): Recompute overflowing and underflowing results in
49413 original rounding mode.
49414 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49415 (__powl_helper): Allow negative argument X and scale negated value
49416 as needed. Avoid passing value outside [-1, 1] to f2xm1.
49417 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49418 overflowing or underflowing operations take place with sign of
49419 result.
49420 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49421 Include <math.h>.
49422 * math/auto-libm-test-in: Add more tests of pow.
49423 * math/auto-libm-test-out: Regenerated.
49424 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49425 (pow_tonearest_test_data): Remove.
49426 (pow_test_tonearest): Likewise.
49427 (pow_towardzero_test_data): Likewise.
49428 (pow_test_towardzero): Likewise.
49429 (pow_downward_test_data): Likewise.
49430 (pow_test_downward): Likewise.
49431 (pow_upward_test_data): Likewise.
49432 (pow_test_upward): Likewise.
49433 (main): Don't call removed functions.
49434 * sysdeps/i386/fpu/libm-test-ulps: Update.
49435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49436
49437 2014-06-23 Roland McGrath <roland@hack.frob.com>
49438
49439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49440 Moved ...
49441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49443 Moved ...
49444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49446 Moved ...
49447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49449 Moved ...
49450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49452 File removed.
49453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49454 File removed.
49455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49456 File removed.
49457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49458 File removed.
49459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49460 File removed.
49461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49462 File removed.
49463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49464 File removed.
49465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49466 File removed.
49467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49468 File removed.
49469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49470 File removed.
49471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49472 File removed.
49473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49474 File removed.
49475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49476 Moved ...
49477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49479 Moved ...
49480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49481 ... here.
49482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49483 Moved ...
49484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49486 Moved ...
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49489 Moved ...
49490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49492 Moved ...
49493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49495 Moved ...
49496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49498 Moved ...
49499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49501 Moved ...
49502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49505 ... here.
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49507 Moved ...
49508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49510 Moved ...
49511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49512 ... here.
49513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49514 Moved ...
49515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49516 ... here.
49517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49518 Moved ...
49519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49520 ... here.
49521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49522 Moved ...
49523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49525 Moved ...
49526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49530 Moved ...
49531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49532 ... here.
49533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49534 Moved ...
49535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49536 ... here.
49537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49538 Moved ...
49539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49541 Moved ...
49542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49544 Moved ...
49545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49547 Moved ...
49548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49550 Moved ...
49551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49552 ... here.
49553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49554 Moved ...
49555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49557 Moved ...
49558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49560 Moved ...
49561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49563 Moved ...
49564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49568 Moved ...
49569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49571 Moved ...
49572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49574 Moved ...
49575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49576 ... here.
49577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49578 Moved ...
49579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49580 ... here.
49581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49582 Moved ...
49583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49584 ... here.
49585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49586 Moved ...
49587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49589 Moved ...
49590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49592 Moved ...
49593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49595 Moved ...
49596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49597 ... here.
49598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49599 Moved ...
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49601 ... here.
49602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49603 Moved ...
49604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49605 ... here.
49606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49607 Moved ...
49608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49610 Moved ...
49611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49612
49613 2014-06-23 Will Newton <will.newton@linaro.org>
49614 Wilco <wdijkstr@arm.com>
49615
49616 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49617 implementation. Include get-rounding-mode.h.
49618 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49619 [!libc_feholdsetround_noex_ctx]: Define
49620 libc_feholdsetround_noex_ctx.
49621 [!libc_feholdsetround_noexf_ctx]: Define
49622 libc_feholdsetround_noexf_ctx.
49623 [!libc_feholdsetround_noexl_ctx]: Define
49624 libc_feholdsetround_noexl_ctx.
49625 (libc_feholdsetround_ctx): New function.
49626 (libc_feresetround_ctx): New function.
49627 (libc_feholdsetround_noex_ctx): New function.
49628 (libc_feresetround_noex_ctx): New function.
49629
49630 2014-06-23 Roland McGrath <roland@hack.frob.com>
49631
49632 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49633 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49634 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49635 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49636 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49637 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49638
49639 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49640 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49641 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49642 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49643 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49644 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49646 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49648 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49650 Moved ...
49651 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49652 ... here.
49653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49654 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49656 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49658 Moved ...
49659 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49660 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49661 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49663 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49665 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49667 Moved ...
49668 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49670 Moved ...
49671 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49673 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49675 Moved ...
49676 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49678 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49679 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49680 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49681 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49682 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49683 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49684 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49685 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49686 Moved ...
49687 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49688 ... here.
49689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49690 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49692 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49694 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49696 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49698 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49700 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49702 Moved ...
49703 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49705 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49707 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49709 Moved ...
49710 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49712 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49713 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49714 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49715
49716 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49717 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49718 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49719 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49720 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49721 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49722 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49723 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49725 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49726 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49727 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49728 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49729 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49730 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49731 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49732 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49733 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49734 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49735 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49736 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49737 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49738 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49739 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49740 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49741 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49742 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49743 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49744
49745 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49746
49747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49748 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49749 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49750 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49751 (IPV6_PMTUDISC_INTERFACE): Likewise.
49752 (IPV6_PMTUDISC_OMIT): Likewise.
49753
49754 2014-06-23 Andreas Schwab <schwab@suse.de>
49755
49756 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49757 Remove unused errout label.
49758
49759 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49760
49761 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49762 macro: hardware supports Vector Crypto instructions.
49763
49764 2014-06-23 Will Newton <will.newton@linaro.org>
49765
49766 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49767 rather than __builtin_expect.
49768
49769 * elf/dl-lookup.c (undefined_msg): Remove variable.
49770 (_dl_lookup_symbol_x): Replace undefined_msg with string
49771 literal.
49772
49773 * elf/dl-lookup.c (do_lookup_unique): New function.
49774 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49775 to a separate function.
49776
49777 2014-06-23 Andreas Schwab <schwab@suse.de>
49778
49779 [BZ #17079]
49780 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49781 before reading the next line.
49782
49783 2014-06-23 Will Newton <will.newton@linaro.org>
49784
49785 * test-skeleton.c (signal_handler): Use printf and %m
49786 rather than perror. Use printf rather than fprintf to
49787 stderr. Use puts rather than fputs to stderr.
49788 (main): Likewise.
49789
49790 2014-06-22 Ludovic CourtĂšs <ludo@gnu.org>
49791
49792 * nscd/nscd.c (thread_info_t): Remove typedef.
49793 (thread_info): Remove variable.
49794
49795 2014-06-21 Allan McRae <allan@archlinux.org>
49796
49797 * NEWS: Mention CVE-2014-4043.
49798
49799 2014-06-20 Roland McGrath <roland@hack.frob.com>
49800
49801 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49802 * nptl/smp.h: ... here.
49803
49804 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49805
49806 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49807 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49808 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49809 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49810
49811 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49812 * nptl/stack-aliasing.h: New file.
49813 * sysdeps/i386/i686/stack-aliasing.h: New file.
49814 * sysdeps/i386/i686/nptl/Makefile: File removed.
49815 * sysdeps/x86_64/stack-aliasing.h: New file.
49816 * sysdeps/x86_64/nptl/Makefile
49817 (CFLAGS-pthread_create.c): Variable removed.
49818
49819 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49820 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49821 old file.
49822 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49823 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49824 old file.
49825
49826 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49827
49828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49829 (__ASSUME_SIGFRAME_V2): Remove macro.
49830 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49831 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49832 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49833 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49834 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49835 Declare as function. Remove conditional macro definitions.
49836 (__default_rt_sa_restorer): Likewise.
49837 (__default_sa_restorer_v1): Remove declaration.
49838 (__default_sa_restorer_v2): Likewise.
49839 (__default_rt_sa_restorer_v1): Likewise.
49840 (__default_rt_sa_restorer_v2): Likewise.
49841 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49842 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49843 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49844
49845 2014-06-20 Roland McGrath <roland@hack.frob.com>
49846
49847 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49848 (libpthread-routines): Add sysdep.
49849 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49850 * sysdeps/unix/sysv/linux/sparc/Versions
49851 (libpthread: GLIBC_2.3.3): New version set.
49852 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49853 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49854 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49855 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49856 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49857 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49858 Moved ...
49859 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49860 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49861 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49862 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49863 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49864 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49865 * sysdeps/sparc/nptl/sem_init.c: ... here.
49866 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49867 * sysdeps/sparc/nptl/sem_post.c: ... here.
49868 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49869 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49871 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49872 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49873 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49874 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49875 (libpthread-routines): Add cpu_relax.
49876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49877 File removed.
49878 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49879 (librt: GLIBC_2.3.3): New version set.
49880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49881 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49882 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49883 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49886 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49888 Moved ...
49889 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49891 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49893 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49895 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49897 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49899 Moved ...
49900 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49901 Update #include.
49902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49903 Moved ...
49904 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49905 Update #include.
49906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49907 Moved ...
49908 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49909 Update #include.
49910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49911 Moved ...
49912 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49913 Update #include.
49914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49915 Moved ...
49916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49917 Update #include.
49918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49919 Moved ...
49920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49921 Update #include.
49922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49923 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49929 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49931 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49933 Moved ...
49934 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49936 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49939
49940 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49941
49942 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49943 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49944 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49945 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49946 * nscd/nscd.c: Likewise.
49947 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49948 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49949 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49950 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49951
49952 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49953 <kernel-features.h>.
49954 (init_mq_netlink): Remove conditional have_sock_cloexec
49955 definitions. Remove code conditional on have_sock_cloexec < 0.
49956 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49957 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49958 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49959 <kernel-features.h>.
49960 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49961 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49962
49963 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49964
49965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49966 Add tests for memset_chk and memset.
49967
49968 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49969 with AVX2_Usable.
49970
49971 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49972
49973 [BZ #16046]
49974 * elf/tst-dl-iter-static.c: New file.
49975 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49976
49977 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49978 error.
49979
49980 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49981
49982 * sysdeps/unix/sysv/linux/kernel-features.h
49983 (__ASSUME_F_GETOWN_EX): Remove macro.
49984 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49985 <kernel-features.h>.
49986 (miss_F_GETOWN_EX): Remove variable or macro.
49987 (do_fcntl): Do not check miss_F_GETOWN_EX.
49988 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49989
49990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49991 Remove macro.
49992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49993 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49994 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49995
49996 * sysdeps/unix/sysv/linux/kernel-features.h
49997 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49998 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49999 [ADJ_OFFSET_SS_READ]: Make code unconditional.
50000 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50001
50002 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
50003
50004 [BZ #17075]
50005 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50006 Fix calculation of the symbol's value.
50007 * sysdeps/arm/tst-armtlsdescloc.c: New file.
50008 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50009 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50010 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50011 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50012 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50013 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50014 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50015 (modules-names): Add `tst-armtlsdescmod',
50016 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50017 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50018 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50019 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50020 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50021 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50022 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50023 ($(objpfx)tst-armtlsdescloc): New dependency.
50024 ($(objpfx)tst-armtlsdescextnow): Likewise.
50025 ($(objpfx)tst-armtlsdescextlazy): Likewise.
50026 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50027 TLS scheme support.
50028 * sysdeps/arm/configure: Regenerate.
50029
50030 2014-06-20 Joseph Myers <joseph@codesourcery.com>
50031
50032 * include/fcntl.h (__atfct_seterrno): Remove prototype.
50033 (__atfct_seterrno_2): Likewise.
50034 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50035 <kernel-features.h>.
50036 (__ASSUME_ATFCTS): Do not undefine and redefine.
50037 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50038 (__have_atfcts): Remove conditional definition.
50039 (__fxstatat([__NR_fstatat64]: Make code unconditional.
50040 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50041 unreachable if [__ASSUME_ATFCTS].
50042 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50043 not undefine and redefine.
50044 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50045 <kernel-features.h>.
50046 (faccessat) [__NR_faccessat]: Make code unconditional.
50047 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50048 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50049 <kernel-features.h>.
50050 (fchmodat) [__NR_fchmodat]: Make code unconditional.
50051 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50052 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50053 <kernel-features.h>.
50054 (fchownat) [__NR_fchownat]: Make code unconditional.
50055 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50056 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50057 <kernel-features.h>.
50058 (futimesat) [__NR_futimesat]: Make code unconditional.
50059 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50060 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50061 <kernel-features.h>.
50062 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50063 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50064 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50065 <kernel-features.h>.
50066 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50067 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50068 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50069 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50070 <kernel-features.h>.
50071 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50072 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50073 * sysdeps/unix/sysv/linux/linkat.c: Do not include
50074 <kernel-features.h>.
50075 (linkat) [__NR_linkat]: Make code unconditional.
50076 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50077 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50078 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50079 <kernel-features.h>.
50080 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50081 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50082 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50083 <kernel-features.h>.
50084 (mkdirat) [__NR_mkdirat]: Make code unconditional.
50085 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50086 * sysdeps/unix/sysv/linux/openat.c: Do not include
50087 <kernel-features.h>.
50088 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50089 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50090 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50091 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50092 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50093 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50094 <kernel-features.h>.
50095 (readlinkat) [__NR_readlinkat]: Make code unconditional.
50096 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
50097 result of INLINE_SYSCALL directly, not via int variable.
50098 * sysdeps/unix/sysv/linux/renameat.c: Do not include
50099 <kernel-features.h>.
50100 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50101 (renameat) [__NR_renameat]: Make code unconditional.
50102 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50103 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50104 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50105 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50106 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50107 (__ASSUME_ATFCTS): Do not undefine and redefine.
50108 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50109 <kernel-features.h>.
50110 (symlinkat) [__NR_symlinkat]: Make code unconditional.
50111 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50112 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50113 <kernel-features.h>.
50114 (unlinkat) [__NR_unlinkat]: Make code unconditional.
50115 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50116 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50117 (__ASSUME_ATFCTS): Do not undefine and redefine.
50118 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50119 <kernel-features.h>.
50120 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50121 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50122 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50123 <kernel-features.h>.
50124 (__xmknodat) [__NR_mknodat]: Make code unconditional.
50125 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50126
50127 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
50128
50129 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50130
50131 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
50132
50133 [BZ #17069]
50134 * posix/regcomp.c (parse_reg_exp): Deallocate partially
50135 constructed tree before returning error.
50136 * posix/bug-regexp36.c: Expand test case.
50137
50138 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
50139
50140 [BZ #6803]
50141 * math/libm-test.inc (scalbln_test_date):
50142 Add errno expectations.
50143 * math/w_scalblnf.c: New File.
50144 Add wrapper which checks for setting errno to ERANGE.
50145 Add weak_alias for corresponding scalbln function.
50146 * math/w_scalbln.c: Likewise.
50147 * math/w_scalblnl.c: Likewise.
50148 * math/Makefile (libm-calls): Add w_scalbln.
50149 * sysdeps/ieee754/flt-32/s_scalblnf.c:
50150 Remove weak_alias for corresponding scalbln function.
50151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50155 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50156 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50157 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50158 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50159 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50160 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50161 Remove long_double_symbol for scalblnl function in libm, libc.
50162 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50163 Add wrapper which checks for setting errno to ERANGE.
50164 Add long_double_symbol for scalblnl function in libm, libc.
50165 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50166 Remove long_double_symbol for scalblnl in libm.
50167 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50168 Add wrapper which checks for setting errno to ERANGE.
50169 Add long_double_symbol for scalblnl function in libm.
50170 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50171 Do not use wrapper because of own implementation.
50172
50173 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
50174
50175 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50176 3 bytes for __pad1 for x32.
50177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50178
50179 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
50180 H.J. Lu <hongjiu.lu@intel.com>
50181
50182 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50183 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50184 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50185 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50186 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50187
50188 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
50189
50190 [BZ #17069]
50191 * posix/regcomp.c (parse_expression): Deallocate partially
50192 constructed tree before returning error.
50193 * posix/Makefile.c (tests): Add bug-regex36.
50194 (generated): Add bug-regex36.mtrace.
50195 (tests-special): Add $(objpfx)bug-regex36-mem.out
50196 (bug-regex36-ENV): New variable.
50197 ($(objpfx)bug-regex36-mem.out): New rule.
50198 * posix/bug-regex36.c: New file.
50199
50200 2014-06-19 Will Newton <will.newton@linaro.org>
50201
50202 * malloc/malloc.c (systrim): If extra is zero then return
50203 early.
50204
50205 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50206
50207 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50208
50209 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
50210
50211 * sysdeps/aarch64/strchr.S: New file.
50212
50213 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50214
50215 [BZ #17022]
50216 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50217 from arguments -2 or below.
50218 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50219 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50220
50221 2014-06-18 Andreas Schwab <schwab@suse.de>
50222
50223 [BZ #17062]
50224 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50225 of a bracket expr not to run off the end of the string.
50226 * posix/Makefile (tests): Add tst-fnmatch3.
50227 * posix/tst-fnmatch3.c: New file.
50228
50229 2014-06-18 Joseph Myers <joseph@codesourcery.com>
50230
50231 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50232 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50233 [$(cross-compiling) = no]: Likewise.
50234 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50235 [$(cross-compiling) = no]: Likewise.
50236
50237 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50238
50239 [BZ #17031]
50240 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50241 double, adjusted for any remainder from the high double.
50242 * math/libm-test.inc (nearbyint): Add tests.
50243 (rint): Likewise.
50244
50245 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50246
50247 * nptl/sysdeps/powerpc/Makefile: Moved ...
50248 * sysdeps/powerpc/nptl/Makefile: ... here.
50249 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50250 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50251 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50252 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50253 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50254 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50255 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50256 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50257 * nptl/sysdeps/powerpc/tls.h: Moved ...
50258 * sysdeps/powerpc/nptl/tls.h: ... here.
50259
50260 2014-06-16 Joseph Myers <joseph@codesourcery.com>
50261
50262 [BZ #16681]
50263 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50264 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50265 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50266 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50267 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50268 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50269 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50270 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50271 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50272
50273 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
50274
50275 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50276
50277 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
50278
50279 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50280 defined operator.
50281
50282 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50283 $TIMEOUTFACTOR.
50284
50285 2014-06-16 Florian Weimer <fweimer@redhat.com>
50286
50287 [BZ #17058]
50288 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50289 non-executed part of the test.
50290
50291 2014-06-16 Andreas Schwab <schwab@suse.de>
50292
50293 * string/bits/string2.h (strdup, strndup): Update feature guard.
50294
50295 2014-06-14 David S. Miller <davem@davemloft.net>
50296
50297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50298
50299 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
50300
50301 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50302 that was previously under [RESET_PID].
50303 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50304
50305 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50306 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50307 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50308 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50309 (__libc_vfork): New strong alias.
50310 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50311
50312 2014-06-14 Andi Kleen <ak@linux.intel.com>
50313
50314 * sysdeps/generic/elide.h: New file.
50315
50316 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
50317
50318 * Makefile (installed-headers): Adjust path of pthread.h header.
50319
50320 2014-06-13 Roland McGrath <roland@hack.frob.com>
50321
50322 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50323 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50324 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50325 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50326
50327 * nptl/sysdeps/s390/Makefile: Moved ...
50328 * sysdeps/s390/nptl/Makefile: ... here.
50329 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50330 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50331 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50332 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50333 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50334 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50335 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50336 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50337 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50338 * sysdeps/s390/nptl/pthreaddef.h: ... here.
50339 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50340 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50341 * nptl/sysdeps/s390/tls.h: Moved ...
50342 * sysdeps/s390/nptl/tls.h: ... here.
50343
50344 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50345 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50346
50347 2014-06-13 David S. Miller <davem@davemloft.net>
50348
50349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50352 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50356 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50357 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50358 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50359 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50360 Remove RESET_PID cpp guards.
50361 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50362 Remove RESET_PID cpp guards.
50363 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50364
50365 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
50366
50367 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50368 __sp to uintptr_t.
50369
50370 2014-06-13 Andi Kleen <ak@linux.intel.com>
50371
50372 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50373 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50377 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50378 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50380 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50382 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50383 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50388 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50392
50393 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50394 (pthread_rwlock_rdlock): Add elision.
50395 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50396 (pthread_rwlock_wrlock): Add elision.
50397 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50398 (pthread_rwlock_trywrlock): Add elision.
50399 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50400 (pthread_rwlock_tryrdlock): Add elision.
50401 * nptl/pthread_rwlock_unlock.c: Include elide.h.
50402 (pthread_rwlock_tryrdlock): Add elision unlock.
50403 * nptl/sysdeps/pthread/pthread.h:
50404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50405 (PTHREAD_RWLOCK_INITIALIZER,
50406 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50407 Handle new elision field.
50408 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50409 * sysdeps/arm/nptl/bits/pthreadtypes.h
50410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50411 * sysdeps/sh/nptl/bits/pthreadtypes.h
50412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50413 * sysdeps/tile/nptl/bits/pthreadtypes.h
50414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50415 * sysdeps/a/nptl/bits/pthreadtypes.h
50416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50417 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50421 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50423 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50425 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50427 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50429 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50431 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50433 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50434 (elision_init): Set try_xbegin to zero when no RTM.
50435 * sysdeps/x86/nptl/bits/pthreadtypes.h
50436 (pthread_rwlock_t): Change __pad1 to __rwelision.
50437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50438
50439 2014-06-13 Andi Kleen <ak@linux.intel.com>
50440
50441 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50442 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50443 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50444 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50445
50446 2014-06-13 Meador Inge <meadori@codesourcery.com>
50447
50448 [BZ #16996]
50449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50450 that the cached result has been set before returning it.
50451
50452 2014-06-12 Roland McGrath <roland@hack.frob.com>
50453
50454 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50455 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50456 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50457 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50458 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50459 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50460
50461 * nptl/sysdeps/sparc/Makefile: Moved ...
50462 * sysdeps/sparc/nptl/Makefile: ... here.
50463 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50464 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50465 * nptl/sysdeps/sparc/tls.h: Moved ...
50466 * sysdeps/sparc/nptl/tls.h: ... here.
50467 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50468 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50469 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50470 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50471 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50472 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50473 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50474 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50475 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50476 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50477 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50478 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50479 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50480 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50481 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50482 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50483 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50484 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50485 Update #include.
50486 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50488 Update #include.
50489 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50491 Update #include.
50492 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50493 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50494 Update #include.
50495
50496 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50497
50498 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50499 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50500
50501 * sysdeps/pthread/posix-timer.h: Include <list.h>.
50502 (struct list_links): Type removed.
50503 (struct thread_node, struct timer_node): Replace struct list_links
50504 with struct list_head.
50505 (list_unlink_ip): Likewise.
50506 * sysdeps/pthread/timer_routines.c
50507 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50508 (list_append, list_insbefore): Likewise.
50509 (list_init): Function removed.
50510 (thread_init, init_module): Use INIT_LIST_HEAD instead.
50511 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50512 * sysdeps/pthread/Makefile: ... here, new file.
50513
50514 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50515 * sysdeps/nptl/Implies: ... here.
50516 * sysdeps/unix/sysv/linux/Implies: Add nptl.
50517 * nptl/sysdeps/pthread/list.h: Moved ...
50518 * include/list.h: ... here.
50519 * nptl/sysdeps/pthread/createthread.c: Moved ...
50520 * nptl/createthread.c: ... here.
50521 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50522 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50523 * nptl/pt-longjmp.c: ... here.
50524 * nptl/sysdeps/pthread/Makefile: Moved ...
50525 * sysdeps/nptl/Makefile: ... here.
50526 * nptl/sysdeps/pthread/Subdirs: Moved ...
50527 * sysdeps/nptl/Subdirs: ... here.
50528 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50529 * sysdeps/nptl/aio_misc.h: ... here.
50530 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50531 * sysdeps/nptl/bits/libc-lock.h: ... here.
50532 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50533 * sysdeps/nptl/bits/libc-lockP.h: ... here.
50534 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50535 * sysdeps/nptl/bits/stdio-lock.h: ... here.
50536 * nptl/sysdeps/pthread/configure: Moved ...
50537 * sysdeps/nptl/configure: ... here.
50538 * nptl/sysdeps/pthread/configure.ac: Moved ...
50539 * sysdeps/nptl/configure.ac: ... here.
50540 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50541 * sysdeps/nptl/gai_misc.h: ... here.
50542 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50543 * sysdeps/nptl/librt-cancellation.c: ... here.
50544 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50545 * sysdeps/nptl/malloc-machine.h: ... here.
50546 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50547 * sysdeps/nptl/pthread-functions.h: ... here.
50548 * nptl/sysdeps/pthread/pthread.h: Moved ...
50549 * sysdeps/nptl/pthread.h: ... here.
50550 * nptl/sysdeps/pthread/setxid.h: Moved ...
50551 * sysdeps/nptl/setxid.h: ... here.
50552 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50553 * sysdeps/nptl/sigfillset.c: ... here.
50554 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50555 * sysdeps/nptl/tcb-offsets.h: ... here.
50556 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50557 * sysdeps/nptl/tst-mqueue8x.c: ... here.
50558 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50559 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50560 * nptl/sysdeps/pthread/allocalim.h: Moved ...
50561 * sysdeps/pthread/allocalim.h: ... here.
50562 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50563 * sysdeps/pthread/bits/sigthread.h: ... here.
50564 * nptl/sysdeps/pthread/flockfile.c: Moved ...
50565 * sysdeps/pthread/flockfile.c: ... here.
50566 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50567 * sysdeps/pthread/ftrylockfile.c: ... here.
50568 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50569 * sysdeps/pthread/funlockfile.c: ... here.
50570 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50571 * sysdeps/pthread/posix-timer.h: ... here.
50572 * nptl/sysdeps/pthread/timer_create.c: Moved ...
50573 * sysdeps/pthread/timer_create.c: ... here.
50574 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50575 * sysdeps/pthread/timer_delete.c: ... here.
50576 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50577 * sysdeps/pthread/timer_getoverr.c: ... here.
50578 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50579 * sysdeps/pthread/timer_gettime.c: ... here.
50580 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50581 * sysdeps/pthread/timer_routines.c: ... here.
50582 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50583 * sysdeps/pthread/timer_settime.c: ... here.
50584 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50585 * sysdeps/pthread/tst-timer.c: ... here.
50586 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50587 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50588
50589 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50590 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50591
50592 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50593 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50594 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50595 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50596 Update #include target.
50597 * nptl/sysdeps/i386/i686/Makefile: Moved ...
50598 * sysdeps/i386/i686/nptl/Makefile: ... here.
50599 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50600 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50601 Update #include target.
50602 * nptl/sysdeps/i386/i686/tls.h: Moved ...
50603 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
50604 * nptl/sysdeps/i386/Makefile: Moved ...
50605 * sysdeps/i386/nptl/Makefile: ... here.
50606 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50607 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50608 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50609 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50610 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50611 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50612 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50613 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50614 * sysdeps/i386/nptl/pthreaddef.h: ... here.
50615 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50616 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50617 * nptl/sysdeps/i386/tls.h: Moved ...
50618 * sysdeps/i386/nptl/tls.h: ... here.
50619
50620 * sysdeps/sh/Makefile [$(subdir) = csu]
50621 (gen-as-const-headers): Add tcb-offsets.sym.
50622 * nptl/sysdeps/sh/Makefile: File removed.
50623 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50624 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50625 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50626 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50627 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50628 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50629 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50630 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50631 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50632 * sysdeps/sh/nptl/pthreaddef.h: ... here.
50633 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50634 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50635 * nptl/sysdeps/sh/tls.h: Moved ...
50636 * sysdeps/sh/nptl/tls.h: ... here.
50637 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50638 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50639 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50640 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50641 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50642 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50643 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50644 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50646 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50647 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50648 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50649 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50650 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50652 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50654 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50656 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50658 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50660 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50662 Moved ...
50663 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50665 Moved ...
50666 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50671 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50672 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50673 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50674 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50675 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50676 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50677 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50678 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50679 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50680 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50681 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50682 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50683 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50684 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50685
50686 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
50687
50688 * posix/spawn_faction_addopen.c: Include string.h.
50689
50690 2014-06-11 Roland McGrath <roland@hack.frob.com>
50691
50692 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50693 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50694 * nptl/sysdeps/x86_64/Makefile: Moved ...
50695 * sysdeps/x86_64/nptl/Makefile: ... here.
50696 * nptl/sysdeps/x86_64/configure: Moved ...
50697 * sysdeps/x86_64/nptl/configure: ... here.
50698 * nptl/sysdeps/x86_64/configure.ac: Moved ...
50699 * sysdeps/x86_64/nptl/configure.ac: ... here.
50700 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50701 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50702 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50703 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50704 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50705 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50706 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50707 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50708 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50709 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50710 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50711 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50712 * nptl/sysdeps/x86_64/tls.h: Moved ...
50713 * sysdeps/x86_64/nptl/tls.h: ... here.
50714 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50715 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50716 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50717 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50718
50719 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50720
50721 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50722
50723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50724
50725 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50726
50727 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50728 type.
50729 [POSIX] (off_t): Likewise.
50730 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50731 [POSIX] (S_ISBLK): Require macro.
50732 [POSIX] (S_ISCHR): Likewise.
50733 [POSIX] (S_ISDIR): Likewise.
50734 [POSIX] (S_ISFIFO): Likewise.
50735 [POSIX] (S_ISREG): Likewise.
50736 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50737 optional-macro.
50738 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50739 type.
50740 [POSIX] (time_t): Likewise.
50741 [POSIX] (timer_t): Likewise.
50742
50743 2014-06-11 Florian Weimer <fweimer@redhat.com>
50744
50745 [BZ #17048]
50746 * posix/spawn_int.h (struct __spawn_action): Make the path string
50747 non-const to support deallocation.
50748 * posix/spawn_faction_addopen.c
50749 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50750 * posix/spawn_faction_destroy.c
50751 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50752 path in all spawn_do_open actions.
50753 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50754 posix_spawn_file_actions_addopen.
50755
50756 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50757
50758 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50759 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50760 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50761 conditional code always true.
50762 (__libc_vfork): New alias.
50763
50764 2014-06-11 Roland McGrath <roland@hack.frob.com>
50765
50766 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50767 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50768
50769 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50770
50771 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50772 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50773
50774 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50775 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50776
50777 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50778 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50779
50780 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50781
50782 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50783 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50784 multiarch strcmp for PPC64.
50785 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50786 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50788 multiarch optimizations.
50789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50790 (__libc_ifunc_impl_list): Likewise.
50791
50792 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50793
50794 * benchtests/scripts/validate_benchout.py: New script.
50795 * benchtests/Makefile (bench-func): Call it.
50796 * benchtests/scripts/benchout.schema.json: New file.
50797
50798 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50799
50800 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50801 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50802 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50803 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50804 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50805 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50806 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50807 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50808 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50809 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50810 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50811 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50812 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50813 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50814 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50815 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50817 Moved ...
50818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50819 ... here.
50820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50821 Moved ...
50822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50824 Moved ...
50825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50826 ... here.
50827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50828 Moved ...
50829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50830 ... here.
50831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50832 Moved ...
50833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50835 Moved ...
50836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50837 ... here.
50838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50839 Moved ...
50840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50841 ... here.
50842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50843 Moved ...
50844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50846 Moved ...
50847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50848 ... here.
50849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50850 Moved ...
50851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50852 ... here.
50853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50854 Moved ...
50855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50856 ... here.
50857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50858 Moved ...
50859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50861 Moved ...
50862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50863 ... here.
50864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50865 Moved ...
50866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50867 ... here.
50868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50869 Moved ...
50870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50871 ... here.
50872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50873 Moved ...
50874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50876 Moved ...
50877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50878 ... here.
50879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50880 Moved ...
50881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50882 ... here.
50883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50884 Moved ...
50885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50887 Moved ...
50888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50889 ... here.
50890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50891 Moved ...
50892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50894 Moved ...
50895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50897 Moved ...
50898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50899 ... here.
50900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50901 Moved ...
50902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50903 ... here.
50904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50905 Moved ...
50906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50907 ... here.
50908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50909 Moved ...
50910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50912 Moved ...
50913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50914 ... here.
50915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50916 Moved ...
50917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50918 ... here.
50919 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50920 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50922 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50924 Moved ...
50925 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50926 ... here.
50927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50928 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50930 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50932 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50934 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50936 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50938 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50940 Moved ...
50941 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50943 Moved ...
50944 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50946 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50948 Moved ...
50949 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50951 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50952 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50953 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50954 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50955 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50956
50957 2014-06-10 Wilco <wdijkstr@arm.com>
50958
50959 * math/test-fenv-return.c: New file.
50960 * math/Makefile: Add new test test-fenv-return.
50961
50962 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50963
50964 [BZ #17042]
50965 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50966 when x - 1 is zero.
50967 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50968 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50969 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50970 0.0L for an argument of 1.0L.
50971 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50972 Likewise.
50973 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50974 value when x - 1 is zero.
50975 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50976 * sysdeps/i386/fpu/libm-test-ulps: Update.
50977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50978
50979 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50980
50981 [BZ #15119]
50982 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50983
50984 2014-06-09 Roland McGrath <roland@hack.frob.com>
50985
50986 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50987 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50988
50989 2014-06-09 Roland McGrath <roland@hack.frob.com>
50990
50991 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50992 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50993
50994 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50995 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50996
50997 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50998 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50999
51000 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51001 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51002
51003 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51004 if not already defined.
51005 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51006 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51007 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51008 (TLS_INIT_TP): Use it.
51009 (TLS_DEFINE_INIT_TP): New macro.
51010 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51011
51012 2014-06-09 Joseph Myers <joseph@codesourcery.com>
51013
51014 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51015 constant.
51016 [POSIX] (IXANY): Likewise.
51017 [POSIX] (OLCUC): Likewise.
51018 [POSIX || POSIX2008] (CBAUD): Do not allow.
51019 [POSIX || POSIX2008] (DEFECHO): Likewise.
51020 [POSIX || POSIX2008] (ECHOCTL): Likewise.
51021 [POSIX || POSIX2008] (ECHOKE): Likewise.
51022 [POSIX || POSIX2008] (ECHOPRT): Likewise.
51023 [POSIX || POSIX2008] (EXTA): Likewise.
51024 [POSIX || POSIX2008] (EXTB): Likewise.
51025 [POSIX || POSIX2008] (FLUSHO): Likewise.
51026 [POSIX || POSIX2008] (LOBLK): Likewise.
51027 [POSIX || POSIX2008] (PENDIN): Likewise.
51028 [POSIX || POSIX2008] (SWTCH): Likewise.
51029 [POSIX || POSIX2008] (VDISCARD): Likewise.
51030 [POSIX || POSIX2008] (VDSUSP): Likewise.
51031 [POSIX || POSIX2008] (VLNEXT): Likewise.
51032 [POSIX || POSIX2008] (VREPRINT): Likewise.
51033 [POSIX || POSIX2008] (VSTATUS): Likewise.
51034 [POSIX || POSIX2008] (VWERASE): Likewise.
51035 (B*): Change to B[0123456789]*.
51036 * conform/data/time.h-data [POSIX || UNIX98]
51037 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51038 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51039 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51040 [POSIX] (tm_*): Do not allow.
51041
51042 2014-06-07 Joseph Myers <joseph@codesourcery.com>
51043
51044 * Makefile (install): Don't set LANGUAGE.
51045 * Makefile.in (install): Likewise.
51046 * assert/Makefile (test-assert-ENV): Remove variable.
51047 (test-assert-perr-ENV): Likewise.
51048 * elf/Makefile (neededtest4-ENV): Likewise.
51049 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51050 [$(cross-compiling) = no]: Don't set LANGUAGE.
51051 * io/ftwtest-sh (LANG): Remove variable.
51052 * libio/Makefile (tst-widetext-ENV): Likewise.
51053 * manual/install.texi (Running make install): Don't refer to
51054 environment settings for make install.
51055 * INSTALL: Regenerated.
51056 * nptl/tst-tls6.sh: Don't set LANG.
51057 * posix/globtest.sh (LANG): Remove variable.
51058 * string/Makefile (tester-ENV): Likewise.
51059 (inl-tester-ENV): Likewise.
51060 (noinl-tester-ENV): Likewise.
51061 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51062 [$(cross-compiling) = no]: Don't set LANGUAGE.
51063 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51064 without explicit environment settings.
51065
51066 2014-06-06 Roland McGrath <roland@hack.frob.com>
51067
51068 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51069 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51070 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51071 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51072
51073 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
51074
51075 * crypt/crypt-private.h [DOS]: Add some includes taken from the
51076 other files in the crypt directory.
51077 * crypt/crypt.c: Remove duplicate includes.
51078 * crypt/crypt-entry.c: Likewise.
51079 * crypt/crypt_util.c: Likewise.
51080
51081 2014-06-06 Joseph Myers <joseph@codesourcery.com>
51082
51083 * Makeconfig (run-program-env): New variable.
51084 (run-program-prefix-before-env): Likewise.
51085 (run-program-prefix-after-env): Likewise.
51086 (run-program-prefix): Define in terms of new variables.
51087 (built-program-cmd-before-env): New variable.
51088 (built-program-cmd-after-env): Likewise.
51089 (built-program-cmd): Define in terms of new variables.
51090 (test-program-prefix-before-env): New variable.
51091 (test-program-prefix-after-env): Likewise.
51092 (test-program-prefix): Define in terms of new variables.
51093 (test-program-cmd-before-env): New variable.
51094 (test-program-cmd-after-env): Likewise.
51095 (test-program-cmd): Define in terms of new variables.
51096 * Rules (make-test-out): Use $(run-program-env).
51097 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51098 (help): Do not mention environment variables. Mention
51099 --timeoutfactor option.
51100 (timeoutfactor): New variable.
51101 (blacklist_exports): Remove function.
51102 (exports): Remove variable.
51103 (command): Do not include ${exports}.
51104 * manual/install.texi (Configuring and compiling): Do not mention
51105 test wrappers preserving environment variables. Mention that last
51106 assignment to a variable must take precedence.
51107 * INSTALL: Regenerated.
51108 * benchtests/Makefile (run-bench): Use $(run-program-env).
51109 * catgets/Makefile ($(objpfx)test1.cat): Use
51110 $(built-program-cmd-before-env), $(run-program-env) and
51111 $(built-program-cmd-after-env).
51112 ($(objpfx)test2.cat): Do not specify environment variables
51113 explicitly.
51114 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51115 $(run-program-env) and $(built-program-cmd-after-env).
51116 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51117 $(run-program-env) and $(test-program-cmd-after-env).
51118 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51119 explicitly.
51120 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51121 run_program_env and test_program_cmd_after_env arguments.
51122 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51123 * elf/tst-pathopt.sh: Use run_program_env argument.
51124 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51125 $(test-wrapper-env) and $(run-program-env).
51126 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51127 run_program_env arguments.
51128 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51129 * intl/Makefile ($(objpfx)tst-gettext.out): Use
51130 $(test-program-prefix-before-env), $(run-program-env) and
51131 $(test-program-prefix-after-env).
51132 ($(objpfx)tst-gettext2.out): Likewise.
51133 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51134 run_program_env and test_program_prefix_after_env arguments.
51135 * intl/tst-gettext2.sh: Likewise.
51136 * intl/tst-gettext4.sh: Do not set environment variables
51137 explicitly.
51138 * intl/tst-gettext6.sh: Likewise.
51139 * intl/tst-translit.sh: Likewise.
51140 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51141 $(test-program-prefix-before-env), $(run-program-env) and
51142 $(test-program-prefix-after-env).
51143 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51144 run_program_env and test_program_prefix_after_env arguments.
51145 * math/Makefile (run-regen-ulps): Use $(run-program-env).
51146 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51147 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
51148 explicitly with each use of ${test_wrapper_env}.
51149 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51150 $(test-program-prefix-before-env), $(run-program-env) and
51151 $(test-program-prefix-after-env).
51152 * posix/tst-getconf.sh: Do not set environment variables
51153 explicitly.
51154 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51155 run_program_env and test_program_prefix_after_env arguments.
51156 * stdio-common/tst-printf.sh: Do not set environment variables
51157 explicitly.
51158 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51159 $(test-program-prefix-before-env), $(run-program-env) and
51160 $(test-program-prefix-after-env).
51161 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51162 run_program_env and test_program_prefix_after_env arguments.
51163 Split $test calls into $test_pre and $test.
51164 * timezone/Makefile (build-testdata): Use
51165 $(built-program-cmd-before-env), $(run-program-env) and
51166 $(built-program-cmd-after-env).
51167
51168 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51169
51170 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51171 strlen for non SHARED builds.
51172
51173 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
51174
51175 * nptl/allocatestack.c (check_list): Inlined function...
51176 (__reclaim_stacks): ... here.
51177
51178 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51179
51180 [BZ #15698]
51181 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51182 memory overrun.
51183
51184 2014-06-05 Joseph Myers <joseph@codesourcery.com>
51185
51186 * Rules (make-test-out): Include
51187 LOCPATH=$(common-objpfx)localedata in default environment.
51188 * debug/Makefile (tst-chk1-ENV): Remove variable.
51189 (tst-chk2-ENV): Likewise.
51190 (tst-chk3-ENV): Likewise.
51191 (tst-chk4-ENV): Likewise.
51192 (tst-chk5-ENV): Likewise.
51193 (tst-chk6-ENV): Likewise.
51194 (tst-lfschk1-ENV): Likewise.
51195 (tst-lfschk2-ENV): Likewise.
51196 (tst-lfschk3-ENV): Likewise.
51197 (tst-lfschk4-ENV): Likewise.
51198 (tst-lfschk5-ENV): Likewise.
51199 (tst-lfschk6-ENV): Likewise.
51200 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51201 (tst-iconv7-ENV): Likewise.
51202 * intl/Makefile (LOCPATH-ENV): Likewise.
51203 (tst-codeset-ENV): Likewise.
51204 (tst-gettext3-ENV): Likewise.
51205 (tst-gettext5-ENV): Likewise.
51206 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51207 (tst-fopenloc-ENV): Likewise.
51208 (tst-fgetws-ENV): Remove variable.
51209 (tst-ungetwc1-ENV): Likewise.
51210 (tst-ungetwc2-ENV): Likewise.
51211 (bug-ungetwc2-ENV): Likewise.
51212 (tst-swscanf-ENV): Likewise.
51213 (bug-ftell-ENV): Likewise.
51214 (tst-fgetwc-ENV): Likewise.
51215 (tst-fseek-ENV): Likewise.
51216 (tst-ftell-partial-wide-ENV): Likewise.
51217 (tst-ftell-active-handler-ENV): Likewise.
51218 (tst-ftell-append-ENV): Likewise.
51219 * posix/Makefile (tst-fnmatch-ENV): Likewise.
51220 (tst-regexloc-ENV): Likewise.
51221 (bug-regex1-ENV): Likewise.
51222 (tst-regex-ENV): Likewise.
51223 (tst-regex2-ENV): Likewise.
51224 (bug-regex5-ENV): Likewise.
51225 (bug-regex6-ENV): Likewise.
51226 (bug-regex17-ENV): Likewise.
51227 (bug-regex18-ENV): Likewise.
51228 (bug-regex19-ENV): Likewise.
51229 (bug-regex20-ENV): Likewise.
51230 (bug-regex22-ENV): Likewise.
51231 (bug-regex23-ENV): Likewise.
51232 (bug-regex25-ENV): Likewise.
51233 (bug-regex26-ENV): Likewise.
51234 (bug-regex30-ENV): Likewise.
51235 (bug-regex32-ENV): Likewise.
51236 (bug-regex33-ENV): Likewise.
51237 (bug-regex34-ENV): Likewise.
51238 (bug-regex35-ENV): Likewise.
51239 (tst-rxspencer-ENV): Likewise.
51240 (tst-rxspencer-no-utf8-ENV): Likewise.
51241 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51242 (tst-sscanf-ENV): Likewise.
51243 (tst-swprintf-ENV): Likewise.
51244 (tst-swscanf-ENV): Likewise.
51245 (test-vfprintf-ENV): Likewise.
51246 (scanf13-ENV): Likewise.
51247 (bug14-ENV): Likewise.
51248 (tst-grouping-ENV): Likewise.
51249 * stdlib/Makefile (tst-strtod-ENV): Likewise.
51250 (tst-strtod3-ENV): Likewise.
51251 (tst-strtod4-ENV): Likewise.
51252 (tst-strtod5-ENV): Likewise.
51253 (testmb2-ENV): Likewise./
51254 * string/Makefile (tst-strxfrm-ENV): Likewise.
51255 (tst-strxfrm2-ENV): Likewise.
51256 (bug-strcoll1-ENV): Likewise.
51257 (test-strcasecmp-ENV): Likewise.
51258 (test-strncasecmp-ENV): Likewise.
51259 * time/Makefile (tst-strptime-ENV): Likewise.
51260 (tst-ftime_l-ENV): Likewise.
51261 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51262 (tst-mbrtowc-ENV): Likewise.
51263 (tst-wcrtomb-ENV): Likewise.
51264 (tst-mbrtowc2-ENV): Likewise.
51265 (tst-c16c32-1-ENV): Likewise.
51266 (tst-mbsnrtowcs-ENV): Likewise.
51267
51268 2014-06-05 Ondƙej Bílka <neleai@seznam.cz>
51269
51270 * manual/resource.texi (How to get information about the memory
51271 subsystem?): Fix typo.
51272 Reported by Peon de la Parra Ivan <peon@keba.com>
51273
51274 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
51275
51276 [BZ #16882]
51277 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51278 (pthread_spin_lock): Branch out of spin loop to proper location.
51279 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51280 (pthread_spin_lock): Likewise.
51281
51282 * nptl/tst-spin4.c: New test.
51283 * nptl/Makefile (tests): Add tst-spin4.
51284
51285 2014-06-03 Andreas Schwab <schwab@suse.de>
51286
51287 [BZ #15946]
51288 * resolv/res_send.c (send_dg): Reload file descriptor after
51289 calling reopen.
51290
51291 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
51292
51293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51294
51295 2014-06-03 Richard Henderson <rth@redhat.com>
51296
51297 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51298 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51299 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51300 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
51301 in the SAVE_PID block.
51302 (__libc_vfork): New alias.
51303 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51304
51305 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51306 child in registers, not on the stack. Remove RESET_PID conditionals.
51307 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51308
51309 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
51310
51311 * sysdeps/aarch64/libm-test-ulps: Regenerate.
51312
51313 2014-06-03 Wilco <wdijkstr@arm.com>
51314
51315 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51316 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51317 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51318 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51319 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51320 Likewise.
51321
51322 2014-06-03 Wilco <wdijkstr@arm.com>
51323
51324 * sysdeps/aarch64/fpu/math_private.h
51325 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51326 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51327 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51328 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51329 Fix declarations.
51330
51331 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51332
51333 * crypt/crypt-private.h: Include ufc-crypt.h.
51334 (__b64_from_24bit): Declare extern.
51335 * crypt/crypt_util.c(__b64_from_24bit): New function.
51336 (b64t): New static const variable.
51337 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51338 (b64t): Remove variable.
51339 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51340 * crypt/sha256-crypt.c: Include crypt-private.h.
51341 (b64t): Remove variable.
51342 (__sha256_crypt_r): Remove b64_from_24bit and replace
51343 with __b64_from_24bit.
51344 * crypt/sha512-crypt.c: Likewise.
51345
51346 2014-06-02 Roland McGrath <roland@hack.frob.com>
51347
51348 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51349 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51350 Label the code __libc_vfork rather than __vfork.
51351 [!NOT_IN_libc] (vfork): Define as weak alias.
51352 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51353 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51354 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51355
51356 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51357
51358 * malloc/malloc.c (malloc_info): Fix format specifier for
51359 n_mmaps.
51360
51361 2014-06-02 Wilco <wdijkstr@arm.com>
51362
51363 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51364 FPCR write.
51365
51366 2014-06-02 Wilco <wdijkstr@arm.com>
51367
51368 [BZ #17009]
51369 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51370 Rewrite to reduce FPCR/FPSR accesses.
51371
51372 2014-06-01 David S. Miller <davem@davemloft.net>
51373
51374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51375
51376 2014-05-31 David S. Miller <davem@davemloft.net>
51377
51378 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51379 to occur in round to nearest mode when |x| >= 2.0
51380
51381 2014-05-30 Richard Henderson <rth@twiddle.net>
51382
51383 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51384 (PSEUDO_RET_NOERRNO): Remove.
51385 (ret): Don't redefine.
51386 (ret_NOERRNO): Define in terms of ret.
51387 (ret_ERRVAL): Likewise.
51388
51389 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51390 use of PSEUDO_RET; perform the error check directly.
51391
51392 2014-05-30 Marko Myllynen <myllynen@redhat.com>
51393
51394 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51395 with __int128_t.
51396
51397 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51398
51399 * malloc/malloc (malloc_info): Fix formatting.
51400
51401 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51402 Roland McGrath <roland@hack.frob.com>
51403
51404 * malloc/malloc (malloc_info): Also print mmapped statistics.
51405
51406 2014-05-30 Roland McGrath <roland@hack.frob.com>
51407
51408 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51409 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51410
51411 2014-05-30 Ondƙej Bílka <neleai@seznam.cz>
51412
51413 * malloc/malloc.c (malloc_info): Inline mi_arena.
51414
51415 2014-05-29 Richard Henderson <rth@twiddle.net>
51416
51417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51418 Remove comma before expanding ASM_ARGS_##nr.
51419 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51420 Make _x0 a strict output; make _x8 a strict input; adjust expansion
51421 of ASM_ARGS_##nr.
51422 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51423 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51424 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51425 (ASM_ARGS_1): Add leading comma.
51426
51427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51428 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51429 to __errno_location.
51430 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51431 Remove the expected plt for __errno_location.
51432
51433 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51434 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51435 call to __read_tp.
51436
51437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51438 Always allocate 64 bytes of stack frame. Use ldp/stp to create
51439 it and break it down.
51440 (DOCARGS_0, DOCARGS_1): Do nothing.
51441 (DOCARGS_2): Update to store into the new stack frame.
51442 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51443 (UNDOCARGS_1): Update to restore from the new stack frame.
51444 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51445 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51446
51447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51448 (SINGLE_THREAD_P): New parameter for result regno.
51449 (PSEUDO): Update to match; use cbz instead of beq.
51450
51451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51452 Use ENTRY to define the _nocancel entry point. Share the syscall
51453 and syscall error check paths with the cancel path.
51454 (PSEUDO_END): New.
51455
51456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51457 whitespace; tabs before and after asm mnemonics.
51458
51459 2014-05-29 Eric Wong <normalperson@yhbt.net>
51460
51461 [BZ #15132]
51462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51463 Call fstat64 or stat64 internally, depending on arguments passed.
51464 Replace stat buffer argument with file descriptor argument.
51465 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51466 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51467 Pass fd to __internal_statvfs instead of calling fstat64.
51468 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51469 Pass fd to __internal_statvfs64 instead of calling fstat64.
51470 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51471 Pass -1 to __internal_statvfs instead of calling stat64.
51472 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51473 Pass -1 to __internal_statvfs64 instead of calling stat64.
51474
51475 2014-05-28 Roland McGrath <roland@hack.frob.com>
51476
51477 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51478 that was previously under [RESET_PID].
51479 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51480
51481 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51482 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51483
51484 2014-05-27 Roland McGrath <roland@hack.frob.com>
51485
51486 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51487
51488 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51489 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51490
51491 2014-05-27 Ondƙej Bílka <neleai@seznam.cz>
51492
51493 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51494
51495 2014-05-27 Andreas Schwab <schwab@suse.de>
51496
51497 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51498 TLS_INIT_TP macro.
51499 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51500 * elf/rtld.c (init_tls, dl_main): Likewise.
51501 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51502 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51503 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51504 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51505 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51506 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51507 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51508 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51509 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51510 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51511 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51512 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51513 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51514 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51515 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51516 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51517 * sysdeps/generic/tls.h: Update description.
51518
51519 2014-05-27 Will Newton <will.newton@linaro.org>
51520
51521 [BZ #16990]
51522 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51523 and restore r2 rather than just restoring.
51524
51525 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51526
51527 [BZ #16724]
51528 * libio/tst-ftell-append.c: New test case.
51529 * libio/Makefile (tests): Add test case.
51530 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51531 append mode.
51532 * libio/wfileops.c (do_ftell_wide): Likewise.
51533
51534 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51535
51536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51537
51538 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51539 ...
51540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51542 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51543 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51545 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51546 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51547 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51548 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51549 Moved ...
51550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51552 Moved ...
51553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51554 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51555 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51556 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51557 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51558 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51559 ...
51560 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51562 Moved ...
51563 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51564 here.
51565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51566 ...
51567 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51568 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51569 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51570
51571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51572 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51574 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51575
51576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51577 merge into ...
51578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51580 ...
51581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51583 ...
51584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51586 Moved ...
51587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51588 here.
51589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51590 Moved ...
51591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51593 Moved ...
51594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51595
51596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51597 conditional [RESET_PID].
51598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51600 removed.
51601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51602 removed.
51603
51604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51605 <tcb-offsets.h>.
51606 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51607 (__libc_vfork): New strong alias.
51608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51609 removed.
51610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51611 Removed.
51612
51613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51614 <tcb-offsets.h>.
51615 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51616 (__libc_vfork): New strong alias.
51617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51618 removed.
51619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51620 removed.
51621
51622 2014-05-26 Carlos O'Donell <carlos@redhat.com>
51623
51624 * malloc/malloc.c (mi_arena): New function.
51625 (malloc_info): Remove nested function mi_arena. Call non-nosted
51626 function mi_arena.
51627
51628 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51629
51630 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51631 by insrwi.
51632 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51633 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51634 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51635 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51636 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51637 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51638 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51639
51640 2014-05-26 Andreas Schwab <schwab@suse.de>
51641
51642 [BZ #16984]
51643 * locale/programs/repertoire.c (repertoire_read): Add slash
51644 between I18NPATH element and file name.
51645 * locale/programs/locfile.c (locfile_read): Likewise.
51646
51647 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51648
51649 * nptl/pthread_mutexattr_settype.c
51650 (__pthread_mutexattr_settype):
51651 Disable lock elision for PTHREAD_MUTEX_NORMAL.
51652
51653 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
51654
51655 * nptl/tst-mutex5 (do_test):
51656 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51657
51658 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51659
51660 * benchtests/README: Document 'init' directive.
51661 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51662 BENCH_INIT.
51663 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51664 (parse_file): Recognize 'init' directive.
51665
51666 2014-05-26 Kyle McMartin <kyle@redhat.com>
51667
51668 [BZ #16796]
51669 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51670 alignment of struct pthread.
51671
51672 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51673
51674 [BZ #16878]
51675 * nscd/netgroupcache.c (addgetnetgrentX): Look for
51676 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51677 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51678 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51679
51680 2014-05-25 Richard Henderson <rth@twiddle.net>
51681
51682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51683 (SINGLE_THREAD_P_PIC): Remove.
51684 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51685 (SINGLE_THREAD_P_PIC): Remove.
51686
51687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51688 branch to syscall error ...
51689 (PSEUDO): ... here.
51690 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51691 from __local_syscall_error to .Lsyscall_error.
51692 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51693 (SYSCALL_ERROR): Update label name.
51694
51695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51696 Do not use DOARGS/UNDOARGS.
51697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51698 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51699 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51700 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51701 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51702
51703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51704 block comment.
51705
51706 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51707 define if !NOT_IN_libc.
51708 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51709 define with non-default symbol versions.
51710
51711 2014-05-23 Richard Henderson <rth@twiddle.net>
51712
51713 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51714 (vfork, __vfork): Define via compat_symbol.
51715
51716 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51717 [!HAVE_IFUNC] (vfork_compat): Remove.
51718 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51719
51720 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51721
51722 [BZ #16978]
51723 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51724 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51725 variable.
51726
51727 2014-05-23 Richard Henderson <rth@twiddle.net>
51728
51729 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51730 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51731 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51732 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51733
51734 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51735 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51736 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51737 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51738 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51739 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51741 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51742 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51743 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51744 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51745 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51746 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51747 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51748 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51749 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51750 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51751 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51752 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51753 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51754 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51755 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51756 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51757 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51758 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51759 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51760 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51761 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51762 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51763 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51764 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51765 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51766 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51767 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51768 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51769 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51770 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51771 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51772 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51773 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51774 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51775 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51776 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51777 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51778 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51779 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51780 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51781 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51782 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51783 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51785 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51787 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51789 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51790
51791 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51792 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51793 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51794 before exiting on error.
51795 (__libc_vfork): New strong alias.
51796 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51797 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51798
51799 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51800 that was previously under [RESET_PID].
51801 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51802
51803 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51804
51805 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51806
51807 [BZ #16977]
51808 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51809 value when x - 1 is zero.
51810 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51811 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51812 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51813 0.0L for an argument of 1.0L.
51814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51815 Likewise.
51816 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51817 value when x - 1 is zero.
51818 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51819 * sysdeps/i386/fpu/libm-test-ulps: Update.
51820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51821
51822 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51823
51824 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51825 alphasort and versionsort.
51826
51827 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51828
51829 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51830 macro.
51831 [copysignf]: Likewise.
51832
51833 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51834
51835 * crypt/md5-crypt.c: Fix formatting.
51836
51837 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51838
51839 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51840 (b64_from_24bit): New function.
51841
51842 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51843
51844 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51845 libc_hidden_builtin_def to ifunc.
51846 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51847 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51848
51849 2014-05-21 Roland McGrath <roland@hack.frob.com>
51850
51851 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51852 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51853
51854 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51855
51856 * nscd/Depend (linuxthreads): Remove.
51857 (nptl): Add.
51858 * resolv/Depend (linuxthreads): Remove.
51859 * rt/Depend (linuxthreads): Remove.
51860
51861 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51862 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51863 $(common-objpfx)elf/.
51864 (link-libc-before-gnulib): Likewise.
51865 (elfobjdir): Remove variable.
51866 * Makefile (install): Use $(elf-objpfx) instead of
51867 $(common-objpfx)elf/.
51868 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51869 $(elfobjdir)/.
51870 (link-libc-deps): Likewise.
51871 ($(common-objpfx)libc.so): Likewise.
51872 ($(common-objpfx)linkobj/libc.so): Likewise.
51873 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51874 instead of $(common-objpfx)elf/.
51875 (symbolic-link-list): Likewise.
51876 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51877 [$(cross-compiling) = no]: Likewise.
51878 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51879 $(elfobjdir)/.
51880 (static-gnulib-arch): Likewise.
51881 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51882 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51883 $(common-objpfx)elf/.
51884
51885 2014-05-21 Richard Henderson <rth@redhat.com>
51886
51887 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51888 (SINGLE_THREAD_P): Use the correct width load. Fold
51889 into the ldr offset.
51890
51891 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51892 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51893
51894 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51895
51896 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51897 (libgcc_s_resume): Use __attribute_used__.
51898 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51899 Likewise.
51900
51901 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51902
51903 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51904 optimization when used with float constants.
51905
51906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51907
51908 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51909
51910 [BZ #16915]
51911 * locale/nl_langinfo_l.c: Make direct reference to every
51912 _nl_current_CATEGORY symbol.
51913 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51914 (tests-static): Add tst-langinfo-static.
51915 (tests-special): Add tst-langinfo-static.out.
51916 ($(objpfx)tst-langinfo.out): Redirect output.
51917 ($(objpfx)tst-langinfo-static.out): New.
51918 * localedata/tst-langinfo.sh: Send output to stdout.
51919 * localedata/tst-langinfo-static.c: New file.
51920
51921 [BZ #16965]
51922 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51923 when the shift amount is modulo the limb size.
51924
51925 2014-05-20 Richard Henderson <rth@redhat.com>
51926
51927 [BZ #16967]
51928 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51929 Change type of sa_flags from unsigned int to int.
51930
51931 [BZ #16966]
51932 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51933
51934 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51935
51936 2014-05-20 Will Newton <will.newton@linaro.org>
51937
51938 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51939 Test the return value of the system call in the nocancel case.
51940
51941 2014-05-20 Will Newton <will.newton@linaro.org>
51942 Yvan Roux <yvan.roux@linaro.org>
51943
51944 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51945 #include of asm/ptrace.h.
51946 (PTRACE_GET_THREAD_AREA): Remove #undef.
51947 (PTRACE_GETHBPREGS): Likewise.
51948 (PTRACE_SETHBPREGS): Likewise.
51949 (struct user_regs_struct): New structure.
51950 (struct user_fpsimd_struct): New structure.
51951 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51952 #include of asm/ptrace.h and second #include of sys/user.h.
51953 (PTRACE_GET_THREAD_AREA): Remove #undef.
51954 (PTRACE_GETHBPREGS): Likewise.
51955 (PTRACE_SETHBPREGS): Likewise.
51956 (ELF_NGREG): Use new struct user_regs_struct.
51957 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51958
51959 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51960
51961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51963
51964 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51965
51966 [BZ #16958]
51967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51968 membar to avoid block loads/stores to overlap previous stores.
51969
51970 2014-05-17 Richard Henderson <rth@redhat.com>
51971
51972 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51973 Create the __##syscall_name##_nocancel entry point.
51974 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51975 Remove; let the sysdep-cancel.h code create it.
51976
51977 2014-05-17 David S. Miller <davem@davemloft.net>
51978
51979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51980 Protect with __USE_GNU.
51981 (TIOCSET_TEMPT): Likewise.
51982 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51983 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51984 these are already provided in bits/ioctl-types.h
51985
51986 2014-05-16 Roland McGrath <roland@hack.frob.com>
51987
51988 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51989 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51990
51991 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51992 Use wait4 regardless of [__NR_waitpid].
51993
51994 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51995
51996 PR libgcc/60166
51997 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51998 (_FP_NANSIGN_Q): Set the quiet bit.
51999
52000 2014-05-16 Joseph Myers <joseph@codesourcery.com>
52001
52002 * benchtests/Makefile
52003 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52004 not $(common-objpfx)math/libm.so.
52005 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52006 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52007 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52008 $(common-objpfx)dlfcn/libdl.so.
52009 ($(objpfx)tst-audit8): Depend on $(libm), not
52010 $(common-objpfx)math/libm.so.
52011 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52012 not $(common-objpfx)dlfcn/libdl.so.
52013 * math/Makefile
52014 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52015 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
52016 [$(build-shared) = yes].
52017 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52018 $(common-objpfx)nptl/libpthread.so.
52019 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52020 $(common-objpfx)math/libm.so$(libm.so-version) or
52021 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52022 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52023 $(common-objpfx)dlfcn/libdl.so.
52024 * setjmp/Makefile (link-libm): Remove variable.
52025 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52026 * stdio-common/Makefile (link-libm): Remove variable.
52027 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52028 * stdlib/Makefile (link-libm): Remove variable.
52029 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52030 ($(objpfx)tst-strtod-round): Likewise.
52031 ($(objpfx)tst-tininess): Likewise.
52032 ($(objpfx)tst-strtod-underflow): Likewise.
52033 ($(objpfx)tst-strtod6): Likewise.
52034 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52035 $(libdl), not $(common-objpfx)nptl/libpthread.so and
52036 $(common-objpfx)dlfcn/libdl.so.
52037
52038 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52039
52040 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52041 BSD terminal modes definitions.
52042
52043 2014-05-16 Roland McGrath <roland@hack.frob.com>
52044
52045 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52046 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52047
52048 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52049 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52050 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52051 Don't do #include_next.
52052 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52053 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52054 Don't do #include_next.
52055 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52056 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52057 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52058 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52059
52060 2014-05-16 Allan McRae <allan@archlinux.org>
52061
52062 * po/sv.po: Update Swedish translation from translation project.
52063
52064 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52065 in sed expression.
52066
52067 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
52068
52069 [BZ #16917]
52070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52071 errno if the TIOCGPTN ioctl fails with an error different than
52072 EINVAL.
52073 * login/tst-ptsname.c: New file.
52074 * login/Makefile (tests): Add tst-ptsname.
52075
52076 [BZ #16943]
52077 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52078 and prlimit64.
52079
52080 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52081
52082 [BZ #16849]
52083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52084 herrno to return EAI_AGAIN.
52085
52086 2014-05-14 Roland McGrath <roland@hack.frob.com>
52087
52088 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52089 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52090 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52091 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52092 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52093 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52094 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52095 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52097 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52098 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52099 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52100 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52101 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52102 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52103 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52104 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52105 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52106 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52107 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52108 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52109 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52110 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52111 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52112 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52113 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52114 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52115 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52116 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52117 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52119 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52121 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52123 Moved ...
52124 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52126 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52128 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52130 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52132 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52134 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52136 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52138 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52140 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52142 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52144 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52146 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52148 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52150 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52152 Moved ...
52153 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52155 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52159 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52161 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52165 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52167 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52169 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52171 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52173 Moved ...
52174 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52176 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52177
52178 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52179 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52180 (libpthread-sysdep_routines): Add elision-related stuff here instead.
52181 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52182 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52183 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52184 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52185 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52186 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52187 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52188 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52189 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52190 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52191 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52192 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52193 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52194 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52195 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52196 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52197 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52198 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52199 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52200 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52201 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52202 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52203 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52204 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52209
52210 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52211 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52212
52213 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52214 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52215 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52216 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52217 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52218 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52219 Moved ...
52220 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52221 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52222 Moved ...
52223 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52225 Moved ...
52226 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52228 Moved ...
52229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52230 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52231 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52233 Moved ...
52234 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52235 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52236 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52239 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52240 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52242 Moved ...
52243 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52245 Moved ...
52246 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52247 ... here.
52248 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52249 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52250 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52251 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52253 Moved ...
52254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52255 ... here.
52256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52257 Moved ...
52258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52259 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52260 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52261 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52262 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52263 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52264 Moved ...
52265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52266 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52267 Moved ...
52268 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52270 Moved ...
52271 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52273 Moved ...
52274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52275 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52276 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52278 Moved ...
52279 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52280 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52281 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52284 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52285 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52287 Moved ...
52288 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52290 Moved ...
52291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52292 ... here.
52293 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52294 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52295 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52296 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52298 Moved ...
52299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52300 ... here.
52301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52302 Moved ...
52303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52304 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52305 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52306 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52307 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52308 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52310 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52311 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52312 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52313 Moved ...
52314 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52316 Moved ...
52317 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52319 Moved ...
52320 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52322 Moved ...
52323 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52324 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52325 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52326 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52327 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52329 Moved ...
52330 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52331 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52332 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52334 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52335 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52336 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52338 Moved ...
52339 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52341 Moved ...
52342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52343 ... here.
52344 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52345 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52346 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52347 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52349 Moved ...
52350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52351 ... here.
52352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52353 Moved ...
52354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52355 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52356 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52357 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52358 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52359 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52360 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52361 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52362 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52363 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52364 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52365
52366 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52367 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52368
52369 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52370 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52371
52372 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52373 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52374 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52375 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52376 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52377 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52378 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52379 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52380 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52381 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52383 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52386 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52387 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52388 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52389 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52390 Moved ...
52391 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52392 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52393 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52395 Moved ...
52396 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52398 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52400 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52404 Moved ...
52405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52407 Moved ...
52408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52414 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52415 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52416 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52417 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52418 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52420 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52422 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52423 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52424 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52425
52426 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52427 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52428 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52429 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52430 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52431
52432 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52433 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52434 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52435 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52436 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52437 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52438 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52439 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52440 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52441 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52442
52443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52445
52446 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52447 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52448 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52449 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52450 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52451 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52452 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52453 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52455 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52457 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52459 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52461 Update #include.
52462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52463 Likewise.
52464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52465 Likewise.
52466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52467 Likewise.
52468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52469 Likewise.
52470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52471 Likewise.
52472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52473 Likewise.
52474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52475 Likewise.
52476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52477 Likewise.
52478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52479 Likewise.
52480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52486 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52490 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52491 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
52494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
52495
52496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52497 that was previously under [RESET_PID].
52498 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52499 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52500 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52501
52502 * sysdeps/i386/nptl/Implies: New file.
52503 * sysdeps/x86_64/nptl/Implies: New file.
52504 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52505 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52506 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52507 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52508
52509 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52510 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52511 (__libc_vfork): New strong alias.
52512 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52513 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52514
52515 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52516 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52517 (__libc_vfork): New strong alias.
52518 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52519 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52520
52521 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52522 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52523 (__libc_vfork): New strong alias.
52524 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52525 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52526 * nptl/pt-vfork.c: New file.
52527 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52528 (libpthread: GLIBC_2.20): New version set (empty).
52529
52530 2014-05-14 Will Newton <will.newton@linaro.org>
52531
52532 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52533 rather than #if.
52534
52535 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52536
52537 [BZ #16564]
52538 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52539 arguments with exponent 65 or above.
52540 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52541 arguments 0x1p113L or above.
52542 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52543 to arguments 0x1p107L or above.
52544 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52545 positive arguments with exponent 65 or above.
52546 * math/auto-libm-test-in: Add more tests of log1p.
52547 * math/auto-libm-test-out: Regenerated.
52548
52549 [BZ #16928]
52550 * math/s_cacos.c (__cacos): Ensure zero real part of result from
52551 non-finite arguments is +0.
52552 * math/s_cacosf.c (__cacosf): Likewise.
52553 * math/s_cacosl.c (__cacosl): Likewise.
52554 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52555 * sysdeps/i386/fpu/libm-test-ulps: Update.
52556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52557
52558 [BZ #16927]
52559 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52560 value.
52561 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52562 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52563 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52564 for explicit high bit of mantissa when testing for argument equal
52565 to 1.
52566 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52567 * sysdeps/i386/fpu/libm-test-ulps: Update.
52568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52569
52570 [BZ #16516]
52571 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52572 (__erf): Scale by 16 instead of 8 in potentially underflowing
52573 case. Ensure exception if result actually underflows.
52574 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52575 (__erff): Scale by 16 instead of 8 in potentially underflowing
52576 case. Ensure exception if result actually underflows.
52577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52578 (efx8): Remove variable.
52579 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52580 case. Ensure exception if result actually underflows.
52581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52582 (efx8): Remove variable.
52583 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52584 case. Ensure exception if result actually underflows.
52585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52586 (efx8): Remove variable.
52587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
52588 case. Ensure exception if result actually underflows.
52589 * math/auto-libm-test-in: Add more tests of erf.
52590 * math/auto-libm-test-out: Regenerated.
52591
52592 2014-05-14 Andreas Schwab <schwab@suse.de>
52593
52594 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52595 Remove code conditionalized on USE___THREAD.
52596
52597 * config.h.in (HAVE_PT_CHOWN): Define as 0.
52598 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52599 not definedness.
52600
52601 2014-05-14 Joseph Myers <joseph@codesourcery.com>
52602
52603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52604 Define unconditionally.
52605 (__ASSUME_O_CLOEXEC): Likewise.
52606 (__ASSUME_SOCK_CLOEXEC): Likewise.
52607 (__ASSUME_IN_NONBLOCK): Likewise.
52608 (__ASSUME_PIPE2): Likewise.
52609 (__ASSUME_EVENTFD2): Likewise.
52610 (__ASSUME_SIGNALFD4): Likewise.
52611 (__ASSUME_DUP3): Likewise.
52612 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52613 (__ASSUME_DUP3): Do not define.
52614 (__ASSUME_EVENTFD2): Likewise.
52615 (__ASSUME_IN_NONBLOCK): Likewise.
52616 (__ASSUME_O_CLOEXEC): Likewise.
52617 (__ASSUME_PIPE2): Likewise.
52618 (__ASSUME_SIGNALFD4): Likewise.
52619 (__ASSUME_SOCK_CLOEXEC): Likewise.
52620 (__ASSUME_UTIMES): Undefine.
52621 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52622 (__ASSUME_UTIMES): Do not define.
52623 (__ASSUME_O_CLOEXEC): Likewise.
52624 (__ASSUME_SOCK_CLOEXEC): Likewise.
52625 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52626 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52627 0x020621].
52628 (__ASSUME_PIPE2): Likewise.
52629 (__ASSUME_EVENTFD2): Likewise.
52630 (__ASSUME_SIGNALFD4): Likewise.
52631 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52632 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52633 Do not define.
52634 (__ASSUME_EVENTFD2): Likewise.
52635 (__ASSUME_SIGNALFD4): Likewise.
52636 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52637 (__ASSUME_32BITUIDS): Likewise.
52638 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52639 (__ASSUME_IPC64): Likewise.
52640 (__ASSUME_ST_INO_64_BIT): Likewise.
52641 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52642 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52643 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52644 (__ASSUME_UTIMES): Do not define.
52645 (__ASSUME_PSELECT): Likewise.
52646 (__ASSUME_PPOLL): Likewise.
52647 (__ASSUME_O_CLOEXEC): Likewise.
52648 (__ASSUME_SOCK_CLOEXEC): Likewise.
52649 (__ASSUME_IN_NONBLOCK): Likewise.
52650 (__ASSUME_PIPE2): Likewise.
52651 (__ASSUME_EVENTFD2): Likewise.
52652 (__ASSUME_SIGNALFD4): Likewise.
52653 (__ASSUME_DUP3): Likewise.
52654 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52655 (__ASSUME_UTIMES): Likewise.
52656 (__ASSUME_O_CLOEXEC): Likewise.
52657 (__ASSUME_SOCK_CLOEXEC): Likewise.
52658 (__ASSUME_IN_NONBLOCK): Likewise.
52659 (__ASSUME_PIPE2): Likewise.
52660 (__ASSUME_EVENTFD2): Likewise.
52661 (__ASSUME_SIGNALFD4): Likewise.
52662 (__ASSUME_DUP3): Likewise.
52663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52664 (__ASSUME_UTIMES): Likewise.
52665 (__ASSUME_O_CLOEXEC): Likewise.
52666 (__ASSUME_SOCK_CLOEXEC): Likewise.
52667 (__ASSUME_IN_NONBLOCK): Likewise.
52668 (__ASSUME_PIPE2): Likewise.
52669 (__ASSUME_EVENTFD2): Likewise.
52670 (__ASSUME_SIGNALFD4): Likewise.
52671 (__ASSUME_DUP3): Likewise.
52672 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52673 Likewise.
52674 (__ASSUME_UTIMES): Likewise.
52675 (__ASSUME_EVENTFD2): Likewise.
52676 (__ASSUME_SIGNALFD4): Likewise.
52677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
52678 (__ASSUME_O_CLOEXEC): Likewise.
52679 (__ASSUME_SOCK_CLOEXEC): Likewise.
52680 (__ASSUME_IN_NONBLOCK): Likewise.
52681 (__ASSUME_PIPE2): Likewise.
52682 (__ASSUME_EVENTFD2): Likewise.
52683 (__ASSUME_SIGNALFD4): Likewise.
52684 (__ASSUME_DUP3): Likewise.
52685 (__ASSUME_UTIMES): Undefine.
52686
52687 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52688 feclearexcept. Remove symbol versioning code.
52689 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
52690 symbol versioning code.
52691 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
52692 symbol versioning code.
52693 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52694 feupdateenv. Remove symbol versioning code.
52695 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52696 fegetexceptflag. Remove symbol versioning code.
52697 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52698 fesetexceptflag. Remove symbol versioning code.
52699 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52700 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
52701 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52702 (__posix_fadvise64_l32): Remove prototype.
52703 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52704 code.
52705
52706 2014-05-13 Roland McGrath <roland@hack.frob.com>
52707
52708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52709 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52710 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52711 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52712
52713 2014-05-13 Sami Kerola <kerolasa@iki.fi>
52714
52715 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52716 current working directory
52717
52718 2014-05-13 Roland McGrath <roland@hack.frob.com>
52719
52720 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52721 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52722 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52723 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52724 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52725 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52726 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52727 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52728 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52729 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52730 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52731 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52732 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52733 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52734 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52735 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52736 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52737 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52738 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52739 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52740 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52741 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52742 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52743 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52744 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52745 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52746 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52747 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52748 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52749 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52750 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52751 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52752 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52753 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52754 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52755 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52756 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52757 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52758 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52759 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52760 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52761 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52762
52763 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52764 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52765
52766 * sysdeps/unix/sysv/linux/arm/Makefile
52767 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52768 Add rt-aeabi_unwind_cpp_pr1.
52769 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52770 Add nptl-aeabi_unwind_cpp_pr1.
52771 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52772 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52773 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52774 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52775 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52776 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52777
52778 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52779 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52780 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52781 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52782
52783 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52784 Deconditionalize the code that was previously under [RESET_PID].
52785 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52786
52787 * sysdeps/generic/exit-thread.h: New file.
52788 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52789 * include/unistd.h (__exit_thread): Remove declaration.
52790 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52791 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52792 * csu/libc-start.c: Include <exit-thread.h>.
52793 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52794 * nptl/pthread_create.c: Include <exit-thread.h>.
52795 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52796 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52797 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52798 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52799 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52800 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52801 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52802 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52803 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52804 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52805 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52806 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52807 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52808 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52809 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52810 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52811 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52812
52813 2014-05-13 Andreas Schwab <schwab@suse.de>
52814
52815 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52816
52817 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52818
52819 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52820 (__ASSUME_UTIMES): Do not condition on kernel version.
52821 (__ASSUME_PSELECT): Define unconditionally.
52822 (__ASSUME_PPOLL): Likewise.
52823 (__ASSUME_ATFCTS): Likewise.
52824 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52825 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52826 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52827 (__ASSUME_UTIMENSAT): Define unconditionally.
52828 (__ASSUME_PRIVATE_FUTEX): Likewise.
52829 (__ASSUME_FALLOCATE): Likewise.
52830 (__ASSUME_O_CLOEXEC): Likewise.
52831 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52832 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52833 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52834 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52835 (__ASSUME_IN_NONBLOCK): Likewise.
52836 (__ASSUME_PIPE2): Likewise.
52837 (__ASSUME_EVENTFD2): Likewise.
52838 (__ASSUME_SIGNALFD4): Likewise.
52839 (__ASSUME_DUP3): Likewise.
52840 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52841 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52842 (__ASSUME_AT_RANDOM): Likewise.
52843 (__ASSUME_PREADV): Likewise.
52844 (__ASSUME_PWRITEV): Likewise.
52845 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52846 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52847 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52848 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52849 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52851 (__ASSUME_O_CLOEXEC): Define unconditionally.
52852 (__ASSUME_PSELECT): Do not undefine conditionally.
52853 (__ASSUME_PPOLL): Likewise.
52854 (__ASSUME_ATFCTS): Likewise.
52855 (__ASSUME_SET_ROBUST_LIST): Likewise.
52856 (__ASSUME_UTIMENSAT): Likewise.
52857 (__ASSUME_FDATASYNC): Define unconditionally.
52858 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52859 (__ASSUME_SIGFRAME_V2): Likewise.
52860 )__ASSUME_EVENTFD2): Likewise.
52861 (__ASSUME_SIGNALFD4): Likewise.
52862 (__ASSUME_PSELECT): Do not undefine conditionally.
52863 (__ASSUME_PPOLL): Likewise.
52864 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52865 (__ASSUME_PSELECT): Define unconditionally.
52866 (__ASSUME_PPOLL): Likewise.
52867 (__ASSUME_O_CLOEXEC): Likewise.
52868 (__ASSUME_SOCK_CLOEXEC): Likewise.
52869 (__ASSUME_IN_NONBLOCK): Likewise.
52870 (__ASSUME_PIPE2): Likewise.
52871 (__ASSUME_EVENTFD2): Likewise.
52872 (__ASSUME_SIGNALFD4): Likewise.
52873 (__ASSUME_DUP3): Likewise.
52874 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52875 (__ASSUME_O_CLOEXEC): Likewise.
52876 (__ASSUME_SOCK_CLOEXEC): Likewise.
52877 (__ASSUME_IN_NONBLOCK): Likewise.
52878 (__ASSUME_PIPE2): Likewise.
52879 (__ASSUME_EVENTFD2): Likewise.
52880 (__ASSUME_SIGNALFD4): Likewise.
52881 (__ASSUME_DUP3): Likewise.
52882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52883 (__ASSUME_EVENTFD2): Likewise.
52884 (__ASSUME_SIGNALFD4): Likewise.
52885 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52886
52887 2014-05-12 Andreas Schwab <schwab@suse.de>
52888
52889 [BZ #16932]
52890 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52891 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52892 than maximum RPC packet size.
52893 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52894 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52895 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52896 (_nss_nis_getservbyport_r): Likewise.
52897
52898 2014-05-12 Will Newton <will.newton@linaro.org>
52899
52900 * malloc/Makefile (tests): Add tst-mallopt.
52901 * malloc/tst-mallopt.c: New file.
52902
52903 2014-05-09 Roland McGrath <roland@hack.frob.com>
52904
52905 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52906 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52907
52908 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52909
52910 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52911 (tst-tlsmod6.so): Likewise.
52912
52913 2014-05-09 Roland McGrath <roland@hack.frob.com>
52914
52915 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52916
52917 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52918
52919 [BZ #16064]
52920 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52921 and <dl-procinfo.h>.
52922 (__fegetenv): Save SSE state in envp->__eip if supported.
52923 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52924 envp->__eip if supported.
52925 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52926 and <dl-procinfo.h>.
52927 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52928 __data_offset and __data_selector in environment to 0. Set SSE
52929 state if supported.
52930 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52931 test-fenv-sse.
52932 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52933 -mfpmath=sse.
52934 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52935
52936 2014-05-09 Will Newton <will.newton@linaro.org>
52937
52938 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52939 and libc_relro_required for ARM.
52940 * sysdeps/arm/preconfigure: Regenerate.
52941
52942 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52943 Stefan Liebler <stli@linux.vnet.ibm.com>
52944
52945 * config.make.in (enable-lock-elision): New Makefile variable.
52946 * configure.ac: Likewise.
52947 * configure: Regenerate.
52948 * sysdeps/s390/configure.ac:
52949 Add check for gcc transactions support.
52950 * sysdeps/s390/configure: Regenerate.
52951 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52952 Build elision files if enabled.
52953 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52954 Add lock elision support for s390.
52955 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52956 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52957 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52958 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52959 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52960 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52961 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52962 Likewise.
52963 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52964 Likewise.
52965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52966 Likewise.
52967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52968 Likewise.
52969 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52970 (__lll_timedlock_elision, __lll_lock_elision)
52971 (__lll_unlock_elision, __lll_trylock_elision)
52972 (lll_timedlock_elision, lll_lock_elision)
52973 (lll_unlock_elision, lll_trylock_elision): Add.
52974 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52975 (pthread_mutex_t): Add lock elision support for s390.
52976
52977 2014-05-14 Wilco <wdijkstr@arm.com>
52978
52979 * sysdeps/arm/fclrexcpt.c: Cleanup.
52980 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52981 * sysdeps/arm/feenablxcpt.c: Cleanup.
52982 * sysdeps/arm/fegetenv.c: Cleanup.
52983 * sysdeps/arm/fegetexcept.c: Cleanup.
52984 * sysdeps/arm/fegetround.c: Cleanup.
52985 * sysdeps/arm/feholdexcpt.c: Cleanup.
52986 * sysdeps/arm/fesetenv.c: Cleanup.
52987 * sysdeps/arm/fesetround.c: Cleanup.
52988 * sysdeps/arm/feupdateenv.c: Cleanup.
52989 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52990 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52991 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52992 * sysdeps/arm/ftestexcept.c: Cleanup.
52993 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52994 * sysdeps/arm/setfpucw.c: Cleanup.
52995
52996 2014-05-09 Will Newton <will.newton@linaro.org>
52997
52998 * sysdeps/arm/armv7/strcmp.S: New file.
52999 * NEWS: Mention addition of ARMv7 optimized strcmp.
53000
53001 2014-05-08 Roland McGrath <roland@hack.frob.com>
53002
53003 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53004 look for %.ac rather than %.in.
53005
53006 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53007 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53008 * sysdeps/mach/hurd/configure: Regenerated.
53009 * sysdeps/unix/sysv/linux/configure: Regenerated.
53010
53011 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53012
53013 2014-05-07 Steve Ellcey <sellcey@mips.com>
53014
53015 [BZ #16922]
53016 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53017 (LONG_SUB): Ditto.
53018 (PTR_SUB): Ditto.
53019
53020 2014-05-07 Andreas Schwab <schwab@suse.de>
53021
53022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53023 when skipping over non-matching result from nscd.
53024
53025 2014-05-07 Ondƙej Bílka <neleai@seznam.cz>
53026
53027 [BZ #16876]
53028 * nptl/sockperf.c (client): Check socket return value.
53029
53030 [BZ #16877]
53031 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53032 nscd security class.
53033
53034 2014-05-06 Roland McGrath <roland@hack.frob.com>
53035
53036 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53037 * sysdeps/arm/unwind.h: ... here.
53038
53039 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
53040
53041 [BZ #16916]
53042 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53043 Define.
53044
53045 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53046
53047 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53048 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53049 multiarch strncpy for PPC64.
53050 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53051 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53053 multiarch optimizations.
53054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53055 (__libc_ifunc_impl_list): Likewise.
53056 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53057 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53058 multiarch stpncpy for PPC64.
53059 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53060 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53061
53062 2014-05-06 Andreas Schwab <schwab@suse.de>
53063
53064 [BZ #16912]
53065 * gmon/mcount.c (_MCOUNT_DECL): Use
53066 atomic_compare_and_exchange_bool_acq instead of
53067 catomic_compare_and_exchange_bool_acq.
53068
53069 2014-05-05 Roland McGrath <roland@hack.frob.com>
53070
53071 * elf/Makefile (others, install-bin): Remove pldd.
53072 (pldd-modules): Variable removed.
53073 ($(objpfx)pldd): Target removed.
53074 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53075 (others, install-bin): Append pldd here.
53076 ($(objpfx)pldd): New target.
53077
53078 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53079 to 0, so the first #if test emitted later doesn't see it undefined.
53080 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53081 * sysdeps/gnu/errlist.c: Regenerated.
53082
53083 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53084
53085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53086 [libc_hidden_builtin_def]: Define to empty value.
53087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53088 [libc_hidden_builtin_def]: Likewise.
53089 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53090 [libc_hidden_builtin_def]: Likewise.
53091 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53092 [libc_hidden_builtin_def]: Likewise.
53093 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53094 __redirect_memcpy and define ifunc as default hidden symbol.
53095 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53096 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53097
53098 2014-05-04 Adam Conrad <adconrad@0c3.net>
53099
53100 * locale/iso-4217.def: Reintroduce XDR currency.
53101
53102 2014-05-04 Allan McRae <allan@archlinux.org>
53103
53104 * po/eo.po: Update Esperanto translation from translation project.
53105
53106 2014-05-02 Carlos O'Donell <carlos@redhat.com>
53107
53108 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53109 and FEATURE_INDEX_MAX to 1.
53110 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53111
53112 2014-05-01 Steve Ellcey <sellcey@mips.com>
53113
53114 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53115 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53116 * iconvdata/big5.c (ONE_DIRECTION): Define.
53117 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53118 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53119 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53120 * iconvdata/cp932.c (ONE_DIRECTION): Define.
53121 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53122 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53123 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53124 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53125 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53126 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53127 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53128 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53129 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53130 * iconvdata/gbk.c (ONE_DIRECTION): Define.
53131 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53132 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53133 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53134 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53135 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53136 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53137 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53138 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53139 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53140 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53141 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53142 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53143 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53144 * iconvdata/iso646.c (ONE_DIRECTION): Define.
53145 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53146 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53147 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53148 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53149 * iconvdata/johab.c (ONE_DIRECTION): Define.
53150 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53151 * iconvdata/sjis.c (ONE_DIRECTION): Define.
53152 * iconvdata/t.61.c (ONE_DIRECTION): Define.
53153 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53154 * iconvdata/tscii.c (ONE_DIRECTION): Define.
53155 * iconvdata/uhc.c (ONE_DIRECTION): Define.
53156 * iconvdata/unicode.c (ONE_DIRECTION): Define.
53157 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53158 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53159 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53160
53161 2014-05-01 Roland McGrath <roland@hack.frob.com>
53162
53163 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53164 (_IO_JUMPS_OFFSET): Define to 0.
53165
53166 * nptl/sysdeps/pthread/bits/libc-lock.h
53167 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53168 (__libc_lock_define_initialized_recursive): Always define using
53169 initializer. Modern compilers treat uninitialized (implicit zero) and
53170 explicit zero initializers the same (i.e. put the datum in bss).
53171
53172 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53173
53174 * nscd/nscd-client.h: Include <string.h>.
53175
53176 2014-05-01 David S. Miller <davem@davemloft.net>
53177
53178 [BZ #16885]
53179 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53180 multiple zero bytes exist at the end of a string.
53181 Reported by Aurelien Jarno <aurelien@aurel32.net>
53182
53183 * string/test-strcmp.c (check): Add explicit test for situations where
53184 there are multiple zero bytes after the first.
53185
53186 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
53187
53188 [BZ #16890]
53189 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53190 when compiling wprintf.
53191 * stdio-common/tstdiomisc.c (t3): New function.
53192 (main): Call it.
53193
53194 2014-05-01 Steve Ellcey <sellcey@mips.com>
53195
53196 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53197 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53198 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53199 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53200
53201 2014-05-01 Steve Ellcey <sellcey@mips.com>
53202
53203 * stdlib/longlong.h: Updated from GCC.
53204
53205 2014-05-01 Will Newton <will.newton@linaro.org>
53206 Bernard Ogden <bernie.ogden@linaro.org>
53207
53208 * NEWS: Update fixed bug list.
53209
53210 [BZ #15119]
53211 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53212
53213 2014-04-30 David S. Miller <davem@davemloft.net>
53214
53215 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53216 (libc_feholdexcept_setround_sparc_ctx): New function.
53217 (libc_fesetenv_sparc_ctx): Likewise.
53218 (libc_feupdateenv_sparc_ctx): Likewise.
53219 (libc_feholdsetround_sparc_ctx): Likewise.
53220 (libc_feholdexcept_setround_ctx): Define.
53221 (libc_feholdexcept_setroundf_ctx): Likewise.
53222 (libc_feholdexcept_setroundl_ctx): Likewise.
53223 (libc_fesetenv_ctx): Likewise.
53224 (libc_fesetenvf_ctx): Likewise.
53225 (libc_fesetenvl_ctx): Likewise.
53226 (libc_feupdateenv_ctx): Likewise.
53227 (libc_feupdateenvf_ctx): Likewise.
53228 (libc_feupdateenvl_ctx): Likewise.
53229 (libc_feresetround_ctx): Likewise.
53230 (libc_feresetroundf_ctx): Likewise.
53231 (libc_feresetroundl_ctx): Likewise.
53232 (libc_feholdsetround_ctx): Likewise.
53233 (libc_feholdsetroundf_ctx): Likewise.
53234 (libc_feholdsetroundl_ctx): Likewise.
53235
53236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53237 with __USE_GNU instead of XOPEN cpp guards.
53238
53239 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53240 0.
53241
53242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53243 with XOPEN cpp guards.
53244
53245 2014-04-30 Julian Brown <julian@codesourcery.com>
53246
53247 [BZ #16888]
53248 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53249 handling.
53250
53251 2014-04-30 Joseph Myers <joseph@codesourcery.com>
53252
53253 [BZ #9894]
53254 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53255 Change to 2.6.32.
53256 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53257 * sysdeps/unix/sysv/linux/configure: Regenerated.
53258 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53259 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53260 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53261 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53262 * README: Update reference to required Linux kernel version.
53263 * manual/install.texi (Linux): Update reference to required Linux
53264 kernel headers version.
53265 * INSTALL: Regenerated.
53266
53267 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53268 header inclusion.
53269 [POSIX] (limits.h): Likewise.
53270 [POSIX] (math.h): Likewise.
53271 [POSIX] (sys/wait.h): Likewise.
53272 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53273 function.
53274 [POSIX] (stddef.h): Do not allow header inclusion.
53275
53276 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53277
53278 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53279
53280 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
53281
53282 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53283 Return immediately after lll_futex_wake.
53284
53285 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53286
53287 [BZ #16791]
53288 * nscd/nscd-client.h (datahead_init_common): Initialize entire
53289 structure.
53290 (datahead_init_pos): Call datahead_init_common early.
53291 (datahead_init_neg): Likewise.
53292
53293 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53294 datahead_init_neg): New functions.
53295 * nscd/aicache.c (addhstaiX): Use them.
53296 * nscd/grpcache.c (cache_addgr): Likewise.
53297 * nscd/hstcache.c (cache_addhst): Likewise.
53298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53299 * nscd/netgroupcache.c (do_notfound): Likewise.
53300 (addgetnetgrentX): Likewise.
53301 (addinnetgrX): Likewise.
53302 * nscd/pwdcache.c (cache_addpw): Likewise.
53303 * nscd/servicescache.c (cache_addserv): Likewise.
53304
53305 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53306 Atsushi Onoe <atsushi@onoe.org>
53307
53308 [BZ #14308]
53309 [BZ #12994]
53310 [BZ #13651]
53311 * resolv/res_query.c (__libc_res_nsearch): Return if at least
53312 one response is valid.
53313 * resolv/res_send.c (send_dg): Check for validity of other
53314 response if the current response is a referral.
53315
53316 2014-04-29 Steve Ellcey <sellcey@mips.com>
53317
53318 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53319
53320 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
53321
53322 [BZ #16823]
53323 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53324 Always divide by positive zero when computing -Inf result.
53325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53326 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53327
53328 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53329
53330 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53331 FPSCR if value do not change.
53332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53334 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53337 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53338 function.
53339
53340 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
53341
53342 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53343 * sysdeps/unix/sysv/linux/hppa: Move directory from
53344 ports/systeps/unix/sysv/linux/hppa.
53345 * README: Update listing for hppa-*-linux-gnu.
53346
53347 2014-04-28 Ondƙej Bílka <neleai@seznam.cz>
53348
53349 [BZ #16754]
53350 * manual/stdio.texi (Hook functions): Fix types of stream hook
53351 functions.
53352 [BZ #16854]
53353 * socket/sys/socket.h: Fix typo in comment.
53354
53355 2014-04-28 Wilco <wdijkstr@arm.com>
53356
53357 * sysdeps/arm/fenv_private.h: New file.
53358 * sysdeps/arm/math_private.h: New file.
53359 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53360
53361 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
53362
53363 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53364 with __int128_t.
53365 (La_x86_64_retval): Likewise.
53366
53367 2014-04-24 Ian Bolton <ian.bolton@arm.com>
53368
53369 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53370 fpsr if value didn't change.
53371 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53372 to fpcr if value didn't change.
53373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53374 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53375 fpsr or fpcr if value didn't change.
53376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53378 fpcr if value didn't change.
53379 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53380 to fpsr if value didn't change.
53381
53382 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53383
53384 * nptl/tst-sem3.c: Use test-skeleton.c
53385 (main): Rename to do_test. Use return instead of
53386 exit.
53387 * nptl/tst-sem4.c: Use test-skeleton.c
53388 (main): Rename to do_test.
53389
53390 2014-04-22 David S. Miller <davem@davemloft.net>
53391
53392 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53393 (struct sigaction): New struct member __glibc_reserved0, change
53394 type of sa_flags to int.
53395
53396 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
53397
53398 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53399 (COUNT_LEADING_ZEROS_0): Define for AArch64.
53400
53401 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53402
53403 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53404 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53405
53406 2014-04-22 Will Newton <will.newton@linaro.org>
53407 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
53408
53409 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53410 (__longjmp): Add longjmp and longjmp_target SystemTap
53411 probes.
53412 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53413 (__sigsetjmp): Add setjmp SystemTap probe.
53414
53415 2014-04-17 Carlos O'Donell <carlos@redhat.com>
53416
53417 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53418 match manual order.
53419
53420 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53421
53422 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53423
53424 * sysdeps/powerpc/fpu/fenv_private.h
53425 (libc_feholdexcept_setroundl_ctx): Define to
53426 libc_feholdexcept_setround_ppc_ctx.
53427 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53428 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53429 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53430 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53431
53432 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53433
53434 * sysdeps/aarch64/math-tests.h: New file.
53435
53436 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
53437
53438 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53439 New.
53440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53441 Check and set bit_AVX2_Usable.
53442 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53443 macro.
53444 (bit_AVX2): Likewise.
53445 (index_AVX2_Usable): Likewise.
53446 (CPUID_AVX2): Likewise.
53447 (HAS_AVX2): Likewise.
53448
53449 2014-04-17 Will Newton <will.newton@linaro.org>
53450
53451 * manual/setjmp.texi (System V contexts): Add note that
53452 calling setcontext on a context created by a call to a
53453 signal handler is undefined. Update text to note that
53454 setcontext from a signal handler is possible but not
53455 recommended.
53456
53457 [BZ #16629]
53458 * stdlib/tst-setcontext.c: Include signal.h.
53459 (main): Check that the signal stack before and
53460 after swapcontext is the same.
53461
53462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53463 Re-implement to restore registers in user code and avoid
53464 rt_sigreturn system call.
53465
53466 2014-04-17 Wilco <wdijkstr@arm.com>
53467
53468 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53469 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53470 * math/test-fenv.c: Skip exception trap tests on targets which only
53471 support non-stop mode.
53472
53473 2014-04-17 Ian Bolton <ian.bolton@arm.com>
53474 Wilco Dijkstra <wilco.dijkstra@arm.com>
53475
53476 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53477 (libc_feholdsetround_aarch64_ctx)
53478 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53479 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53480 (libc_feresetround_ctx, libc_feresetroundf_ctx)
53481 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53482 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53483 (libc_feresetround_noexl_ctx): Define.
53484
53485 2014-04-16 Richard Henderson <rth@redhat.com>
53486
53487 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53488
53489 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53490 unwind tables.
53491
53492 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53493 const from the non-libc, non-ldso copy.
53494
53495 * sysdeps/alpha/libm-test-ulps: Regenerate.
53496
53497 2014-04-16 Ian Bolton <ian.bolton@arm.com>
53498 Wilco Dijkstra <wilco.dijkstra@arm.com>
53499
53500 * sysdeps/aarch64/fpu/math_private.h: New file.
53501
53502 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
53503
53504 * sysdeps/aarch64/libm-test-ulps: Regenerate.
53505
53506 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
53507
53508 [BZ #16275]
53509 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53510 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53512 Intel MPX bound registers before _dl_profile_fixup.
53513 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53514 registers after _dl_profile_fixup. Save and restore bound
53515 registers bnd0/bnd1 when calling _dl_call_pltexit.
53516 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53517 (LR_BND_OFFSET): Likewise.
53518 (LRV_BND0_OFFSET): Likewise.
53519 (LRV_BND1_OFFSET): Likewise.
53520
53521 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53522
53523 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53524 to...
53525 * sysdeps/mach/hurd/i386/tls.h: ... here.
53526 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53527 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53528 fields.
53529
53530 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53531
53532 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53533
53534 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53535
53536 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53537
53538 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
53539
53540 [BZ #14770]
53541 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53542 * sysdeps/s390/configure: Regenerate.
53543
53544 [BZ #16824]
53545 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53546 Set round-to-nearest internally to reduce error accumulation.
53547
53548 2014-04-16 Alan Modra <amodra@gmail.com>
53549
53550 [BZ #16740]
53551 [BZ #16619]
53552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53553 * math/libm-test.inc (frexp_test_data): Add tests.
53554 * NEWS: Update fixed bug list.
53555
53556 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53557
53558 * benchtests/Makefile: Depend on libraries in build directory.
53559 (bench-math): Separate out math tests.
53560 (bench-pthread): Separate out pthread tests.
53561 (bench): Include math and pthread tests.
53562
53563 2014-04-14 Carlos O'Donell <carlos@redhat.com>
53564
53565 [BZ #16831]
53566 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53567 _dl_debug_initialize.
53568
53569 * configure.ac: Remove SELinux header check.
53570 * configure: Regenerate.
53571 * nscd/selinux.c (perms): Array of const char* to permission names.
53572 (nscd_request_avc_has_perm): Call security_deny_unknown to find
53573 default policy. Call string_to_security_class and string_to_av_perm to
53574 translate strings. Enforce default policy and call avs_has_perm with
53575 results of translated strings.
53576
53577 2014-04-13 David S. Miller <davem@davemloft.net>
53578
53579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53580
53581 2014-04-12 Allan McRae <allan@archlinux.org>
53582
53583 [BZ #16838]
53584 * manual/string.texi (Collation Functions): Fix qsort argument
53585 order in example.
53586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53587
53588 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
53589
53590 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53591 Make the test a no-op if there are no exceptions defined.
53592
53593 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
53594
53595 * elf/Makefile (tests): make tst-dlopen-aout conditional on
53596 enable-hardcoded-path-in-tests
53597
53598 2014-04-11 Will Newton <will.newton@linaro.org>
53599
53600 * benchtests/Makefile (extra-objs): Add json-lib.o.
53601 (bench-func): Tidy up JSON output.
53602 * benchtests/bench-skeleton.c: Include json-lib.h.
53603 (main): Use JSON library functions to do output of
53604 benchmark results.
53605 * benchtests/bench-timing-type.c (main): Output the
53606 timing type simply, leaving formatting to the user.
53607 * benchtests/json-lib.c: New file.
53608 * benchtests/json-lib.h: Likewise.
53609
53610 2014-04-11 Torvald Riegel <triegel@redhat.com>
53611
53612 [BZ #15215]
53613 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53614 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
53615 memory barriers. Add comments.
53616 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53617 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53618 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53619 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53620 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53621 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53622
53623 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
53624
53625 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53626 * sysdeps/s390/s390-64/configure.ac: ... this ...
53627 * sysdeps/s390/configure.ac: ... to here.
53628 * sysdeps/s390/s390-32/configure: Delete file.
53629 * sysdeps/s390/s390-64/configure: Delete file.
53630 * sysdeps/s390/configure: Regenerate.
53631
53632 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53633
53634 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53635
53636 2014-04-11 Will Newton <will.newton@linaro.org>
53637
53638 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53639 to zero if it is not defined elsewhere. (mtrim): Test
53640 the value of MALLOC_DEBUG with #if rather than #ifdef.
53641
53642 2014-04-10 Torvald Riegel <triegel@redhat.com>
53643
53644 * benchtests/pthread_once-inputs: New file.
53645 * benchtests/pthread_once-source.c: New file.
53646 * benchtests/README: Update documentation.
53647
53648 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
53649 H.J. Lu <hongjiu.lu@intel.com>
53650
53651 [BZ #16275]
53652 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53653 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53654 * sysdeps/x86_64/configure: Regenerated.
53655 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53656 macro.
53657 (REGISTER_SAVE_RAX): Likewise.
53658 (REGISTER_SAVE_RCX): Likewise.
53659 (REGISTER_SAVE_RDX): Likewise.
53660 (REGISTER_SAVE_RSI): Likewise.
53661 (REGISTER_SAVE_RDI): Likewise.
53662 (REGISTER_SAVE_R8): Likewise.
53663 (REGISTER_SAVE_R9): Likewise.
53664 (REGISTER_SAVE_BND0): Likewise.
53665 (REGISTER_SAVE_BND1): Likewise.
53666 (REGISTER_SAVE_BND2): Likewise.
53667 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
53668 bound registers when calling _dl_fixup.
53669
53670 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53671
53672 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53673 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53674 of its definition.
53675 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53676 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53677 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53678 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53679 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53680 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53681 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53682
53683 2014-04-09 Peter Brett <peter@peter-b.co.uk>
53684
53685 [BZ #15514]
53686 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53687 pathconf(_PC_NAME_MAX).
53688
53689 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53690
53691 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53692 Remove macro usage.
53693 (__PTHREAD_SPINS): Move definition to ...
53694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53695 (__PTHREAD_SPINS): ... here.
53696 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53697 (__PTHREAD_SPIN): Likewise.
53698 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53699 (__PTHREAD_SPIN): Likewise.
53700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53701 (__PTHREAD_SPIN): Likewise.
53702 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53703 (__PTHREAD_SPIN): Likewise.
53704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53705 (__PTHREAD_SPIN): Likewise.
53706 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53707 (__PTHREAD_SPIN): Likewise.
53708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53709 (__PTHREAD_SPIN): Likewise.
53710 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53711 (__PTHREAD_SPIN): Likewise.
53712 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53713 (__PTHREAD_SPIN): Likewise.
53714 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53715 (__PTHREAD_SPIN): Likewise.
53716 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53717 (__PTHREAD_SPIN): Likewise.
53718 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53719 (__PTHREAD_SPIN): Likewise.
53720
53721 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53722 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53723 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53724 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53725 imply folder.
53726 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53727 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53728 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53729 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53730 correct imply path.
53731 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53732 strlen symbol for non multi-arch builds.
53733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53734 missing hidden_def and weak_alias.
53735
53736 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53737
53738 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53739
53740 2014-04-07 Will Newton <will.newton@linaro.org>
53741
53742 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53743 and contents. [!_LIBC] Remove #ifndef and contents.
53744 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53745 * string/memccpy.c (__memccpy): Use ANSI prototype.
53746 * string/memfrob.c (memfrob): Likewise.
53747 * string/strcoll.c (STRCOLL): Likewise.
53748 * string/strlen.c (strlen): Likewise.
53749 * string/strtok.c (STRTOK): Likewise.
53750 * string/strcat.c: Remove unused #include of memcopy.h.
53751 (strcat): Use ANSI prototype.
53752 * string/strchr.c: Remove unused #include of memcopy.h.
53753 (strchr): Use ANSI prototype.
53754 * string/strcmp.c: Remove unused #include of memcopy.h.
53755 (strcmp): Use ANSI prototype.
53756 * string/strcpy.c: Remove unused #include of memcopy.h.
53757 (strcpy): Use ANSI prototype.
53758
53759 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53760
53761 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53762 * config.make.in (config-extra-cppflags): Set it from
53763 libc_extra_cppflags.
53764 * configure.ac (libc_extra_cflags): Make it accumulate over
53765 configure fragments.
53766 (libc_extra_cppflags): New flag.
53767 * configure. Regenerate.
53768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53769 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53770 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53772
53773 [BZ #16815]
53774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53775 result for FE_DOWNWARD rounding mode.
53776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53777 Likewise.
53778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53779
53780 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53781
53782 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53783 in function argument name.
53784
53785 2014-04-03 David Svoboda <svoboda@cert.org>
53786
53787 [BZ #5666]
53788 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53789 explicitly.
53790
53791 2014-04-03 Roland McGrath <roland@hack.frob.com>
53792
53793 * elf/dl-unmap-segments.h: New file.
53794 * sysdeps/generic/ldsodefs.h
53795 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53796 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53797 * elf/dl-fptr.c: Likewise.
53798 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53799 * sysdeps/aarch64/tlsdesc.c: Likewise.
53800 * sysdeps/arm/tlsdesc.c: Likewise.
53801 * sysdeps/i386/tlsdesc.c: Likewise.
53802 * sysdeps/tile/dl-runtime.c: Likewise.
53803 * sysdeps/x86_64/tlsdesc.c: Likewise.
53804 * elf/dl-load.h: New file.
53805 * elf/dl-load.c: Include it.
53806 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53807 Macros moved to dl-load.h.
53808 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53809 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53810 Use _dl_unmap_segments in place of __munmap.
53811 Break out segment-mapping loop into ...
53812 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53813
53814 2014-04-03 Will Newton <will.newton@linaro.org>
53815
53816 * elf/dl-lookup.c (do_lookup_x): Remove comment
53817 referring to nested function and move variable
53818 declarations down to before first use.
53819
53820 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53821
53822 [BZ #16799]
53823 [BZ #16800]
53824 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53825 with 0 numerator.
53826 * math/s_catanf.c (__catanf): Likewise.
53827 * math/s_catanh.c (__catanh): Likewise.
53828 * math/s_catanhf.c (__catanhf): Likewise.
53829 * math/s_catanhl.c (__catanhl): Likewise.
53830 * math/s_catanl.c (__catanl): Likewise.
53831 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53832 by positive zero when computing -Inf result.
53833 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53834 (catanh_test): Likewise.
53835 * sysdeps/i386/fpu/libm-test-ulps: Update.
53836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53837
53838 [BZ #16789]
53839 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53840 instead of using underflowing value in computing result.
53841 * math/s_clog10.c (__clog10): Likewise.
53842 * math/s_clog10f.c (__clog10f): Likewise.
53843 * math/s_clog10l.c (__clog10l): Likewise.
53844 * math/s_clogf.c (__clogf): Likewise.
53845 * math/s_clogl.c (__clogl): Likewise.
53846 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53847 (clog10_test): Likewise.
53848 * sysdeps/i386/fpu/libm-test-ulps: Update.
53849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53850
53851 2014-04-02 Alan Modra <amodra@gmail.com>
53852
53853 [BZ #16739]
53854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53855 output when value is near a power of two. Use int64_t for lx and
53856 remove casts. Use decimal rather than hex exponent constants.
53857 Don't use long double multiplication when double will suffice.
53858 * math/libm-test.inc (nextafter_test_data): Add tests.
53859 * NEWS: Add 16739 and 16786 to bug list.
53860
53861 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53862
53863 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53864
53865 2014-04-01 Will Newton <will.newton@linaro.org>
53866
53867 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53868 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53869
53870 2014-04-01 Florian Weimer <fweimer@redhat.com>
53871
53872 [BZ #13347]
53873 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53874 * nptl/tst-setuid2.c: New file.
53875 * nptl/Makefile (xtests): Add tst-setuid2.
53876
53877 2014-04-01 Alan Modra <amodra@gmail.com>
53878
53879 [BZ #16786]
53880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53881
53882 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53883
53884 [BZ #6803]
53885 [BZ #6804]
53886 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53887 set errno as appropriate.
53888 * math/w_scalbf.c (__scalbf): Likewise.
53889 * math/w_scalbl.c (__scalbl): Likewise.
53890 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53891 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53892 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53893 Add more NaN tests.
53894
53895 [BZ #16349]
53896 * math/w_atan2.c: Include <errno.h>.
53897 (__atan2): Set errno for result underflowing to zero.
53898 * math/w_atan2f.c: Include <errno.h>.
53899 (__atan2f): Set errno for result underflowing to zero.
53900 * math/w_atan2l.c: Include <errno.h>.
53901 (__atan2l): Set errno for result underflowing to zero.
53902 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53903 tests.
53904 * math/auto-libm-test-out: Regenerated.
53905
53906 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53907
53908 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53909 Encode instruction correctly in little endian.
53910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53911 Likewise.
53912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53913 Likewise.
53914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53915 Likewise.
53916 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53917 Likewise.
53918
53919 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53920
53921 [BZ #9894]
53922 * sysdeps/unix/sysv/linux/kernel-features.h
53923 [__sparc__ && !__arch64__ && !__sparc_v9__]
53924 (__ASSUME_SET_ROBUST_LIST): Do not define.
53925 [__sparc__ && !__arch64__ && !__sparc_v9__]
53926 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53927 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53928 Likewise.
53929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53930 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53931 (__ASSUME_REQUEUE_PI): Likewise.
53932 (__ASSUME_SET_ROBUST_LIST): Likewise.
53933 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53934 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53935 Undefine.
53936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53938 Likewise.
53939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53940 Likewise.
53941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53942 Likewise.
53943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53944 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53945 Undefine.
53946 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53947 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53948 Likewise.
53949
53950 [BZ #16648]
53951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53952 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53953 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53954
53955 2014-03-31 Will Newton <will.newton@linaro.org>
53956
53957 * benchtests/Makefile (bench): Add ffs and ffsll to list
53958 of tests.
53959 * benchtests/ffs-inputs: New file.
53960 * benchtests/ffsll-inputs: Likewise.
53961
53962 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53963
53964 [BZ #16770]
53965 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53966 too large before casting to int.
53967 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53968 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53969 * math/libm-test.inc (scalb_test_data): Add more tests.
53970
53971 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53972
53973 * benchtests/Makefile (DETAILED_OPT): New make option.
53974 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53975 set.
53976 * benchtests/bench-skeleton.c: Include stdbool.h.
53977 (main): Store and print timings per input.
53978 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53979 member to each argument value.
53980 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53981 (_print_arg_data): Initialize per-input timing to 0.
53982
53983 * benchtests/Makefile (timing-type): New binary.
53984 (bench-clean): Also remove bench-timing-type.
53985 (bench): New target for timing-type.
53986 (bench-func): Print output in JSON format.
53987 * benchtests/bench-skeleton.c (main): Print output in JSON
53988 format.
53989 * benchtests/bench-timing-type.c: New file.
53990 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53991 (TIMING_PRINT_STATS): Remove.
53992 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53993 name separately.
53994
53995 * benchtests/bench-modf.c: Remove.
53996 * benchtests/modf-inputs: New inputs file.
53997
53998 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53999
54000 [BZ #16362]
54001 * math/s_clog10.c (M_PI_LOG10E): New macro.
54002 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54003 imaginary parts are 0.
54004 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54005 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54006 imaginary parts are 0.
54007 * math/s_clog10l.c (M_PI_LOG10El): New macro.
54008 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54009 imaginary parts are 0.
54010 * math/libm-test.inc (clog10_test_data): Update expected results
54011 for when real and imaginary parts are 0.
54012
54013 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
54014
54015 * elf/dl-load.c: Finish conversion of __builtin_expect into
54016 __glibc_{un}likely.
54017
54018 2014-03-27 Joseph Myers <joseph@codesourcery.com>
54019
54020 [BZ #16348]
54021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54022 1+x for argument with exponent below -67.
54023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54024 Likewise.
54025 * math/auto-libm-test-in: Add more tests of exp.
54026 * math/auto-libm-test-out: Regenerated.
54027
54028 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54029
54030 [BZ #16759]
54031 * inet/getnetgrent_r.c (get_nonempty_val): New function.
54032 (nscd_getnetgrent): Use it.
54033
54034 [BZ #16760]
54035 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54036 of stpcpy.
54037
54038 2014-03-27 Andi Kleen <ak@linux.intel.com>
54039
54040 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54041 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54042 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54043 (lll_robust_unlock): Remove out of line section. Use cfi
54044 intrinsics.
54045 (LLL_STUB_UNWIND_INFO*): Remove.
54046 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54047 (lll_robust_lock, lll_cond_lock, lll_timedlock)
54048 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54049 (lll_robust_unlock): Remove out of line section. Use cfi
54050 intrinsics.
54051 (LLL_STUB_UNWIND_INFO*): Remove.
54052
54053 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54054
54055 [BZ #16758]
54056 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54057 blank values.
54058
54059 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
54060
54061 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54062
54063 2014-03-26 Joseph Myers <joseph@codesourcery.com>
54064
54065 [BZ #16198]
54066 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54067 fnstenv.
54068 * math/test-fenv-preserve.c: New file.
54069 * math/Makefile (tests): Add test-fenv-preserve.
54070
54071 2014-03-26 Will Newton <will.newton@linaro.org>
54072
54073 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54074
54075 2014-03-25 Roland McGrath <roland@hack.frob.com>
54076
54077 * scripts/versionlist.awk: Partition the version sets and emit all
54078 GLIBC_* (sorted) before all others (sorted).
54079
54080 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54081
54082 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54083 GLIBC_2.2.5 version.
54084
54085 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54086
54087 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54088 calls.
54089
54090 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54091 previous change.
54092
54093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54094
54095 2014-03-25 Andreas Schwab <schwab@suse.de>
54096
54097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54098 label to be used after in6ailist is initialized.
54099
54100 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54101
54102 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54103 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54104
54105 2014-03-25 Joseph Myers <joseph@codesourcery.com>
54106
54107 [BZ #16357]
54108 [BZ #16599]
54109 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54110 min_plus_half.
54111 (fp_formats): Update initializers.
54112 (init_fp_formats): Initialize new field.
54113 (output_for_one_input_case): Allow underflow for results up to
54114 min_plus_half.
54115 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54116 * math/auto-libm-test-in: Don't mark some underflows from asin and
54117 atanh as spurious.
54118 * math/auto-libm-test-out: Regenerated.
54119 * sysdeps/i386/fpu/libm-test-ulps: Update.
54120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54121
54122 2014-03-25 Andreas Schwab <schwab@suse.de>
54123
54124 * libio/Makefile (tst-ftell-partial-wide-ENV)
54125 (tst-ftell-active-handler-ENV): Define.
54126
54127 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
54128
54129 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54130
54131 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54132
54133 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54134
54135 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54136
54137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54138 * sysdeps/x86_64/fpu/multiarch/e_exp.c
54139 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54140
54141 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
54142
54143 [BZ #16634]
54144 * elf/dl-load.c (open_verify): Add mode parameter.
54145 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54146 (open_path): Change from boolean 'secure' to complete flag 'mode'
54147 (_dl_map_object): Adjust.
54148 * elf/Makefile (tests): Add tst-dlopen-aout.
54149 * elf/tst-dlopen-aout.c: New test.
54150
54151 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
54152
54153 [BZ #16714]
54154 * sysdeps/unix/sysv/linux/s390/bits/stat.h
54155 (struct stat): Rename member pad0 to __glibc_reserved0.
54156
54157 [BZ #16712]
54158 * sysdeps/s390/s390-32/bits/wordsize.h
54159 (__WORDSIZE32_SIZE_ULONG): New define.
54160 * sysdeps/s390/s390-64/bits/wordsize.h
54161 (__WORDSIZE32_SIZE_ULONG): Likewise.
54162 * sysdeps/generic/stdint.h (SIZE_MAX):
54163 Define as UL if __WORDSIZE32_SIZE_ULONG.
54164
54165 [BZ #16713]
54166 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54167 (__glibc_reserved0): New variable.
54168 (sa_flags): Change type to int.
54169
54170 * posix/Makefile (before-compile): Use += before-compile instead
54171 of a :=.
54172
54173 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54174 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54175
54176 2014-03-20 Andreas Schwab <schwab@suse.de>
54177
54178 [BZ #16743]
54179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54180 non-matching result from nscd.
54181
54182 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54183
54184 * scripts/bench.py: Moved to ...
54185 * benchtests/scripts/bench.py: ... here.
54186 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54187
54188 2014-03-24 Andreas Schwab <schwab@suse.de>
54189
54190 [BZ #16002]
54191 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54192 alloca_account and account alloca use for struct in6ailist.
54193
54194 2014-03-24 Joseph Myers <joseph@codesourcery.com>
54195
54196 [BZ #16284]
54197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54198 rounding mode to recompute results that overflow to infinity or
54199 underflow to zero.
54200 * math/auto-libm-test-in: Don't mark tests as expected to fail for
54201 bug 16284.
54202 * math/auto-libm-test-out: Regenerated.
54203 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54204 (ccosh_test): Likewise.
54205 (csin_test_data): Use plus_oflow.
54206 (csin_test): Use ALL_RM_TEST.
54207 (csinh_test_data): Use plus_oflow.
54208 (csinh_test): Use ALL_RM_TEST.
54209 * sysdeps/i386/fpu/libm-test-ulps: Update.
54210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54211
54212 2014-03-21 Joseph Myers <joseph@codesourcery.com>
54213
54214 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54215 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54216 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54217
54218 [BZ #16731]
54219 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54220 when x - 1 is zero.
54221 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54222 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54223 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54225 argument is 1.
54226 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54227 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54228 zero.
54229 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54230 * sysdeps/i386/fpu/libm-test-ulps: Update.
54231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54232
54233 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54234
54235 * scripts/bench.pl: Remove file.
54236 * scripts/bench.py: New benchmark script.
54237 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54238 * benchtests/README: Mention python dependency.
54239 * scripts/pylintrc: New file.
54240 * scripts/pylint: New file.
54241
54242 * bits/mathdef.h: Use #ifdef instead of #if.
54243 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54244 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54245 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54247 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54249
54250 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54251 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54252
54253 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54255 and strpbrk-ppc64 objects.
54256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54257 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54259 multiarch strpbrk for POWER7.
54260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54261 multiarch strpbrk for PPC64.
54262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54263 ifunc selector.
54264 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54265 strpbrk for POWER7.
54266
54267 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54268
54269 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54270 (atan_test): Likewise.
54271 (atanh_test_data): Use NO_TEST_INLINE for two tests.
54272 (atanh_test): Use ALL_RM_TEST.
54273 (atan2_test_data): Likewise.
54274 (cabs_test): Likewise.
54275 (cacosh_test): Likewise.
54276 (carg_test): Likewise.
54277 (casin_test): Likewise.
54278 (casinh_test): Likewise.
54279 (cbrt_test): Likewise.
54280 (csqrt_test): Likewise.
54281 (erf_test): Likewise.
54282 (erfc_test): Likewise.
54283 (pow10_test): Likewise.
54284 (exp2_test): Likewise.
54285 (hypot_test): Likewise.
54286 (j0_test): Likewise.
54287 (j1_test): Likewise.
54288 (lgamma_test): Likewise.
54289 (gamma_test): Likewise.
54290 (sincos_test): Likewise.
54291 (tanh_test): Likewise.
54292 (y0_test): Likewise.
54293 (y1_test): Likewise.
54294 * sysdeps/i386/fpu/libm-test-ulps: Update.
54295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54296
54297 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54298
54299 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54301 and strcspn-ppc64 objects.
54302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54303 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54305 multiarch strcspn for POWER7.
54306 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54307 multiarch strcspn for PPC64.
54308 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54309 ifunc selector.
54310 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54311 strcspn for POWER7.
54312
54313 2014-03-20 Joseph Myers <joseph@codesourcery.com>
54314
54315 * math/gen-libm-test.pl (generate_testfile): Expect only function
54316 name as argument to AUTO_TESTS_* and pass results for all rounding
54317 modes to parse_args.
54318 (parse_auto_input): Separate inputs of automatic tests from
54319 outputs before storing in %auto_tests.
54320 * math/libm-test.inc (acos_test_data): Update call to
54321 AUTO_TESTS_f_f.
54322 (acos_test): Use ALL_RM_TEST.
54323 (acos_tonearest_test_data): Remove.
54324 (acos_test_tonearest): Likewise.
54325 (acos_towardzero_test_data): Likewise.
54326 (acos_test_towardzero): Likewise.
54327 (acos_downward_test_data): Likewise.
54328 (acos_test_downward): Likewise.
54329 (acos_upward_test_data): Likewise.
54330 (acos_test_upward): Likewise.
54331 (acosh_test_data): Update call to AUTO_TESTS_f_f.
54332 (asin_test_data): Likewise.
54333 (asin_test): Use ALL_RM_TEST.
54334 (asin_tonearest_test_data): Remove.
54335 (asin_test_tonearest): Likewise.
54336 (asin_towardzero_test_data): Likewise.
54337 (asin_test_towardzero): Likewise.
54338 (asin_downward_test_data): Likewise.
54339 (asin_test_downward): Likewise.
54340 (asin_upward_test_data): Likewise.
54341 (asin_test_upward): Likewise.
54342 (asinh_test_data): Update call to AUTO_TESTS_f_f.
54343 (atan_test_data): Likewise.
54344 (atanh_test_data): Likewise.
54345 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54346 (cabs_test_data): Update call to AUTO_TESTS_c_f.
54347 (carg_test_data): Likewise.
54348 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54349 (ccos_test_data): Update call to AUTO_TESTS_c_c.
54350 (ccosh_test_data): Likewise.
54351 (cexp_test_data): Likewise.
54352 (clog_test_data): Likewise.
54353 (clog10_test_data): Likewise.
54354 (cos_test_data): Update call to AUTO_TESTS_f_f.
54355 (cos_test): Use ALL_RM_TEST.
54356 (cos_tonearest_test_data): Remove.
54357 (cos_test_tonearest): Likewise.
54358 (cos_towardzero_test_data): Likewise.
54359 (cos_test_towardzero): Likewise.
54360 (cos_downward_test_data): Likewise.
54361 (cos_test_downward): Likewise.
54362 (cos_upward_test_data): Likewise.
54363 (cos_test_upward): Likewise.
54364 (cosh_test_data): Update call to AUTO_TESTS_f_f.
54365 (cosh_test): Use ALL_RM_TEST.
54366 (cosh_tonearest_test_data): Remove.
54367 (cosh_test_tonearest): Likewise.
54368 (cosh_towardzero_test_data): Likewise.
54369 (cosh_test_towardzero): Likewise.
54370 (cosh_downward_test_data): Likewise.
54371 (cosh_test_downward): Likewise.
54372 (cosh_upward_test_data): Likewise.
54373 (cosh_test_upward): Likewise.
54374 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54375 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54376 (ctan_test_data): Likewise.
54377 (ctan_test): Use ALL_RM_TEST.
54378 (ctan_tonearest_test_data): Remove.
54379 (ctan_test_tonearest): Likewise.
54380 (ctan_towardzero_test_data): Likewise.
54381 (ctan_test_towardzero): Likewise.
54382 (ctan_downward_test_data): Likewise.
54383 (ctan_test_downward): Likewise.
54384 (ctan_upward_test_data): Likewise.
54385 (ctan_test_upward): Likewise.
54386 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54387 (ctanh_test): Use ALL_RM_TEST.
54388 (ctanh_tonearest_test_data): Remove.
54389 (ctanh_test_tonearest): Likewise.
54390 (ctanh_towardzero_test_data): Likewise.
54391 (ctanh_test_towardzero): Likewise.
54392 (ctanh_downward_test_data): Likewise.
54393 (ctanh_test_downward): Likewise.
54394 (ctanh_upward_test_data): Likewise.
54395 (ctanh_test_upward): Likewise.
54396 (erf_test_data): Update call to AUTO_TESTS_f_f.
54397 (erfc_test_data): Likewise.
54398 (exp_test_data): Likewise.
54399 (exp_test): Use ALL_RM_TEST.
54400 (exp_tonearest_test_data): Remove.
54401 (exp_test_tonearest): Likewise.
54402 (exp_towardzero_test_data): Likewise.
54403 (exp_test_towardzero): Likewise.
54404 (exp_downward_test_data): Likewise.
54405 (exp_test_downward): Likewise.
54406 (exp_upward_test_data): Likewise.
54407 (exp_test_upward): Likewise.
54408 (exp10_test_data): Update call to AUTO_TESTS_f_f.
54409 (exp10_test): Use ALL_RM_TEST.
54410 (exp10_tonearest_test_data): Remove.
54411 (exp10_test_tonearest): Likewise.
54412 (exp10_towardzero_test_data): Likewise.
54413 (exp10_test_towardzero): Likewise.
54414 (exp10_downward_test_data): Likewise.
54415 (exp10_test_downward): Likewise.
54416 (exp10_upward_test_data): Likewise.
54417 (exp10_test_upward): Likewise.
54418 (exp2_test_data): Update call to AUTO_TESTS_f_f.
54419 (expm1_test_data): Likewise.
54420 (expm1_test): Use ALL_RM_TEST.
54421 (expm1_tonearest_test_data): Remove.
54422 (expm1_test_tonearest): Likewise.
54423 (expm1_towardzero_test_data): Likewise.
54424 (expm1_test_towardzero): Likewise.
54425 (expm1_downward_test_data): Likewise.
54426 (expm1_test_downward): Likewise.
54427 (expm1_upward_test_data): Likewise.
54428 (expm1_test_upward): Likewise.
54429 (fma_test_data): Update call to AUTO_TESTS_fff_f.
54430 (fma_test): Use ALL_RM_TEST.
54431 (fma_towardzero_test_data): Remove.
54432 (fma_test_towardzero): Likewise.
54433 (fma_downward_test_data): Likewise.
54434 (fma_test_downward): Likewise.
54435 (fma_upward_test_data): Likewise.
54436 (fma_test_upward): Likewise.
54437 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54438 (j0_test_data): Update call to AUTO_TESTS_f_f.
54439 (j1_test_data): Likewise.
54440 (jn_test_data): Update call to AUTO_TESTS_if_f.
54441 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54442 (log_test_data): Update call to AUTO_TESTS_f_f.
54443 (log10_test_data): Likewise.
54444 (log1p_test_data): Likewise.
54445 (log2_test_data): Likewise.
54446 (pow_test_data): Update call to AUTO_TESTS_ff_f.
54447 (pow_tonearest_test_data): Likewise.
54448 (sin_test_data): Update call to AUTO_TESTS_f_f.
54449 (sin_test): Use ALL_RM_TEST.
54450 (sin_tonearest_test_data): Remove.
54451 (sin_test_tonearest): Likewise.
54452 (sin_towardzero_test_data): Likewise.
54453 (sin_test_towardzero): Likewise.
54454 (sin_downward_test_data): Likewise.
54455 (sin_test_downward): Likewise.
54456 (sin_upward_test_data): Likewise.
54457 (sin_test_upward): Likewise.
54458 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54459 (sinh_test_data): Update call to AUTO_TESTS_f_f.
54460 (sinh_test): Use ALL_RM_TEST.
54461 (sinh_tonearest_test_data): Remove.
54462 (sinh_test_tonearest): Likewise.
54463 (sinh_towardzero_test_data): Likewise.
54464 (sinh_test_towardzero): Likewise.
54465 (sinh_downward_test_data): Likewise.
54466 (sinh_test_downward): Likewise.
54467 (sinh_upward_test_data): Likewise.
54468 (sinh_test_upward): Likewise.
54469 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54470 (sqrt_test): Use ALL_RM_TEST.
54471 (sqrt_tonearest_test_data): Remove.
54472 (sqrt_test_tonearest): Likewise.
54473 (sqrt_towardzero_test_data): Likewise.
54474 (sqrt_test_towardzero): Likewise.
54475 (sqrt_downward_test_data): Likewise.
54476 (sqrt_test_downward): Likewise.
54477 (sqrt_upward_test_data): Likewise.
54478 (sqrt_test_upward): Likewise.
54479 (tan_test_data): Update call to AUTO_TESTS_f_f.
54480 (tan_test): Use ALL_RM_TEST.
54481 (tan_tonearest_test_data): Remove.
54482 (tan_test_tonearest): Likewise.
54483 (tan_towardzero_test_data): Likewise.
54484 (tan_test_towardzero): Likewise.
54485 (tan_downward_test_data): Likewise.
54486 (tan_test_downward): Likewise.
54487 (tan_upward_test_data): Likewise.
54488 (tan_test_upward): Likewise.
54489 (tanh_test_data): Update call to AUTO_TESTS_f_f.
54490 (tgamma_test_data): Likewise.
54491 (y0_test_data): Likewise.
54492 (y1_test_data): Likewise.
54493 (yn_test_data): Update call to AUTO_TESTS_if_f.
54494 (main): Do not call removed functions.
54495
54496 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54497
54498 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54499 (ldexp_test_data): Remove.
54500 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
54501 scalbn_test_data.
54502 (scalb_test): Use ALL_RM_TEST.
54503
54504 2014-03-19 Andreas Schwab <schwab@suse.de>
54505
54506 * nscd/nscd.service: Also invalidate netgroup cache on reload.
54507
54508 2014-03-19 Joseph Myers <joseph@codesourcery.com>
54509
54510 [BZ #16649]
54511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54512 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54515 (__ASSUME_PREADV): Undefine.
54516 (__ASSUME_PWRITEV): Likewise.
54517
54518 2014-03-18 Roland McGrath <roland@hack.frob.com>
54519
54520 * bits/mman-linux.h: Add comment about non-Linux use.
54521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54522 bits/mman-linux.h resting place.
54523
54524 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54525 * bits/mman-linux.h: ... here.
54526
54527 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54528
54529 * conform/conformtest.pl: Add standard definition when calling C
54530 preprocessor on data files.
54531 (checknamespace): Remove unused variable.
54532
54533 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54534
54535 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54536 minus_oflow, plus_uflow and minus_uflow in expected results.
54537 * math/libm-test.inc (scalbn_test_data): Add more tests of
54538 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
54539 minus_uflow.
54540 (scalbn_test): Use ALL_RM_TEST.
54541 (scalbln_test_data): Add more tests of negative arguments. Use
54542 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54543 (scalbln_test): Use ALL_RM_TEST.
54544
54545 2014-03-18 Roland McGrath <roland@hack.frob.com>
54546
54547 * scripts/abilist.awk: Ignore symbols marked with .hidden.
54548
54549 2014-03-18 Will Newton <will.newton@linaro.org>
54550
54551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54552 inaccurate comment.
54553
54554 2014-03-18 Joseph Myers <joseph@codesourcery.com>
54555
54556 * Makerules [!subdir] (check-abi): Exit with error status if a
54557 test failed.
54558
54559 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54560
54561 * math/libm-test.inc (nearbyint_test_data): Include all tests used
54562 for rint. Include results for all rounding modes.
54563 (nearbyint_test): Use ALL_RM_TEST.
54564 (rint_test_data): Include all tests used for nearbyint.
54565
54566 2014-03-17 Will Newton <will.newton@linaro.org>
54567
54568 * nptl/sysdeps/pthread/pthread.h: Revert previous
54569 change.
54570
54571 * sysdeps/generic/ldsodefs.h: Revert previous
54572 change.
54573
54574 * libio/genops.c: Revert previous change.
54575 * libio/libioP.h: Likewise.
54576 * stdio-common/vfprintf.c: Likewise.
54577
54578 * sysdeps/generic/math_private.h: Revert previous
54579 change.
54580
54581 * sysdeps/generic/math_private.h: Check whether
54582 HAVE_RM_CTX is defined with #ifdef rather
54583 than #if.
54584
54585 * argp/argp-fmtstream.h: Check whether
54586 __STRICT_ANSI__ is defined with #ifdef rather
54587 than #if.
54588 * argp/argp.h: Likewise.
54589
54590 * libio/genops.c: Check whether
54591 _IO_JUMPS_OFFSET is defined with #ifdef rather
54592 than #if.
54593 * libio/libioP.h: Likewise.
54594 * stdio-common/vfprintf.c: Likewise.
54595
54596 * sysdeps/generic/ldsodefs.h: Check whether
54597 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54598 than #if.
54599
54600 * nptl/sysdeps/pthread/pthread.h: Check
54601 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54602 its value.
54603
54604 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54605
54606 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54607 setting O_APPEND.
54608 * libio/tst-ftell-active-handler.c (do_append_test): Add a
54609 test case.
54610
54611 [BZ #16680]
54612 * libio/fileops.c (_IO_file_open): Seek to end of file but
54613 don't cache the offset.
54614 (get_file_offset): Remove function.
54615 (do_ftell): Use cached offset when available.
54616 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54617 don't cache the offset.
54618 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54619 case.
54620 (do_one_test): Call it.
54621 (do_ftell_test): Fix up expected old offset for a+ mode.
54622 * libio/wfileops.c (do_ftell_wide): Used cached offset when
54623 available.
54624
54625 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54626 up test status with function return status.
54627 (do_write_test): Likewise.
54628 (do_append_test): Likewise.
54629
54630 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54631 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54632 Remove.
54633
54634 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54635
54636 * math/gen-libm-test.pl (parse_args): Handle results specified for
54637 each rounding mode separately.
54638 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54639 tests and results from lrint_tonearest_test_data,
54640 lrint_towardzero_test_data, lrint_downward_test_data and
54641 lrint_upward_test_data.
54642 (lrint_test): Use ALL_RM_TEST.
54643 (lrint_tonearest_test_data): Remove.
54644 (lrint_test_tonearest): Likewise.
54645 (lrint_towardzero_test_data): Likewise.
54646 (lrint_test_towardzero): Likewise.
54647 (lrint_downward_test_data): Likewise.
54648 (lrint_test_downward): Likewise.
54649 (lrint_upward_test_data): Likewise.
54650 (lrint_test_upward): Likewise.
54651 (llrint_test_data): Merge in per-rounding-mode tests and results
54652 from llrint_tonearest_test_data, llrint_towardzero_test_data,
54653 llrint_downward_test_data and llrint_upward_test_data.
54654 (llrint_test): Use ALL_RM_TEST.
54655 (llrint_tonearest_test_data): Remove.
54656 (llrint_test_tonearest): Likewise.
54657 (llrint_towardzero_test_data): Likewise.
54658 (llrint_test_towardzero): Likewise.
54659 (llrint_downward_test_data): Likewise.
54660 (llrint_test_downward): Likewise.
54661 (llrint_upward_test_data): Likewise.
54662 (llrint_test_upward): Likewise.
54663 (rint_test_data): Merge in per-rounding-mode tests and results
54664 from rint_tonearest_test_data, rint_towardzero_test_data,
54665 rint_downward_test_data and rint_upward_test_data. Add
54666 per-rounding-mode results for tests not in those arrays.
54667 (rint_test): Use ALL_RM_TEST.
54668 (rint_tonearest_test_data): Remove.
54669 (rint_test_tonearest): Likewise.
54670 (rint_towardzero_test_data): Likewise.
54671 (rint_test_towardzero): Likewise.
54672 (rint_downward_test_data): Likewise.
54673 (rint_test_downward): Likewise.
54674 (rint_upward_test_data): Likewise.
54675 (rint_test_upward): Likewise.
54676 (main): Don't call removed functions.
54677
54678 2014-03-14 Roland McGrath <roland@hack.frob.com>
54679
54680 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54681 "Compiled on ..." crapola. It is anti-useful.
54682
54683 2014-03-14 Joseph Myers <joseph@codesourcery.com>
54684
54685 * scripts/evaluate-test.sh: Handle fourth argument to determine
54686 whether test run should stop on failure.
54687 * Makeconfig (stop-on-test-failure): New variable.
54688 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54689 $(stop-on-test-failure).
54690 * Makefile (tests): Give a summary of results from testing and
54691 exit with failure status if they include an ERROR or FAIL.
54692 (xtests): Likewise.
54693 * manual/install.texi (Configuring and compiling): Mention
54694 stop-on-test-failure=y.
54695 * INSTALL: Regenerated.
54696
54697 2014-03-14 Roland McGrath <roland@hack.frob.com>
54698
54699 * scripts/versionlist.awk: New file.
54700 * Makerules [$(build-shared) = yes]
54701 (postclean-generated): Add Versions.def, not Versions.def.v and
54702 Versions.def.v.i.
54703 ($(common-objpfx)Versions.def.v.i): Target removed.
54704 ($(common-objpfx)Versions.def): New target.
54705 ($(common-objpfx)Versions.all): Depend on that rather that
54706 $(common-objpfx)Versions.def.v.
54707 * Versions.def: File removed.
54708
54709 * Makeconfig (+gccwarn): Add -Wundef.
54710 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54711 a dl-sysdep.h breaking its contract.
54712 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54713 * include/stackinfo.h: New file.
54714 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54715 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54716 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54717 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54718 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54719 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54720 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54721 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54722 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54723 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54724 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54725 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54726 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54727 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54728 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54729
54730 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54731
54732 [BZ #16707]
54733 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54734 implementation.
54735 * math/libm-test.inc (round_test_data): Add more tests.
54736
54737 [BZ #16706]
54738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54739 implementation.
54740 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54741
54742 [BZ #16701]
54743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54744 implementation.
54745 * math/libm-test.inc (ceil_test_data): Add more tests.
54746
54747 * math/libm-test.inc (trunc_test_data): Add more tests related to
54748 BZ#16414.
54749
54750 2014-03-14 Roland McGrath <roland@hack.frob.com>
54751
54752 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54753 with #if rather than #ifdef.
54754 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54755
54756 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54757
54758 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54759 first. Disable AVX-512 GCC support if assembler doesn't support
54760 it.
54761 * sysdeps/x86_64/configure: Regenerated.
54762
54763 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54764
54765 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54766 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54767 (__old_pthread_attr_setstack): Likewise.
54768 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54769 [!_STACK_GROWS_DOWN]: Likewise.
54770
54771 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54772
54773 * config.make.in (have-bash2): Delete.
54774 * configure.ac (libc_cv_have_bash2): Delete.
54775 * configure: Regenerate.
54776 * elf/Makefile (common-ldd-rewrite): Rename to ...
54777 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54778 (sh-ldd-rewrite): Delete.
54779 (bash-ldd-rewrite): Delete.
54780 (have-bash2): Delete checks.
54781 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54782 ldd-rewrite.
54783
54784 * config.make.in (have-ksh): Delete.
54785 (KSH): Delete.
54786 * configure.ac (libc_cv_have_ksh): Delete.
54787 * configure: Regenerate.
54788
54789 * elf/Makefile: Delete $(have-ksh) check.
54790 ($(objpfx)sotruss): Change KSH to BASH.
54791 * elf/sotruss.ksh: Rename to ...
54792 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54793 function style to match POSIX. Drop ksh vim mode setting.
54794
54795 * manual/time.texi (Specifying the Time Zone with TZ): Change
54796 Tuesday to Thursday.
54797
54798 * debug/tst-longjmp_chk2.c: Update header comment.
54799 (stackoverflow_handler): Add comment. Call assert on pass value.
54800
54801 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54802
54803 [BZ #16194]
54804 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54805 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54806 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54807 (La_x86_64_vector): Add zmm.
54808 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54809 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54810 ($(objpfx)tst-audit10): New target.
54811 ($(objpfx)tst-audit10.out): Likewise.
54812 (tst-audit10-ENV): New.
54813 (AVX512-CFLAGS): Likewise.
54814 (CFLAGS-tst-audit10.c): Likewise.
54815 (CFLAGS-tst-auditmod10a.c): Likewise.
54816 (CFLAGS-tst-auditmod10b.c): Likewise.
54817 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54818 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54819 * sysdeps/x86_64/configure: Regenerated.
54820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54821 AVX-512 zmm register support.
54822 (_dl_x86_64_save_sse): Likewise.
54823 (_dl_x86_64_restore_sse): Likewise.
54824 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54825 size vector registers.
54826 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54827 (ZMM_SIZE): Likewise.
54828 * sysdeps/x86_64/tst-audit10.c: New file.
54829 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54830 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54831
54832 2014-03-13 Roland McGrath <roland@hack.frob.com>
54833
54834 * configure.ac (HAVE_EHDR_START): New check.
54835 * configure: Regenerated.
54836 * config.h.in (HAVE_EHDR_START): New #undef.
54837 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54838 assuming the lowest-addressed segment maps the start of the file.
54839
54840 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54841
54842 * INSTALL: Regenerated.
54843
54844 2014-03-13 Will Newton <will.newton@linaro.org>
54845
54846 * manual/setjmp.texi (System V contexts): Improve
54847 clarity and grammar of documentation.
54848
54849 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54850
54851 [BZ #16381]
54852 * elf/Makefile (tests): Add tst-pie2.
54853 (tests-pie): Add tst-pie2.
54854 * elf/tst-pie2.c: New file.
54855 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54856 for ET_EXEC.
54857 * elf/rtld.c (map_doit): Load executable as lt_executable.
54858 (dl_main): Likewise.
54859
54860 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54861
54862 [BZ #16642]
54863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54864 (__ASSUME_PSELECT): Undefine.
54865
54866 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54867
54868 [BZ #16689]
54869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54870 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54871 static build.
54872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54873 selector for static builds.
54874
54875 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54876
54877 [BZ #16695]
54878 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54879 key in the buffer.
54880
54881 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54882
54883 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54884 IFUNC selector for static builds.
54885
54886 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54887
54888 * sysdeps/mips/math_private.h [__mips_hard_float]
54889 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54890 libc_feresetround_mips_ctx.
54891 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54892 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54893 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54894
54895 [BZ #16677]
54896 * math/s_nextafter.c (__nextafter): Do not return value from
54897 overflowing computation.
54898 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54899 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54900 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54901 Likewise.
54902 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54903 Likewise.
54904 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54905 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54906
54907 2014-03-11 Roland McGrath <roland@hack.frob.com>
54908
54909 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54910 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54911 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54912 the new mov targetting sp.
54913
54914 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54915
54916 [BZ #16683]
54917 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54918 Define it for static builds as well.
54919 (NO_BZERO_IMPL): Likewise.
54920
54921 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54922
54923 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54924 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54925 multiarch strspn for PPC64.
54926 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54927 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54929 (__libc_ifunc_impl_list): Likewise.
54930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54931 multiarch optimizations
54932 * string/strspn.c (strspn): Using macro to redefine symbol name.
54933
54934 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54935 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54936
54937 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54938 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54939 multiarch strncat for PPC64.
54940 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54941 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54943 (__libc_ifunc_impl_list): Likewise.
54944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54945 multiarch optimizations
54946
54947 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54948
54949 [BZ #16639]
54950 * nscd/nscd.service: Make service type forking.
54951
54952 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54953
54954 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54955 sign in non default rounding modes.
54956 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54957
54958 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54959
54960 * math/libm-test.inc (ALL_RM_TEST): New macro.
54961 (ceil_test): Use ALL_RM_TEST.
54962 (cimag_test): Likewise.
54963 (conj_test): Likewise.
54964 (copysign_test): Likewise.
54965 (cproj_test): Likewise.
54966 (creal_test): Likewise.
54967 (fabs_test): Likewise.
54968 (floor_test): Likewise.
54969 (fmax_test): Likewise.
54970 (fmin_test): Likewise.
54971 (fmod_test): Likewise.
54972 (fpclassify_test): Likewise.
54973 (frexp_test): Likewise.
54974 (ilogb_test): Likewise.
54975 (isfinite_test): Likewise.
54976 (finite_test): Likewise.
54977 (isgreater_test): Likewise.
54978 (isgreaterequal_test): Likewise.
54979 (isinf_test): Likewise.
54980 (isless_test): Likewise.
54981 (islessequal_test): Likewise.
54982 (islessgreater_test): Likewise.
54983 (isnan_test): Likewise.
54984 (isnormal_test): Likewise.
54985 (issignaling_test): Likewise.
54986 (isunordered_test): Likewise.
54987 (logb_test): Likewise.
54988 (logb_downward_test_data): Remove.
54989 (logb_test_downward): Likewise.
54990 (lround_test): Use ALL_RM_TEST.
54991 (llround_test): Likewise.
54992 (modf_test): Likewise.
54993 (nexttoward_test): Likewise.
54994 (remainder_test): Likewise.
54995 (drem_test): Likewise.
54996 (remainder_tonearest_test_data): Likewise.
54997 (remainder_test_tonearest): Likewise.
54998 (drem_test_tonearest): Likewise.
54999 (remainder_towardzero_test_data): Likewise.
55000 (remainder_test_towardzero): Likewise.
55001 (drem_test_towardzero): Likewise.
55002 (remainder_downward_test_data): Likewise.
55003 (remainder_test_downward): Likewise.
55004 (drem_test_downward): Likewise.
55005 (remainder_upward_test_data): Likewise.
55006 (remainder_test_upward): Likewise.
55007 (drem_test_upward): Likewise.
55008 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
55009 (round_test): Use ALL_RM_TEST.
55010 (signbit_test): Likewise.
55011 (trunc_test): Likewise.
55012 (significand_test): Likewise.
55013 (main): Don't call removed functions.
55014
55015 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55016
55017 [BZ #16674]
55018 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55019 || __USE_XOPEN2K8].
55020 (ILL_ILLOPN): Likewise.
55021 (ILL_ILLADR): Likewise.
55022 (ILL_ILLTRP): Likewise.
55023 (ILL_PRVOPC): Likewise.
55024 (ILL_PRVREG): Likewise.
55025 (ILL_COPROC): Likewise.
55026 (ILL_BADSTK): Likewise.
55027 (FPE_INTDIV): Likewise.
55028 (FPE_INTOVF): Likewise.
55029 (FPE_FLTDIV): Likewise.
55030 (FPE_FLTOVF): Likewise.
55031 (FPE_FLTUND): Likewise.
55032 (FPE_FLTRES): Likewise.
55033 (FPE_FLTINV): Likewise.
55034 (FPE_FLTSUB): Likewise.
55035 (SEGV_MAPERR): Likewise.
55036 (SEGV_ACCERR): Likewise.
55037 (BUS_ADRALN): Likewise.
55038 (BUS_ADRERR): Likewise.
55039 (BUS_OBJERR): Likewise.
55040 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55041 (TRAP_TRACE): Likewise.
55042 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55043 __USE_XOPEN2K8].
55044 (CLD_KILLED): Likewise.
55045 (CLD_DUMPED): Likewise.
55046 (CLD_TRAPPED): Likewise.
55047 (CLD_STOPPED): Likewise.
55048 (CLD_CONTINUED): Likewise.
55049 (POLL_IN): Likewise.
55050 (POLL_OUT): Likewise.
55051 (POLL_MSG): Likewise.
55052 (POLL_ERR): Likewise.
55053 (POLL_PRI): Likewise.
55054 (POLL_HUP): Likewise.
55055 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55056 Likewise.
55057 (ILL_ILLOPN): Likewise.
55058 (ILL_ILLADR): Likewise.
55059 (ILL_ILLTRP): Likewise.
55060 (ILL_PRVOPC): Likewise.
55061 (ILL_PRVREG): Likewise.
55062 (ILL_COPROC): Likewise.
55063 (ILL_BADSTK): Likewise.
55064 (FPE_INTDIV): Likewise.
55065 (FPE_INTOVF): Likewise.
55066 (FPE_FLTDIV): Likewise.
55067 (FPE_FLTOVF): Likewise.
55068 (FPE_FLTUND): Likewise.
55069 (FPE_FLTRES): Likewise.
55070 (FPE_FLTINV): Likewise.
55071 (FPE_FLTSUB): Likewise.
55072 (SEGV_MAPERR): Likewise.
55073 (SEGV_ACCERR): Likewise.
55074 (BUS_ADRALN): Likewise.
55075 (BUS_ADRERR): Likewise.
55076 (BUS_OBJERR): Likewise.
55077 (BUS_MCEERR_AR): Likewise.
55078 (BUS_MCEERR_AO): Likewise.
55079 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55080 (TRAP_TRACE): Likewise.
55081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55082 __USE_XOPEN2K8].
55083 (CLD_KILLED): Likewise.
55084 (CLD_DUMPED): Likewise.
55085 (CLD_TRAPPED): Likewise.
55086 (CLD_STOPPED): Likewise.
55087 (CLD_CONTINUED): Likewise.
55088 (POLL_IN): Likewise.
55089 (POLL_OUT): Likewise.
55090 (POLL_MSG): Likewise.
55091 (POLL_ERR): Likewise.
55092 (POLL_PRI): Likewise.
55093 (POLL_HUP): Likewise.
55094 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55095 (ILL_ILLOPN): Likewise.
55096 (ILL_ILLADR): Likewise.
55097 (ILL_ILLTRP): Likewise.
55098 (ILL_PRVOPC): Likewise.
55099 (ILL_PRVREG): Likewise.
55100 (ILL_COPROC): Likewise.
55101 (ILL_BADSTK): Likewise.
55102 (FPE_INTDIV): Likewise.
55103 (FPE_INTOVF): Likewise.
55104 (FPE_FLTDIV): Likewise.
55105 (FPE_FLTOVF): Likewise.
55106 (FPE_FLTUND): Likewise.
55107 (FPE_FLTRES): Likewise.
55108 (FPE_FLTINV): Likewise.
55109 (FPE_FLTSUB): Likewise.
55110 (SEGV_MAPERR): Likewise.
55111 (SEGV_ACCERR): Likewise.
55112 (BUS_ADRALN): Likewise.
55113 (BUS_ADRERR): Likewise.
55114 (BUS_OBJERR): Likewise.
55115 (BUS_MCEERR_AR): Likewise.
55116 (BUS_MCEERR_AO): Likewise.
55117 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55118 (TRAP_TRACE): Likewise.
55119 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55120 __USE_XOPEN2K8].
55121 (CLD_KILLED): Likewise.
55122 (CLD_DUMPED): Likewise.
55123 (CLD_TRAPPED): Likewise.
55124 (CLD_STOPPED): Likewise.
55125 (CLD_CONTINUED): Likewise.
55126 (POLL_IN): Likewise.
55127 (POLL_OUT): Likewise.
55128 (POLL_MSG): Likewise.
55129 (POLL_ERR): Likewise.
55130 (POLL_PRI): Likewise.
55131 (POLL_HUP): Likewise.
55132 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55133 Likewise.
55134 (ILL_ILLOPN): Likewise.
55135 (ILL_ILLADR): Likewise.
55136 (ILL_ILLTRP): Likewise.
55137 (ILL_PRVOPC): Likewise.
55138 (ILL_PRVREG): Likewise.
55139 (ILL_COPROC): Likewise.
55140 (ILL_BADSTK): Likewise.
55141 (ILL_BADIADDR): Likewise.
55142 (ILL_BREAK): Likewise.
55143 (FPE_INTDIV): Likewise.
55144 (FPE_INTOVF): Likewise.
55145 (FPE_FLTDIV): Likewise.
55146 (FPE_FLTOVF): Likewise.
55147 (FPE_FLTUND): Likewise.
55148 (FPE_FLTRES): Likewise.
55149 (FPE_FLTINV): Likewise.
55150 (FPE_FLTSUB): Likewise.
55151 (FPE_DECOVF): Likewise.
55152 (FPE_DECDIV): Likewise.
55153 (FPE_DECERR): Likewise.
55154 (FPE_INVASC): Likewise.
55155 (FPE_INVDEC): Likewise.
55156 (SEGV_MAPERR): Likewise.
55157 (SEGV_ACCERR): Likewise.
55158 (SEGV_PSTKOVF): Likewise.
55159 (BUS_ADRALN): Likewise.
55160 (BUS_ADRERR): Likewise.
55161 (BUS_OBJERR): Likewise.
55162 (BUS_MCEERR_AR): Likewise.
55163 (BUS_MCEERR_AO): Likewise.
55164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55165 (TRAP_TRACE): Likewise.
55166 (TRAP_BRANCH): Likewise.
55167 (TRAP_HWBKPT): Likewise.
55168 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55169 __USE_XOPEN2K8].
55170 (CLD_KILLED): Likewise.
55171 (CLD_DUMPED): Likewise.
55172 (CLD_TRAPPED): Likewise.
55173 (CLD_STOPPED): Likewise.
55174 (CLD_CONTINUED): Likewise.
55175 (POLL_IN): Likewise.
55176 (POLL_OUT): Likewise.
55177 (POLL_MSG): Likewise.
55178 (POLL_ERR): Likewise.
55179 (POLL_PRI): Likewise.
55180 (POLL_HUP): Likewise.
55181 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55182 (ILL_ILLOPN): Likewise.
55183 (ILL_ILLADR): Likewise.
55184 (ILL_ILLTRP): Likewise.
55185 (ILL_PRVOPC): Likewise.
55186 (ILL_PRVREG): Likewise.
55187 (ILL_COPROC): Likewise.
55188 (ILL_BADSTK): Likewise.
55189 (FPE_INTDIV): Likewise.
55190 (FPE_INTOVF): Likewise.
55191 (FPE_FLTDIV): Likewise.
55192 (FPE_FLTOVF): Likewise.
55193 (FPE_FLTUND): Likewise.
55194 (FPE_FLTRES): Likewise.
55195 (FPE_FLTINV): Likewise.
55196 (FPE_FLTSUB): Likewise.
55197 (SEGV_MAPERR): Likewise.
55198 (SEGV_ACCERR): Likewise.
55199 (BUS_ADRALN): Likewise.
55200 (BUS_ADRERR): Likewise.
55201 (BUS_OBJERR): Likewise.
55202 (BUS_MCEERR_AR): Likewise.
55203 (BUS_MCEERR_AO): Likewise.
55204 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55205 (TRAP_TRACE): Likewise.
55206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55207 __USE_XOPEN2K8].
55208 (CLD_KILLED): Likewise.
55209 (CLD_DUMPED): Likewise.
55210 (CLD_TRAPPED): Likewise.
55211 (CLD_STOPPED): Likewise.
55212 (CLD_CONTINUED): Likewise.
55213 (POLL_IN): Likewise.
55214 (POLL_OUT): Likewise.
55215 (POLL_MSG): Likewise.
55216 (POLL_ERR): Likewise.
55217 (POLL_PRI): Likewise.
55218 (POLL_HUP): Likewise.
55219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55220 (ILL_ILLOPN): Likewise.
55221 (ILL_ILLADR): Likewise.
55222 (ILL_ILLTRP): Likewise.
55223 (ILL_PRVOPC): Likewise.
55224 (ILL_PRVREG): Likewise.
55225 (ILL_COPROC): Likewise.
55226 (ILL_BADSTK): Likewise.
55227 (FPE_INTDIV): Likewise.
55228 (FPE_INTOVF): Likewise.
55229 (FPE_FLTDIV): Likewise.
55230 (FPE_FLTOVF): Likewise.
55231 (FPE_FLTUND): Likewise.
55232 (FPE_FLTRES): Likewise.
55233 (FPE_FLTINV): Likewise.
55234 (FPE_FLTSUB): Likewise.
55235 (SEGV_MAPERR): Likewise.
55236 (SEGV_ACCERR): Likewise.
55237 (BUS_ADRALN): Likewise.
55238 (BUS_ADRERR): Likewise.
55239 (BUS_OBJERR): Likewise.
55240 (BUS_MCEERR_AR): Likewise.
55241 (BUS_MCEERR_AO): Likewise.
55242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55243 (TRAP_TRACE): Likewise.
55244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55245 __USE_XOPEN2K8].
55246 (CLD_KILLED): Likewise.
55247 (CLD_DUMPED): Likewise.
55248 (CLD_TRAPPED): Likewise.
55249 (CLD_STOPPED): Likewise.
55250 (CLD_CONTINUED): Likewise.
55251 (POLL_IN): Likewise.
55252 (POLL_OUT): Likewise.
55253 (POLL_MSG): Likewise.
55254 (POLL_ERR): Likewise.
55255 (POLL_PRI): Likewise.
55256 (POLL_HUP): Likewise.
55257 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55258 (ILL_ILLOPN): Likewise.
55259 (ILL_ILLADR): Likewise.
55260 (ILL_ILLTRP): Likewise.
55261 (ILL_PRVOPC): Likewise.
55262 (ILL_PRVREG): Likewise.
55263 (ILL_COPROC): Likewise.
55264 (ILL_BADSTK): Likewise.
55265 (FPE_INTDIV): Likewise.
55266 (FPE_INTOVF): Likewise.
55267 (FPE_FLTDIV): Likewise.
55268 (FPE_FLTOVF): Likewise.
55269 (FPE_FLTUND): Likewise.
55270 (FPE_FLTRES): Likewise.
55271 (FPE_FLTINV): Likewise.
55272 (FPE_FLTSUB): Likewise.
55273 (SEGV_MAPERR): Likewise.
55274 (SEGV_ACCERR): Likewise.
55275 (BUS_ADRALN): Likewise.
55276 (BUS_ADRERR): Likewise.
55277 (BUS_OBJERR): Likewise.
55278 (BUS_MCEERR_AR): Likewise.
55279 (BUS_MCEERR_AO): Likewise.
55280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55281 (TRAP_TRACE): Likewise.
55282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55283 __USE_XOPEN2K8].
55284 (CLD_KILLED): Likewise.
55285 (CLD_DUMPED): Likewise.
55286 (CLD_TRAPPED): Likewise.
55287 (CLD_STOPPED): Likewise.
55288 (CLD_CONTINUED): Likewise.
55289 (POLL_IN): Likewise.
55290 (POLL_OUT): Likewise.
55291 (POLL_MSG): Likewise.
55292 (POLL_ERR): Likewise.
55293 (POLL_PRI): Likewise.
55294 (POLL_HUP): Likewise.
55295 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55296 (ILL_ILLOPN): Likewise.
55297 (ILL_ILLADR): Likewise.
55298 (ILL_ILLTRP): Likewise.
55299 (ILL_PRVOPC): Likewise.
55300 (ILL_PRVREG): Likewise.
55301 (ILL_COPROC): Likewise.
55302 (ILL_BADSTK): Likewise.
55303 (ILL_DBLFLT): Likewise.
55304 (ILL_HARDWALL): Likewise.
55305 (FPE_INTDIV): Likewise.
55306 (FPE_INTOVF): Likewise.
55307 (FPE_FLTDIV): Likewise.
55308 (FPE_FLTOVF): Likewise.
55309 (FPE_FLTUND): Likewise.
55310 (FPE_FLTRES): Likewise.
55311 (FPE_FLTINV): Likewise.
55312 (FPE_FLTSUB): Likewise.
55313 (SEGV_MAPERR): Likewise.
55314 (SEGV_ACCERR): Likewise.
55315 (BUS_ADRALN): Likewise.
55316 (BUS_ADRERR): Likewise.
55317 (BUS_OBJERR): Likewise.
55318 (BUS_MCEERR_AR): Likewise.
55319 (BUS_MCEERR_AO): Likewise.
55320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55321 (TRAP_TRACE): Likewise.
55322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55323 __USE_XOPEN2K8].
55324 (CLD_KILLED): Likewise.
55325 (CLD_DUMPED): Likewise.
55326 (CLD_TRAPPED): Likewise.
55327 (CLD_STOPPED): Likewise.
55328 (CLD_CONTINUED): Likewise.
55329 (POLL_IN): Likewise.
55330 (POLL_OUT): Likewise.
55331 (POLL_MSG): Likewise.
55332 (POLL_ERR): Likewise.
55333 (POLL_PRI): Likewise.
55334 (POLL_HUP): Likewise.
55335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55336 (ILL_ILLOPN): Likewise.
55337 (ILL_ILLADR): Likewise.
55338 (ILL_ILLTRP): Likewise.
55339 (ILL_PRVOPC): Likewise.
55340 (ILL_PRVREG): Likewise.
55341 (ILL_COPROC): Likewise.
55342 (ILL_BADSTK): Likewise.
55343 (FPE_INTDIV): Likewise.
55344 (FPE_INTOVF): Likewise.
55345 (FPE_FLTDIV): Likewise.
55346 (FPE_FLTOVF): Likewise.
55347 (FPE_FLTUND): Likewise.
55348 (FPE_FLTRES): Likewise.
55349 (FPE_FLTINV): Likewise.
55350 (FPE_FLTSUB): Likewise.
55351 (SEGV_MAPERR): Likewise.
55352 (SEGV_ACCERR): Likewise.
55353 (BUS_ADRALN): Likewise.
55354 (BUS_ADRERR): Likewise.
55355 (BUS_OBJERR): Likewise.
55356 (BUS_MCEERR_AR): Likewise.
55357 (BUS_MCEERR_AO): Likewise.
55358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55359 (TRAP_TRACE): Likewise.
55360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55361 __USE_XOPEN2K8].
55362 (CLD_KILLED): Likewise.
55363 (CLD_DUMPED): Likewise.
55364 (CLD_TRAPPED): Likewise.
55365 (CLD_STOPPED): Likewise.
55366 (CLD_CONTINUED): Likewise.
55367 (POLL_IN): Likewise.
55368 (POLL_OUT): Likewise.
55369 (POLL_MSG): Likewise.
55370 (POLL_ERR): Likewise.
55371 (POLL_PRI): Likewise.
55372 (POLL_HUP): Likewise.
55373 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55374 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55375
55376 [BZ #16670]
55377 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55378 before #include of <time.h>.
55379 [!__USE_XOPEN2K] (__need_timespec): Likewise.
55380 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55381 (test-xfail-UNIX98/sched.h/conform): Likewise.
55382
55383 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
55384
55385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55386 error absence of trapping exception support.
55387 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55388
55389 2014-03-07 Joseph Myers <joseph@codesourcery.com>
55390
55391 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55392 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55393 * timezone/Makefile (testdata): Move definition above include of
55394 Rules.
55395 (test-zones): New variable.
55396 (tests-special): Add zone files.
55397 (build-testdata): Use $(evaluate-test).
55398
55399 * elf/Makefile (tests-special): Rename tests to end with .out.
55400 ($(objpfx)noload-mem): Likewise.
55401 ($(objpfx)tst-leaks1-mem): Likewise.
55402 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55403 * iconv/Makefile (xtests-special): Change test-iconvconfig to
55404 $(objpfx)test-iconvconfig.out.
55405 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
55406 set -e inside subshell and redirect output to file.
55407 * iconvdata/Makefile (generated): Rename tests to end with .out.
55408 Correct type.
55409 (tests-special): Rename tests to end with .out.
55410 ($(objpfx)mtrace-tst-loading): Likewise.
55411 * intl/Makefile (generated): Likewise.
55412 (tests-special): Likewise.
55413 ($(objpfx)mtrace-tst-gettext): Likewise.
55414 * misc/Makefile (generated): Likewise.
55415 (tests-special): Likewise.
55416 ($(objpfx)tst-error1-mem): Likewise.
55417 * nptl/Makefile (tests-special): Likewise.
55418 ($(objpfx)tst-stack3-mem): Likewise.
55419 (generated): Likewise.
55420 * posix/Makefile (generated): Likewise.
55421 (tests-special): Likewise.
55422 (xtests-special): Likewise.
55423 ($(objpfx)tst-fnmatch-mem): Likewise.
55424 ($(objpfx)bug-regex2-mem): Likewise.
55425 ($(objpfx)bug-regex14-mem): Likewise.
55426 ($(objpfx)bug-regex21-mem): Likewise.
55427 ($(objpfx)bug-regex31-mem): Likewise.
55428 ($(objpfx)tst-vfork3-mem): Likewise.
55429 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55430 ($(objpfx)tst-pcre-mem): Likewise.
55431 ($(objpfx)tst-boost-mem): Likewise.
55432 ($(objpfx)bug-ga2-mem): Likewise.
55433 ($(objpfx)bug-glob2-mem): Likewise.
55434 * resolv/Makefile (generate): Likewise.
55435 (tests-special): Likewise.
55436 (xtests-special): Likewise.
55437 (generated): Likewise.
55438 ($(objpfx)mtrace-tst-leaks): Likewise.
55439 ($(objpfx)mtrace-tst-leaks2): Likewise.
55440
55441 * scripts/merge-test-results.sh: New file.
55442 * Makefile (tests-special-notdir): New variable.
55443 (tests): Run merge-test-results.sh.
55444 (xtests): Likewise.
55445 * Rules (tests-special-notdir): New variable.
55446 (xtests-special-notdir): Likewise.
55447 (tests): Run merge-test-results.sh
55448 (xtests): Likewise.
55449
55450 * Makeconfig (test-xfail-name): New variable.
55451 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55452 compute variable name for expected failures.
55453 * conform/Makefile (conformtest-headers-data): New variable.
55454 (conformtest-standards): Likewise.
55455 (conformtest-headers-ISO): Likewise.
55456 (conformtest-headers-ISO99): Likewise.
55457 (conformtest-headers-ISO11): Likewise.
55458 (conformtest-headers-POSIX): Likewise.
55459 (conformtest-headers-XPG3): Likewise.
55460 (conformtest-headers-XPG4): Likewise.
55461 (conformtest-headers-UNIX98): Likewise.
55462 (conformtest-headers-XOPEN2K): Likewise.
55463 (conformtest-headers-POSIX2008): Likewise.
55464 (conformtest-headers-XOPEN2K8): Likewise.
55465 (conformtest-header-list-base): Likewise.
55466 (conformtest-header-list-tests): Likewise.
55467 (conformtest-header-base): Likewise.
55468 (conformtest-header-tests): Likewise.
55469 (tests-special): Add $(conformtest-header-list-tests). If
55470 [$(fast-check) && !$(cross-compiling)], add
55471 $(conformtest-header-tests) instead of
55472 $(objpfx)run-conformtest.out.
55473 (generated): Add $(conformtest-header-list-base). If
55474 [$(fast-check) && !$(cross-compiling)], add
55475 $(conformtest-header-base). Remove previous setting.
55476 ($(conformtest-header-list-tests)): New target.
55477 (test-xfail-run-conformtest): Remove variable.
55478 ($(objpfx)run-conformtest.out): Remove target.
55479 (test-xfail-ISO11/complex.h/conform): New variable.
55480 (test-xfail-ISO11/stdalign.h/conform): Likewise.
55481 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55482 (test-xfail-XPG3/varargs.h/conform): Likewise.
55483 (test-xfail-XPG4/varargs.h/conform): Likewise.
55484 (test-xfail-UNIX98/varargs.h/conform): Likewise.
55485 (test-xfail-XPG4/ndbm.h/conform): Likewise.
55486 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55487 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55488 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55489 (test-xfail-XPG3/fcntl.h/conform): Likewise.
55490 (test-xfail-XPG3/ftw.h/conform): Likewise.
55491 (test-xfail-XPG3/grp.h/conform): Likewise.
55492 (test-xfail-XPG3/langinfo.h/conform): Likewise.
55493 (test-xfail-XPG3/limits.h/conform): Likewise.
55494 (test-xfail-XPG3/pwd.h/conform): Likewise.
55495 (test-xfail-XPG3/search.h/conform): Likewise.
55496 (test-xfail-XPG3/signal.h/conform): Likewise.
55497 (test-xfail-XPG3/stdio.h/conform): Likewise.
55498 (test-xfail-XPG3/stdlib.h/conform): Likewise.
55499 (test-xfail-XPG3/string.h/conform): Likewise.
55500 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55501 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55502 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55503 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55504 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55505 (test-xfail-XPG3/sys/types.h/conform): Likewise.
55506 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55507 (test-xfail-XPG3/termios.h/conform): Likewise.
55508 (test-xfail-XPG3/time.h/conform): Likewise.
55509 (test-xfail-XPG3/unistd.h/conform): Likewise.
55510 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55511 (test-xfail-XPG4/fcntl.h/conform): Likewise.
55512 (test-xfail-XPG4/langinfo.h/conform): Likewise.
55513 (test-xfail-XPG4/netdb.h/conform): Likewise.
55514 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55515 (test-xfail-XPG4/signal.h/conform): Likewise.
55516 (test-xfail-XPG4/stdio.h/conform): Likewise.
55517 (test-xfail-XPG4/stdlib.h/conform): Likewise.
55518 (test-xfail-XPG4/stropts.h/conform): Likewise.
55519 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55520 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55521 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55522 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55523 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55524 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55525 (test-xfail-XPG4/sys/time.h/conform): Likewise.
55526 (test-xfail-XPG4/sys/types.h/conform): Likewise.
55527 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55528 (test-xfail-XPG4/termios.h/conform): Likewise.
55529 (test-xfail-XPG4/ucontext.h/conform): Likewise.
55530 (test-xfail-XPG4/unistd.h/conform): Likewise.
55531 (test-xfail-XPG4/utmpx.h/conform): Likewise.
55532 (test-xfail-POSIX/sched.h/conform): Likewise.
55533 (test-xfail-POSIX/signal.h/conform): Likewise.
55534 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55535 (test-xfail-POSIX/tar.h/conform): Likewise.
55536 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55537 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55538 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55539 (test-xfail-UNIX98/netdb.h/conform): Likewise.
55540 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55541 (test-xfail-UNIX98/sched.h/conform): Likewise.
55542 (test-xfail-UNIX98/signal.h/conform): Likewise.
55543 (test-xfail-UNIX98/stdio.h/conform): Likewise.
55544 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55545 (test-xfail-UNIX98/stropts.h/conform): Likewise.
55546 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55547 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55548 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55549 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55550 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55551 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55552 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55553 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55554 (test-xfail-UNIX98/unistd.h/conform): Likewise.
55555 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55556 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55557 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55558 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55559 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55560 (test-xfail-XOPEN2K/math.h/conform): Likewise.
55561 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55562 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55563 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55564 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55565 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55566 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55567 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55568 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55569 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55570 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55571 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55572 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55573 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55574 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55575 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55576 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55577 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55578 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55579 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55580 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55581 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55582 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55583 (test-xfail-POSIX2008/signal.h/conform): Likewise.
55584 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55585 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55586 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55587 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55588 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55589 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55590 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55591 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55592 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55593 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55594 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55595 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55596 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55597 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55598 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55599 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55600 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55601 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55602 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55603 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55604 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55605 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55606 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55607 (conformtest-cc-flags): Likewise.
55608 ($(conformtest-header-tests): New target.
55609 * conform/check-header-lists.sh: New file.
55610 * conform/run-conformtest.sh: Remove.
55611
55612 * conform/conformtest.pl: Allow ' and \ in values given for
55613 constants.
55614 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55615 inclusion.
55616 [POSIX] (sys/types.h): Likewise.
55617 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55618 inclusion.
55619 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55620 inclusion.
55621 * conform/data/signal.h-data (SIGIO): Remove expectation.
55622 [XPG3] (SIGBUS): Do not expect.
55623 [POSIX || XPG3] (SIGPOLL): Likewise.
55624 [POSIX || XPG3] (SIGPROF): Likewise.
55625 [POSIX || XPG3] (SIGSYS): Likewise.
55626 [XPG3] (SIGTRAP): Likewise.
55627 [POSIX || XPG3] (SIGURG): Likewise.
55628 [POSIX || XPG3] (SIGVTALRM): Likewise.
55629 [POSIX || XPG3] (SIGXCPU): Likewise.
55630 [POSIX || XPG3] (SIGXFSZ): Likewise.
55631 [POSIX] (SA_SIGINFO): Expect.
55632 [XPG3] (siginfo_t): Do not expect type or contents.
55633 [POSIX] (si_pid): Do not expect element.
55634 [POSIX] (si_uid): Likewise.
55635 [POSIX] (si_addr): Likewise.
55636 [POSIX] (si_status): Likewise.
55637 [POSIX] (si_band): Likewise.
55638 [XPG4] (si_value): Likewise.
55639 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55640 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55641 [POSIX || XPG3] (ILL_ILLADR): Likewise.
55642 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55643 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55644 [POSIX || XPG3] (ILL_PRVREG): Likewise.
55645 [POSIX || XPG3] (ILL_COPROC): Likewise.
55646 [POSIX || XPG3] (ILL_BADSTK): Likewise.
55647 [POSIX || XPG3] (FPE_INTDIV): Likewise.
55648 [POSIX || XPG3] (FPE_INTOVF): Likewise.
55649 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55650 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55651 [POSIX || XPG3] (FPE_FLTUND): Likewise.
55652 [POSIX || XPG3] (FPE_FLTRES): Likewise.
55653 [POSIX || XPG3] (FPE_FLTINV): Likewise.
55654 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55655 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55656 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55657 [POSIX || XPG3] (BUS_ADRALN): Likewise.
55658 [POSIX || XPG3] (BUS_ADRERR): Likewise.
55659 [POSIX || XPG3] (BUS_OBJERR): Likewise.
55660 [POSIX || XPG3] (CLD_EXITED): Likewise.
55661 [POSIX || XPG3] (CLD_KILLED): Likewise.
55662 [POSIX || XPG3] (CLD_DUMPED): Likewise.
55663 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55664 [POSIX || XPG3] (CLD_STOPPED): Likewise.
55665 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55666 [POSIX || XPG3] (POLL_IN): Likewise.
55667 [POSIX || XPG3] (POLL_OUT): Likewise.
55668 [POSIX || XPG3] (POLL_MSG): Likewise.
55669 [POSIX || XPG3] (POLL_ERR): Likewise.
55670 [POSIX || XPG3] (POLL_PRI): Likewise.
55671 [POSIX || XPG3] (POLL_HUP): Likewise.
55672 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55673 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55674 (SIG*): Do not allow.
55675 [XPG3] (si_*): Likewise.
55676 [XPG3] (SI_*): Likewise.
55677 [XPG3 || XPG4] (sigev_*): Likewise.
55678 [XPG3 || XPG4] (SIGEV_*): Likewise.
55679 [XPG3 || XPG4] (sival_*): Likewise.
55680 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55681 [POSIX || XPG3] (BUS_*): Likewise.
55682 [POSIX || XPG3] (CLD_*): Likewise.
55683 [POSIX || XPG3] (FPE_*): Likewise.
55684 [POSIX || XPG3] (ILL_*): Likewise.
55685 [POSIX || XPG3] (POLL_*): Likewise.
55686 [POSIX || XPG3] (SEGV_*): Likewise.
55687 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55688 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55689 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55690 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55691 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55692 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55693 Specify type and value.
55694 (TVERSLEN): Likewise.
55695 (REGTYPE): Likewise.
55696 (AREGTYPE): Likewise.
55697 (LNKTYPE): Likewise.
55698 (SYMTYPE): Likewise.
55699 (CHRTYPE): Likewise.
55700 (BLKTYPE): Likewise.
55701 (DIRTYPE): Likewise.
55702 (FIFOTYPE): Likewise.
55703 (CONTTYPE): Likewise.
55704 (TSUID): Likewise.
55705 (TSGID): Likewise.
55706 (TSVTX): Likewise.
55707 (TUREAD): Likewise.
55708 (TUWRITE): Likewise.
55709 (TUEXEC): Likewise.
55710 (TGREAD): Likewise.
55711 (TGWRITE): Likewise.
55712 (TGEXEC): Likewise.
55713 (TOREAD): Likewise.
55714 (TOWRITE): Likewise.
55715 (TOEXEC): Likewise.
55716 [POSIX] (TSVTX): Expect constant.
55717
55718 2014-03-06 Joseph Myers <joseph@codesourcery.com>
55719
55720 * Makefile (tests): Change dependencies to ....
55721 (tests-special): ... additions to this variable.
55722 (tests): Depend on $(tests-special).
55723 * Makerules (check-abi-list): New variable.
55724 (check-abi): Depend on $(check-abi-list).
55725 [$(subdir) = elf] (tests-special): Add
55726 $(objpfx)check-abi-libc.out.
55727 [$(build-shared) = yes && subdir] (tests-special): Add
55728 $(check-abi-list).
55729 [$(build-shared) = yes && subdir] (tests): Do not depend on
55730 check-abi.
55731 * Rules (tests): Depend on $(tests-special).
55732 (xtests): Depend on $(xtests-special).
55733 * catgets/Makefile (tests): Change dependencies to ....
55734 (tests-special): ... additions to this variable.
55735 * conform/Makefile (tests): Change dependencies to ....
55736 (tests-special): ... additions to this variable.
55737 * elf/Makefile (tests): Change dependencies to ....
55738 (tests-special): ... additions to this variable.
55739 * grp/Makefile (tests): Change dependencies to ....
55740 (tests-special): ... additions to this variable.
55741 * iconv/Makefile (xtests): Change dependencies to ....
55742 (xtests-special): ... additions to this variable.
55743 * iconvdata/Makefile (tests): Change dependencies to ....
55744 (tests-special): ... additions to this variable.
55745 * intl/Makefile (tests): Change dependencies to ....
55746 (tests-special): ... additions to this variable. Also add
55747 $(objpfx)tst-gettext.out.
55748 * io/Makefile (tests): Change dependencies to ....
55749 (tests-special): ... additions to this variable.
55750 * libio/Makefile (tests): Change dependencies to ....
55751 (tests-special): ... additions to this variable.
55752 * malloc/Makefile (tests): Change dependencies to ....
55753 (tests-special): ... additions to this variable.
55754 * misc/Makefile (tests): Change dependencies to ....
55755 (tests-special): ... additions to this variable.
55756 * nptl/Makefile (tests): Change dependencies to ....
55757 (tests-special): ... additions to this variable.
55758 * nptl_db/Makefile (tests): Change dependencies to ....
55759 (tests-special): ... additions to this variable.
55760 * posix/Makefile (tests): Change dependencies to ....
55761 (tests-special): ... additions to this variable.
55762 (xtests): Change dependencies to ....
55763 (xtests-special): ... additions to this variable.
55764 * resolv/Makefile (tests): Change dependencies to ....
55765 (tests-special): ... additions to this variable.
55766 (xtests): Change dependencies to ....
55767 (xtests-special): ... additions to this variable.
55768 * stdio-common/Makefile (tests): Change dependencies to ....
55769 (tests-special): ... additions to this variable.
55770 (do-tst-unbputc): Remove target.
55771 (do-tst-printf): Likewise.
55772 * stdlib/Makefile (tests): Change dependencies to ....
55773 (tests-special): ... additions to this variable.
55774 * string/Makefile (tests): Change dependencies to ....
55775 (tests-special): ... additions to this variable.
55776 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55777 (tests-special): ... additions to this variable.
55778
55779 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55780 whole file.
55781 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55782 whole file.
55783 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55784 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55785
55786 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55787 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55788 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55789 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55790 * conform/data/libgen.h-data [XPG3]: Likewise.
55791 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55792 * conform/data/ndbm.h-data [XPG3]: Likewise.
55793 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55794 * conform/data/netdb.h-data [XPG3]: Likewise.
55795 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55796 * conform/data/poll.h-data [XPG3]: Likewise.
55797 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55798 * conform/data/strings.h-data [XPG3]: Likewise.
55799 * conform/data/stropts.h-data [XPG3]: Likewise.
55800 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55801 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55802 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55803 Likewise.
55804 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55805 * conform/data/sys/time.h-data [XPG3]: Likewise.
55806 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55807 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55808 * conform/data/sys/un.h-data [XPG3]: Likewise.
55809 * conform/data/syslog.h-data [XPG3]: Likewise.
55810 * conform/data/ucontext.h-data [XPG3]: Likewise.
55811 * conform/data/utmpx.h-data [XPG3]: Likewise.
55812 * conform/data/varargs.h-data [UNIX98]: Enable file.
55813
55814 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55815
55816 * math/libm-test.inc (struct test_f_f_data): Move expected results
55817 into structure for each rounding mode.
55818 (struct test_ff_f_data): Likewise.
55819 (struct test_ff_f_data_nexttoward): Likewise.
55820 (struct test_fi_f_data): Likewise.
55821 (struct test_fl_f_data): Likewise.
55822 (struct test_if_f_data): Likewise.
55823 (struct test_fff_f_data): Likewise.
55824 (struct test_c_f_data): Likewise.
55825 (struct test_f_f1_data): Likewise.
55826 (struct test_fF_f1_data): Likewise.
55827 (struct test_ffI_f1_data): Likewise.
55828 (struct test_c_c_data): Likewise.
55829 (struct test_cc_c_data): Likewise.
55830 (struct test_f_i_data): Likewise.
55831 (struct test_ff_i_data): Likewise.
55832 (struct test_f_l_data): Likewise.
55833 (struct test_f_L_data): Likewise.
55834 (struct test_fFF_11_data): Likewise.
55835 (RM_): New macro.
55836 (RM_FE_DOWNWARD): Likewise.
55837 (RM_FE_TONEAREST): Likewise.
55838 (RM_FE_TOWARDZERO): Likewise.
55839 (RM_FE_UPWARD): Likewise.
55840 (RUN_TEST_LOOP_f_f): Update references to expected results.
55841 (RUN_TEST_LOOP_2_f): Likewise.
55842 (RUN_TEST_LOOP_fff_f): Likewise.
55843 (RUN_TEST_LOOP_c_f): Likewise.
55844 (RUN_TEST_LOOP_f_f1): Likewise.
55845 (RUN_TEST_LOOP_fF_f1): Likewise.
55846 (RUN_TEST_LOOP_fI_f1): Likewise.
55847 (RUN_TEST_LOOP_ffI_f1): Likewise.
55848 (RUN_TEST_LOOP_c_c): Likewise.
55849 (RUN_TEST_LOOP_cc_c): Likewise.
55850 (RUN_TEST_LOOP_f_i): Likewise.
55851 (RUN_TEST_LOOP_f_i_tg): Likewise.
55852 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55853 (RUN_TEST_LOOP_f_b): Likewise.
55854 (RUN_TEST_LOOP_f_b_tg): Likewise.
55855 (RUN_TEST_LOOP_f_l): Likewise.
55856 (RUN_TEST_LOOP_f_L): Likewise.
55857 (RUN_TEST_LOOP_fFF_11): Likewise.
55858 * math/gen-libm-test.pl (parse_args): Output four copies of
55859 expected results for each test.
55860
55861 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55862 (__ASSUME_UTIMES): Remove.
55863 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55864 (__ASSUME_UTIMES): Likewise.
55865
55866 * math/gen-auto-libm-tests.c: Update comment on output format.
55867 (output_for_one_input_case): Generate before-rounding and
55868 after-rounding information as conditions on output flags not
55869 floating-point format.
55870 * math/auto-libm-test-out: Regenerated.
55871 * math/gen-libm-test.pl (cond_value): New function.
55872 (or_cond_value): Use cond_value.
55873 (generate_testfile): Handle conditional exceptions.
55874
55875 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55876
55877 * math/libm-test.inc (max_valid_error): New variable.
55878 (init_max_error): Take new argument specifying whether function
55879 results are exactly determined. Set max_valid_error and bound
55880 other variables for errors based on this argument.
55881 (set_max_error): Do not record results above max_valid_error.
55882 (check_float_internal): Only accept errors of up to 0.5ulps if
55883 also at most max_valid_error.
55884 (START): Take new argument EXACT and pass it to init_max_error.
55885 (acos_test): Update call to START.
55886 (acos_test_tonearest): Likewise.
55887 (acos_test_towardzero): Likewise.
55888 (acos_test_downward): Likewise.
55889 (acos_test_upward): Likewise.
55890 (acosh_test): Likewise.
55891 (asin_test): Likewise.
55892 (asin_test_tonearest): Likewise.
55893 (asin_test_towardzero): Likewise.
55894 (asin_test_downward): Likewise.
55895 (asin_test_upward): Likewise.
55896 (asinh_test): Likewise.
55897 (atan_test): Likewise.
55898 (atanh_test): Likewise.
55899 (atan2_test): Likewise.
55900 (cabs_test): Likewise.
55901 (cacos_test): Likewise.
55902 (cacosh_test): Likewise.
55903 (carg_test): Likewise.
55904 (casin_test): Likewise.
55905 (casinh_test): Likewise.
55906 (catan_test): Likewise.
55907 (catanh_test): Likewise.
55908 (cbrt_test): Likewise.
55909 (ccos_test): Likewise.
55910 (ccosh_test): Likewise.
55911 (ceil_test): Likewise.
55912 (cexp_test): Likewise.
55913 (cimag_test): Likewise.
55914 (clog_test): Likewise.
55915 (clog10_test): Likewise.
55916 (conj_test): Likewise.
55917 (copysign_test): Likewise.
55918 (cos_test): Likewise.
55919 (cos_test_tonearest): Likewise.
55920 (cos_test_towardzero): Likewise.
55921 (cos_test_downward): Likewise.
55922 (cos_test_upward): Likewise.
55923 (cosh_test): Likewise.
55924 (cosh_test_tonearest): Likewise.
55925 (cosh_test_towardzero): Likewise.
55926 (cosh_test_downward): Likewise.
55927 (cosh_test_upward): Likewise.
55928 (cpow_test): Likewise.
55929 (cproj_test): Likewise.
55930 (creal_test): Likewise.
55931 (csin_test): Likewise.
55932 (csinh_test): Likewise.
55933 (csqrt_test): Likewise.
55934 (ctan_test): Likewise.
55935 (ctan_test_tonearest): Likewise.
55936 (ctan_test_towardzero): Likewise.
55937 (ctan_test_downward): Likewise.
55938 (ctan_test_upward): Likewise.
55939 (ctanh_test): Likewise.
55940 (ctanh_test_tonearest): Likewise.
55941 (ctanh_test_towardzero): Likewise.
55942 (ctanh_test_downward): Likewise.
55943 (ctanh_test_upward): Likewise.
55944 (erf_test): Likewise.
55945 (erfc_test): Likewise.
55946 (exp_test): Likewise.
55947 (exp_test_tonearest): Likewise.
55948 (exp_test_towardzero): Likewise.
55949 (exp_test_downward): Likewise.
55950 (exp_test_upward): Likewise.
55951 (exp10_test): Likewise.
55952 (exp10_test_tonearest): Likewise.
55953 (exp10_test_towardzero): Likewise.
55954 (exp10_test_downward): Likewise.
55955 (exp10_test_upward): Likewise.
55956 (pow10_test): Likewise.
55957 (exp2_test): Likewise.
55958 (expm1_test): Likewise.
55959 (expm1_test_tonearest): Likewise.
55960 (expm1_test_towardzero): Likewise.
55961 (expm1_test_downward): Likewise.
55962 (expm1_test_upward): Likewise.
55963 (fabs_test): Likewise.
55964 (fdim_test): Likewise.
55965 (floor_test): Likewise.
55966 (fma_test): Likewise.
55967 (fma_test_towardzero): Likewise.
55968 (fma_test_downward): Likewise.
55969 (fma_test_upward): Likewise.
55970 (fmax_test): Likewise.
55971 (fmin_test): Likewise.
55972 (fmod_test): Likewise.
55973 (fpclassify_test): Likewise.
55974 (frexp_test): Likewise.
55975 (hypot_test): Likewise.
55976 (ilogb_test): Likewise.
55977 (isfinite_test): Likewise.
55978 (finite_test): Likewise.
55979 (isgreater_test): Likewise.
55980 (isgreaterequal_test): Likewise.
55981 (isinf_test): Likewise.
55982 (isless_test): Likewise.
55983 (islessequal_test): Likewise.
55984 (islessgreater_test): Likewise.
55985 (isnan_test): Likewise.
55986 (isnormal_test): Likewise.
55987 (issignaling_test): Likewise.
55988 (isunordered_test): Likewise.
55989 (j0_test): Likewise.
55990 (j1_test): Likewise.
55991 (jn_test): Likewise.
55992 (ldexp_test): Likewise.
55993 (lgamma_test): Likewise.
55994 (gamma_test): Likewise.
55995 (lrint_test): Likewise.
55996 (lrint_test_tonearest): Likewise.
55997 (lrint_test_towardzero): Likewise.
55998 (lrint_test_downward): Likewise.
55999 (lrint_test_upward): Likewise.
56000 (llrint_test): Likewise.
56001 (llrint_test_tonearest): Likewise.
56002 (llrint_test_towardzero): Likewise.
56003 (llrint_test_downward): Likewise.
56004 (llrint_test_upward): Likewise.
56005 (log_test): Likewise.
56006 (log10_test): Likewise.
56007 (log1p_test): Likewise.
56008 (log2_test): Likewise.
56009 (logb_test): Likewise.
56010 (logb_test_downward): Likewise.
56011 (lround_test): Likewise.
56012 (llround_test): Likewise.
56013 (modf_test): Likewise.
56014 (nearbyint_test): Likewise.
56015 (nextafter_test): Likewise.
56016 (nexttoward_test): Likewise.
56017 (pow_test): Likewise.
56018 (pow_test_tonearest): Likewise.
56019 (pow_test_towardzero): Likewise.
56020 (pow_test_downward): Likewise.
56021 (pow_test_upward): Likewise.
56022 (remainder_test): Likewise.
56023 (drem_test): Likewise.
56024 (remainder_test_tonearest): Likewise.
56025 (drem_test_tonearest): Likewise.
56026 (remainder_test_towardzero): Likewise.
56027 (drem_test_towardzero): Likewise.
56028 (remainder_test_downward): Likewise.
56029 (drem_test_downward): Likewise.
56030 (remainder_test_upward): Likewise.
56031 (drem_test_upward): Likewise.
56032 (remquo_test): Likewise.
56033 (rint_test): Likewise.
56034 (rint_test_tonearest): Likewise.
56035 (rint_test_towardzero): Likewise.
56036 (rint_test_downward): Likewise.
56037 (rint_test_upward): Likewise.
56038 (round_test): Likewise.
56039 (scalb_test): Likewise.
56040 (scalbn_test): Likewise.
56041 (scalbln_test): Likewise.
56042 (signbit_test): Likewise.
56043 (sin_test): Likewise.
56044 (sin_test_tonearest): Likewise.
56045 (sin_test_towardzero): Likewise.
56046 (sin_test_downward): Likewise.
56047 (sin_test_upward): Likewise.
56048 (sincos_test): Likewise.
56049 (sinh_test): Likewise.
56050 (sinh_test_tonearest): Likewise.
56051 (sinh_test_towardzero): Likewise.
56052 (sinh_test_downward): Likewise.
56053 (sinh_test_upward): Likewise.
56054 (sqrt_test): Likewise.
56055 (sqrt_test_tonearest): Likewise.
56056 (sqrt_test_towardzero): Likewise.
56057 (sqrt_test_downward): Likewise.
56058 (sqrt_test_upward): Likewise.
56059 (tan_test): Likewise.
56060 (tan_test_tonearest): Likewise.
56061 (tan_test_towardzero): Likewise.
56062 (tan_test_downward): Likewise.
56063 (tan_test_upward): Likewise.
56064 (tanh_test): Likewise.
56065 (tgamma_test): Likewise.
56066 (trunc_test): Likewise.
56067 (y0_test): Likewise.
56068 (y1_test): Likewise.
56069 (yn_test): Likewise.
56070 (significand_test): Likewise.
56071
56072 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56073 individual tests in comment.
56074 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56075 (prev_max_error): New variable.
56076 (prev_real_max_error): Likewise.
56077 (prev_imag_max_error): Likewise.
56078 (compare_ulp_data): Don't refer to test names in comment.
56079 (find_test_ulps): Remove function.
56080 (find_function_ulps): Likewise.
56081 (find_complex_function_ulps): Likewise.
56082 (init_max_error): Take function name as argument. Look up ulps
56083 for that function.
56084 (print_ulps): Remove function.
56085 (print_max_error): Use prev_max_error instead of calling
56086 find_function_ulps.
56087 (print_complex_max_error): Use prev_real_max_error and
56088 prev_imag_max_error instead of calling find_complex_function_ulps.
56089 (check_float_internal): Take max_ulp parameter instead of calling
56090 find_test_ulps. Don't call print_ulps.
56091 (check_float): Update call to check_float_internal.
56092 (check_complex): Update calls to check_float_internal.
56093 (START): Pass argument to init_max_error.
56094 * math/gen-libm-test.pl (%results): Don't include "kind"
56095 information.
56096 (parse_ulps): Don't handle ulps of individual tests.
56097 (print_ulps_file): Likewise.
56098 (output_ulps): Likewise.
56099 * math/README.libm-test: Update.
56100 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56101 individual tests.
56102 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56103 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56104 * sysdeps/arm/libm-test-ulps: Likewise.
56105 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56106 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56107 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56108 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56109 * sysdeps/microblaze/libm-test-ulps: Likewise.
56110 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56111 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56113 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56114 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56115 * sysdeps/sh/libm-test-ulps: Likewise.
56116 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56117 * sysdeps/tile/libm-test-ulps: Likewise.
56118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56119
56120 2014-03-04 Joseph Myers <joseph@codesourcery.com>
56121
56122 * math/libm-test.inc (print_complex_max_error): Check separately
56123 whether real and imaginary errors are within allowed range and
56124 pass 0 to print_complex_function_ulps instead of value within
56125 allowed range.
56126
56127 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56128
56129 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56130 formatting.
56131 (get_handles_fopen): Likewise.
56132 (do_write_test): Likewise.
56133
56134 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56135
56136 * libio/fileops.c (do_ftell): Use cached offset when
56137 available.
56138 * libio/iofwide.c (do_ftell_wide): Likewise.
56139 * libio/iofdopen.c (_IO_new_fdopen): Don't use
56140 _IO_file_attach.
56141 * libio/wfileops.c (_IO_fwide): Don't cache offset.
56142
56143 [BZ #16532]
56144 * libio/libioP.h (get_file_offset): New function.
56145 * libio/fileops.c (get_file_offset): Likewise.
56146 (do_ftell): Likewise.
56147 (_IO_new_file_seekoff): Split out ftell logic.
56148 * libio/wfileops.c (do_ftell_wide): Likewise.
56149 (_IO_wfile_seekoff): Split out ftell logic.
56150 * libio/tst-ftell-active-handler.c: New test case.
56151 * libio/Makefile (tests): Add it.
56152
56153 2014-03-03 Roland McGrath <roland@hack.frob.com>
56154
56155 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56156 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56157
56158 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
56159
56160 [BZ #16639]
56161 * nscd/connections.c (nscd_init): Call do_exit.
56162 (start_threads): Call do_exit and notify_parent.
56163 (begin_drop_privileges): Call do_exit.
56164 (finish_drop_privileges): Likewise.
56165 * nscd/selinux.c (preserve_capabilities): Likewise.
56166 (install_real_capabilities): Likewise.
56167 (nscd_selinux_enabled): Likewise.
56168 (avc_create_thread): Likewise.
56169 (avc_alloc_lock): Likewise.
56170 (nscd_avc_init): Likewise.
56171 * nscd/nscd.c (parent_fd): New static variable.
56172 (main): Create a pipe between parent and child processes.
56173 Skip closing parent_fd.
56174 (monitor_child): New function.
56175 (do_exit): Likewise.
56176 (notify_parent): Likewise.
56177 * nscd/nscd.h (notify_parent): Likewise.
56178 (do_exit): Likewise.
56179
56180 2014-03-03 Carlos O'Donell <carlos@redhat.com>
56181
56182 * malloc/malloc.c (__libc_calloc): Revert last change.
56183
56184 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56185
56186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56187
56188 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56189
56190 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56192 implementation.
56193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56194 (__libc_ifunc_impl_list): Likewise.
56195 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56196 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56197 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56198 * string/strrchr.c: Define STRRCHR.
56199
56200 2014-02-28 Ondƙej Bílka <neleai@seznam.cz>
56201
56202 * benchtest/bench-strtok.c (simple_strtok): Delete.
56203 (strtok_string): Use as benchmark.
56204 * string/strtok (STRTOK): New macro.
56205
56206 2014-02-28 Carlos O'Donell <carlos@redhat.com>
56207
56208 * manual/threads.texi: Add header and standard comments to all
56209 functions.
56210
56211 * elf/dl-lookup.c (check_match): New function.
56212 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56213 (do_lookup_x): Remove nested function check_match. Use non-nested
56214 function check_match.
56215
56216 2014-02-28 Roland McGrath <roland@hack.frob.com>
56217
56218 * csu/Makefile (generated, before-compile): Use += rather than =.
56219 * catgets/Makefile (generated, generated-dirs): Likewise.
56220 * debug/Makefile (generated): Likewise.
56221 * dlfcn/Makefile (generated): Likewise.
56222 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56223 * iconvdata/Makefile (before-compile, generated): Likewise.
56224 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56225 * libio/Makefile (generated): Likewise.
56226 * malloc/Makefile (generated): Likewise.
56227 * manual/Makefile (generated, generated-dirs): Likewise.
56228 * misc/Makefile (generated): Likewise.
56229 * posix/Makefile (generated): Likewise.
56230 * resolv/Makefile (generated): Likewise.
56231 * sunrpc/Makefile (generated, generated-dirs): Likewise.
56232 * timezone/Makefile (generated, generated-dirs): Likewise.
56233
56234 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56235
56236 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56237
56238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56239 power8 implementation.
56240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56241 file: POWER8 llround ifunc implementation.
56242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56243 (__lllround): Add POWER8 implementation.
56244 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56245 POWER8 llround implementation.
56246
56247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56248 power8 implementation.
56249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56250 file: POWER8 llrint ifunc implementation.
56251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56252 Add POWER8 implementation.
56253 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56254 POWER8 llrint implementation.
56255
56256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56257 power8 implementation.
56258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56259 file: POWER8 finite ifunc implementation.
56260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56261 Add POWER8 implementation.
56262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56263 Likewise.
56264 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56265 POWER8 finite implementation.
56266 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56267
56268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56269 power8 implementation.
56270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56271 file: POWER8 isinf ifunc implementation.
56272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56273 POWER8 implementation.
56274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56275 Likewise.
56276 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56277 isinf implementation.
56278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56279
56280 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56281 (INIT_ARCH): Add hwcap2 initialization.
56282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56283 power8 implementation.
56284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56285 file: POWER8 isnan ifunc implementation.
56286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56287 POWER8 implementation.
56288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56289 Likewise.
56290 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56291 isnan implementation.
56292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56293
56294 2014-02-27 Joey Ye <joey.ye@arm.com>
56295
56296 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56297 (_FP_NANFRAC_Q): Set to zero.
56298
56299 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56300
56301 [BZ #16623]
56302 * math/auto-libm-test-in: New test inputs.
56303 * math/auto-libm-test-out: Regenerate.
56304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56305 and DA.
56306 (__cos): Likewise.
56307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56308
56309 2014-02-27 Joseph Myers <joseph@codesourcery.com>
56310
56311 * scripts/evaluate-test.sh: Take new argument indicating whether
56312 failure is expected.
56313 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56314 indicating whether failure is expected.
56315 * conform/Makefile (test-xfail-run-conformtest): New variable.
56316 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56317 level.
56318 * posix/Makefile (test-xfail-annexc): New variable.
56319 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56320
56321 2014-02-26 Joseph Myers <joseph@codesourcery.com>
56322
56323 * argp/Makefile: Include Makeconfig immediately after defining
56324 subdir.
56325 * assert/Makefile: Likewise.
56326 * benchtests/Makefile: Likewise.
56327 * catgets/Makefile: Likewise.
56328 * conform/Makefile: Likewise.
56329 * crypt/Makefile: Likewise.
56330 * csu/Makefile: Likewise.
56331 (all): Remove target.
56332 * ctype/Makefile: Include Makeconfig immediately after defining
56333 subdir.
56334 * debug/Makefile: Likewise.
56335 * dirent/Makefile: Likewise.
56336 * dlfcn/Makefile: Likewise.
56337 * gmon/Makefile: Likewise.
56338 * gnulib/Makefile: Likewise.
56339 * grp/Makefile: Likewise.
56340 * gshadow/Makefile: Likewise.
56341 * hesiod/Makefile: Likewise.
56342 * hurd/Makefile: Likewise.
56343 (all): Remove target.
56344 * iconvdata/Makefile: Include Makeconfig immediately after
56345 defining subdir.
56346 * inet/Makefile: Likewise.
56347 * intl/Makefile: Likewise.
56348 * io/Makefile: Likewise.
56349 * libio/Makefile: Likewise.
56350 (all): Remove target.
56351 * locale/Makefile: Include Makeconfig immediately after defining
56352 subdir.
56353 * login/Makefile: Likewise.
56354 * mach/Makefile: Likewise.
56355 (all): Remove target.
56356 * malloc/Makefile: Include Makeconfig immediately after defining
56357 subdir.
56358 (all): Remove target.
56359 * manual/Makefile: Include Makeconfig immediately after defining
56360 subdir.
56361 * math/Makefile: Likewise.
56362 * misc/Makefile: Likewise.
56363 * nis/Makefile: Likewise.
56364 * nss/Makefile: Likewise.
56365 * po/Makefile: Likewise.
56366 (all): Remove target.
56367 * posix/Makefile: Include Makeconfig immediately after defining
56368 subdir.
56369 * pwd/Makefile: Likewise.
56370 * resolv/Makefile: Likewise.
56371 * resource/Makefile: Likewise.
56372 * rt/Makefile: Likewise.
56373 * setjmp/Makefile: Likewise.
56374 * shadow/Makefile: Likewise.
56375 * signal/Makefile: Likewise.
56376 * socket/Makefile: Likewise.
56377 * soft-fp/Makefile: Likewise.
56378 * stdio-common/Makefile: Likewise.
56379 * stdlib/Makefile: Likewise.
56380 * streams/Makefile: Likewise.
56381 * string/Makefile: Likewise.
56382 * sunrpc/Makefile: Likewise.
56383 (all): Remove target.
56384 * sysvipc/Makefile: Include Makeconfig immediately after defining
56385 subdir.
56386 * termios/Makefile: Likewise.
56387 * time/Makefile: Likewise.
56388 * timezone/Makefile: Likewise.
56389 (all): Remove target.
56390 * wcsmbs/Makefile: Include Makeconfig immediately after defining
56391 subdir.
56392 * wctype/Makefile: Likewise.
56393
56394 2014-02-26 Steve Ellcey <sellcey@mips.com>
56395
56396 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56397 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56398 (libc_feholdexcept_setround_mips): Ditto.
56399 (libc_feholdsetround): New.
56400 (libc_feholdsetroundf): New.
56401 (libc_feholdsetroundl): New.
56402 (libc_feupdateenv_test_mips): New.
56403 (libc_feupdateenv_test): New.
56404 (libc_feupdateenv_testf): New.
56405 (libc_feupdateenv_testl): New.
56406 (libc_feresetround): New.
56407 (libc_feresetroundf): New.
56408 (libc_feresetroundl): New.
56409 (libc_fetestexcept_mips): New.
56410 (libc_fetestexcept): New.
56411 (libc_fetestexceptf): New.
56412 (libc_fetestexceptl): New.
56413 (HAVE_RM_CTX): New.
56414 (libc_feholdexcept_setround_mips_ctx): New.
56415 (libc_feholdexcept_setround_ctx): New.
56416 (libc_feholdexcept_setroundf_ctx): New.
56417 (libc_feholdexcept_setroundl_ctx): New.
56418 (libc_fesetenv_mips_ctx): New.
56419 (libc_fesetenv_ctx): New.
56420 (libc_fesetenv_ctxf): New.
56421 (libc_fesetenv_ctxl): New.
56422 (libc_feupdateenv_mips_ctx): New.
56423 (libc_feupdateenv_ctx): New.
56424 (libc_feupdateenvf_ctx): New.
56425 (libc_feupdateenvl_ctx): New.
56426 (libc_feholdsetround_mips_ctx): New.
56427 (libc_feholdsetround_ctx): New.
56428 (libc_feholdsetroundf_ctx): New.
56429 (libc_feholdsetroundl_ctx): New.
56430 (libc_feresetround_mips_ctx): New.
56431 (libc_feresetround_ctx): New.
56432 (libc_feresetroundf_ctx): New.
56433 (libc_feresetroundl_ctx): New.
56434
56435 2014-02-26 Carlos O'Donell <carlos@redhat.com>
56436
56437 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56438
56439 * manual/ipc.texi: New file.
56440 * manual/Makefile (chapters): Add ipc.
56441 * manual/job.texi: Add "Inter-Process Communication" to next.
56442 * manual/process.texi: Add "Inter-Process Communication" to prev.
56443
56444 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56445
56446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56447
56448 2014-02-26 Ondƙej Bílka <neleai@seznam.cz>
56449
56450 * malloc/malloc.c (__libc_calloc): Simplify implementation.
56451
56452 * manual/arith.texi: Fix spaces after sentences.
56453 * manual/charset.texi: Likewise.
56454 * manual/errno.texi: Likewise.
56455 * manual/install.texi: Likewise.
56456 * manual/llio.texi: Likewise.
56457 * manual/locale.texi: Likewise.
56458 * manual/maint.texi: Likewise.
56459 * manual/math.texi: Likewise.
56460 * manual/memory.texi: Likewise.
56461 * manual/message.texi: Likewise.
56462 * manual/probes.texi: Likewise.
56463 * manual/resource.texi: Likewise.
56464 * manual/signal.texi: Likewise.
56465 * manual/socket.texi: Likewise.
56466 * manual/stdio.texi: Likewise.
56467 * manual/string.texi: Likewise.
56468 * manual/time.texi: Likewise.
56469 * manual/users.texi: Likewise.
56470
56471 2014-02-25 Carlos O'Donell <carlos@redhat.com>
56472
56473 [BZ #16632]
56474 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56475 _DEFAULT_SOURCE is defined.
56476
56477 2014-02-25 Ulrich Drepper <drepper@gmail.com>
56478 Carlos O'Donell <carlos@redhat.com>
56479
56480 [BZ #16613]
56481 * elf/dl-tls.c (_dl_count_modids): New function.
56482 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56483 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56484 audit library and increment generation counter.
56485 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56486 * elf/tst-audit9.c: New file.
56487 * elf/tst-auditmod9a.c: New file.
56488 * elf/tst-auditmod9b.c: New file.
56489 * elf/Makefile: Add rules to build and run tst-audit9.
56490
56491 2014-02-25 Florian Weimer <fweimer@redhat.com>
56492
56493 [BZ #15347]
56494 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56495
56496 2014-02-25 Will Newton <will.newton@linaro.org>
56497
56498 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56499 (__longjmp): Restore sp and lr before restoring callee
56500 saved registers. Add longjmp and longjmp_target
56501 SystemTap probe point.
56502 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56503 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56504 Define to zero to match jmpbuf layout.
56505 * sysdeps/arm/setjmp.S: Include stap-probe.h.
56506 (__sigsetjmp): Save sp and lr before saving callee
56507 saved registers. Add setjmp SystemTap probe point.
56508
56509 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
56510
56511 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56512
56513 2014-02-24 Andreas Schwab <schwab@suse.de>
56514
56515 [BZ #15804]
56516 * elf/pldd.c (wait_for_ptrace_stop): New function.
56517 (main): Call it after attaching.
56518
56519 2014-02-22 Roland McGrath <roland@hack.frob.com>
56520
56521 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56522 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56523 Versions files is now verboten.
56524 * hurd/Versions (libc: GLIBC_2.0):
56525 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56526 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56527 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56528 * mach/Versions: Likewise.
56529
56530 * csu/Versions: Remove unused %include.
56531 * resolv/Versions: Likewise.
56532
56533 2014-02-21 Joseph Myers <joseph@codesourcery.com>
56534
56535 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56536 ($(objpfx)check-local-headers.out): Likewise.
56537 ($(objpfx)begin-end-check.out): Likewise.
56538 * Makerules (check-abi-%.out): Likewise.
56539 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56540 ($(objpfx)test2.cat): Likewise.
56541 ($(objpfx)de/libc.cat): Likewise.
56542 ($(objpfx)test-gencat.out): Likewise.
56543 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56544 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56545 ($(objpfx)noload-mem): Likewise.
56546 ($(objpfx)tst-pathopt.out): Likewise.
56547 ($(objpfx)tst-rtld-load-self.out): Likewise.
56548 ($(objpfx)tst-array1-cmp.out): Likewise.
56549 ($(objpfx)tst-array1-static-cmp.out): Likewise.
56550 ($(objpfx)tst-array2-cmp.out): Likewise.
56551 ($(objpfx)tst-array3-cmp.out): Likewise.
56552 ($(objpfx)tst-array4-cmp.out): Likewise.
56553 ($(objpfx)tst-array5-cmp.out): Likewise.
56554 ($(objpfx)tst-array5-static-cmp.out): Likewise.
56555 ($(objpfx)check-textrel.out): Likewise.
56556 ($(objpfx)check-execstack.out): Likewise.
56557 ($(objpfx)check-localplt.out): Likewise.
56558 ($(objpfx)order2-cmp.out): Likewise.
56559 ($(objpfx)tst-leaks1-mem): Likewise.
56560 ($(objpfx)tst-leaks1-static-mem): Likewise.
56561 ($(objpfx)tst-initorder-cmp.out): Likewise.
56562 ($(objpfx)tst-initorder2-cmp.out): Likewise.
56563 ($(objpfx)tst-unused-dep.out): Likewise.
56564 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56565 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56566 * iconv/Makefile (test-iconvconfig): Likewise.
56567 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56568 ($(objpfx)iconv-test.out): Likewise.
56569 ($(objpfx)tst-tables.out): Likewise.
56570 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56571 ($(objpfx)tst-gettext.out): Likewise.
56572 ($(objpfx)tst-translit.out): Likewise.
56573 ($(objpfx)tst-gettext2.out): Likewise.
56574 ($(objpfx)tst-gettext4.out): Likewise.
56575 ($(objpfx)tst-gettext6.out): Likewise.
56576 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56577 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56578 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56579 ($(objpfx)tst-fopenloc-mem.out): Likewise.
56580 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56581 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56582 * posix/Makefile ($(objpfx)globtest.out): Likewise.
56583 ($(objpfx)wordexp-tst.out): Likewise.
56584 ($(objpfx)annexc.out): Likewise.
56585 ($(objpfx)tst-fnmatch-mem): Likewise.
56586 ($(objpfx)bug-regex2-mem): Likewise.
56587 ($(objpfx)bug-regex14-mem): Likewise.
56588 ($(objpfx)bug-regex21-mem): Likewise.
56589 ($(objpfx)bug-regex31-mem): Likewise.
56590 ($(objpfx)tst-vfork3-mem): Likewise.
56591 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56592 ($(objpfx)tst-pcre-mem): Likewise.
56593 ($(objpfx)tst-boost-mem): Likewise.
56594 ($(objpfx)tst-getconf.out): Likewise.
56595 ($(objpfx)bug-ga2-mem): Likewise.
56596 ($(objpfx)bug-glob2-mem): Likewise.
56597 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56598 ($(objpfx)mtrace-tst-leaks2): Likewise.
56599 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56600 ($(objpfx)tst-printf.out): Likewise.
56601 ($(objpfx)tst-setvbuf1.out): Likewise.
56602 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56603 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56604 ($(objpfx)tst-fmtmsg.out): Likewise.
56605 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56606 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56607
56608 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56609 * bits/sigaction.h [__USE_MISC]: Likewise.
56610 * bits/waitstatus.h: Update #endif comments.
56611 * ctype/ctype.h: Likewise.
56612 * dirent/dirent.h: Likewise.
56613 [__USE_MISC]: Remove redundant conditionals.
56614 * grp/grp.h: Update #endif comments.
56615 [__USE_GNU]: Remove redundant conditionals.
56616 [__USE_MISC]: Likewise.
56617 * inet/netinet/in.h [__USE_GNU]: Likewise.
56618 * io/sys/stat.h [__USE_MISC]: Likewise.
56619 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56620 * libio/bits/stdio.h: Update #endif comments.
56621 [__USE_MISC]: Remove redundant conditionals.
56622 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56623 * libio/stdio.h: Update #endif comments.
56624 [__USE_MISC]: Remove redundant conditionals.
56625 * math/bits/math-finite.h [__USE_MISC]: Likewise.
56626 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56627 * math/math.h: Update #else and #endif comments.
56628 [__USE_MISC]: Remove redundant conditionals.
56629 * misc/sys/uio.h: Update #endif comments.
56630 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56631 * posix/glob.h [__USE_MISC]: Likewise.
56632 * posix/sys/types.h: Update #endif comments.
56633 [__USE_MISC]: Remove redundant conditionals.
56634 * posix/sys/wait.h: Update #endif comments.
56635 [__USE_MISC]: Remove redundant conditionals.
56636 * posix/unistd.h: Update #endif comments.
56637 [__USE_MISC]: Remove redundant conditionals.
56638 * pwd/pwd.h [__USE_GNU]: Likewise.
56639 [__USE_MISC]: Likewise.
56640 * resolv/netdb.h [__USE_GNU]: Likewise.
56641 * signal/signal.h: Update #endif comments.
56642 [__USE_MISC]: Remove redundant conditionals.
56643 * stdlib/stdlib.h: Update #else and #endif comments.
56644 [__USE_MISC]: Remove redundant conditionals.
56645 [__USE_GNU]: Likewise.
56646 * string/bits/string2.h [__USE_MISC]: Likewise.
56647 * string/string.h: Update #endif comments.
56648 [__USE_MISC]: Remove redundant conditionals.
56649 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56650 Likewise.
56651 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56652 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56653 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56654 Likewise.
56655 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56656 Likewise.
56657 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56658 comments.
56659 [__USE_MISC]: Remove redundant conditionals.
56660 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56661 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56662 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56663 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56664 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56665 Likewise.
56666 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56667 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56668 Likewise.
56669 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56670 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56671 Likewise.
56672 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56673 Likewise.
56674 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56675 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56676 Likewise.
56677 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56678 Likewise.
56679 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56680 * sysdeps/x86/bits/string.h: Update #endif comments.
56681 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56682 conditionals.
56683 * time/sys/time.h: Update #endif comments.
56684 * time/time.h: Likewise.
56685 [__USE_MISC]: Remove redundant conditionals.
56686
56687 2014-02-21 Yury Gribov <y.gribov@samsung.com>
56688
56689 [BZ #16600]
56690 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56691
56692 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
56693
56694 * Versions.def (librt): Add GLIBC_2.17.
56695
56696 2014-02-21 Adam Conrad <adconrad@0c3.net>
56697
56698 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56699 synonym for _SYS_AUXV_H to allow direct inclusion.
56700 * sysdeps/sparc/bits/hwcap.h: Likewise.
56701 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56702 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56703 * sysdeps/sparc/sysdep.h: Likewise.
56704
56705 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56706
56707 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56708
56709 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56710
56711 * benchtests/bench-strrchr.c: Print length instead of position.
56712
56713 2014-02-20 Joseph Myers <joseph@codesourcery.com>
56714
56715 [BZ #16611]
56716 * sysdeps/unix/sysv/linux/kernel-features.h
56717 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56718 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56719 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56720 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56721 Likewise.
56722 [__i386__ || __powerpc__ || __sh__ || __sparc__]
56723 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56724 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56725 (__ASSUME_SENDMMSG): Define instead of using previous
56726 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56727 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56728 (__ASSUME_SENDMMSG_SYSCALL): Define.
56729 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56730 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56731 Likewise.
56732 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56733 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56734 Likewise.
56735 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56736 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56737 Likewise.
56738 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56739 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56740 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56741 [__ASSUME_SENDMMSG]: Change conditionals to
56742 [__ASSUME_SENDMMSG_SOCKETCALL].
56743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56744 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56745 Define.
56746 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56747 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56748 Likewise.
56749 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56750 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56751 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56752 [!__ASSUME_SENDMMSG]: Change conditional to
56753 [!__ASSUME_SENDMMSG_SOCKETCALL].
56754 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56755 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56756 Define.
56757
56758 [BZ #16610]
56759 * sysdeps/unix/sysv/linux/kernel-features.h
56760 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56761 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56762 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56763 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56764 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56765 [__i386__ || __sparc__]
56766 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56767 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56768 (__ASSUME_RECVMMSG): Define instead of using previous
56769 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56770 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56771 (__ASSUME_RECVMMSG_SYSCALL): Define.
56772 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56774 Likewise.
56775 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56777 Likewise.
56778 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56780 Likewise.
56781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56782 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56783 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56784 [__ASSUME_RECVMMSG]: Change condition to
56785 [__ASSUME_RECVMMSG_SOCKETCALL].
56786 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56788 Define.
56789 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56790 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56792 Likewise.
56793 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56794 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56795 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56796 [!__ASSUME_RECVMMSG]: Change condition to
56797 [!__ASSUME_RECVMMSG_SOCKETCALL].
56798 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56799 (__ASSUME_RECVMMSG_SYSCALL): Define.
56800
56801 [BZ #16609]
56802 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56803 __powerpc__ || __s390__ || __sh__ || __sparc__]
56804 (__ASSUME_SOCKETCALL): Define.
56805 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56806 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56807 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56808 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56809 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56810 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56811 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56812 (__ASSUME_ACCEPT4): Define instead of using previous
56813 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56814 __powerpc__ || __sparc__ || __s390__)] condition.
56815 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56816 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56817 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56818 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56819 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56820 [!__ASSUME_ACCEPT4]: Change condition to
56821 [!__ASSUME_ACCEPT4_SOCKETCALL].
56822 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56823 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56824 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56825 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56826 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56827 __ASSUME_ACCEPT4_SYSCALL.
56828 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56829 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56830 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56831 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56832 __ASSUME_ACCEPT4_SYSCALL.
56833 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56834 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56835 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56836 [__ASSUME_ACCEPT4]: Change condition to
56837 [__ASSUME_ACCEPT4_SOCKETCALL].
56838 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56839 (__ASSUME_SOCKETCALL): Define.
56840 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56841 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56842 (__ASSUME_SOCKETCALL): Define.
56843 (__ASSUME_ACCEPT4): Remove.
56844 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56845 Define.
56846 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56847 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56848 Likewise.
56849 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56850 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56851
56852 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56853 macro.
56854 (HWCAP_ARM_LPAE): Likewise.
56855 (HWCAP_ARM_EVTSTRM): Likewise.
56856 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56857 Add vpfd32, lpae and evtstrm.
56858 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56859 Increase to 22.
56860
56861 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56862
56863 * math/auto-libm-test-in: Add tests of clog10.
56864 * math/auto-libm-test-out: Regenerated.
56865 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56866 * sysdeps/i386/fpu/libm-test-ulps: Update.
56867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56868
56869 2014-02-18 Andreas Schwab <schwab@suse.de>
56870
56871 [BZ #16574]
56872 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56873 Store non-zero if the second buffer was newly allocated.
56874 (send_dg): Likewise.
56875 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56876 to send_vc and send_dg.
56877 (res_nsend): Pass NULL for ansp2_malloced.
56878 * resolv/res_query.c (__libc_res_nquery): Add parameter
56879 answerp2_malloced and pass it down to __libc_res_nsend.
56880 (res_nquery): Pass additional NULL to __libc_res_nquery.
56881 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56882 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56883 second answer buffer if answerp2_malloced was set.
56884 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56885 (__libc_res_nquerydomain): Add parameter
56886 answerp2_malloced and pass it down to __libc_res_nquery.
56887 (res_nquerydomain): Pass additional NULL to
56888 __libc_res_nquerydomain.
56889 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56890 additional NULL to __libc_res_nsend and __libc_res_nquery.
56891 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56892 additional NULL to __libc_res_nsearch.
56893 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56894 parameter of __libc_res_nsearch to check for separately allocated
56895 second buffer.
56896 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56897 __libc_res_nquery.
56898 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56899 additional NULL to __libc_res_nquery.
56900 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56901 __libc_res_nsearch.
56902 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56903 * include/resolv.h: Update prototypes of __libc_res_nquery,
56904 __libc_res_nsearch, __libc_res_nsend.
56905
56906 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56907
56908 * math/auto-libm-test-in: Add tests of fma.
56909 * math/auto-libm-test-out: Regenerated.
56910 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56911 (fma_towardzero_test_data): Likewise.
56912 (fma_downward_test_data): Likewise.
56913 (fma_upward_test_data): Likewise.
56914 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56915 mpc_mode.
56916 (rounding_modes): Add values for new field.
56917 (func_calc_method): Add value mpfr_fff_f.
56918 (func_calc_desc): Add mpfr_fff_f union field.
56919 (test_function): Add field exact_args.
56920 (FUNC): Add macro argument EXACT_ARGS.
56921 (FUNC_mpfr_f_f): Update call to FUNC.
56922 (FUNC_mpfr_f_f): Likewise.
56923 (FUNC_mpfr_ff_f): Likewise.
56924 (FUNC_mpfr_if_f): Likewise.
56925 (FUNC_mpc_c_f): Likewise.
56926 (FUNC_mpc_c_c): Likewise.
56927 (test_functions): Add fma. Update calls to FUNC.
56928 (handle_input_arg): Add argument exact_args.
56929 (add_test): Update call to handle_input_arg.
56930 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56931 (output_for_one_input_case): Update call to calc_generic_results.
56932 Recalculate exact zero results in each rounding mode.
56933
56934 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56935 non-negative before setting low bit.
56936 * math/auto-libm-test-in: Mark one asin test possibly having
56937 spurious underflow.
56938 * math/auto-libm-test-out: Regenerated.
56939 * sysdeps/i386/fpu/libm-test-ulps: Update.
56940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56941
56942 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56943
56944 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56945 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56946 ports/sysdeps/unix/sysv/linux/microblaze.
56947 * README: Add missing listing for microblaze*-*-linux-gnu.
56948
56949 2014-02-16 Ondƙej Bílka <neleai@seznam.cz>
56950
56951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56952 duplicate code
56953
56954 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56955
56956 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56957 * sysdeps/unix/sysv/linux/ia64: Move directory from
56958 ports/sysdeps/unix/sysv/linux/ia64.
56959 * README: Update listing for ia64-*-linux-gnu.
56960
56961 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56962 Joseph Myers <joseph@codesourcery.com>
56963
56964 * Makeconfig (test-name): New variable.
56965 (evaluate-test): Likewise.
56966 * Makerules (do-test-clean): Remove .test-result files.
56967 (common-mostlyclean): Likewise.
56968 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56969 * scripts/evaluate-test.sh: New file.
56970
56971 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56972
56973 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56974 separate $(objpfx)tst-fopenloc-cmp.out and
56975 $(objpfx)tst-fopenloc-mem.out targets.
56976 (tests): Update dependencies.
56977 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56978 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56979 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56980 (tst-rxspencer-no-utf8-ARGS): New variable.
56981 (tst-rxspencer-no-utf8-ENV): Likewise.
56982 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56983 instead of $(objpfx)tst-rxspencer-mem.
56984 ($(objpfx)tst-rxspencer-mem): Change target to
56985 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56986 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56987 * posix/tst-rxspencer-no-utf8.c: New file.
56988
56989 * elf/Makefile ($(objpfx)order.out): Remove rule.
56990 [$(run-built-tests) = yes] (tests): Depend on
56991 $(objpfx)order-cmp.out.
56992 ($(objpfx)order-cmp.out): New rule.
56993 [$(run-built-tests) = yes] (tests): Depend on
56994 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56995 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56996 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56997 $(objpfx)tst-array5-static-cmp.out.
56998 ($(objpfx)tst-array1.out): Remove rule.
56999 ($(objpfx)tst-array1-cmp.out): New rule.
57000 ($(objpfx)tst-array1-static.out): Remove rule.
57001 ($(objpfx)tst-array1-static-cmp.out): New rule.
57002 ($(objpfx)tst-array2.out): Remove rule.
57003 ($(objpfx)tst-array2-cmp.out): New rule.
57004 ($(objpfx)tst-array3.out): Remove rule.
57005 ($(objpfx)tst-array3-cmp.out): New rule.
57006 ($(objpfx)tst-array4.out): Remove rule.
57007 ($(objpfx)tst-array4-cmp.out): New rule.
57008 ($(objpfx)tst-array5.out): Remove rule.
57009 ($(objpfx)tst-array5-cmp.out): New rule.
57010 ($(objpfx)tst-array5-static.out): Remove rule.
57011 ($(objpfx)tst-array5-static-cmp.out): New rule.
57012 [$(run-built-tests) = yes] (tests): Depend on
57013 $(objpfx)order2-cmp.out.
57014 ($(objpfx)order2.out): Remove rule.
57015 ($(objpfx)order2-cmp.out): New rule.
57016 ($(objpfx)tst-initorder.out): Remove rule.
57017 [$(run-built-tests) = yes] (tests): Depend on
57018 $(objpfx)tst-initorder-cmp.out.
57019 ($(objpfx)tst-initorder-cmp.out): New rule.
57020 ($(objpfx)tst-initorder2.out): Remove rule.
57021 [$(run-built-tests) = yes] (tests): Depend on
57022 $(objpfx)tst-initorder2-cmp.out.
57023 ($(objpfx)tst-initorder2-cmp.out): New rule.
57024 [$(run-built-tests) = yes] (tests): Depend on
57025 $(objpfx)tst-unused-dep-cmp.out.
57026 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57027 ($(objpfx)tst-unused-dep-cmp.out): New rule.
57028 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57029 on $(objpfx)tst-setvbuf1-cmp.out.
57030 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57031 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57032 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57033 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57034 ($(objpfx)tst-svc.out): Remove rule.
57035 ($(objpfx)tst-svc-cmp.out): New rule.
57036
57037 2014-02-13 Joseph Myers <joseph@codesourcery.com>
57038
57039 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57040 * ctype/ctype.h [__USE_MISC]: Likewise.
57041 * dirent/dirent.h [__USE_MISC]: Likewise.
57042 * grp/grp.h [__USE_MISC]: Likewise.
57043 * io/fcntl.h [__USE_MISC]: Likewise.
57044 * io/sys/stat.h [__USE_MISC]: Likewise.
57045 * libio/stdio.h [__USE_MISC]: Likewise.
57046 * posix/unistd.h [__USE_MISC]: Likewise.
57047 * pwd/pwd.h [__USE_MISC]: Likewise.
57048 * stdlib.h [__USE_MISC]: Likewise.
57049 * string/bits/string2.h [__USE_MISC]: Likewise.
57050 * string/string.h [__USE_MISC]: Likewise.
57051 * time/time.h [__USE_MISC]: Likewise.
57052
57053 2014-02-13 Andreas Schwab <schwab@suse.de>
57054
57055 [BZ #16574]
57056 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57057 second answer buffer if it was separately allocated.
57058
57059 2014-02-12 Joseph Myers <joseph@codesourcery.com>
57060
57061 * sysdeps/mips/math-tests.h: Include <features.h>.
57062 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57063 (ROUNDING_TESTS_long_double): Do not define.
57064 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57065 (EXCEPTION_TESTS_long_double): Likewise.
57066 * sysdeps/mips/mips64/libm-test-ulps: Update.
57067
57068 * include/features.h (__USE_BSD): Remove macro definitions.
57069 (__USE_SVID): Likewise.
57070 (_BSD_SOURCE): Likewise.
57071 (_SVID_SOURCE): Likewise.
57072 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57073 from definition of _DEFAULT_SOURCE.
57074 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57075 [_DEFAULT_SOURCE].
57076 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57077 * bits/mman.h [__USE_BSD]: Likewise.
57078 * bits/termios.h [__USE_BSD]: Likewise.
57079 * bits/waitstatus.h [__USE_BSD]: Likewise.
57080 * ctype/ctype.h [__USE_SVID]: Likewise.
57081 * dirent/dirent.h [__USE_BSD]: Likewise.
57082 * grp/grp.h [__USE_SVID]: Likewise.
57083 [__USE_BSD]: Likewise.
57084 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57085 * io/fcntl.h [__USE_BSD]: Likewise.
57086 * io/ftw.h [__USE_BSD]: Likewise.
57087 * io/sys/stat.h [__USE_BSD]: Likewise.
57088 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57089 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57090 * libio/stdio.h [__USE_SVID]: Likewise.
57091 [__USE_BSD]: Likewise.
57092 * math/math.h [__USE_SVID]: Likewise.
57093 [__USE_BSD]: Likewise.
57094 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57095 * misc/bits/syslog.h [__USE_BSD]: Likewise.
57096 * misc/search.h [__USE_SVID]: Likewise.
57097 * misc/sys/mman.h [__USE_BSD]: Likewise.
57098 * misc/sys/syslog.h [__USE_BSD]: Likewise.
57099 * misc/sys/uio.h [__USE_BSD]: Likewise.
57100 * posix/bits/unistd.h [__USE_BSD]: Likewise.
57101 * posix/glob.h [__USE_BSD]: Likewise.
57102 * posix/regex.h [__USE_BSD]: Likewise.
57103 * posix/sys/types.h [__USE_BSD]: Likewise.
57104 [__USE_SVID]: Likewise.
57105 * posix/sys/utsname.h [__USE_SVID]: Likewise.
57106 * posix/sys/wait.h [__USE_BSD]: Likewise.
57107 [__USE_SVID]: Likewise.
57108 * posix/unistd.h [__USE_BSD]: Likewise.
57109 [__USE_SVID]: Likewise.
57110 * pwd/pwd.h [__USE_SVID]: Likewise.
57111 * resolv/netdb.h [__USE_BSD]: Likewise.
57112 * setjmp/setjmp.h [__USE_BSD]: Likewise.
57113 * signal/signal.h [__USE_BSD]: Likewise.
57114 [__USE_SVID]: Likewise.
57115 * socket/sys/socket.h [__USE_BSD]: Likewise.
57116 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57117 * stdlib/stdlib.h [__USE_BSD]: Likewise.
57118 [__USE_SVID]: Likewise.
57119 * string/bits/string2.h [__USE_BSD]: Likewise.
57120 [__USE_SVID]: Likewise.
57121 * string/bits/string3.h [__USE_BSD]: Likewise.
57122 * string/endian.h [__USE_BSD]: Likewise.
57123 * string/string.h [__USE_SVID]: Likewise.
57124 [__USE_BSD]: Likewise.
57125 * string/strings.h [__USE_BSD]: Likewise.
57126 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57127 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57128 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57129 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57130 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57131 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57132 Likewise.
57133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57134 Likewise.
57135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57136 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57137 Likewise.
57138 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57139 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57140 Likewise.
57141 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57142 Likewise.
57143 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57144 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57145 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57146 Likewise.
57147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57148 Likewise.
57149 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57150 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57151 * termios/termios.h [__USE_BSD]: Likewise.
57152 * time/sys/time.h [__USE_BSD]: Likewise.
57153 * time/time.h [__USE_BSD]: Likewise.
57154 [__USE_SVID]: Likewise.
57155
57156 * Makefile (subdir_targets): Remove subdir_lint.out.
57157
57158 * stdio-common/Makefile (do-tst-unbputc): Remove target.
57159 (do-tst-printf): Likewise.
57160 (tests): Depend directly on $(objpfx)tst-unbputc.out and
57161 $(objpfx)tst-printf.out.
57162
57163 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57164
57165 * Makerules (check-abi-%): Change target to
57166 $(objpfx)check-abi-%.out.
57167 (check-abi target): Update dependencies.
57168 (check-abi-pattern variable): Redirect output of diff to $@.
57169 (check-abi variable): Likewise.
57170 * elf/Makefile (check-abi): Update dependencies.
57171
57172 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57173 unused.
57174 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57175 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57176 subnormal range.
57177 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57178 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57179 value has largest subnormal exponent.
57180 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57181 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57182 * sysdeps/aarch64/soft-fp/sfp-machine.h
57183 (_FP_TININESS_AFTER_ROUNDING): New macro.
57184 * sysdeps/alpha/soft-fp/sfp-machine.h
57185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57186 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57187 Likewise.
57188 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57190 * sysdeps/mips/soft-fp/sfp-machine.h
57191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57192 * sysdeps/powerpc/soft-fp/sfp-machine.h
57193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57194 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57195 Likewise.
57196 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57198 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
57200 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57201 Likewise.
57202
57203 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
57204
57205 [BZ #16545]
57206 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57207 model 1.
57208
57209 2014-02-12 Richard Henderson <rth@redhat.com>
57210
57211 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57212 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57213 * sysdeps/unix/sysv/linux/alpha: Move directory from
57214 ports/sysdeps/unix/sysv/linux/alpha.
57215 * README: Update listing for alpha-*-linux-gnu.
57216
57217 2014-02-11 Joseph Myers <joseph@codesourcery.com>
57218
57219 * include/features.h: Update comment documenting feature test
57220 macros.
57221 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
57222 _DEFAULT_SOURCE.
57223 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57224 (_SVID_SOURCE): Likewise.
57225 (_DEFAULT_SOURCE): Update description of default features.
57226 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57227 with _GNU_SOURCE.
57228 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57229 (S_ISVTX): Likewise.
57230 * manual/math.texi (Mathematical Constants): Likewise.
57231 * manual/signal.texi (Interrupted Primitives): Likewise.
57232 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57233 * math/test-matherr.c (_SVID_SOURCE): Do not define.
57234 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57235 Don't refer to _SVID_SOURCE in warning text.
57236
57237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57238
57239 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57240 already defined.
57241 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57242 * sysdeps/mips/dl-lookup.c: Remove.
57243 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57244
57245 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
57246
57247 [BZ #16447]
57248 * math/auto-libm-test-in: Add testcase for expl.
57249 * math/auto-libm-test-out: Regenerate.
57250 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57251 calculation of unsafe.
57252 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57253
57254 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
57255
57256 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57257 * sysdeps/unix/sysv/linux/aarch64: Move directory from
57258 ports/sysdeps/unix/sysv/linux/aarch64.
57259 * README: Update listing for aarch64*-*-linux-gnu.
57260
57261 2014-02-11 Will Newton <will.newton@linaro.org>
57262
57263 * manual/probes.texi (Mathematical Function Probes): Use
57264 "triggered" instead of "hit".
57265
57266 * manual/probes.texi (Internal Probes): Add documentation
57267 of setjmp, longjmp and longjmp_target probes.
57268
57269 * include/stap-probe.h: Add comment about probe argument
57270 format.
57271
57272 * malloc/mtrace.c (attribute_hidden): Remove unused macro
57273 definition. (tr_where, tr_freehook, tr_mallochook,
57274 tr_reallochook, tr_memalignhook): Use ANSI protoype.
57275
57276 2014-02-11 David S. Miller <davem@davemloft.net>
57277
57278 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57279 processing int_tests.
57280
57281 2014-02-10 Joseph Myers <joseph@codesourcery.com>
57282
57283 * sysdeps/mips: Move directory from ports/sysdeps/mips.
57284 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57285 * sysdeps/unix/sysv/linux/mips: Move directory from
57286 ports/sysdeps/unix/sysv/linux/mips.
57287 * README: Update listing for mips-*-linux-gnu and
57288 mips64-*-linux-gnu.
57289
57290 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
57291
57292 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57293 * sysdeps/unix/sysv/linux/m68k: Move directory from
57294 ports/sysdeps/unix/sysv/linux/m68k.
57295 * README: Update listing for m68k-*-linux-gnu.
57296
57297 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
57298
57299 * sysdeps/tile: Move directory from ports/sysdeps/tile.
57300 * sysdeps/unix/sysv/linux/generic: Move directory from
57301 ports/sysdeps/unix/sysv/linux/generic.
57302 * sysdeps/unix/sysv/linux/tile: Move directory from
57303 ports/sysdeps/unix/sysv/linux/tile.
57304 * README: Update listing for tile*-*-linux-gnu.
57305
57306 2014-02-10 Ondƙej Bílka <neleai@seznam.cz>
57307
57308 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57309 __builtin_expect.
57310 * benchtests/bench-memmem.c (simple_memmem): Likewise.
57311 * catgets/open_catalog.c (__open_catalog): Likewise.
57312 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57313 * debug/confstr_chk.c: Likewise.
57314 * debug/fread_chk.c (__fread_chk): Likewise.
57315 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57316 * debug/getgroups_chk.c: Likewise.
57317 * debug/mbsnrtowcs_chk.c: Likewise.
57318 * debug/mbsrtowcs_chk.c: Likewise.
57319 * debug/mbstowcs_chk.c: Likewise.
57320 * debug/memcpy_chk.c: Likewise.
57321 * debug/memmove_chk.c: Likewise.
57322 * debug/mempcpy_chk.c: Likewise.
57323 * debug/memset_chk.c: Likewise.
57324 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57325 * debug/strcat_chk.c (__strcat_chk): Likewise.
57326 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57327 * debug/strncat_chk.c (__strncat_chk): Likewise.
57328 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57329 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57330 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57331 * debug/wcpncpy_chk.c: Likewise.
57332 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57333 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57334 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57335 * debug/wcsncpy_chk.c: Likewise.
57336 * debug/wcsnrtombs_chk.c: Likewise.
57337 * debug/wcsrtombs_chk.c: Likewise.
57338 * debug/wcstombs_chk.c: Likewise.
57339 * debug/wmemcpy_chk.c: Likewise.
57340 * debug/wmemmove_chk.c: Likewise.
57341 * debug/wmempcpy_chk.c: Likewise.
57342 * debug/wmemset_chk.c: Likewise.
57343 * dirent/scandirat.c (SCANDIRAT): Likewise.
57344 * dlfcn/dladdr1.c (dladdr1): Likewise.
57345 * dlfcn/dladdr.c (dladdr): Likewise.
57346 * dlfcn/dlclose.c (dlclose_doit): Likewise.
57347 * dlfcn/dlerror.c (__dlerror): Likewise.
57348 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57349 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57350 * dlfcn/dlopen.c (dlopen_doit): Likewise.
57351 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57352 * dlfcn/dlsym.c (dlsym_doit): Likewise.
57353 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57354 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57355 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57356 Likewise.
57357 * elf/dl-conflict.c: Likewise.
57358 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57359 * elf/dl-dst.h: Likewise.
57360 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57361 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57362 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57363 * elf/dl-init.c (call_init, _dl_init): Likewise.
57364 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57365 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57366 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57367 Likewise.
57368 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57369 Likewise.
57370 * elf/dl-minimal.c (__libc_memalign): Likewise.
57371 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57372 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57373 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57374 * elf/dl-sym.c (do_sym): Likewise.
57375 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57376 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57377 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57378 * elf/dl-writev.h (_dl_writev): Likewise.
57379 * elf/ldconfig.c (search_dir): Likewise.
57380 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57381 (dl_main): Likewise.
57382 * elf/setup-vdso.h (setup_vdso): Likewise.
57383 * grp/compat-initgroups.c (compat_call): Likewise.
57384 * grp/fgetgrent.c (fgetgrent): Likewise.
57385 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57386 * grp/putgrent.c (putgrent): Likewise.
57387 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57388 Likewise.
57389 * hurd/hurdinit.c: Likewise.
57390 * iconvdata/8bit-gap.c (struct): Likewise.
57391 * iconvdata/ansi_x3.110.c : Likewise.
57392 * iconvdata/big5.c : Likewise.
57393 * iconvdata/big5hkscs.c : Likewise.
57394 * iconvdata/cp1255.c: Likewise.
57395 * iconvdata/cp1258.c : Likewise.
57396 * iconvdata/cp932.c : Likewise.
57397 * iconvdata/euc-cn.c: Likewise.
57398 * iconvdata/euc-jisx0213.c : Likewise.
57399 * iconvdata/euc-jp.c: Likewise.
57400 * iconvdata/euc-jp-ms.c : Likewise.
57401 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57402 * iconvdata/gb18030.c : Likewise.
57403 * iconvdata/gbbig5.c (const): Likewise.
57404 * iconvdata/gbgbk.c: Likewise.
57405 * iconvdata/gbk.c : Likewise.
57406 * iconvdata/ibm1364.c : Likewise.
57407 * iconvdata/ibm930.c : Likewise.
57408 * iconvdata/ibm932.c: Likewise.
57409 * iconvdata/ibm933.c : Likewise.
57410 * iconvdata/ibm935.c : Likewise.
57411 * iconvdata/ibm937.c : Likewise.
57412 * iconvdata/ibm939.c : Likewise.
57413 * iconvdata/ibm943.c: Likewise.
57414 * iconvdata/iso_11548-1.c: Likewise.
57415 * iconvdata/iso-2022-cn.c : Likewise.
57416 * iconvdata/iso-2022-cn-ext.c : Likewise.
57417 * iconvdata/iso-2022-jp-3.c: Likewise.
57418 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57419 * iconvdata/iso-2022-kr.c : Likewise.
57420 * iconvdata/iso646.c (gconv_end): Likewise.
57421 * iconvdata/iso_6937-2.c : Likewise.
57422 * iconvdata/iso_6937.c : Likewise.
57423 * iconvdata/iso8859-1.c: Likewise.
57424 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57425 * iconvdata/shift_jisx0213.c : Likewise.
57426 * iconvdata/sjis.c : Likewise.
57427 * iconvdata/t.61.c : Likewise.
57428 * iconvdata/tcvn5712-1.c : Likewise.
57429 * iconvdata/tscii.c: Likewise.
57430 * iconvdata/uhc.c : Likewise.
57431 * iconvdata/unicode.c (gconv_end): Likewise.
57432 * iconvdata/utf-16.c (gconv_end): Likewise.
57433 * iconvdata/utf-32.c (gconv_end): Likewise.
57434 * iconvdata/utf-7.c (base64): Likewise.
57435 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57436 * iconv/gconv_close.c (__gconv_close): Likewise.
57437 * iconv/gconv_open.c (__gconv_open): Likewise.
57438 * iconv/gconv_simple.c (internal_ucs4_loop_single)
57439 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57440 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57441 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57442 (ucs4le_internal_loop_single): Likewise.
57443 * iconv/iconv.c (iconv): Likewise.
57444 * iconv/iconv_close.c: Likewise.
57445 * iconv/loop.c (SINGLE): Likewise.
57446 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57447 * include/atomic.h: Likewise.
57448 * inet/inet6_option.c (option_alloc): Likewise.
57449 * intl/bindtextdom.c (set_binding_values): Likewise.
57450 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57451 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57452 * intl/localealias.c (read_alias_file): Likewise.
57453 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57454 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57455 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57456 * libio/fmemopen.c (fmemopen): Likewise.
57457 * libio/iofgets.c (_IO_fgets): Likewise.
57458 * libio/iofgets_u.c (fgets_unlocked): Likewise.
57459 * libio/iofgetws.c (fgetws): Likewise.
57460 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57461 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57462 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57463 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57464 * locale/findlocale.c (_nl_find_locale): Likewise.
57465 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57466 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57467 Likewise.
57468 * locale/setlocale.c (setlocale): Likewise.
57469 * login/programs/pt_chown.c (main): Likewise.
57470 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57471 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57472 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57473 (mmap, mmap64, mremap, munmap): Likewise.
57474 * math/e_exp2l.c: Likewise.
57475 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57476 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57477 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57478 * math/s_catan.c (__catan): Likewise.
57479 * math/s_catanf.c (__catanf): Likewise.
57480 * math/s_catanh.c (__catanh): Likewise.
57481 * math/s_catanhf.c (__catanhf): Likewise.
57482 * math/s_catanhl.c (__catanhl): Likewise.
57483 * math/s_catanl.c (__catanl): Likewise.
57484 * math/s_ccosh.c (__ccosh): Likewise.
57485 * math/s_ccoshf.c (__ccoshf): Likewise.
57486 * math/s_ccoshl.c (__ccoshl): Likewise.
57487 * math/s_cexp.c (__cexp): Likewise.
57488 * math/s_cexpf.c (__cexpf): Likewise.
57489 * math/s_cexpl.c (__cexpl): Likewise.
57490 * math/s_clog10.c (__clog10): Likewise.
57491 * math/s_clog10f.c (__clog10f): Likewise.
57492 * math/s_clog10l.c (__clog10l): Likewise.
57493 * math/s_clog.c (__clog): Likewise.
57494 * math/s_clogf.c (__clogf): Likewise.
57495 * math/s_clogl.c (__clogl): Likewise.
57496 * math/s_csin.c (__csin): Likewise.
57497 * math/s_csinf.c (__csinf): Likewise.
57498 * math/s_csinh.c (__csinh): Likewise.
57499 * math/s_csinhf.c (__csinhf): Likewise.
57500 * math/s_csinhl.c (__csinhl): Likewise.
57501 * math/s_csinl.c (__csinl): Likewise.
57502 * math/s_csqrt.c (__csqrt): Likewise.
57503 * math/s_csqrtf.c (__csqrtf): Likewise.
57504 * math/s_csqrtl.c (__csqrtl): Likewise.
57505 * math/s_ctan.c (__ctan): Likewise.
57506 * math/s_ctanf.c (__ctanf): Likewise.
57507 * math/s_ctanh.c (__ctanh): Likewise.
57508 * math/s_ctanhf.c (__ctanhf): Likewise.
57509 * math/s_ctanhl.c (__ctanhl): Likewise.
57510 * math/s_ctanl.c (__ctanl): Likewise.
57511 * math/w_pow.c: Likewise.
57512 * math/w_powf.c: Likewise.
57513 * math/w_powl.c: Likewise.
57514 * math/w_scalb.c (sysv_scalb): Likewise.
57515 * math/w_scalbf.c (sysv_scalbf): Likewise.
57516 * math/w_scalbl.c (sysv_scalbl): Likewise.
57517 * misc/error.c (error_tail): Likewise.
57518 * misc/pselect.c (__pselect): Likewise.
57519 * nis/nis_callback.c (__nis_create_callback): Likewise.
57520 * nis/nis_call.c (__nisfind_server): Likewise.
57521 * nis/nis_creategroup.c (nis_creategroup): Likewise.
57522 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57523 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57524 * nis/nis_getservlist.c (nis_getservlist): Likewise.
57525 * nis/nis_lookup.c (nis_lookup): Likewise.
57526 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57527 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57528 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57529 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57530 * nis/nss_compat/compat-grp.c (getgrent_next_file)
57531 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57532 * nis/nss_compat/compat-initgroups.c (add_group)
57533 (internal_getgrent_r): Likewise.
57534 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57535 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57536 * nis/nss_compat/compat-spwd.c (getspent_next_file)
57537 (internal_getspnam_r): Likewise.
57538 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57539 (_nss_nis_getaliasbyname_r): Likewise.
57540 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57541 (_nss_nis_getntohost_r): Likewise.
57542 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57543 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57544 (_nss_nis_getgrgid_r): Likewise.
57545 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57546 (internal_nis_gethostent_r, internal_gethostbyname2_r)
57547 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57548 (_nss_nis_gethostbyname4_r): Likewise.
57549 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57550 (initgroups_netid): Likewise.
57551 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57552 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57553 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57554 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57555 (_nss_nis_getprotobynumber_r): Likewise.
57556 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57557 (_nss_nis_getsecretkey): Likewise.
57558 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57559 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57560 (_nss_nis_getpwuid_r): Likewise.
57561 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57562 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57563 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57564 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57565 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57566 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57567 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57568 Likewise.
57569 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57570 (_nss_nisplus_getntohost_r): Likewise.
57571 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57572 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57573 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57574 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57575 Likewise.
57576 * nis/nss_nisplus/nisplus-initgroups.c
57577 (_nss_nisplus_initgroups_dyn): Likewise.
57578 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57579 (_nss_nisplus_getnetbyaddr_r): Likewise.
57580 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57581 (_nss_nisplus_getprotobynumber_r): Likewise.
57582 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57583 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57584 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57585 Likewise.
57586 * nis/nss_nisplus/nisplus-service.c
57587 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57588 (_nss_nisplus_getservbyport_r): Likewise.
57589 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57590 (_nss_nisplus_getspnam_r): Likewise.
57591 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57592 Likewise.
57593 * nscd/aicache.c (addhstaiX): Likewise.
57594 * nscd/cache.c (cache_search, prune_cache): Likewise.
57595 * nscd/connections.c (register_traced_file, send_ro_fd)
57596 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57597 (main_loop_epoll): Likewise.
57598 * nscd/grpcache.c (addgrbyX): Likewise.
57599 * nscd/hstcache.c (addhstbyX): Likewise.
57600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57601 * nscd/mem.c (gc, mempool_alloc): Likewise.
57602 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57603 (addinnetgrX): Likewise.
57604 * nscd/nscd-client.h (__nscd_acquire_maplock)
57605 (__nscd_drop_map_ref): Likewise.
57606 * nscd/nscd_getai.c (__nscd_getai): Likewise.
57607 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57608 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57609 Likewise.
57610 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57611 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57612 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57613 (__nscd_get_map_ref): Likewise.
57614 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57615 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57616 Likewise.
57617 * nscd/pwdcache.c (addpwbyX): Likewise.
57618 * nscd/selinux.c (preserve_capabilities): Likewise.
57619 * nscd/servicescache.c (addservbyX): Likewise.
57620 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57621 * posix/fnmatch.c (fnmatch): Likewise.
57622 * posix/getopt.c (_getopt_internal_r): Likewise.
57623 * posix/glob.c (glob, glob_in_dir): Likewise.
57624 * posix/wordexp.c (exec_comm_child): Likewise.
57625 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57626 (getanswer_r, gaih_getanswer_slice): Likewise.
57627 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57628 * resolv/res_init.c: Likewise.
57629 * resolv/res_mkquery.c (res_nmkquery): Likewise.
57630 * resolv/res_query.c (__libc_res_nquery): Likewise.
57631 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57632 Likewise.
57633 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57634 * stdio-common/perror.c (perror): Likewise.
57635 * stdio-common/printf_fp.c (___printf_fp): Likewise.
57636 * stdio-common/tmpnam.c (tmpnam): Likewise.
57637 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57638 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57639 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57640 Likewise.
57641 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57642 * stdlib/putenv.c (putenv): Likewise.
57643 * stdlib/setenv.c (__add_to_environ): Likewise.
57644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57645 * stdlib/strtol_l.c (INTERNAL): Likewise.
57646 * string/memmem.c (memmem): Likewise.
57647 * string/strerror.c (strerror): Likewise.
57648 * string/strnlen.c (__strnlen): Likewise.
57649 * string/test-memmem.c (simple_memmem): Likewise.
57650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57651 * sunrpc/pm_getport.c (__get_socket): Likewise.
57652 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57653 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57654 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57655 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57656 Likewise.
57657 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57659 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57660 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57662 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57663 Likewise.
57664 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57665 Likewise.
57666 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57667 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57668 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57669 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57670 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57672 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57673 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57674 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57675 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57677 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57678 Likewise.
57679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57680 Likewise.
57681 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57682 Likewise.
57683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57687 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57688 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57689 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57692 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57693 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57695 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57696 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57698 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57699 Likewise.
57700 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57701 Likewise.
57702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57703 Likewise.
57704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57705 Likewise.
57706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57708 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57709 Likewise.
57710 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57711 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57712 * sysdeps/posix/opendir.c (__opendirat): Likewise.
57713 * sysdeps/posix/sleep.c: Likewise.
57714 * sysdeps/posix/tempname.c: Likewise.
57715 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57716 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57717 Likewise.
57718 * sysdeps/powerpc/powerpc32/dl-machine.h
57719 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57720 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57722 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57724 Likewise.
57725 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57727 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57729 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57730 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57731 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57732 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57734 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57736 (elf_machine_lazy_rel): Likewise.
57737 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57739 (elf_machine_lazy_rel): Likewise.
57740 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57741 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57742 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57743 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57744 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57745 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57746 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57748 Likewise.
57749 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57750 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57751 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57752 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57753 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57755 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57756 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57757 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57758 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57759 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57760 Likewise.
57761 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57762 (__posix_fallocate64_l64): Likewise.
57763 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57764 (posix_fallocate): Likewise.
57765 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57766 Likewise.
57767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57768 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57769 (getifaddrs_internal): Likewise.
57770 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57771 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57772 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57773 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57774 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57775 (__posix_fallocate64_l64): Likewise.
57776 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57777 Likewise.
57778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57780 (__get_clockfreq): Likewise.
57781 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57782 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57783 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57786 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57787 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57788 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57789 Likewise.
57790 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57791 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57792 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57793 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57795 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57796 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57797 Likewise.
57798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57799 (posix_fallocate): Likewise.
57800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57801 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57802 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57803 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57804 (elf_machine_rela, elf_machine_rela_relative)
57805 (elf_machine_lazy_rel): Likewise.
57806 * time/asctime.c (asctime_internal): Likewise.
57807 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57808 * time/tzset.c (__tzset_parse_tz): Likewise.
57809 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57810 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57811 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57812 * wcsmbs/wcsmbsload.h: Likewise.
57813
57814 [BZ #15894]
57815 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57816
57817 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57818 (arena_get2): Remove THREAD_STATS conditionals.
57819 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57820 (__malloc_stats, int): Likewise.
57821
57822 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57823
57824 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57825 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57826
57827 * manual/setjmp.texi: Fix typos/grammar errors.
57828
57829 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57830 Only return early when n is <= 0. Delete unused return statement.
57831
57832 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57833 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57834 * debug/tst-longjmp_chk3.c: New file.
57835
57836 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57837 (test_main): Replace code with set_fortify_handler call.
57838 * debug/test-strcpy_chk.c: Likewise.
57839 * debug/tst-chk1.c: Likewise.
57840 * debug/tst-longjmp_chk.c: Likewise.
57841 * test-skeleton.c: Include fcntl.h & paths.h
57842 (set_fortify_handler): Define.
57843
57844 * debug/tst-longjmp_chk.c: Add header comment and include
57845 ../test-skeleton.c.
57846 (do_test): Mark static.
57847 (TEST_FUNCTION): Define.
57848
57849 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57850 (IP_PMTUDISC_INTERFACE): Likewise.
57851 (IP_MULTICAST_IF): Likewise.
57852 (IP_MULTICAST_TTL): Likewise.
57853 (IP_MULTICAST_LOOP): Likewise.
57854 (IP_ADD_MEMBERSHIP): Likewise.
57855 (IP_DROP_MEMBERSHIP): Likewise.
57856 (IP_UNBLOCK_SOURCE): Likewise.
57857 (IP_BLOCK_SOURCE): Likewise.
57858 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57859 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57860 (IP_MSFILTER): Likewise.
57861 (MCAST_JOIN_GROUP): Likewise.
57862 (MCAST_BLOCK_SOURCE): Likewise.
57863 (MCAST_UNBLOCK_SOURCE): Likewise.
57864 (MCAST_LEAVE_GROUP): Likewise.
57865 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57866 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57867 (MCAST_MSFILTER): Likewise.
57868 (IP_MULTICAST_ALL): Likewise.
57869 (IP_UNICAST_IF): Likewise.
57870
57871 * timezone/Makefile: Delete $(have-ksh) check.
57872 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57873 * timezone/tzselect.ksh: Add +x mode bits.
57874
57875 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57876 (ANON_INODE_FS_MAGIC): Likewise.
57877 (BDEVFS_MAGIC): Likewise.
57878 (BINFMTFS_MAGIC): Likewise.
57879 (BTRFS_TEST_MAGIC): Likewise.
57880 (CRAMFS_MAGIC_WEND): Likewise.
57881 (DEBUGFS_MAGIC): Likewise.
57882 (ECRYPTFS_SUPER_MAGIC): Likewise.
57883 (EXT3_SUPER_MAGIC): Likewise.
57884 (EXT4_SUPER_MAGIC): Likewise.
57885 (FUTEXFS_SUPER_MAGIC): Likewise.
57886 (HOSTFS_SUPER_MAGIC): Likewise.
57887 (HUGETLBFS_MAGIC): Likewise.
57888 (MINIX3_SUPER_MAGIC): Likewise.
57889 (MTD_INODE_FS_MAGIC): Likewise.
57890 (NILFS_SUPER_MAGIC): Likewise.
57891 (OPENPROM_SUPER_MAGIC): Likewise.
57892 (PIPEFS_MAGIC): Likewise.
57893 (PSTOREFS_MAGIC): Likewise.
57894 (QNX6_SUPER_MAGIC): Likewise.
57895 (RAMFS_MAGIC): Likewise.
57896 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57897 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57898 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57899 (SECURITYFS_MAGIC): Likewise.
57900 (SELINUX_MAGIC): Likewise.
57901 (SMACK_MAGIC): Likewise.
57902 (SOCKFS_MAGIC): Likewise.
57903 (SQUASHFS_MAGIC): Likewise.
57904 (STACK_END_MAGIC): Likewise.
57905 (TMPFS_MAGIC): Likewise.
57906 (USBDEVICE_SUPER_MAGIC): Likewise.
57907 (V9FS_MAGIC): Likewise.
57908 (XENFS_SUPER_MAGIC): Likewise.
57909 (CRAMFS_MAGIC): Fix typo in comment.
57910 (EXT2_SUPER_MAGIC): Update comment.
57911 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57912
57913 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57914
57915 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57916 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57917 * sysdeps/unix/sysv/linux/arm: Move directory from
57918 ports/sysdeps/unix/sysv/linux/arm.
57919 * README: Update listing for arm-*-linux-gnueabi.
57920
57921 * README: Remove mention of am33.
57922
57923 2014-02-07 Roland McGrath <roland@hack.frob.com>
57924
57925 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57926 than the comma operator, to avoid "rhs of comma has no effect"
57927 compiler warnings.
57928 (__sigfillset, __sigandset, __sigorset): Likewise.
57929 * include/signal.h (__sigemptyset): Likewise.
57930 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57931
57932 2014-02-07 Allan McRae <allan@archlinux.org>
57933
57934 * version.h (RELEASE): Set to "development".
57935 (VERSION): Set to "2.19.90"
57936 * NEWS: Add 2.20 section.
57937
57938 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57939
57940 [BZ #16529]
57941 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57942
57943 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57944
57945 * manual/contrib.texi: Update entry for Carlos O'Donell,
57946 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57947
57948 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57949
57950 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57951
57952 * sysdeps/unix/sysv/linux/kernel-features.h
57953 [__LINUX_KERNEL_VERSION >= 0x020621]
57954 (__ASSUME_PROC_PID_TASK_COMM): Define.
57955
57956 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57957
57958 [BZ #16398]
57959 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57960 conversion when destination buffer does not have enough space.
57961 * libio/tst-ftell-partial-wide.c: New test case.
57962 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57963
57964 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57965 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57966 Leonard and Allan McRae.
57967
57968 2014-02-04 David S. Miller <davem@davemloft.net>
57969
57970 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57971 32-bit.
57972
57973 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57974
57975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57976 New file
57977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57978 New file
57979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57980 New file.
57981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57982 New file.
57983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57984 New file.
57985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57986 New file.
57987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57988 New file.
57989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57990 New file.
57991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57992 New file.
57993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57994 New file.
57995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57996 New file.
57997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57998 New file.
57999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58000 New file.
58001
58002 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58003
58004 * nptl/shlib-versions: Change powerpc*le start to 2.17.
58005 * shlib-versions: Likewise.
58006
58007 2014-02-04 Roland McGrath <roland@hack.frob.com>
58008 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58009
58010 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58011 (abilist-pattern): New variable, set to %-le.abilist.
58012
58013 * Makerules (abilist-pattern): New variable.
58014 (vpath): Use $(abilist-pattern) in place of %.abilist.
58015 (check-abi-% pattern rule): Likewise.
58016 (check-abi, update-abi): Likewise.
58017
58018 2014-02-04 Eric Wong <normalperson@yhbt.net>
58019
58020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58021
58022 2014-02-03 Carlos O'Donell <carlos@redhat.com>
58023
58024 * manual/startup.texi: Add next, previous, and top entries for
58025 the `Program Arguments' and `Environment Variables' nodes.
58026
58027 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
58028
58029 * manual/macros.texi: Add comments before MTASC-safety macros.
58030
58031 * manual/users.texi: Document MTASC-safety properties.
58032
58033 * manual/threads.texi (pthread_key_create, pthread_key_delete)
58034 (pthread_getspecific, pthread_setspecific): Format with
58035 @deftypefun, and add @safety note.
58036 * manual/signal.texi: Move comments that analyze the above
58037 functions to their home place.
58038
58039 2014-02-03 Allan McRae <allan@archlinux.org>
58040
58041 * po/sl.po: Update Slovenian translation from translation project.
58042
58043 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
58044
58045 * manual/time.texi (timegm): Add missing blank after @c.
58046 Reported by Joseph Myers <joseph@codesourcery.com>.
58047
58048 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
58049
58050 * manual/check-safety.sh: New.
58051 * manual/Makefile ($(objpfx)stamp-summary): Run it.
58052
58053 * manual/terminal.texi: Document MTASC-safety properties.
58054
58055 * manual/filesys.texi: Document MTASC-safety properties.
58056
58057 * manual/errno.texi: Document MTASC-safety properties.
58058
58059 * manual/intro.texi: Document safety identifiers and
58060 conditionals.
58061
58062 * manual/string.texi (wcstok): Fix prototype.
58063 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58064
58065 * manual/time.texi: Document MTASC-safety properties.
58066
58067 * manual/string.texi: Document MTASC-safety properties.
58068
58069 * manual/threads.texi: Document MTASC-safety properties.
58070
58071 * manual/stdio.texi: Document MTASC-safety properties.
58072
58073 * manual/syslog.texi: Document MTASC-safety properties.
58074
58075 * manual/sysinfo.texi: Document MTASC-safety properties.
58076
58077 * manual/startup.texi: Document MTASC-safety properties.
58078
58079 * manual/socket.texi: Document MTASC-safety properties.
58080
58081 * manual/signal.texi: Document MTASC-safety properties.
58082
58083 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
58084
58085 * manual/setjmp.texi: Document MTASC-safety properties.
58086
58087 * manual/search.texi: Document MTASC-safety properties.
58088
58089 * manual/resource.texi: Document MTASC-safety properties.
58090
58091 * manual/process.texi: Document MTASC-safety properties.
58092
58093 * manual/platform.texi: Document MTASC-safety properties.
58094
58095 * manual/pipe.texi: Document MTASC-safety properties.
58096
58097 * manual/pattern.texi: Document MTASC-safety properties.
58098
58099 * manual/message.texi: Document MTASC-safety properties.
58100
58101 [BZ #12751]
58102 * manual/memory.texi: Document MTASC-safety properties.
58103
58104 * manual/math.texi: Document MTASC-safety properties.
58105
58106 * manual/locale.texi: Document MTASC-safety properties.
58107
58108 * manual/llio.texi: Document MTASC-safety properties.
58109
58110 * manual/libdl.texi: New.
58111
58112 * manual/lang.texi: Document MTASC-safety properties.
58113
58114 * manual/job.texi: Document MTASC-safety properties.
58115
58116 * manual/getopt.texi: Document MTASC-safety properties.
58117
58118 * manual/ctype.texi: Document MTASC-safety properties.
58119
58120 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
58121
58122 [BZ #16046]
58123 * csu/libc-tls.c (static_map): Remove variable.
58124 (__libc_setup_tls): Use main executable's link map for TLS data.
58125 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58126 casing for LM_ID_BASE and GL(dl_nns).
58127 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58128 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
58129 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58130 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58131 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58132 member.
58133 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58134 l_phnum members.
58135
58136 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
58137
58138 * manual/debug.texi: Document MTASC-safety properties.
58139
58140 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
58141
58142 [BZ #16510]
58143 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58144 of __x86_64__ when disabling x87 inline functions.
58145
58146 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
58147
58148 * manual/charset.texi: Document MTASC-safety properties.
58149
58150 * manual/crypt.texi: Document MTASC-safety properties.
58151
58152 * manual/conf.texi: Document MTASC-safety properties.
58153
58154 * manual/arith.texi: Document MTASC-safety properties.
58155
58156 * manual/argp.texi: Document MTASC-safety properties.
58157
58158 * manual/macros.texi: Introduce macros to document multi
58159 thread, asynchronous signal and asynchronous cancellation
58160 safety properties.
58161 * manual/intro.texi: Introduce the properties themselves.
58162
58163 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58164
58165 * sysdeps/sh/sh4/Makefile: New file.
58166
58167 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
58168
58169 * math/gen-libm-test.pl ($srcdir): New variable.
58170 ($auto_input): Use it.
58171
58172 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58173
58174 [BZ #16506]
58175 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58176 access beyond array bounds when parsing netgroups file.
58177
58178 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58179 the old buffer before realloc.
58180
58181 2014-01-27 Allan McRae <allan@archlinux.org>
58182
58183 * po/fr.po: Update French translation from translation project.
58184
58185 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58186
58187 * sysdeps/sh/libm-test-ulps: Regenerate.
58188
58189 2014-01-24 David S. Miller <davem@davemloft.net>
58190
58191 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58192
58193 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58194
58195 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58196 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58197
58198 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58199
58200 [BZ #16474]
58201 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58202 string pointers after reallocation.
58203
58204 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58205
58206 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58207 __SH4A__ instead of __SH_FPU_ANY__.
58208
58209 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58210
58211 * sysdeps/sh/fpu_control.h: New file.
58212 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58213 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58214 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58215 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58216 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58217 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58218 * sysdeps/sh/sys/ucontext.h: Remove.
58219 * sysdeps/sh/sys: Remove directory.
58220
58221 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58222
58223 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58224 s390/sys/ucontext.h.
58225 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58227
58228 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
58229
58230 [BZ #15605]
58231 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58232
58233 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58234
58235 [BZ #16431]
58236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58237 Adjust the vDSO correctly for internal calls.
58238 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58239
58240 2014-01-20 Allan McRae <allan@archlinux.org>
58241
58242 * po/ca.po: Update Catalan translation from translation project.
58243
58244 2014-01-16 Mike Frysinger <vapier@gentoo.org>
58245
58246 * sysdeps/s390/sotruss-lib.c: New file.
58247
58248 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58249
58250 [BZ #16430]
58251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58252 (__GI___gettimeofday): Alias for a different internal symbol to avoid
58253 local calls issues by not having a PLT stub required for IFUNC calls.
58254 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58255
58256 2014-01-16 Joseph Myers <joseph@codesourcery.com>
58257
58258 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58259 * math/test-fpucw-static.c: Likewise.
58260
58261 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58262
58263 [BZ #16453]
58264 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58265
58266 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58267
58268 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58269 implementation for powerpc.
58270
58271 2014-01-15 Ondƙej Bílka <neleai@seznam.cz>
58272
58273 [BZ #14782]
58274 * sysdeps/posix/system.c (__libc_system): Do not enable
58275 asynchronous cancellation.
58276
58277 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58278
58279 [BZ #16427]
58280 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58281 handling only for numbers special also in the IEEE case.
58282
58283 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58284
58285 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58286
58287 2014-01-11 Allan McRae <allan@archlinux.org>
58288
58289 * po/bg.po: Update Bulgarian translation from translation project.
58290
58291 * po/de.po: Update German translation from translation project.
58292
58293 2014-01-10 Roland McGrath <roland@hack.frob.com>
58294
58295 * sysdeps/generic/gcc-compat.h: New file.
58296
58297 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58298
58299 * benchtests/asin-inputs: Correct slow inputs.
58300 * benchtests/acos-inputs: Likewise.
58301
58302 2014-01-10 Allan McRae <allan@archlinux.org>
58303
58304 * po:sv.po: Update Swedish translation from translation project.
58305
58306 * po/vi.po: Update Vietnamese translation from translation project.
58307
58308 * po/eo.po: Update Esperanto translation from translation project.
58309
58310 * po/cs.po: Update Czech translation from translation project.
58311
58312 * po/nl.po: Update Dutch translation from translation project.
58313
58314 * po/pl.po: Update Polish translation from translation project.
58315
58316 * po/ru.po: Update Russian translation from translation project.
58317
58318 * po/uk.po: Update Ukrainian translation from translation project.
58319
58320 2014-01-08 Brooks Moses <bmoses@google.com>
58321
58322 * elf/dl-load.c: Fix comment typo.
58323
58324 2014-01-08 Carlos O'Donell <carlos@redhat.com>
58325
58326 * po/header.pot: Rename to...
58327 * po/pot.header: ... this.
58328 * po/Makefile: Use pot.header.
58329
58330 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
58331 Maxim Kuvyrkov <maxim@kugelworks.com>
58332
58333 [BZ #16394]
58334 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58335 SRC and DEST against LEN.
58336
58337 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58338
58339 [BZ #16414]
58340 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58341 implementation.
58342 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58343
58344 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58345
58346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58347
58348 2014-01-08 Joseph Myers <joseph@codesourcery.com>
58349
58350 [BZ #16408]
58351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58352 for large positive arguments.
58353
58354 2014-01-07 Joseph Myers <joseph@codesourcery.com>
58355
58356 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58357
58358 * math/auto-libm-test-in: Mark various tests with
58359 xfail-rounding:ldbl-128ibm.
58360 * math/auto-libm-test-out: Regenerated.
58361
58362 [BZ #16407]
58363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58364 Increase overflow threshold.
58365
58366 2014-01-07 Ondƙej Bílka <neleai@seznam.cz>
58367
58368 [BZ #14286]
58369 * stdio-common/vfprintf.c: Check for integer overflow.
58370
58371 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58372
58373 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58374 the first argument and return value of __tls_get_addr_internal.
58375
58376 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58377
58378 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58379 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58380
58381 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58382
58383 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58384 * sysdeps/s390/rtld-global-offsets.sym: New file.
58385 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58386 GLIBC_2.19 symbol.
58387 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58390 ... this.
58391 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58392 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58393 ... this.
58394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58395 Regenerate.
58396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58397 Regenerate.
58398 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58399 halfs of GPRs for high_gprs contexts.
58400 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58401 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
58402 field.
58403 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58404 uc_flags field.
58405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58406 64 bit versions:
58407 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58408 for high GPRs (uc_high_gprs) and for future extensions
58409 (__reserved).
58410 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58411 for future extensions (__reserved).
58412 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58413 64 bit versions:
58414 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58415 SC_HIGHGPRS offset definition.
58416 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58417 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58418
58419 * Versions.def: Add GLIBC_2.19 for libpthread.
58420 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58421 siglongjmp for libpthread with GLIBC_2.19 symver.
58422 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58423 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58424 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58425 * sysdeps/s390/__longjmp.c: New file.
58426 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58427 * sysdeps/s390/longjmp.c: New file.
58428 * sysdeps/s390/setjmp.S: New file.
58429 * sysdeps/s390/sigjmp.S: New file.
58430 * sysdeps/s390/v1-longjmp.c: New file.
58431 * sysdeps/s390/v1-setjmp.h: New file.
58432 * sysdeps/s390/v1-sigjmp.c: New file.
58433 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58434 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58435 GLIBC_2.19 version.
58436 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58437 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58438 versioned symbols for ____longjmp_chk.
58439 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58440 Likewise.
58441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58442 Regenerate.
58443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58444 Regenerate.
58445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58446 Regenerate.
58447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58448 Regenerate.
58449 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58450 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58451 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58452 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58453 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58454 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58455 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58456 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58457 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58458 * sysdeps/s390/rtld-__longjmp.c: New file.
58459 * sysdeps/s390/rtld-setjmp.S: New file.
58460
58461 2014-01-06 Joseph Myers <joseph@codesourcery.com>
58462
58463 [BZ #16400]
58464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58465 Return -__logl (x) for small positive arguments without evaluating
58466 a polynomial.
58467
58468 2014-01-06 Mike Frysinger <vapier@gentoo.org>
58469
58470 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58471 Rename to ...
58472 (__ptrace_peeksiginfo_args): ... this.
58473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58476
58477 2014-01-06 Allan McRae <allan@archlinux.org>
58478
58479 * inet/netinet/in.h: Fix typo in comment.
58480
58481 2014-01-05 Andreas Jaeger <aj@suse.de>
58482
58483 * sysdeps/i386/fpu/libm-test-ulps: Update.
58484
58485 2014-01-05 Allan McRae <allan@archlinux.org>
58486
58487 * po/libc.pot: Regenerated.
58488
58489 * malloc/memusagestat.c: Fix gettext call formatting.
58490
58491 2014-01-04 Sami Kerola <kerolasa@iki.fi>
58492
58493 * nscd/nscd.c: Improve usage() output.
58494
58495 2014-01-04 Mike Frysinger <vapier@gentoo.org>
58496
58497 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58498 * sysdeps/unix/sysv/linux/configure: Regenerated.
58499 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58500 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58501
58502 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58503
58504 [BZ #16390]
58505 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58506 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58507
58508 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58509
58510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58511 extra tokens at end of #undef directive.
58512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58513 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58515
58516 2014-01-03 Joseph Myers <joseph@codesourcery.com>
58517
58518 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58519
58520 * math/auto-libm-test-in: Mark various tests with
58521 xfail-rounding:ldbl-128ibm.
58522 * math/auto-libm-test-out: Regenerated.
58523
58524 2014-01-02 Joseph Myers <joseph@codesourcery.com>
58525
58526 [BZ #16386]
58527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58528 numbers with subnormal high part when calculating exponent.
58529
58530 [BZ #16385]
58531 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58532 fabs.
58533
58534 [BZ #16384]
58535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58536 M_LN2l.
58537 (__ieee754_acoshl): Use __log1pl not __log1p.
58538
58539 2013-01-02 Ondƙej Bílka <neleai@seznam.cz>
58540
58541 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58542 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58543 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58544 (grow_heap, heap_trim, _int_new_arena, get_free_list)
58545 (reused_arena, arena_get2): Convert to GNU style.
58546 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58547 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58548 (memalign_check, __malloc_set_state): Likewise.
58549 * malloc/mallocbug.c (main): Likewise.
58550 * malloc/malloc.c (__malloc_assert, malloc_init_state)
58551 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58552 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58553 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58554 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58555 (__posix_memalign, malloc_info): Likewise.
58556 * malloc/malloc.h: Likewise.
58557 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58558 (mallochook, memalignhook, reallochook, mabort): Likewise.
58559 * malloc/mcheck.h: Likewise.
58560 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58561 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58562 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58563 * malloc/morecore.c (__default_morecore): Likewise.
58564 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58565 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58566 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58567 (print_and_abort): Likewise.
58568 * malloc/obstack.h: Likewise.
58569 * malloc/set-freeres.c (__libc_freeres): Likewise.
58570 * malloc/tst-mallocstate.c (main): Likewise.
58571 * malloc/tst-mtrace.c (main): Likewise.
58572 * malloc/tst-realloc.c (do_test): Likewise.
58573
58574 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58575
58576 [BZ #16366]
58577 * nscd/netgroupcache.c (do_notfound): New function.
58578 (addgetnetgrentX): Use it.
58579
58580 [BZ # 16365]
58581 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58582 NSS_STATUS_NOTFOUND.
58583
58584 2014-01-01 Joseph Myers <joseph@codesourcery.com>
58585
58586 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58588
58589 2014-01-01 Allan McRae <allan@archlinux.org>
58590
58591 * scripts/update-copyrights: Update configure input file suffix.
58592
58593 * NEWS: Update copyright year.
58594 * catgets/gencat.c: Likewise.
58595 * csu/version.c: Likewise.
58596 * debug/catchsegv.sh: Likewise.
58597 * debug/pcprofiledump.c: Likewise.
58598 * debug/xtrace.sh: Likewise.
58599 * elf/ldconfig.c: Likewise.
58600 * elf/ldd.bash.in: Likewise.
58601 * elf/pldd.c: Likewise.
58602 * elf/sotruss.ksh: Likewise.
58603 * elf/sprof.c: Likewise.
58604 * iconv/iconv_prog.c: Likewise.
58605 * iconv/iconvconfig.c: Likewise.
58606 * locale/programs/locale.c: Likewise.
58607 * locale/programs/localedef.c: Likewise.
58608 * login/programs/pt_chown.c: Likewise.
58609 * malloc/memusage.sh: Likewise.
58610 * malloc/memusagestat.c: Likewise.
58611 * malloc/mtrace.pl: Likewise.
58612 * manual/libc.texinfo: Likewise.
58613 * nscd/nscd.c: Likewise.
58614 * nss/getent.c: Likewise.
58615 * nss/makedb.c: Likewise.
58616 * posix/getconf.c: Likewise.
58617 * scripts/test-installation.pl: Likewise.
58618
58619 * All files with FSF copyright notices: Update copyright dates
58620 using scripts/update-copyrights.
58621 * intl/plural.c: Regenerated.
58622 * locale/programs/charmap-kw.h: Likewise.
58623 * locale/programs/locfile-kw.h: Likewise.
58624
58625 2013-12-31 Mike Frysinger <vapier@gentoo.org>
58626
58627 * sysdeps/unix/sysv/linux/configure: Regenerated.
58628 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58629 the linux/fanotify.h header.
58630 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58631 HAVE_LINUX_FANOTIFY_H is defined.
58632
58633 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
58634
58635 * benchtests/cos-inputs: New inputs.
58636 * benchtests/sin-inputs: Likewise.
58637
58638 * benchtests/atan-inputs: New inputs. Fix name of multiple
58639 precision fallback inputs.
58640
58641 * benchtests/atanh-inputs: New inputs.
58642 * benchtests/tanh-inputs: Likewise.
58643
58644 * benchtests/acosh-inputs: New inputs.
58645 * benchtests/asinh-inputs: Likewise.
58646
58647 * benchtests/cosh-inputs: New inputs.
58648 * benchtests/sinh-inputs: Likewise.
58649
58650 * benchtests/acos-inputs: Add more inputs.
58651 * benchtests/asin-inputs: Likewise.
58652
58653 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
58654
58655 [BZ #16375]
58656 * manual/arith.texi: Fix spelling.
58657 * manual/charset.texi: Likewise.
58658 * manual/errno.texi: Likewise.
58659 * manual/filesys.texi: Likewise.
58660 * manual/lang.texi: Likewise.
58661 * manual/llio.texi: Likewise.
58662 * manual/locale.texi: Likewise.
58663 * manual/message.texi: Likewise.
58664 * manual/resource.texi: Likewise.
58665 * manual/search.texi: Likewise.
58666 * manual/setjmp.texi: Likewise.
58667 * manual/stdio.texi: Likewise.
58668 * manual/string.texi: Likewise.
58669 * manual/sysinfo.texi: Likewise.
58670 * manual/time.texi: Likewise.
58671
58672 2013-12-27 Carlos O'Donell <carlos@redhat.com>
58673
58674 * po/sl.po: New file.
58675
58676 2013-12-27 Mike Frysinger <vapier@gentoo.org>
58677
58678 * .gitignore: Add core/.gdbinit/.gdb_history.
58679
58680 2013-12-27 Allan McRae <allan@archlinux.org>
58681
58682 [BZ #16369]
58683 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58684 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58685
58686 2013-12-24 Brooks Moses <bmoses@google.com>
58687
58688 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58689 all compilers that claim C++98 compliance, not just GCC.
58690 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58691 Likewise.
58692
58693 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58694
58695 * NEWS: Restore accidentally deleted bug-fix entries.
58696
58697 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
58698 Ondƙej Bílka <neleai@seznam.cz>
58699
58700 [BZ #15073]
58701 * malloc/malloc.c (_int_free): Perform sanity check only if we
58702 have_lock.
58703
58704 2013-12-23 Ondƙej Bílka <neleai@seznam.cz>
58705
58706 [BZ #12986]
58707 * manual/stdio.texi (String Input Conversions): Clarify that character
58708 classes are not supported.
58709
58710 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58711
58712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58713
58714 2013-12-22 Joseph Myers <joseph@codesourcery.com>
58715
58716 [BZ #16337]
58717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58718 Calculate results for small negative arguments directly rather
58719 than using reflection formula with special underflow handling.
58720
58721 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58722 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58723 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58724 (fchflags): Likewise.
58725 (revoke): Likewise.
58726 (setlogin): Likewise.
58727 (sigaltstack): Likewise.
58728 (wait4): Likewise.
58729 (sigblock): Remove.
58730 (sigsetmask): Likewise.
58731 (wait3): Likewise.
58732 (waitpid): Likewise.
58733 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58734 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58735 file.
58736 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58737 * sysdeps/unix/bsd/Makefile: ... here.
58738 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58739 * sysdeps/unix/bsd/Versions: ... here.
58740 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58741 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58742 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58743 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58744 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58745 * sysdeps/unix/bsd/sigblock.c: ... here.
58746 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58747 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58748 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58749 * sysdeps/unix/bsd/sigvec.c: ... here.
58750 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58751 * sysdeps/unix/bsd/tcdrain.c: ... here.
58752 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58753 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58754 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58755 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58756 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58757 * sysdeps/unix/bsd/wait.c: ... here.
58758 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58759 * sysdeps/unix/bsd/wait3.c: ... here.
58760 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58761 * sysdeps/unix/bsd/waitpid.c: ... here.
58762
58763 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58764
58765 [BZ #16356]
58766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58767 round-to-nearest for [!USE_AS_EXPM1L].
58768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58769 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58770 more tests of exp and exp10. Expect some exp10 tests to miss
58771 exceptions or fail in directed rounding modes.
58772 * math/auto-libm-test-out: Regenerated.
58773 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58774 (exp10_test_tonearest): New function.
58775 (exp10_towardzero_test_data): New array.
58776 (exp10_test_towardzero): New function.
58777 (exp10_downward_test_data): New array.
58778 (exp10_test_downward): New function.
58779 (exp10_upward_test_data): New array.
58780 (exp10_test_upward): New function.
58781 (main): Call the new functions.
58782 * sysdeps/i386/fpu/libm-test-ulps: Update.
58783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58784
58785 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58786
58787 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58788 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58789 * math/auto-libm-test-out: Regenerated.
58790 * math/libm-test.inc (acosh_test_data): Add more tests.
58791 (atanh_test_data): Likewise.
58792 (ceil_test_data): Likewise.
58793 (copysign_test_data): Likewise.
58794 * sysdeps/i386/fpu/libm-test-ulps: Update.
58795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58796
58797 * timezone/checktab.awk: Update from tzcode 2013i.
58798 * timezone/private.h: Likewise.
58799 * timezone/scheck.c: Likewise.
58800 * timezone/tzfile.h: Likewise.
58801 * timezone/tzselect.ksh: Likewise.
58802 * timezone/zdump.c: Likewise.
58803 * timezone/zic.c: Likewise.
58804
58805 * math/auto-libm-test-in: Add tests of cpow.
58806 * math/auto-libm-test-out: Regenerated.
58807 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58809 mpc_cc_c.
58810 (func_calc_desc): Add mpc_cc_c union field.
58811 (test_functions): Add cpow.
58812 (special_fill_2pi): New function.
58813 (special_real_inputs): Add 2pi.
58814 (calc_generic_results): Handle mpc_cc_c.
58815 * sysdeps/i386/fpu/libm-test-ulps: Update.
58816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58817
58818 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58819 csqrt, ctan and ctanh.
58820 * math/auto-libm-test-out: Regenerated.
58821 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58822 (TEST_COND_x86): Likewise.
58823 (ccos_test_data): Use AUTO_TESTS_c_c.
58824 (ccosh_test_data): Likewise.
58825 (cexp_test_data): Likewise.
58826 (clog_test_data): Likewise.
58827 (csqrt_test_data): Likewise.
58828 (ctan_test_data): Likewise.
58829 (ctan_tonearest_test_data): Likewise.
58830 (ctan_towardzero_test_data): Likewise.
58831 (ctan_downward_test_data): Likewise.
58832 (ctan_upward_test_data): Likewise.
58833 (ctanh_test_data): Likewise.
58834 (ctanh_tonearest_test_data): Likewise.
58835 (ctanh_towardzero_test_data): Likewise.
58836 (ctanh_downward_test_data): Likewise.
58837 (ctanh_upward_test_data): Likewise.
58838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58839 mpc_c_c.
58840 (func_calc_desc): Add mpc_c_c union field.
58841 (FUNC_mpc_c_c): New macro.
58842 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58843 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58844 ctanh.
58845 (special_fill_min_subnorm_p120): New function.
58846 (special_real_inputs): Add min_subnorm_p120.
58847 (calc_generic_results): Handle mpc_c_c.
58848 * sysdeps/i386/fpu/libm-test-ulps: Update.
58849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58850
58851 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58852
58853 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58854 (do_sin_slow): New functions.
58855 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58856 (cslow2, csloww1, csloww2): Use the new functions.
58857
58858 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58859 Use M to change sign of result instead of X. Assume X is
58860 positive.
58861 (csloww1): Likewise.
58862 (__sin): Adjust.
58863 (__cos): Adjust.
58864
58865 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58866 arguments A and DA.
58867 (__sin): Adjust.
58868 (__cos): Likewise.
58869
58870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58871 (__cos): Likewise.
58872 (sloww1): Don't adjust sign of DX.
58873 (csloww1): Likewise.
58874 (sloww2): Use X directly and don't adjust sign of DX.
58875 (csloww2): Likewise.
58876
58877 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58878
58879 * math/auto-libm-test-in: Add tests of cabs and carg.
58880 * math/auto-libm-test-out: Regenerated.
58881 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58882 (carg_test_data): Likewise.
58883 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58884 mpc_c_f.
58885 (func_calc_desc): Add mpc_c_f union field.
58886 (test_functions): Add cabs and carg.
58887 (calc_generic_results): Handle mpc_c_f.
58888
58889 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58890 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58891 as a macro and a compat symbol.
58892 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58893 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58894 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58895 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58896 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58898 not use .hidden.
58899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58900 Likewise.
58901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58902 Likewise.
58903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58904 Likewise.
58905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58906 Likewise.
58907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58908 Likewise.
58909 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58910 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58911 from GLIBC_2.3.2.
58912
58913 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58914
58915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58916
58917 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58918
58919 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58920 trailing whitespace removed.
58921 * scripts/config.guess: Update to version 2013-11-29.
58922 * scripts/config.sub: Update to version 2013-10-01.
58923
58924 * math/auto-libm-test-in: Add tests of sincos.
58925 * math/auto-libm-test-out: Regenerated.
58926 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58928 mpfr_f_11.
58929 (func_calc_desc): Add mpfr_f_11 union field.
58930 (test_functions): Add sincos.
58931 (calc_generic_results): Handle mpfr_f_11.
58932 * sysdeps/i386/fpu/libm-test-ulps: Update.
58933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58934
58935 2013-12-19 Andreas Schwab <schwab@suse.de>
58936
58937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58938 CALL_MCOUNT.
58939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58941 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58942
58943 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58944
58945 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58946 * sysdeps/i386/fpu/libm-test-ulps: Update.
58947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58948
58949 [BZ #16293]
58950 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58951 round-to-nearest mode when using frndint.
58952 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58954 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58955 Likewise.
58956 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58957 sinh test to fail.
58958 * math/auto-libm-test-out: Regenerated.
58959 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58960 (TEST_COND_x86): Likewise.
58961 (expm1_tonearest_test_data): New array.
58962 (expm1_test_tonearest): New function.
58963 (expm1_towardzero_test_data): New array.
58964 (expm1_test_towardzero): New function.
58965 (expm1_downward_test_data): New array.
58966 (expm1_test_downward): New function.
58967 (expm1_upward_test_data): New array.
58968 (expm1_test_upward): New function.
58969 (main): Run the new test functions.
58970 * sysdeps/i386/fpu/libm-test-ulps: Update.
58971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58972
58973 * include/features.h: Update comment documenting feature test
58974 macros. Mention _DEFAULT_SOURCE in comment.
58975 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58976 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58977 _BSD_SOURCE and _SVID_SOURCE.
58978 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58979 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58980 !_SVID_SOURCE]: Likewise.
58981 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58982 (__USE_POSIX_IMPLICITLY): Define.
58983 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58984 (_POSIX_SOURCE): Undefine and redefine.
58985 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58986 (_POSIX_C_SOURCE): Likewise.
58987 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58988 (Feature Test Macros): Update documentation of default features.
58989
58990 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58991
58992 * benchtests/Makefile: Add bench-strtok.
58993 * benchtests/bench-strtok.c: New file: strtok benchtest.
58994
58995 2013-12-19 Allan McRae <allan@archlinux.org>
58996
58997 * manual/install.texi: Suppress menu for plain text output.
58998 * INSTALL: Regenerated.
58999
59000 2013-12-18 Brooks Moses <bmoses@google.com>
59001
59002 [BZ #15846]
59003 * misc/getauxval.c: Include errno.h.
59004 (__getauxval): Set errno to ENOENT if the requested type is not
59005 found.
59006 * misc/sys/auxv.h (getauxval): Document that it may set errno;
59007 don't declare with __attribute_const__.
59008 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59009 * manual/startup.texi: Document that getauxval sets errno.
59010
59011 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59012
59013 * math/auto-libm-test-in: Add tests of jn and yn.
59014 * math/auto-libm-test-out: Regenerated.
59015 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59016 (yn_test_data): Likewise.
59017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59018 mpfr_if_f.
59019 (func_calc_desc): Add mpfr_if_f union field.
59020 (FUNC_mpfr_if_f): New macro.
59021 (test_functions): Add jn and yn.
59022 (calc_generic_results): Assert type of second input for
59023 mpfr_ff_f. Handle mpfr_if_f.
59024 (output_for_one_input_case): Disable all checking for arguments
59025 fitting floating-point types in case of an integer argument.
59026 * sysdeps/i386/fpu/libm-test-ulps: Update.
59027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59028
59029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59030 Don't expect fegetround reference in libm.so.
59031
59032 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59033
59034 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59035 $(config-cflags-nofma).
59036
59037 2013-12-18 Joseph Myers <joseph@codesourcery.com>
59038
59039 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59040 * math/auto-libm-test-out: Regenerated.
59041
59042 [BZ #16338]
59043 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59044 to determine exponent and adjust argument to have exponent of -1.
59045 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59046 log2.
59047 * math/auto-libm-test-out: Regenerated.
59048 * sysdeps/i386/fpu/libm-test-ulps: Update.
59049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59050
59051 2013-12-18 Ondƙej Bílka <neleai@seznam.cz>
59052
59053 * manual/probes.texi: Remove cases when per-thread arenas are
59054 disabled.
59055
59056 2013-12-18 Andreas Schwab <schwab@suse.de>
59057
59058 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59059 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59060 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59061 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59062 * sysdeps/i386/i686/multiarch/Makefile: Update.
59063 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59064
59065 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59066
59067 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59068 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59069
59070 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
59071
59072 [BZ #15968]
59073 Support TZ transition times < 00:00:00.
59074 This is needed for version-3 tz-format files; it supports time
59075 stamps past 2037 for America/Godthab (the only entry in the tz
59076 database for which this change is relevant).
59077 * manual/time.texi (TZ Variable): Document transition times
59078 from -167:59:59 through -00:00:01.
59079 * time/tzset.c (tz_rule): Time of day is now signed.
59080 (__tzset_parse_tz): Parse negative time of day.
59081
59082 Document TZ transition times >= 25:00:00.
59083 * manual/time.texi (TZ Variable): Document transition times from
59084 25:00:00 through 167:59:59. These are already supported, and this
59085 support will help with version-3 tz-format files.
59086
59087 * manual/time.texi (TZ Variable): Modernize North America example
59088 to reflect current (i.e., 2007-and-later) daylight saving rules.
59089
59090 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59091
59092 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59093
59094 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59095 * sysdeps/unix/bsd/bits/stat.h: Likewise.
59096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59098 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59099 * sysdeps/unix/bsd/bsdstat.h: Likewise.
59100 * sysdeps/unix/bsd/clock.c: Likewise.
59101 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59102 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59103 * sysdeps/unix/bsd/init-posix.c: Likewise.
59104 * sysdeps/unix/bsd/poll.c: Likewise.
59105 * sysdeps/unix/bsd/ptsname.c: Likewise.
59106 * sysdeps/unix/bsd/seekdir.c: Likewise.
59107 * sysdeps/unix/bsd/setegid.c: Likewise.
59108 * sysdeps/unix/bsd/seteuid.c: Likewise.
59109 * sysdeps/unix/bsd/setgid.c: Likewise.
59110 * sysdeps/unix/bsd/setrgid.c: Likewise.
59111 * sysdeps/unix/bsd/setruid.c: Likewise.
59112 * sysdeps/unix/bsd/setsid.c: Likewise.
59113 * sysdeps/unix/bsd/setuid.c: Likewise.
59114 * sysdeps/unix/bsd/sigaction.c: Likewise.
59115 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59116 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59117 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59118 * sysdeps/unix/bsd/telldir.c: Likewise.
59119 * sysdeps/unix/bsd/times.c: Likewise.
59120 * sysdeps/unix/bsd/usleep.c: Likewise.
59121
59122 * misc/Makefile (install-lib): Remove libbsd-compat.a.
59123 ($(objpfx)libbsd-compat.a): Remove rule.
59124
59125 * include/features.h (__FAVOR_BSD): Do not define.
59126 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59127 features conflicting with POSIX.
59128 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59129 (_BSD_SOURCE): Remove description of not being a subset of other
59130 feature test macros.
59131 * manual/job.texi (getpgrp): Do not document BSD version.
59132 (getpgid): Do not document by reference to BSD getpgrp.
59133 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59134 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59135 * signal/signal.h [__FAVOR_BSD]: Likewise.
59136 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59137 instead of making contents conditional on [__FAVOR_BSD].
59138 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59139
59140 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59141
59142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59143
59144 2013-12-17 Joseph Myers <joseph@codesourcery.com>
59145
59146 [BZ #16314]
59147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59148 values below 2**-450, not 2**-500.
59149 * math/auto-libm-test-in: Don't allow spurious underflow from
59150 hypot.
59151 * math/auto-libm-test-out: Regenerated.
59152
59153 [BZ #16316]
59154 [BZ #16330]
59155 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59156 values of ha and hb and sort them after adjusting subnormal
59157 arguments.
59158 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59159 Likewise.
59160 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59161 values of ea and eb and sort them after adjusting subnormal
59162 arguments.
59163 * math/auto-libm-test-in: Do not expect some hypot tests of
59164 subnormals to fail. Add more hypot tests.
59165 * math/auto-libm-test-out: Regenerated.
59166
59167 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59168
59169 [BZ #13304]
59170 * sysdeps/sh/s_fma.c: New file.
59171 * sysdeps/sh/s_fmaf.c: New file.
59172 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
59173 version.
59174 * sysdeps/sh/Implies: Add sh/soft-fp.
59175
59176 2013-12-16 Roland McGrath <roland@hack.frob.com>
59177
59178 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
59179 level of indirection to members `objname', `errstring', `malloced'.
59180 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59181 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
59182 it as the __longjmp argument (just pass 1 instead).
59183 (_dl_catch_error): Initialize C with argument pointers and address of
59184 volatile local ERRCODE rather than copying values out of C at return.
59185
59186 2013-12-16 Joseph Myers <joseph@codesourcery.com>
59187
59188 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59189 * math/auto-libm-test-out: Regenerated.
59190 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59191 (hypot_test_data): Likewise.
59192 (pow_test_data): Likewise.
59193 (pow_tonearest_test_data): Likewise.
59194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59195 mpfr_ff_f.
59196 (func_calc_desc): Add mpfr_ff_f union field.
59197 (FUNC_mpfr_ff_f): New macro.
59198 (test_functions): Add atan2, hypot and pow.
59199 (special_fill_min): New function.
59200 (special_fill_minus_min): Likewise.
59201 (special_fill_min_subnorm): Likewise.
59202 (special_fill_minus_min_subnorm): Likewise.
59203 (special_real_inputs): Add min, -min, min_subnorm and
59204 -min_subnorm.
59205 (calc_generic_results): Handle mpfr_ff_f.
59206 * sysdeps/i386/fpu/libm-test-ulps: Update.
59207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59208
59209 2013-12-16 Will Newton <will.newton@linaro.org>
59210
59211 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59212 (Aligned Memory Blocks): Add documentation for aligned_alloc
59213 and suggest it as an alternative to posix_memalign.
59214 (Hooks for Malloc): Document __memalign_hook is also called
59215 for aligned_alloc. (Summary of Malloc): Add summary for
59216 aligned alloc. Document __memalign_hook is also called
59217 for aligned_alloc.
59218
59219 2013-12-16 Will Newton <will.newton@linaro.org>
59220
59221 * manual/memory.texi (Malloc Examples): Clarify default
59222 alignment documentation. Suggest posix_memalign rather
59223 than memalign or valloc.
59224 (Aligned Memory Blocks): Remove suggestion to use memalign
59225 or valloc. Remove obsolete comment about BSD.
59226 Document memalign errno values and mark the function obsolete.
59227 Document posix_memalign returned error codes. Mark valloc
59228 as obsolete. (Hooks for Malloc): __memalign_hook is also
59229 called for posix_memalign and valloc.
59230 (Summary of Malloc): Add posix_memalign to function summary.
59231 __memalign_hook is also called for posix_memalign and valloc.
59232
59233 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
59234
59235 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59236 TAYLOR_SIN.
59237 (__sin): Adjust.
59238 (__cos): Likewise.
59239 (sloww): Use mynumber union. Expand ternary operator into
59240 if-else statements.
59241 (cslow): use mynumber union.
59242
59243 2013-12-16 Allan McRae <allan@archlinux.org>
59244
59245 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59246 * configure: Regenerated.
59247
59248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59249
59250 [BZ #14120]
59251 * configure.ac: Added --enable-maintainer-mode. Check for
59252 autoconf when enabled.
59253 * configure: Regenerated.
59254
59255 * nscd/nscd.service: New file.
59256 * nscd/nscd.tmpfiles: New file.
59257
59258 2013-12-14 Ondƙej Bílka <neleai@seznam.cz>
59259
59260 [BZ #12100]
59261 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59262 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59263 * sysdeps/x86_64/multiarch/strstr.c: ... here.
59264 (strstr): Add __strstr_sse2_unaligned ifunc.
59265 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59266 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59267 (strcasestr): Remove __strcasestr_sse42 ifunc.
59268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59271
59272 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59273
59274 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59275 * sysdeps/sh/bits/fenv.h: ... here.
59276 * sysdeps/sh/sh4/fpu/bits: Remove directory.
59277
59278 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59279
59280 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59281
59282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59283 hypotf multiarch implementations.
59284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59287 multiarch hypot for PPC64.
59288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59291 multiarch hypotf for PPC64.
59292
59293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59294 modff multiarch implementations.
59295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59298 multiarch modf for PPC64.
59299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59302 multiarch modff for PPC64.
59303
59304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59305 and logl multiarch implementations.
59306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59309 multiarch logb for PPC64.
59310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59313 multiarch logb for PPC64.
59314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59317 multiarch logb for PPC64.
59318
59319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59320 isinff multiarch implementation.
59321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59322 file.
59323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59325 multiarch isinf for PPC64.
59326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59327 file.
59328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59329 multiarch isinff for PPC64.
59330
59331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59332 finitef multiarch implementation.
59333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59334 file.
59335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59337 multiarch finite for PPC64.
59338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59339 file.
59340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59341 multiarch finitef for PPC64.
59342
59343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59344 lrint multiarch implementation.
59345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59346 file.
59347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59349 multiarch llrint for PPC64.
59350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59351 multiarch lrint for PPC64.
59352
59353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59354 copysignf multiarch implementation.
59355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59356 file.
59357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59358 file.
59359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59360 multiarch copysign for PPC64.
59361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59362 multiarch copysignf for PPC64.
59363
59364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59365 multiarch implementation.
59366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59367 file.
59368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59369 file.
59370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59371 file.
59372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59373 file.
59374 multiarch llround for PPC64.
59375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59376 multiarch trunc for PPC64.
59377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59378 multiarch truncf for PPC64.
59379
59380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59381 multiarch implementation.
59382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59383 file.
59384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59385 file.
59386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59387 file.
59388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59389 file.
59390 multiarch llround for PPC64.
59391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59392 multiarch round for PPC64.
59393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59394 multiarch roundf for PPC64.
59395
59396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59397 multiarch implementation.
59398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59399 file.
59400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59401 file.
59402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59403 file.
59404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59405 file.
59406 multiarch llround for PPC64.
59407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59408 multiarch floor for PPC64.
59409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59410 multiarch floorf for PPC64.
59411
59412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59413 multiarch implementation.
59414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59415 file.
59416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59417 file.
59418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59419 file.
59420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59421 file.
59422 multiarch llround for PPC64.
59423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59424 multiarch ceil for PPC64.
59425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59426 multiarch ceilf for PPC64.
59427
59428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59429 multiarch implementation.
59430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59431 file.
59432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59433 file.
59434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59435 file.
59436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59437 multiarch llround for PPC64.
59438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59439 multiarch lround for PPC64.
59440
59441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59442 multiarch implementation.
59443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59446 file.
59447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59450 multiarch isnan for PPC64.
59451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59452 multiarch isnanf for PPC64.
59453
59454 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59455 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59456 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59457 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59458 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59460
59461 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59462 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59465
59466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59467 multiarch implementations.
59468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59469 (__libc_ifunc_impl_list): Likewise.
59470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59472 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59473 multiarch stpcpy for PPC64.
59474
59475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59476 multiarch implementations.
59477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59478 (__libc_ifunc_impl_list): Likewise.
59479 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59480 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59481 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59482 multiarch strcpy for PPC64.
59483
59484 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59485 redefine function name.
59486 (_wordcopy_fwd_dest_aligned): Likewise.
59487 (_wordcopy_bwd_aligned): Likewise.
59488 (_wordcopy_bwd_dest_aligned): Likewise.
59489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59490 multiarch implementations.
59491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59492 (__libc_ifunc_impl_list): Likewise.
59493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59497 multiarch wcscpy for PPC64.
59498
59499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59500 multiarch implementations.
59501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59502 (__libc_ifunc_impl_list): Likewise.
59503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59507 multiarch wcscpy for PPC64.
59508
59509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59510 multiarch implementations.
59511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59512 (__libc_ifunc_impl_list): Likewise.
59513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59517 multiarch wcsrchr for PPC64.
59518
59519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59520 multiarch implementations.
59521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59522 (__libc_ifunc_impl_list): Likewise.
59523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59525 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59526 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59527 multiarch wcschr for PPC64.
59528
59529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59530 multiarch implementations.
59531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59532 (__libc_ifunc_impl_list): Likewise.
59533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59535 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59536 multiarch strchrnul for PPC64.
59537
59538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59539 implementations.
59540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59541 (__libc_ifunc_impl_list): Likewise.
59542 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59543 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59544 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59545 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59546 strchr for PPC64.
59547
59548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59549 implementations.
59550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59551 (__libc_ifunc_impl_list): Likewise.
59552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59555 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59556 strncmp for PPC64.
59557
59558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59559 multiarch implementations.
59560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59561 (__libc_ifunc_impl_list): Likewise.
59562 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59563 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59564 strncasecmp for PPC64.
59565 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59567 multiarch strncasecmp_l for PPC64.
59568
59569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59570 multiarch implementations.
59571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59572 (__libc_ifunc_impl_list): Likewise.
59573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59575 multiarch strcasecmp for PPC64.
59576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59577 file.
59578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59579 multiarch strcasecmp_l for PPC64.
59580
59581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59582 implementations.
59583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59584 (__libc_ifunc_impl_list): Likewise.
59585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59586 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59587 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59588 strnlen for PPC64.
59589
59590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59591 implementations.
59592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59593 (__libc_ifunc_impl_list): Likewise.
59594 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59596 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59597 strlen for PPC64.
59598
59599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59600 implementations.
59601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59602 (__libc_ifunc_impl_list): Likewise.
59603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59605 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59606 rawmemrchr for PPC64.
59607
59608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59609 implementation.
59610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59611 (__libc_ifunc_impl_list): Likewise.
59612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59613 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59614 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59615 memrchr for PPC64.
59616
59617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59618 implementation.
59619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59620 (__libc_ifunc_impl_list): Likewise.
59621 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59622 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59623 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59624 memchr for PPC64.
59625
59626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59627 implementation.
59628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59629 (__libc_ifunc_impl_list): Likewise.
59630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59631 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59633 mempcpy for PPC64.
59634
59635 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59636 avoid cretion of __bzero symbol.
59637 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59638 Likewise.
59639 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59640 Likewise.
59641 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59642 Likewise.
59643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59644 multiarch implementations.
59645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59646 (__libc_ifunc_impl_list): Likewise.
59647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59648 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59649 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59650 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59651 bzero for PPC32.
59652 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59653 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59654 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59655 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59656 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59657 memset for PPC64.
59658 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59659
59660 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59662 implementations.
59663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59664 (__libc_ifunc_impl_list): Likewise.
59665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59667 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59668 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59669 memcmp for PPC64.
59670
59671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59672 multiarch for POWER/PPC64.
59673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59674 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59681 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59682 memcpy for PPC64.
59683
59684 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59685 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59686 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59687 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59688 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59689 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59690 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59691 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59692 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59693 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59694 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59695 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59696 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59697 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59698 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59706
59707 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59708
59709 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59710
59711 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
59712
59713 * benchtests/Makefile (bench): Add exp2 and log2.
59714 (LDLIBS-bench-exp2): Add -lm.
59715 (LDLIBS-bench-log2): Likewise.
59716 * benchtests/exp2-inputs: New inputs file.
59717 * benchtests/log2-inputs: New inputs file.
59718 * benchtests/log-inputs: Add new inputs.
59719 * benchtests/tan-inputs: Likewise.
59720
59721 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
59722
59723 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59724 definition...
59725 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59726 (csloww2): ... from here.
59727
59728 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59729 instead of structures.
59730 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59731 (POLYNOMIAL): Likewise.
59732 (TAYLOR_SLOW): Likewise.
59733 (__sin): Likewise.
59734 (__cos): Likewise.
59735 (slow1): Likewise.
59736 (slow2): Likewise.
59737 (sloww): Likewise.
59738 (sloww1); Likewise.
59739 (sloww2): Likewise.
59740 (bsloww1): Likewise.
59741 (bsloww2): Likewise.
59742 (cslow2): Likewise.
59743 (csloww): Likewise.
59744 (csloww1): Likewise.
59745 (csloww2): Likewise.
59746
59747 2013-12-10 Ondƙej Bílka <neleai@seznam.cz>
59748
59749 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59750 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59751 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59752 * malloc/hooks.c (realloc_check): Likewise.
59753
59754 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59755 * malloc/arena.c: Remove PER_THREAD conditional.
59756 [!PER_THREAD]: Remove code.
59757 (ptmalloc_unlock_all2): Likewise.
59758 (ptmalloc_init): Likewise.
59759 (_int_new_arena): Likewise.
59760 (arena_get2): Likewise.
59761 * malloc/hooks.c (__malloc_get_state): Likewise.
59762 (__malloc_set_state): Likewise.
59763 * malloc/malloc.c: Likewise.
59764 (struct malloc_state): Likewise.
59765 (struct malloc_par): Likewise.
59766 (__libc_realloc): Likewise.
59767 (__libc_mallopt): Likewise.
59768
59769 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59770
59771 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59772
59773 2013-12-09 Ondƙej Bílka <neleai@seznam.cz>
59774
59775 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59776 macro to a function. Check for zero perturb_byte.
59777 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59778
59779 * malloc/malloc.c: (force_reg): Remove.
59780 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59781 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59782 force_reg by atomic_forced_read.
59783 * malloc/arena.c (ptmalloc_init): Likewise.
59784 * malloc/hooks.c (top_check): Likewise.
59785
59786 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59787
59788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59789
59790 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59791
59792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59793
59794 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59795
59796 * math/auto-libm-test-in: Add tests of lgamma.
59797 * math/auto-libm-test-out: Regenerated.
59798 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59799 (M_LOG_2_SQRT_PIl): Likewise.
59800 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59802 mpfr_f_f1.
59803 (func_calc_desc): Add mpfr_f_f1 union field.
59804 (ARGS1): New macro.
59805 (ARGS2): Likewise.
59806 (ARGS3): Likewise.
59807 (ARGS4): Likewise.
59808 (RET1): Likewise.
59809 (RET2): Likewise.
59810 (CALC): Likewise.
59811 (FUNC): Likewise.
59812 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59813 (test_functions): Add lgamma.
59814 (calc_generic_results): Handle mpfr_f_f1.
59815 * sysdeps/i386/fpu/libm-test-ulps: Update.
59816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59817
59818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59819
59820 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59821 __mpn_add_n for PowerPC64/POWER7.
59822 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59823 __mpn_sub_n for PowerPC64/POWER7.
59824
59825 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59826 __mpn_addmul_1 for PowerPC64.
59827 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59828 __mpn_submul_1 for PowerPC64.
59829 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59830 for PowerPC64.
59831 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59832 for PowerPC64.
59833
59834 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59835
59836 [BZ #15089]
59837 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59838
59839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59840
59841 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59842
59843 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59844 add multiarch folders.
59845 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59846 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59847 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59848 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59849 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59850 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59851 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59852 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59853 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59854 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59855 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59862
59863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59864 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59866 New file.
59867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59868 New file.
59869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59870 multiarch __ieee754_hypot for PowerPC32.
59871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59872 New file.
59873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59874 New file.
59875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59876 multiarch __ieee754_hypotf for PowerPC32.
59877
59878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59879 long_double_symbol only if __logbl is defined.
59880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59881 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59883 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59885 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59887 path for implementation.
59888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59891 logb, and logbl multiarch implementations for PowerPC32.
59892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59893 file.
59894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59895 file.
59896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59897 multiarch logb for PowerPC32.
59898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59899 file.
59900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59901 file.
59902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59903 multiarch logbf for PowerPC32.
59904 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59906 file.
59907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59908 multiarch logbl implementation for PowerPC32.
59909
59910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59911 and modff multiarch implementations.
59912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59913 New file.
59914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59915 New file.
59916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59917 multiarch modf for PowerPC32.
59918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59919 New file.
59920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59921 New file.
59922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59923 multiarch modff for PowerPC32.
59924
59925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59926 and lrintf multiarch implementations.
59927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59928 New file.
59929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59930 New file.
59931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59932 multiarch lrint for PowerPC32.
59933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59934 file: multiarch lrintf for PowerPC32.
59935
59936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59937 and lroundf multiarch implementations.
59938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59939 New file.
59940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59941 New file.
59942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59943 New file.
59944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59945 multiarch lround for PowerPC32.
59946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59947 file: multiarch lroundf for PowerPC32.
59948
59949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59950 copysign and copysignf multiarch implementations.
59951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59952 New file.
59953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59954 New file.
59955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59956 file: multiarch copysign for PowerPC32.
59957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59958 file: multiarch copysignf for PowerPC32.
59959
59960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59961 and truncf multiarch implementations.
59962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59963 New file.
59964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59965 file.
59966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59967 multiarch trunc for PowerPC32.
59968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59969 New file.
59970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59971 New file.
59972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59973 multiarch truncf for PowerPC32.
59974
59975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59976 and roundf multiarch implementations.
59977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59978 New file.
59979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59980 file.
59981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59982 multiarch round for PowerPC32.
59983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59984 New file.
59985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59986 New file.
59987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59988 multiarch roundf for PowerPC32.
59989
59990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59991 and floorf multiarch implementations.
59992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59993 New file.
59994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59995 file.
59996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59997 multiarch floor for PowerPC32.
59998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59999 New file.
60000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60001 New file.
60002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60003 multiarch floorf for PowerPC32.
60004
60005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60006 and ceilf multiarch implementations.
60007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60008 New file.
60009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60010 file.
60011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60012 multiarch ceil for PowerPC32.
60013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60014 New file.
60015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60016 file.
60017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60018 multiarch ceilf for PowerPC32.
60019
60020 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60021 is defined.
60022 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60023 FINITEF is defined.
60024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60025 and finitef multiarch implementations.
60026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60027 New file.
60028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60029 file.
60030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60031 multiarch finite for PowerPC32.
60032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60033 New file.
60034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60035 file: multiarch finitef for PowerPC32.
60036
60037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60038 and isinff multiarch implementations.
60039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60040 file.
60041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60042 file.
60043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60044 multiarch isinf for PowerPC32.
60045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60046 New file.
60047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60048 multiarch isinff for PowerPC32.
60049
60050 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60051 alias when __isnan is defined.
60052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60053 and isnanf multiarch implementations.
60054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60055 file.
60056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60057 file.
60058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60059 file.
60060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60061 file.
60062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60063 multiarch isnan for PowerPC32.
60064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60065 New file.
60066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60067 New file.
60068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60069 multiarch isnanf for PowerPC32.
60070
60071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60072 and sqrtf multiarch implementations.
60073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60074 file.
60075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60076 file.
60077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60078 multiarch sqrt for PowerPC32.
60079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60080 file.
60081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60082 file.
60083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60084 multiarch sqrtf for PowerPC32.
60085
60086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60087 and llroundf multiarch implementations.
60088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60089 New file.
60090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60091 New file.
60092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60093 New file.
60094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60095 file: multiarch llround for PowerPC32.
60096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60097 file: multiarch llroundf for PowerPC32.
60098
60099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60100 multiarch PowerPC32 fpu implementations.
60101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60102 New file.
60103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60104 New file.
60105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60106 multiarch llrint for PowerPC32.
60107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60108 New file.
60109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60110 New file.
60111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60112 file.
60113
60114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60115
60116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60117 file.
60118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60119 file.
60120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60121 file.
60122 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60123 multiarch wordcopy for PPC32.
60124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60125 wordcopy objects.
60126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60127 (__libc_ifunc_impl_list): Likewise.
60128 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60129 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60131 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60133 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60134
60135 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60137 file.
60138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60139 file.
60140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60141 file.
60142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60143 multiarch wcscpy for PPC32.
60144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60145 multiarch objects.
60146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60147 (__libc_ifunc_impl_list): Likewise.
60148 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60149 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60150 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60151 sysdeps/powerpc/power6/wcscpy.c.
60152
60153 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60155 file.
60156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60157 file.
60158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60159 file.
60160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60161 multiarch wcsrchr for PPC32.
60162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60163 multiarch objects.
60164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60165 (__libc_ifunc_impl_list): Likewise.
60166 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60167 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60168 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60169 sysdeps/powerpc/power6/wcsrchr.c.
60170
60171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60172 file.
60173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60174 file.
60175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60177 multiarch wcschr for PPc32.
60178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60179 multiarch objects.
60180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60181 (__libc_ifunc_impl_list): Likewise.
60182 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60183 * sysdeps/powerpc/power6/wcschr.c: ... to here.
60184 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60185 sysdeps/powerpc/power6/wcschr.c.
60186
60187 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60188 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60189 file.
60190 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60191 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60192 file: multiarch strchr for PPC32.
60193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60194 multiarch objects.
60195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60196 (__libc_ifunc_impl_list): Likewise.
60197
60198 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60199 name.
60200 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60201 file.
60202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60203 file.
60204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60205 multiarch strchrnul for PPC32.
60206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60207 multiarch objects.
60208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60209 (__libc_ifunc_impl_list): Likewise.
60210
60211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60212 file.
60213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60214 multiarch strncasecmp for PPC32.
60215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60216 file.
60217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60218 multiarch strncasecmp_l for PPC32.
60219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60220 strncasecmp multiarch objects.
60221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60222 (__libc_ifunc_impl_list): Likewise.
60223
60224 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60225 file.
60226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60227 multiarch strncasecmp for PPC32.
60228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60229 New file.
60230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60231 multiarch strcasecmp_l for PPC32.
60232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60233 multiarch objects.
60234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60235 (__libc_ifunc_impl_list): Likewise.
60236
60237 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60238 file.
60239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60240 file.
60241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60242 multiarch strncmp for PPC32.
60243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60244 multiarch objects.
60245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60246 (__libc_ifunc_impl_list): Likewise.
60247
60248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60249 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60250 file.
60251 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60252 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60254 multiarch objects.
60255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60256 (__libc_ifunc_impl_list): Likewise.
60257
60258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60259 file.
60260 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60261 file.
60262 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60264 multiarch objects.
60265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60266 (__libc_ifunc_impl_list): Likewise.
60267
60268 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60269 file.
60270 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60271 file.
60272 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60273 multiarch rawmemchr for PPC32.
60274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60275 multiarch objects.
60276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60277 (__libc_ifunc_impl_list): Likewise.
60278
60279 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60280 file.
60281 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60282 file.
60283 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60284 file: memrchr multiarch for PPC32.
60285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60286 multiarch objects.
60287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60288 (__libc_ifunc_impl_list): Likewise.
60289
60290 * string/memchr.c (__memchr): Using macro to redefine symbol name.
60291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60292 file.
60293 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60294 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60295 multiarch memchr for PPC32.
60296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60297 multiarch objects.
60298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60299 (__libc_ifunc_impl_list): Likewise.
60300
60301 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60302 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60303 file.
60304 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60305 file.
60306 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60307 file: multiarch mempcpy for PPC32.
60308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60309 multiarch objects.
60310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60311 (__libc_ifunc_impl_list): Likewise.
60312
60313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60316 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60317 multiarch bzero for PPC32.
60318 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60319 file.
60320 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60321 file.
60322 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60323 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60324 file: multiarch memset for PPC32.
60325 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60327 memset multiarch objects.
60328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60329 (__libc_ifunc_impl_list): Likewise.
60330
60331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60332 file.
60333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60335 memcmp for PPC32.
60336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60338 multiarch objects.
60339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60340 (__libc_ifunc_impl_list): Likewise.
60341
60342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60345 file.
60346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60347 file.
60348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60349 file.
60350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60351 multiarch memcpy for PPC32.
60352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60353 multiarch objects.
60354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60355 (__libc_ifunc_impl_list): Likewise.
60356
60357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60358 support multiarch for POWER/PPC32.
60359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60360 Likewise.
60361 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60363 Implies file to make multiarch folder appers before the fpu and
60364 default folder for power4 configuration.
60365
60366 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60367
60368 * scripts/bench.pl: Append volatile keyword to type.
60369
60370 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60371
60372 * sysdeps/sh/sotruss-lib.c: New file.
60373 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60374
60375 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60376
60377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60378
60379 2013-12-05 Joseph Myers <joseph@codesourcery.com>
60380
60381 [BZ #6810]
60382 * math/w_tgamma.c: Include <errno.h>.
60383 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
60384 * math/w_tgammaf.c: Include <errno.h>.
60385 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
60386 * math/w_tgammal.c: Include <errno.h>.
60387 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
60388 * math/auto-libm-test-in: Do not allow missing errno on tgamma
60389 underflow. Add more tgamma tests.
60390 * math/auto-libm-test-out: Regenerated.
60391 * sysdeps/i386/fpu/libm-test-ulps: Update.
60392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60393
60394 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60395 sin, sinh, tan, tanh, tgamma, y0 and y1.
60396 * math/auto-libm-test-out: Regenerated.
60397 * math/libm-test.inc (TEST_COND_x86_64): New macro.
60398 (TEST_COND_x86): Likewise.
60399 (M_E2l): Remove macro.
60400 (M_E3l): Likewise.
60401 (M_2_SQRT_PIl): Likewise.
60402 (M_SQRT_PIl): Likewise.
60403 (M_1_DIV_El): Likewise.
60404 (log_test_data): Use AUTO_TESTS_f_f.
60405 (log10_test_data): Likewise.
60406 (log1p_test_data): Likewise.
60407 (log2_test_data): Likewise.
60408 (sin_test_data): Likewise.
60409 (sin_tonearest_test_data): Likewise.
60410 (sin_towardzero_test_data): Likewise.
60411 (sin_downward_test_data): Likewise.
60412 (sin_upward_test_data): Likewise.
60413 (sinh_test_data): Likewise.
60414 (sinh_tonearest_test_data): Likewise.
60415 (sinh_towardzero_test_data): Likewise.
60416 (sinh_downward_test_data): Likewise.
60417 (sinh_upward_test_data): Likewise.
60418 (tan_test_data): Likewise.
60419 (tan_tonearest_test_data): Likewise.
60420 (tan_towardzero_test_data): Likewise.
60421 (tan_downward_test_data): Likewise.
60422 (tan_upward_test_data): Likewise.
60423 (tanh_test_data): Likewise.
60424 (tgamma_test_data): Likewise.
60425 (y0_test_data): Likewise.
60426 (y1_test_data): Likewise.
60427 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60428 (special_real_inputs): Add pi/4.
60429 * sysdeps/i386/fpu/libm-test-ulps: Update.
60430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60431
60432 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60433
60434 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60435 "longjmp_target" static probes.
60436 (__longjmp): Rename to __longjmp_symbol.
60437 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60438 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60439 on which longjmp to generate.
60440 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60441 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60442 probe.
60443 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60444 (__sigjmp_save): Rename to __sigjmp_save_symbol.
60445 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60446 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60447 and __sigjmp_save_symbol based on which sigsetjmp to generated.
60448 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60450 __longjmp_symbol based on which __longjmp to generate.
60451 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60452 probe.
60453 (setjmp): Rename to setjmp_symbol.
60454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60455 (_setjmp): Rename to _setjmp_symbol.
60456 (__sigsetjmp): Rename to __sigsetjmp_symbol.
60457 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60458 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60459 which setjmp to generate.
60460 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60461 "longjmp_target" static probes.
60462
60463 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60464
60465 * benchtests/README: Add note about output arguments.
60466 * benchtests/bench-sincos.c: Remove file.
60467 * benchtests/sincos-inputs: New file.
60468 * scripts/bench.pl: Identify output arguments and define
60469 static variables for them.
60470
60471 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60472
60473 [BZ #15941]
60474 * Makefile (INSTALL): Add install-plain.texi as the primary
60475 dependency.
60476 * manual/install-plain.texi: New file.
60477 * manual/install.texi: Include node directive only for
60478 non-plaintext output.
60479
60480 2013-12-04 Joseph Myers <joseph@codesourcery.com>
60481
60482 * stdlib/longlong.h: Update from GCC.
60483
60484 [BZ #6807]
60485 [BZ #15901]
60486 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60487 * math/w_j0f.c (y0f): Likewise.
60488 * math/w_j0l.c (__y0l): Likewise.
60489 * math/w_j1.c (y1): Likewise.
60490 * math/w_j1f.c (y1f): Likewise.
60491 * math/w_j1l.c (__y1l): Likewise.
60492 * math/w_jn.c (yn): Likewise.
60493 * math/w_jnf.c (ynf): Likewise.
60494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60495 Bessel function pole errors in _POSIX_ mode. Use NAN as return
60496 value for Bessel function domain errors outside _SVID_ mode.
60497 Adjust sign of return value for yn (negative integer, 0).
60498 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60499 by zero in return for negative x and set sign appropriately for
60500 negative n.
60501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60502 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60503 * math/libm-test.inc (y0_test_data): Add more tests and adjust
60504 expectations in error cases.
60505 (y1_test_data): Likewise.
60506 (yn_test_data): Likewise.
60507 * sysdeps/i386/fpu/libm-test-ulps: Update.
60508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60509
60510 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60511
60512 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60513 "64" to "64-v1". Add "64-v2".
60514 (abi-64-options): Rename to ...
60515 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
60516 (abi-64-condition): Rename to ...
60517 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
60518 (abi-64-ld-soname): Rename to ...
60519 (abi-64-v1-ld-soname): ... this.
60520 (abi-64-v2-options): Define.
60521 (abi-64-v2-condition): Likewise.
60522 (abi-64-v2-ld-soname): Likewise.
60523 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60524 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60528
60529 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60530 Alan Modra <amodra@gmail.com>
60531
60532 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60533 New versions for use with the ELFv2 ABI.
60534 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60535 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60536 declaration.
60537 (struct La_ppc64v2_retval): Likewise.
60538 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60539 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60540 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60541 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60542 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60543 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60544 Do not save or restore CR.
60545 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60546 (_dl_profile_resolve): Do no save or restore CR. Support extended
60547 return values for ELFv2 ABI. Fix location of FPR return registers.
60548 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60549 updated values for _CALL_ELF == 2.
60550 (La_regs, La_retval, int_retval): Likewise.
60551
60552 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60553
60554 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60555 (FRAME_MIN_SIZE_PARM): Likewise.
60556 (FRAME_BACKCHAIN): Likewise.
60557 (FRAME_CR_SAVE): Likewise.
60558 (FRAME_LR_SAVE): Likewise.
60559 (FRAME_TOC_SAVE): Likewise.
60560 (FRAME_PARM_SAVE): Likewise.
60561 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60562 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60563 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60564 (call_mcount_parm_offset): New macro.
60565 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60566 (PROF): Use symbolic stack frame offsets.
60567 (TAIL_CALL_SYSCALL_ERROR): Likewise.
60568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60569 Redefine in terms of FRAME_MIN_SIZE.
60570 (_dl_runtime_resolve): Use symbolic stack frame offsets.
60571 (_dl_profile_resolve): Likewise. Update comment.
60572 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60573 symbols stack frame offsets.
60574 (__sigsetjmp): Likewise.
60575 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60576 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60578 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60579
60580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60581 (FRAME_BACKCHAIN): Remove.
60582 (FRAME_CR_SAVE): Likewise.
60583 (FRAME_LR_SAVE): Likewise.
60584 (FRAME_COMPILER_DW): Likewise.
60585 (FRAME_LINKER_DW): Likewise.
60586 (FRAME_TOC_SAVE): Likewise.
60587 (FRAME_PARM_SAVE): Likewise.
60588 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60589 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60590 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60592 (CHECK_SP): Use symbolic stack frame offsets.
60593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60594 zone" instead of caller's parameter save area for temp storage.
60595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60596 Likewise. Also, use symbolic stack frame offsets.
60597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60598 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60599 our own stack frame instead of the caller's.
60600 (__socket): Use symbolic stack frame offsets.
60601
60602 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60603 Alan Modra <amodra@gmail.com>
60604
60605 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60606 Define.
60607 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60608 (PPC64_LOCAL_ENTRY_OFFSET): Define.
60609 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60610 New function.
60611 (elf_machine_fixup_plt): Call it.
60612 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
60613 reloc arguments.
60614 (elf_machine_rela): Update call to elf_machine_plt_conflict.
60615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60616 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60617 r2 before calling target.
60618
60619 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60620 Alan Modra <amodra@gmail.com>
60621
60622 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60623 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60624 versions of macros to support ELFv2 ABI.
60625 (LOCALENTRY): New macro.
60626 (ENTRY, EALIGN): Use it.
60627 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60628 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60629 fall through into ENTRY entry point.
60630 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60631 Only define if _CALL_ELF != 2.
60632
60633 (elf_machine_matches_host): Verify ABI version matches.
60634 (RTLD_START): Use LOCALENTRY.
60635 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60636 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60637 (PLT_ENTRY_WORDS): New macro.
60638 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60639 (elf_machine_runtime_setup): Support ELFv2 ABI.
60640 (elf_machine_fixup_plt): Likewise.
60641 (elf_machine_plt_conflict): Likewise.
60642 (resolve_ifunc): Likewise.
60643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60645 Likewise.
60646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60647 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60649 (makecontext): Support ELFv2 ABI.
60650 * elf/elf.h (EF_PPC64_ABI): Define.
60651
60652 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60653
60654 * sysdeps/powerpc/powerpc64/sysdep.h
60655 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60656 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60657 (ENTRY) [ASSEMBLER]: ... but instead here ...
60658 (EALIGN) [ASSEMBLER]: ... and here.
60659 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60660 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60661 (ENTRY_2) [!ASSEMBLER]: Use it.
60662 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60663 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
60664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60665 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60666 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60668 Use PPC64_LOAD_FUNCPTR.
60669
60670 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60671
60672 2013-12-04 Alan Modra <amodra@gmail.com>
60673
60674 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60675 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60676 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60677 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60678
60679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60680 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60681 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60682 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60683 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60684 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60685
60686 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
60687
60688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60689 (__makecontext): Fix incorrect CFI when backtracing out of
60690 context created via makecontext.
60691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60692 (__setcontext): Fix incorrect CFI during switch to new context.
60693 (__novec_setcontext): Likewise.
60694
60695 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60696
60697 [BZ #4772]
60698 * time/strptime_l.c (__strptime_internal): Allow modifiers
60699 in strptime.
60700 * time/tst-strptime.c (day_tests): Add testcase.
60701
60702 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60703
60704 * scripts/bench.pl: Skip over blank lines.
60705
60706 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
60707
60708 [BZ #926]
60709 * manual/time.texi (Calendar Time): Clarify what timezone functions
60710 use.
60711
60712 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60713
60714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60715
60716 2013-12-04 Ondƙej Bílka <neleai@seznam.cz>
60717
60718 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60719 implementation.
60720 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60721 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60722 * debug/memset_chk.c (__memset_chk): Likewise.
60723 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60724 * debug/strncpy_chk.c: Likewise.
60725
60726 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60727
60728 [BZ #15268]
60729 [BZ #15425]
60730 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60731 (__ieee754_exp): For possibly underflowing results, check size of
60732 result and force underflow exception if required.
60733 * math/auto-libm-test-in: Add more tests of exp.
60734 * math/auto-libm-test-out: Regenerated.
60735 * sysdeps/i386/fpu/libm-test-ulps: Update.
60736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60737
60738 [BZ #16283]
60739 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60740 * math/w_exp2f.c (__exp2f): Likewise.
60741 * math/w_exp2l.c (__exp2l): Likewise.
60742 * math/auto-libm-test-in: Do not allow missing errno on exp2
60743 underflow.
60744 * math/auto-libm-test-out: Regenerated.
60745
60746 2013-12-03 Ondƙej Bílka <neleai@seznam.cz>
60747
60748 [BZ #16274]
60749 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60750 handle filename validation.
60751 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60752 (do_open): Delete.
60753
60754 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60755
60756 [BZ #6786]
60757 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60758 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60759 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60760 <float.h>.
60761 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60763 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60765 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60766 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60767 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60768 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60769 Add more erfc tests.
60770 * math/auto-libm-test-out: Regenerated.
60771 * sysdeps/i386/fpu/libm-test-ulps: Update.
60772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60773
60774 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60775 exp2, expm1, j0 and j1.
60776 * math/auto-libm-test-out: Regenerated.
60777 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60778 (erfc_test_data): Likewise.
60779 (exp_test_data): Likewise.
60780 (exp_tonearest_test_data): Likewise.
60781 (exp_towardzero_test_data): Likewise.
60782 (exp_downward_test_data): Likewise.
60783 (exp_upward_test_data): Likewise.
60784 (exp10_test_data): Likewise.
60785 (exp2_test_data): Likewise.
60786 (expm1_test_data): Likewise.
60787 (j0_test_data): Likewise.
60788 (j1_test_data): Likewise.
60789 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60790 (input_flag_type): Add flag_xfail_rounding.
60791 (input_flags): Add xfail-rounding.
60792 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60793 (output_for_one_input_case): Handle flag_xfail_rounding.
60794 * sysdeps/i386/fpu/libm-test-ulps: Update.
60795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60796
60797 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60798
60799 [BZ #16289]
60800 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60801 division by 0.
60802
60803 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60804
60805 [BZ #16195]
60806 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60807 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60808 (STAP_PROBE0): New macro.
60809 (STAP_PROBE1): Likewise.
60810 (STAP_PROBE2): Likewise.
60811 (STAP_PROBE3): Likewise.
60812 (STAP_PROBE4): Likewise.
60813
60814 2013-12-02 Ondƙej Bílka <neleai@seznam.cz>
60815
60816 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60817
60818 2013-12-02 Steve Ellcey <sellcey@mips.com>
60819
60820 * benchtests/Makefile (bench): Add sqrt.
60821 (LDLIBS-bench-sqrt): New.
60822 * benchtests/sqrt-input: New.
60823
60824 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60825
60826 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60827 (GAIH_EAI): Likewise.
60828 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60829 (gaih_inet): Likewise.
60830 (getaddrinfo): Don't use GAIH_EAI.
60831
60832 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60833 (struct gaih): Remove definition.
60834
60835 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60836
60837 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60838 Use HERRNOP directly.
60839
60840 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60841
60842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60843
60844 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60845
60846 * math/gen-auto-libm-tests.c (test_functions): Add more
60847 single-argument functions.
60848 (special_fill_pi_2): New function.
60849 (special_fill_minus_pi_2): Likewise.
60850 (special_fill_pi_6): Likewise.
60851 (special_fill_minus_pi_6): Likewise.
60852 (special_fill_pi_3): Likewise.
60853 (special_fill_2pi_3): Likewise.
60854 (special_fill_e): Likewise.
60855 (special_fill_1_e): Likewise.
60856 (special_fill_e_minus_1): Likewise.
60857 (special_real_inputs): Add more special inputs.
60858 (output_for_one_input_case): Do not require ERANGE on underflow to
60859 zero if round-to-nearest result does not underflow to zero, unless
60860 exact results required.
60861 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60862 atan, atanh, cbrt, cos and cosh.
60863 * math/auto-libm-test-out: Regenerated.
60864 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60865 (acos_tonearest_test_data): Likewise.
60866 (acos_towardzero_test_data): Likewise.
60867 (acos_downward_test_data): Likewise.
60868 (acos_upward_test_data): Likewise.
60869 (acosh_test_data): Likewise.
60870 (asin_test_data): Likewise.
60871 (asin_tonearest_test_data): Likewise.
60872 (asin_towardzero_test_data): Likewise.
60873 (asin_upward_test_data): Likewise.
60874 (asinh_test_data): Likewise.
60875 (atan_test_data): Likewise.
60876 (atanh_test_data): Likewise.
60877 (cbrt_test_data): Likewise.
60878 (cos_test_data): Likewise.
60879 (cos_tonearest_test_data): Likewise.
60880 (cos_towardzero_test_data): Likewise.
60881 (cos_downward_test_data): Likewise.
60882 (cos_upward_test_data): Likewise.
60883 (cosh_test_data): Likewise.
60884 (cosh_tonearest_test_data): Likewise.
60885 (cosh_towardzero_test_data): Likewise.
60886 (cosh_downward_test_data): Likewise.
60887 (cosh_upward_test_data): Likewise.
60888 * sysdeps/i386/fpu/libm-test-ulps: Update.
60889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60890
60891 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60892
60893 [BZ #6787]
60894 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60895 * math/w_exp10f.c (__exp10f): Likewise.
60896 * math/w_exp10l.c (__exp10l): Likewise.
60897 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60898 errno settings in existing tests.
60899
60900 [BZ #14032]
60901 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60902 precision control set to double precision.
60903 * sysdeps/i386/fpu/w_sqrt.c: New file.
60904 * math/auto-libm-test-in: Add more tests.
60905 * math/auto-libm-test-out: Update.
60906
60907 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60908 (sqrt_test_tonearest): New function.
60909 (sqrt_towardzero_test_data): New variable.
60910 (sqrt_test_towardzero): New function.
60911 (sqrt_downward_test_data): New variable.
60912 (sqrt_test_downward): New function.
60913 (sqrt_upward_test_data): New variable.
60914 (sqrt_test_upward): New function.
60915 (main): Call the new functions.
60916
60917 * math/gen-auto-libm-tests.c: New file.
60918 * math/auto-libm-test-in: Likewise.
60919 * math/auto-libm-test-out: New generated file.
60920 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60921 variables.
60922 (%beautify): Add generated representations of zero.
60923 (top level): Set $auto_input and call parse_auto_input.
60924 (beautify): Remove trailing "f" from hex float constants.
60925 (parse_args): Handle XFAIL_TEST.
60926 (convert_condition): New function.
60927 (or_value): Likewise.
60928 (or_cond_value): Likewise.
60929 (generate_testfile): Handle AUTO_TESTS_* lines.
60930 (parse_auto_input): New function.
60931 * math/libm-test.inc (XFAIL_TEST): New macro.
60932 (ERRNO_UNCHANGED): Update value.
60933 (ERRNO_EDOM): Likewise.
60934 (ERRNO_ERANGE): Likewise.
60935 (IGNORE_RESULT): Likewise.
60936 (TEST_COND_flt_32): New macro.
60937 (TEST_COND_dbl_64): Likewise.
60938 (TEST_COND_ldbl_96_intel): Likewise.
60939 (TEST_COND_ldbl_96_m68k): Likewise.
60940 (TEST_COND_ldbl_128): Likewise.
60941 (TEST_COND_ldbl_128ibm): Likewise.
60942 (TEST_COND_long32): Likewise.
60943 (TEST_COND_long64): Likewise.
60944 (TEST_COND_before_rounding): Likewise.
60945 (TEST_COND_after_rounding): Likewise.
60946 (enable_test): Handle XFAIL_TEST flag.
60947 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60948 with finite results.
60949 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60950 auto-libm-test-out.
60951
60952 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60953 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60954
60955 [BZ #16214]
60956 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60957 __tls_get_addr_internal instead of __tls_get_offset in order to
60958 avoid GOT pointer dependency. Make rtld export
60959 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60960 __tls_get_addr since we are a __tls_get_offset platform.
60961 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60962 GOT pointer being set up before.
60963 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60964
60965 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60966
60967 * manual/math.texi (Errors in Math Functions): Document accuracy
60968 goals.
60969
60970 [BZ #15004]
60971 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60972 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60973 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60974 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60975 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60976 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60977 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60978 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60979 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60980 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60981 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60982 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60983 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60985 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60986 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60987
60988 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60989 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60990 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60991 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60992 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60993 Likewise.
60994 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60995 Likewise.
60996 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60997 Likewise.
60998 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60999 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61000 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61001 atomic-feupdateenv and flt-rounds.
61002 * sysdeps/powerpc/nofpu/Versions (libc): Add
61003 __atomic_feholdexcept, __atomic_feclearexcept,
61004 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61006 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61007 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61008 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61009 here.
61010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61011 Update.
61012
61013 * manual/arith.texi (FP Exceptions): Document that exceptions may
61014 not be raised when matherr is used.
61015 (Math Error Reporting): Document overflow in directed rounding
61016 modes. Document that errno may not be set when finite values are
61017 returned on overflow. Document intent to set errno on underflow
61018 only for underflow to zero.
61019
61020 [BZ #16271]
61021 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61022 round-to-nearest then adjust result for other rounding modes.
61023 * include/fenv.h (fegetround): Use libm_hidden_proto.
61024 * math/fegetround.c (fegetround): Use libm_hidden_def.
61025 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61026 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61028 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61029 Likewise.
61030 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61032 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61033 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61034
61035 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61036
61037 [BZ #16077]
61038 * nss/Versions (libnss_files): Add
61039 _nss_files_gethostbyname3_r.
61040 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61041 New function.
61042 (HOST_DB_LOOKUP): Remove macro.
61043 (_nss_files_gethostbyname_r): Implement function without the
61044 HOST_DB_LOOKUP macro.
61045 (_nss_files_gethostbyname2_r): Likewise.
61046
61047 2013-11-28 Ondƙej Bílka <neleai@seznam.cz>
61048
61049 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61050
61051 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
61052
61053 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61054 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61055 warning.
61056
61057 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61058
61059 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61060 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61062 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61063 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61064 __fe_nomask_env_priv and attribute_hidden.
61065 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61066 (libc_feupdateenv_test_ppc): Likewise.
61067 (libc_feresetround_ppc): Likewise.
61068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61069 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61070 compat_symbol macro.
61071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61072 (__fe_nomask_env): Likewise.
61073 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61074
61075 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61076
61077 * string/Makefile: Remove ifunc tests.
61078 * string/test-string.h: Define TEST_IFUNC.
61079 * string/test-bcopy-ifunc.c: Remove.
61080 * string/test-bzero-ifunc.c: Likewise.
61081 * string/test-memccpy-ifunc.c: Likewise.
61082 * string/test-memchr-ifunc.c: Likewise.
61083 * string/test-memcmp-ifunc.c: Likewise.
61084 * string/test-memcpy-ifunc.c: Likewise.
61085 * string/test-memmem-ifunc.c: Likewise.
61086 * string/test-memmove-ifunc.c: Likewise.
61087 * string/test-mempcpy-ifunc.c: Likewise.
61088 * string/test-memrchr-ifunc.c: Likewise.
61089 * string/test-memset-ifunc.c: Likewise.
61090 * string/test-rawmemchr-ifunc.c: Likewise.
61091 * string/test-stpcpy-ifunc.c: Likewise.
61092 * string/test-stpncpy-ifunc.c: Likewise.
61093 * string/test-strcasecmp-ifunc.c: Likewise.
61094 * string/test-strcasestr-ifunc.c: Likewise.
61095 * string/test-strcat-ifunc.c: Likewise.
61096 * string/test-strchr-ifunc.c: Likewise.
61097 * string/test-strchrnul-ifunc.c: Likewise.
61098 * string/test-strcmp-ifunc.c: Likewise.
61099 * string/test-strcpy-ifunc.c: Likewise.
61100 * string/test-strcspn-ifunc.c: Likewise.
61101 * string/test-strlen-ifunc.c: Likewise.
61102 * string/test-strncasecmp-ifunc.c: Likewise.
61103 * string/test-strncat-ifunc.c: Likewise.
61104 * string/test-strncmp-ifunc.c: Likewise.
61105 * string/test-strncpy-ifunc.c: Likewise.
61106 * string/test-strnlen-ifunc.c: Likewise.
61107 * string/test-strpbrk-ifunc.c: Likewise.
61108 * string/test-strrchr-ifunc.c: Likewise.
61109 * string/test-strspn-ifunc.c: Likewise.
61110 * string/test-strstr-ifunc.c: Likewise.
61111
61112 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61113
61114 * benchtests/Makefile: Remove ifunc tests.
61115 * benchtests/bench-string.h: Define TEST_IFUNC.
61116 * benchtests/bench-bcopy-ifunc.c: Remove.
61117 * benchtests/bench-bzero-ifunc.c: Likewise.
61118 * benchtests/bench-memccpy-ifunc.c: Likewise.
61119 * benchtests/bench-memchr-ifunc.c: Likewise.
61120 * benchtests/bench-memcmp-ifunc.c: Likewise.
61121 * benchtests/bench-memcpy-ifunc.c: Likewise.
61122 * benchtests/bench-memmem-ifunc.c: Likewise.
61123 * benchtests/bench-memmove-ifunc.c: Likewise.
61124 * benchtests/bench-mempcpy-ifunc.c: Likewise.
61125 * benchtests/bench-memrchr-ifunc.c: Likewise.
61126 * benchtests/bench-memset-ifunc.c: Likewise.
61127 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61128 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61129 * benchtests/bench-stpcpy-ifunc.c: Likewise.
61130 * benchtests/bench-stpncpy-ifunc.c: Likewise.
61131 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61132 * benchtests/bench-strcasestr-ifunc.c: Likewise.
61133 * benchtests/bench-strcat-ifunc.c: Likewise.
61134 * benchtests/bench-strchr-ifunc.c: Likewise.
61135 * benchtests/bench-strchrnul-ifunc.c: Likewise.
61136 * benchtests/bench-strcmp-ifunc.c: Likewise.
61137 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61138 * benchtests/bench-strcpy-ifunc.c: Likewise.
61139 * benchtests/bench-strcspn-ifunc.c: Likewise.
61140 * benchtests/bench-strlen-ifunc.c: Likewise.
61141 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61142 * benchtests/bench-strncat-ifunc.c: Likewise.
61143 * benchtests/bench-strncmp-ifunc.c: Likewise.
61144 * benchtests/bench-strncpy-ifunc.c: Likewise.
61145 * benchtests/bench-strnlen-ifunc.c: Likewise.
61146 * benchtests/bench-strpbrk-ifunc.c: Likewise.
61147 * benchtests/bench-strrchr-ifunc.c: Likewise.
61148 * benchtests/bench-strsep-ifunc.c: Likewise.
61149 * benchtests/bench-strspn-ifunc.c: Likewise.
61150 * benchtests/bench-strstr-ifunc.c: Likewise.
61151
61152 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61153
61154 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61155
61156 2013-11-26 Ondƙej Bílka <neleai@seznam.cz>
61157
61158 * resolv/netdb.h: Use __glibc_reserved instead __unused.
61159 * rt/aio.h: Likewise.
61160 * sysdeps/gnu/bits/utmp.h: Likewise.
61161 * sysdeps/gnu/bits/utmpx.h: Likewise.
61162 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61163 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61164 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61165 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61166 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61167 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61168 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61169 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61170 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61171 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61172 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61173 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61174 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61176 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61177 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61178 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61179 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61180 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61181 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61182 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61183 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61184 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61185 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61186 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61188 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61189 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61190 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61192 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61193 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61194 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61195 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61196 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61197 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61198 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61199 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61200 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61201 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61202 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61203 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61204
61205 2013-11-25 Carlos O'Donell <carlos@redhat.com>
61206
61207 [BZ #16245]
61208 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61209 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61210
61211 2013-11-25 Joseph Myers <joseph@codesourcery.com>
61212
61213 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61214 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61215 Likewise.
61216
61217 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61218
61219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61220 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61221 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61222 (__fesetround): Remove define.
61223 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61224 rounding and exceptions handling.
61225 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61226 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61227 (__fe_nomask_env): Likewise.
61228 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61229 __fegetround instead of fegetround.
61230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61232
61233 2013-11-21 Roland McGrath <roland@hack.frob.com>
61234
61235 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61236 it's there.
61237
61238 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61239
61240 2013-11-21 Meador Inge <meadori@codesourcery.com>
61241
61242 [BZ #11157]
61243 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61244 (encrypt_r): Likewise.
61245 * malloc/obstack.h (obstack_free): Likewise.
61246 * posix/unistd.h (encrypt): Likewise.
61247
61248 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
61249
61250 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61251 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61252 DL_CALL_DT_FINI() that call the functions directly.
61253 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61254 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61255 * elf/dl-fini.c: Likewise.
61256
61257 2013-11-20 Ondƙej Bílka <neleai@seznam.cz>
61258
61259 * malloc/hooks.c (memalign_check): Add alignment rounding.
61260 * malloc/malloc.c (_mid_memalign): New function.
61261 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61262 Implement by calling _mid_memalign.
61263 * manual/probes.texi (Memory Allocation Probes): Remove
61264 memory_valloc_retry and memory_pvalloc_retry.
61265
61266 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
61267
61268 * locale/programs/locarchive.c (open_archive): Add const
61269 qualifier to ARCHIVEFNAME and copy default fname to
61270 DEFAULT_FNAME.
61271
61272 [BZ #15601]
61273 * libio/tst-widetext.input: Rename Oriya to Odia.
61274 * locale/iso-639.def: Likewise.
61275
61276 * manual/probes.texi (Mathematical Function Probes): Add
61277 documentation for sin, cos, asin and acos probes.
61278 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61279 (__sin32): Add slowasin probe.
61280 (__cos32): Add slowacos probe.
61281 (__mpsin): Add slowsin probe.
61282 (__mpcos): Add slowcos probe.
61283
61284 2013-11-19 Joseph Myers <joseph@codesourcery.com>
61285
61286 [BZ #15483]
61287 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61288 thread-local __sim_exceptions_thread and global
61289 __sim_exceptions_global.
61290 (__sim_disabled_exceptions): Change to thread-local
61291 __sim_disabled_exceptions_thread and global
61292 __sim_disabled_exceptions_global.
61293 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61294 and global __sim_round_mode_global.
61295 (__simulate_exceptions): Use thread-local floating-point state and
61296 set global state from it as needed.
61297 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61298 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61299 __sim_round_mode_thread.
61300 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61301 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61302 and global __sim_exceptions_global.
61303 (__sim_disabled_exceptions): Change to thread-local
61304 __sim_disabled_exceptions_thread and global
61305 __sim_disabled_exceptions_global.
61306 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61307 and global __sim_round_mode_global.
61308 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61309 (SIM_SET_GLOBAL): Likewise.
61310 * sysdeps/powerpc/soft-fp/sfp-machine.h
61311 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61312 __sim_round_mode_thread.
61313 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61314 __sim_disabled_exceptions_thread.
61315 (__sim_exceptions): Change to __sim_exceptions_thread.
61316 (__sim_disabled_exceptions): Change to
61317 __sim_disabled_exceptions_thread.
61318 (__sim_round_mode): Change to __sim_round_mode_thread.
61319 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61320 thread-local floating-point state and set global state from it as
61321 needed.
61322 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61323 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61324 (__sim_disabled_exceptions): Remove extern declaration.
61325 (feenableexcept): Use thread-local floating-point state and set
61326 global state from it as needed.
61327 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61328 extern declaration.
61329 (__sim_disabled_exceptions): Likewise.
61330 (__sim_round_mode): Likewise.
61331 (__fegetenv): Use thread-local floating-point state.
61332 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61333 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61334 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61335 floating-point state and set global state from it as needed.
61336 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61337 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61338 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61339 Likewise.
61340 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61341 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61342 Likewise.
61343 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61344 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61345 Use __sim_round_mode_thread.
61346 * math/test-fenv-tls.c: New file.
61347 * math/Makefile (tests): Add test-fenv-tls.
61348 ($(objpfx)test-fenv-tls): Depend on
61349 $(common-objpfx)nptl/libpthread.so.
61350
61351 2013-11-19 Andreas Schwab <schwab@suse.de>
61352
61353 * locale/programs/locale.c (show_info): Decode wordarray elements.
61354 * locale/categories.def (LC_MONETARY): Add element for
61355 _NL_MONETARY_CRNCYSTR.
61356 * locale/C-monetary.c (conversion_rate): New variable.
61357 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61358 element.
61359
61360 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
61361
61362 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61363 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61364
61365 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61366
61367 * elf/Makefile (tst-auxv): New test.
61368 * elf/tst-auxv.c: New
61369 * elf/rtld.c (dl_main): Adjust AT_EXECFN
61370
61371 2013-11-18 Joseph Myers <joseph@codesourcery.com>
61372
61373 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61374 (hidden_proto): Caller changed.
61375 (hidden_tls_proto): New macro.
61376 (libc_hidden_tls_proto): Likewise.
61377 (rtld_hidden_tls_proto): Likewise.
61378 (libm_hidden_tls_proto): Likewise.
61379 (libresolv_hidden_tls_proto): Likewise.
61380 (librt_hidden_tls_proto): Likewise.
61381 (libdl_hidden_tls_proto): Likewise.
61382 (libnss_files_hidden_tls_proto): Likewise.
61383 (libnsl_hidden_tls_proto): Likewise.
61384 (libnss_nisplus_hidden_tls_proto): Likewise.
61385 (libutil_hidden_tls_proto): Likewise.
61386
61387 2013-11-18 Ondƙej Bílka <neleai@seznam.cz>
61388
61389 [BZ #10253]
61390 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61391 (decompose_rpath): Defer expansion to fillin_rpath.
61392 (_dl_init_paths): Pass linkmap to fillin_rpath.
61393
61394 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
61395
61396 * benchtests/Makefile: Add strsep.
61397 * benchtests/bench-strsep.c: New file: strsep benchtest.
61398 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61399
61400 2013-11-18 Andreas Schwab <schwab@suse.de>
61401
61402 * locale/programs/locale.c (show_info) [case byte]: Check for
61403 '\377' instead of '\177'.
61404 * locale/C-monetary.c (not_available): Always use "\377".
61405 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61406 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
61407 detect unavailable sign_posn locale elements.
61408 * locale/localeconv.c (__localeconv): For grouping and
61409 mon_grouping handle "\177" and "\377" like no grouping.
61410 (INT_ELEM): New macro. Use it to set all numeric members.
61411 * locale/programs/ld-monetary.c (monetary_read)
61412 <tok_mon_grouping>: Normalize single -1 to the empty string.
61413 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61414 Likewise.
61415
61416 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61417
61418 [BZ #16055]
61419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61420 when we match (nil).
61421 * stdio-common/tst-sscanf.c (struct test): Add testcase.
61422
61423 2013-11-16 Joseph Myers <joseph@codesourcery.com>
61424
61425 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61426 (NO_TEST_INLINE): Update value.
61427 (ERRNO_UNCHANGED): Likewise.
61428 (ERRNO_EDOM): Likewise.
61429 (ERRNO_ERANGE): Likewise.
61430 (IGNORE_RESULT): Likewise.
61431 (check_float_internal): Check signs of NaN results if
61432 TEST_NAN_SIGN used.
61433 (check_complex): Pass TEST_NAN_SIGN flag through to second
61434 check_float_internal call.
61435 (copysign_test_data): Add tests with quiet NaNs as second
61436 argument. Use TEST_NAN_SIGN.
61437 (fabs_test_data): Add test of negative quiet NaN argument. Use
61438 TEST_NAN_SIGN.
61439 (signbit_test_data): Add tests of quiet NaN argument.
61440 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61441
61442 * math/gen-libm-test.pl (show_exceptions): Take extra argument
61443 $ignore_result.
61444 (parse_args): Handle function results specified as IGNORE.
61445 * math/libm-test.inc (IGNORE_RESULT): New macro.
61446 (check_float_internal): Do not check numerical result if flag
61447 IGNORE_RESULT set.
61448 (check_complex): Pass through IGNORE_RESULT to second
61449 check_float_internal call.
61450 (check_int): Do not check numerical result if flag IGNORE_RESULT
61451 set.
61452 (check_long): Likewise.
61453 (check_bool): Likewise.
61454 (check_longlong): Likewise.
61455 (lrint_test_data): Add tests of infinite and NaN arguments.
61456 (lrint_tonearest_test_data): Likewise.
61457 (lrint_towardzero_test_data): Likewise.
61458 (lrint_downward_test_data): Likewise.
61459 (lrint_upward_test_data): Likewise.
61460 (llrint_test_data): Likewise.
61461 (llrint_tonearest_test_data): Likewise.
61462 (llrint_towardzero_test_data): Likewise.
61463 (llrint_downward_test_data): Likewise.
61464 (llrint_upward_test_data): Likewise.
61465 (lround_test_data): Likewise.
61466 (llround_test_data): Likewise.
61467
61468 * math/libm-test.inc (NO_TEST_INLINE): New macro.
61469 (ERRNO_UNCHANGED): Update value.
61470 (ERRNO_EDOM): Likewise.
61471 (ERRNO_ERANGE): Likewise.
61472 (NO_TEST_INLINE_FLOAT): New macro.
61473 (NO_TEST_INLINE_DOUBLE): Likewise.
61474 (enable_test): New function.
61475 (RUN_TEST_f_f): Check enable_test before running test.
61476 (RUN_TEST_2_f): Likewise.
61477 (RUN_TEST_fff_f): Likewise.
61478 (RUN_TEST_c_f): Likewise.
61479 (RUN_TEST_f_f1): Likewise.
61480 (RUN_TEST_fF_f1): Likewise.
61481 (RUN_TEST_fI_f1): Likewise.
61482 (RUN_TEST_ffI_f1): Likewise.
61483 (RUN_TEST_c_c): Likewise.
61484 (RUN_TEST_cc_c): Likewise.
61485 (RUN_TEST_f_i): Likewise.
61486 (RUN_TEST_f_i_tg): Likewise.
61487 (RUN_TEST_ff_i_tg): Likewise.
61488 (RUN_TEST_f_b): Likewise.
61489 (RUN_TEST_f_b_tg): Likewise.
61490 (RUN_TEST_f_l): Likewise.
61491 (RUN_TEST_f_L): Likewise.
61492 (RUN_TEST_fFF_11): Likewise.
61493 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61494 conditionals.
61495 (cosh_test_data): Likewise.
61496 (exp_test_data): Likewise.
61497 (expm1_test_data): Likewise.
61498 (hypot_test_data): Likewise.
61499 (pow_test_data): Likewise.
61500 (sinh_test_data): Likewise.
61501 (tanh_test_data): Likewise.
61502 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61503 flags argument.
61504
61505 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61506 tests with quiet NaN input and output.
61507 (acosh_test_data): Likewise.
61508 (asin_test_data): Likewise.
61509 (asinh_test_data): Likewise.
61510 (atan_test_data): Likewise.
61511 (atanh_test_data): Likewise.
61512 (atan2_test_data): Likewise.
61513 (cbrt_test_data): Likewise.
61514 (cos_test_data): Likewise.
61515 (cosh_test_data): Likewise.
61516 (erf_test_data): Likewise.
61517 (erfc_test_data): Likewise.
61518 (exp_test_data): Likewise.
61519 (exp10_test_data): Likewise.
61520 (exp2_test_data): Likewise.
61521 (expm1_test_data): Likewise.
61522 (hypot_test_data): Likewise.
61523 (j0_test_data): Likewise.
61524 (j1_test_data): Likewise.
61525 (jn_test_data): Likewise.
61526 (lgamma_test_data): Likewise.
61527 (log_test_data): Likewise.
61528 (log10_test_data): Likewise.
61529 (log1p_test_data): Likewise.
61530 (log2_test_data): Likewise.
61531 (pow_test_data): Likewise.
61532 (scalb_test_data): Likewise.
61533 (sin_test_data): Likewise.
61534 (sincos_test_data): Likewise.
61535 (sinh_test_data): Likewise.
61536 (tan_test_data): Likewise.
61537 (tanh_test_data): Likewise.
61538 (tgamma_test_data): Likewise.
61539 (y0_test_data): Likewise.
61540 (y1_test_data): Likewise.
61541 (yn_test_data): Likewise.
61542
61543 [BZ #16167]
61544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61545 argument being NaN and avoid computations with second argument in
61546 that case.
61547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61548 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61550
61551 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
61552
61553 * locale/iso-639.def: Add Chitwani Tharu (the).
61554
61555 2013-11-14 Andreas Schwab <schwab@suse.de>
61556
61557 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61558 word instead of empty string.
61559
61560 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61561
61562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61563 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61565 (__fe_nomask_env): Likewise.
61566
61567 2013-11-13 Steve Ellcey <sellcey@mips.com>
61568
61569 * benchtests/bench-timing.h: Include time.h.
61570
61571 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
61572
61573 [BZ #15997]
61574 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61575 to 3.4.0 for x32.
61576 * sysdeps/unix/sysv/linux/configure: Regenerated.
61577
61578 2013-11-13 Joseph Myers <joseph@codesourcery.com>
61579
61580 [BZ #16151]
61581 * stdlib/strtod_l.c (round_and_return): Do not consider
61582 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61583 exponent one less than half the least subnormal exponent.
61584 * stdlib/test-strtod-round-data: Add more tests.
61585 * stdlib/tst-strtod-round.c (tests): Regenerated.
61586
61587 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61588
61589 [BZ #14143]
61590 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61591 (__fe_mask_env): Likewise.
61592 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61593 libm_hidden_proto and add function prototype.
61594 (__fe_mask_env): Add function prototype.
61595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61596 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61598 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61600 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61601
61602 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61603
61604 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61605 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61606
61607 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61608
61609 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61610 of htab_find_slot().
61611
61612 2013-11-11 David S. Miller <davem@davemloft.net>
61613
61614 [BZ #16150]
61615 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61616 symbol in the non-vis3 case in static builds.
61617 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61619 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61620 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61621
61622 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
61623
61624 [BZ #387]
61625 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61626 it is empty.
61627
61628 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61629
61630 * benchtests/Makefile: Add bench-strtod.
61631 * benchtests/bench-strtod.c: New file: strtod benchtest
61632
61633 2013-11-11 Andreas Schwab <schwab@suse.de>
61634
61635 [BZ #16153]
61636 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61637 terminating NUL in key length.
61638
61639 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61640
61641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61642 Add artificial ODP entry for vDSO symbol for PPC64.
61643 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61644 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61645
61646 2013-11-07 Ondƙej Bílka <neleai@seznam.cz>
61647
61648 [BZ #15374]
61649 * nss/getent.c (services_keys): Recognize services starting with digit.
61650
61651 2013-11-06 David S. Miller <davem@davemloft.net>
61652
61653 [BZ #15985]
61654 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61655 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61656
61657 2013-11-06 Will Newton <will.newton@linaro.org>
61658
61659 * manual/memory.texi (Malloc Examples): Remove register
61660 keyword from examples.
61661
61662 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
61663
61664 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61665
61666 2013-11-04 Joseph Myers <joseph@codesourcery.com>
61667
61668 [BZ #6981]
61669 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61670 depending on [__GCC_IEC_559 > 0].
61671 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61672 depending on [__GCC_IEC_559_COMPLEX > 0].
61673
61674 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
61675
61676 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61677 to iso-639.def.
61678
61679 2013-11-03 Ondƙej Bílka <neleai@seznam.cz>
61680
61681 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61682
61683 2013-11-01 Ondƙej Bílka <neleai@seznam.cz>
61684
61685 [BZ #16112]
61686 * malloc/malloc (malloc_info): Do not handle first bin as
61687 special case.
61688
61689 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
61690
61691 * locale/iso-639.def: Add Central Nahuatl (nhn).
61692
61693 2013-11-01 Bruno Haible <bruno@clisp.org>
61694
61695 [BZ #7003]
61696 * manual/math.texi (BSD Random): Specify range upper bound as
61697 in POSIX.
61698
61699 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
61700
61701 * locale/iso-639.def: Add Meadow Mari (mhr).
61702
61703 2013-10-31 Ondƙej Bílka <neleai@seznam.cz>
61704
61705 [BZ #14752], [BZ #15763]
61706 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61707 Validate name.
61708 * rt/tst_shm.c: Add test for escaping directory.
61709
61710 2013-10-31 Andreas Schwab <schwab@suse.de>
61711
61712 [BZ #15917]
61713 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61714 followed by 'x' as part of digit sequence.
61715 * stdio-common/tst-sscanf.c (double_tests2): New tests.
61716
61717 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61718
61719 [BZ #16037]
61720 * configure.ac: allow GNU Make 4.0 and greater.
61721 * configure: Regenerated.
61722
61723 2013-10-30 Will Newton <will.newton@linaro.org>
61724
61725 [BZ #16038]
61726 * malloc/hooks.c (memalign_check): Limit alignment to the
61727 maximum representable power of two.
61728 * malloc/malloc.c (__libc_memalign): Likewise.
61729 * malloc/tst-memalign.c (do_test): Add test for very
61730 large alignment values.
61731 * malloc/tst-posix_memalign.c (do_test): Likewise.
61732
61733 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61734
61735 [BZ #11087]
61736 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61737 (munmap_chunk): Likewise.
61738 (mremap_chunk): Likewise.
61739
61740 2013-10-30 Ondƙej Bílka <neleai@seznam.cz>
61741
61742 [BZ #15799]
61743 * stdlib/div.c (div): Remove obsolete code.
61744 * stdlib/ldiv.c (ldiv): Likewise.
61745 * stdlib/lldiv.c (lldiv): Likewise.
61746
61747 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61748
61749 [BZ #16071]
61750 * nss/nss_files/files-XXX.c (get_contents_ret): New
61751 enumerator.
61752 (get_contents): New function.
61753 (internal_getent): Use it. Expand size of LINEBUFLEN.
61754
61755 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61756
61757 * configure.in: Moved to ...
61758 * configure.ac: ... here. Change reference to configure.in
61759 to configure.ac.
61760 * sysdeps/arm/preconfigure.ac: ... here.
61761 configure.in to configure.ac.
61762 * sysdeps/gnu/configure.in: Moved to ...
61763 * sysdeps/gnu/configure.ac: ... here.
61764 * sysdeps/i386/configure.in: Moved to ...
61765 * sysdeps/i386/configure.ac: ... here.
61766 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61767 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61768 * sysdeps/mach/configure.in: Moved to ...
61769 * sysdeps/mach/configure.ac: ... here.
61770 * sysdeps/mach/hurd/configure.in: Moved to ...
61771 * sysdeps/mach/hurd/configure.ac: ... here.
61772 * sysdeps/powerpc/configure.in: Moved to ...
61773 * sysdeps/powerpc/configure.ac: ... here.
61774 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61775 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61776 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61777 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61778 * sysdeps/s390/s390-32/configure.in: Moved to ...
61779 * sysdeps/s390/s390-32/configure.ac: ... here.
61780 * sysdeps/s390/s390-64/configure.in: Moved to ...
61781 * sysdeps/s390/s390-64/configure.ac: ... here.
61782 * sysdeps/sh/configure.in: Moved to ...
61783 * sysdeps/sh/configure.ac: ... here.
61784 * sysdeps/sparc/configure.in: Moved to ...
61785 * sysdeps/sparc/configure.ac: ... here.
61786 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61787 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61788 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61789 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61790 * sysdeps/x86_64/configure.in: Moved to ...
61791 * sysdeps/x86_64/configure.ac: ... here.
61792 * sysdeps/x86_64/preconfigure.in: Moved to ...
61793 * sysdeps/x86_64/preconfigure.ac: ... here.
61794 * aclocal.m4: Change reference to configure.in to configure.ac.
61795 * config.h.in: Likewise.
61796 * manual/install.texi: Likewise.
61797 * manual/maint.texi: Likewise.
61798 * Makefile: Likewise.
61799 * malloc/Makefile: Likewise.
61800 * nscd/Makefile: Likewise.
61801 * Makeconfig: Change reference to configure.in and
61802 preconfigure.in to configure.ac and preconfigure.ac
61803 respectively.
61804 * INSTALL: Regenerated.
61805 * configure: Likewise.
61806 * sysdeps/gnu/configure: Likewise.
61807 * sysdeps/i386/configure: Likewise.
61808 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61809 * sysdeps/mach/configure: Likewise.
61810 * sysdeps/mach/hurd/configure: Likewise.
61811 * sysdeps/powerpc/configure: Likewise.
61812 * sysdeps/powerpc/powerpc32/configure: Likewise.
61813 * sysdeps/powerpc/powerpc64/configure: Likewise.
61814 * sysdeps/s390/s390-32/configure: Likewise.
61815 * sysdeps/s390/s390-64/configure: Likewise.
61816 * sysdeps/sh/configure: Likewise.
61817 * sysdeps/sparc/configure: Likewise.
61818 * sysdeps/unix/sysv/linux/configure: Likewise.
61819 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61820 * sysdeps/x86_64/configure: Likewise.
61821 * sysdeps/x86_64/preconfigure: Likewise.
61822
61823 2013-10-29 Andreas Schwab <schwab@suse.de>
61824
61825 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61826
61827 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61828
61829 * benchtests/pow-inputs: Add new inputs.
61830
61831 * benchtests/exp-inputs: Add new inputs.
61832
61833 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61834 conditional check for return value.
61835 (__cos32): Likewise.
61836
61837 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61838
61839 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61840 to provide a boost for large inputs with word alignment.
61841 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61842 implementation based on optimized PPC64 strcpy.
61843 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61844 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61845 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61846 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61847
61848 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61849
61850 [BZ #2801]
61851 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61852
61853 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61854
61855 [BZ #14876]
61856 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61857 * time/tst-strptime.c (day_tests): Add testcase.
61858
61859 2013-10-25 Ondƙej Bílka <neleai@seznam.cz>
61860
61861 [BZ #14029]
61862 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61863
61864 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61865
61866 [BZ #16074]
61867 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61868 MAP_FAILED on error.
61869
61870 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61871
61872 [BZ #16072]
61873 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61874 heap for large requests.
61875
61876 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61877
61878 [BZ #9954]
61879 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61880 result if the result has no associated interface.
61881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61882 interface for all 127.X.Y.Z addresses.
61883
61884 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61885
61886 * locale/iso-639.def: Add Ligurian (lij)
61887
61888 2013-10-21 Ondƙej Bílka <neleai@seznam.cz>
61889
61890 [BZ #15825]
61891 * sunrpc/rpc_main.c: Document rpcgen -5.
61892
61893 2013-10-19 Michael Stahl <mstahl@redhat.com>
61894
61895 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61896
61897 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61898
61899 [BZ #10278]
61900 * posix/glob.c: Match only directories when trailing slash is present.
61901 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61902 (main): Add testcase.
61903
61904 2013-10-19 Ondƙej Bílka <neleai@seznam.cz>
61905
61906 [BZ #15670]
61907 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61908
61909 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61910
61911 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61912 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61913 AUTH_DES and cindex for FIPS 140-2.
61914 (DES Encryption): Add cindex FIPS 46-3.
61915
61916 * locale/locarchive.h (struct locarhandle): Add fname.
61917 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61918 if an optional argument was specified to --list-archive,
61919 otherwise NULL.
61920 * locale/programs/locarchive.c (show_archive_content): Take new
61921 argument fname and pass it via ah.fname to open_archive.
61922 * locale/programs/localedef.h: Update decl.
61923 (open_archive): If AH->fname is non-null, open that file
61924 rather than the default file name, and don't ignore ENOENT.
61925 (create_archive): Set AH.fname to NULL.
61926 (delete_locales_from_archive): Likewise.
61927 (add_locales_to_archive): Likewise.
61928 * locale/programs/locfile.c (write_all_categories): Likewise.
61929
61930 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61931 Aldy Hernandez <aldyh@redhat.com>
61932
61933 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61934 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61935 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61936 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61937 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61939 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61940 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61941 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61942 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61943 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61945 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61946 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61948 Likewise.
61949 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61950 Likewise.
61951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61952 Likewise.
61953 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61954 Likewise.
61955 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61956 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61957 Likewise.
61958 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61959 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61960 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61961 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61962 Likewise.
61963 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61964 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61965 * sysdeps/powerpc/preconfigure: Likewise.
61966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61967 Likewise.
61968 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61969 Replace contents of file by #include of <fenv_libc.h>.
61970 * sysdeps/powerpc/soft-fp/sfp-machine.h
61971 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61972 and <sys/prctl.h>.
61973 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61986 Allow copysignl PLT reference to be missing.
61987
61988 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61989 Joseph Myers <joseph@codesourcery.com
61990
61991 [BZ #15948]
61992 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61993 single character.
61994 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61995
61996 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61997
61998 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61999 * elf/tst-tls1.c: Likewise.
62000 * elf/tst-tls10.h: Likewise.
62001 * elf/tst-tls14.c: Likewise.
62002 * elf/tst-tls2.c: Likewise.
62003 * elf/tst-tls3.c: Likewise.
62004 * elf/tst-tls4.c: Likewise.
62005 * elf/tst-tls5.c: Likewise.
62006 * elf/tst-tls6.c: Likewise.
62007 * elf/tst-tls7.c: Likewise.
62008 * elf/tst-tls8.c: Likewise.
62009 * elf/tst-tls9.c: Likewise.
62010 * elf/tst-tlsmod1.c: Likewise.
62011 * elf/tst-tlsmod13.c: Likewise.
62012 * elf/tst-tlsmod13a.c: Likewise.
62013 * elf/tst-tlsmod14a.c: Likewise.
62014 * elf/tst-tlsmod16a.c: Likewise.
62015 * elf/tst-tlsmod16b.c: Likewise.
62016 * elf/tst-tlsmod2.c: Likewise.
62017 * elf/tst-tlsmod3.c: Likewise.
62018 * elf/tst-tlsmod4.c: Likewise.
62019 * elf/tst-tlsmod5.c: Likewise.
62020 * elf/tst-tlsmod6.c: Likewise.
62021
62022 2013-10-18 Ondƙej Bílka <neleai@seznam.cz>
62023
62024 [BZ #12486]
62025 * malloc/malloc.c: remove checks for statistics.
62026
62027 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
62028
62029 [BZ #15277]
62030 * inet/inet_net.c (inet_network): Detect additional invalid strings.
62031 * inet/tst-network.c: Add testcase.
62032
62033 2013-10-17 Andreas Schwab <schwab@suse.de>
62034
62035 [BZ #15218]
62036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62037 to determine canonical name.
62038
62039 2013-10-17 Ondƙej Bílka <neleai@seznam.cz>
62040
62041 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62042 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62056 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62064 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62065 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62066 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62067 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62068 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62069 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62070 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62073 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62074 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62075 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62076 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62077 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62081 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62082 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62084 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62085 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62086 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62087 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62088 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62089 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62090 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62091 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62096 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62098 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62099
62100 2013-10-17 Joseph Myers <joseph@codesourcery.com>
62101
62102 [BZ #16041]
62103 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62104 make result into a quiet NaN.
62105
62106 2013-10-16 Joseph Myers <joseph@codesourcery.com>
62107
62108 * soft-fp/adddf3.c: Fix horizontal whitespace.
62109 * soft-fp/addsf3.c: Likewise.
62110 * soft-fp/addtf3.c: Likewise.
62111 * soft-fp/divdf3.c: Likewise.
62112 * soft-fp/divsf3.c: Likewise.
62113 * soft-fp/divtf3.c: Likewise.
62114 * soft-fp/double.h: Likewise.
62115 * soft-fp/eqdf2.c: Likewise.
62116 * soft-fp/eqsf2.c: Likewise.
62117 * soft-fp/eqtf2.c: Likewise.
62118 * soft-fp/extenddftf2.c: Likewise.
62119 * soft-fp/extended.h: Likewise.
62120 * soft-fp/extendsfdf2.c: Likewise.
62121 * soft-fp/extendsftf2.c: Likewise.
62122 * soft-fp/extendxftf2.c: Likewise.
62123 * soft-fp/fixdfdi.c: Likewise.
62124 * soft-fp/fixdfsi.c: Likewise.
62125 * soft-fp/fixdfti.c: Likewise.
62126 * soft-fp/fixsfdi.c: Likewise.
62127 * soft-fp/fixsfsi.c: Likewise.
62128 * soft-fp/fixsfti.c: Likewise.
62129 * soft-fp/fixtfdi.c: Likewise.
62130 * soft-fp/fixtfsi.c: Likewise.
62131 * soft-fp/fixtfti.c: Likewise.
62132 * soft-fp/fixunsdfdi.c: Likewise.
62133 * soft-fp/fixunsdfsi.c: Likewise.
62134 * soft-fp/fixunsdfti.c: Likewise.
62135 * soft-fp/fixunssfdi.c: Likewise.
62136 * soft-fp/fixunssfsi.c: Likewise.
62137 * soft-fp/fixunssfti.c: Likewise.
62138 * soft-fp/fixunstfdi.c: Likewise.
62139 * soft-fp/fixunstfsi.c: Likewise.
62140 * soft-fp/fixunstfti.c: Likewise.
62141 * soft-fp/floatdidf.c: Likewise.
62142 * soft-fp/floatdisf.c: Likewise.
62143 * soft-fp/floatditf.c: Likewise.
62144 * soft-fp/floatsidf.c: Likewise.
62145 * soft-fp/floatsisf.c: Likewise.
62146 * soft-fp/floatsitf.c: Likewise.
62147 * soft-fp/floattidf.c: Likewise.
62148 * soft-fp/floattisf.c: Likewise.
62149 * soft-fp/floattitf.c: Likewise.
62150 * soft-fp/floatundidf.c: Likewise.
62151 * soft-fp/floatundisf.c: Likewise.
62152 * soft-fp/floatunditf.c: Likewise.
62153 * soft-fp/floatunsidf.c: Likewise.
62154 * soft-fp/floatunsisf.c: Likewise.
62155 * soft-fp/floatunsitf.c: Likewise.
62156 * soft-fp/floatuntidf.c: Likewise.
62157 * soft-fp/floatuntisf.c: Likewise.
62158 * soft-fp/floatuntitf.c: Likewise.
62159 * soft-fp/fmadf4.c: Likewise.
62160 * soft-fp/fmasf4.c: Likewise.
62161 * soft-fp/fmatf4.c: Likewise.
62162 * soft-fp/gedf2.c: Likewise.
62163 * soft-fp/gesf2.c: Likewise.
62164 * soft-fp/getf2.c: Likewise.
62165 * soft-fp/ledf2.c: Likewise.
62166 * soft-fp/lesf2.c: Likewise.
62167 * soft-fp/letf2.c: Likewise.
62168 * soft-fp/muldf3.c: Likewise.
62169 * soft-fp/mulsf3.c: Likewise.
62170 * soft-fp/multf3.c: Likewise.
62171 * soft-fp/negdf2.c: Likewise.
62172 * soft-fp/negsf2.c: Likewise.
62173 * soft-fp/negtf2.c: Likewise.
62174 * soft-fp/op-1.h: Likewise.
62175 * soft-fp/op-2.h: Likewise.
62176 * soft-fp/op-4.h: Likewise.
62177 * soft-fp/op-8.h: Likewise.
62178 * soft-fp/op-common.h: Likewise.
62179 * soft-fp/quad.h: Likewise.
62180 * soft-fp/single.h: Likewise.
62181 * soft-fp/soft-fp.h: Likewise.
62182 * soft-fp/sqrtdf2.c: Likewise.
62183 * soft-fp/sqrtsf2.c: Likewise.
62184 * soft-fp/sqrttf2.c: Likewise.
62185 * soft-fp/subdf3.c: Likewise.
62186 * soft-fp/subsf3.c: Likewise.
62187 * soft-fp/subtf3.c: Likewise.
62188 * soft-fp/truncdfsf2.c: Likewise.
62189 * soft-fp/trunctfdf2.c: Likewise.
62190 * soft-fp/trunctfsf2.c: Likewise.
62191 * soft-fp/trunctfxf2.c: Likewise.
62192 * soft-fp/unorddf2.c: Likewise.
62193 * soft-fp/unordsf2.c: Likewise.
62194 * soft-fp/unordtf2.c: Likewise.
62195
62196 2013-10-15 Joseph Myers <joseph@codesourcery.com>
62197
62198 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62199 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62200
62201 2013-10-15 Ondƙej Bílka <neleai@seznam.cz>
62202
62203 * elf/dl-libc.c: Clear initfini list after freeing.
62204
62205 2013-10-14 Joseph Myers <joseph@codesourcery.com>
62206
62207 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62208 * soft-fp/addsf3.c: Likewise.
62209 * soft-fp/addtf3.c: Likewise.
62210 * soft-fp/divdf3.c: Likewise.
62211 * soft-fp/divsf3.c: Likewise.
62212 * soft-fp/divtf3.c: Likewise.
62213 * soft-fp/double.h: Likewise.
62214 * soft-fp/eqdf2.c: Likewise.
62215 * soft-fp/eqsf2.c: Likewise.
62216 * soft-fp/eqtf2.c: Likewise.
62217 * soft-fp/extenddftf2.c: Likewise.
62218 * soft-fp/extended.h: Likewise.
62219 * soft-fp/extendsfdf2.c: Likewise.
62220 * soft-fp/extendsftf2.c: Likewise.
62221 * soft-fp/extendxftf2.c: Likewise.
62222 * soft-fp/fixdfdi.c: Likewise.
62223 * soft-fp/fixdfsi.c: Likewise.
62224 * soft-fp/fixdfti.c: Likewise.
62225 * soft-fp/fixsfdi.c: Likewise.
62226 * soft-fp/fixsfsi.c: Likewise.
62227 * soft-fp/fixsfti.c: Likewise.
62228 * soft-fp/fixtfdi.c: Likewise.
62229 * soft-fp/fixtfsi.c: Likewise.
62230 * soft-fp/fixtfti.c: Likewise.
62231 * soft-fp/fixunsdfdi.c: Likewise.
62232 * soft-fp/fixunsdfsi.c: Likewise.
62233 * soft-fp/fixunsdfti.c: Likewise.
62234 * soft-fp/fixunssfdi.c: Likewise.
62235 * soft-fp/fixunssfsi.c: Likewise.
62236 * soft-fp/fixunssfti.c: Likewise.
62237 * soft-fp/fixunstfdi.c: Likewise.
62238 * soft-fp/fixunstfsi.c: Likewise.
62239 * soft-fp/fixunstfti.c: Likewise.
62240 * soft-fp/floatdidf.c: Likewise.
62241 * soft-fp/floatdisf.c: Likewise.
62242 * soft-fp/floatditf.c: Likewise.
62243 * soft-fp/floatsidf.c: Likewise.
62244 * soft-fp/floatsisf.c: Likewise.
62245 * soft-fp/floatsitf.c: Likewise.
62246 * soft-fp/floattidf.c: Likewise.
62247 * soft-fp/floattisf.c: Likewise.
62248 * soft-fp/floattitf.c: Likewise.
62249 * soft-fp/floatundidf.c: Likewise.
62250 * soft-fp/floatundisf.c: Likewise.
62251 * soft-fp/floatunsidf.c: Likewise.
62252 * soft-fp/floatunsisf.c: Likewise.
62253 * soft-fp/floatuntidf.c: Likewise.
62254 * soft-fp/floatuntisf.c: Likewise.
62255 * soft-fp/floatuntitf.c: Likewise.
62256 * soft-fp/fmadf4.c: Likewise.
62257 * soft-fp/fmasf4.c: Likewise.
62258 * soft-fp/fmatf4.c: Likewise.
62259 * soft-fp/gedf2.c: Likewise.
62260 * soft-fp/gesf2.c: Likewise.
62261 * soft-fp/getf2.c: Likewise.
62262 * soft-fp/ledf2.c: Likewise.
62263 * soft-fp/lesf2.c: Likewise.
62264 * soft-fp/letf2.c: Likewise.
62265 * soft-fp/muldf3.c: Likewise.
62266 * soft-fp/mulsf3.c: Likewise.
62267 * soft-fp/multf3.c: Likewise.
62268 * soft-fp/negdf2.c: Likewise.
62269 * soft-fp/negsf2.c: Likewise.
62270 * soft-fp/negtf2.c: Likewise.
62271 * soft-fp/op-1.h: Likewise.
62272 * soft-fp/op-2.h: Likewise.
62273 * soft-fp/op-4.h: Likewise.
62274 * soft-fp/op-8.h: Likewise.
62275 * soft-fp/op-common.h: Likewise.
62276 * soft-fp/quad.h: Likewise.
62277 * soft-fp/single.h: Likewise.
62278 * soft-fp/soft-fp.h: Likewise.
62279 * soft-fp/sqrtdf2.c: Likewise.
62280 * soft-fp/sqrtsf2.c: Likewise.
62281 * soft-fp/sqrttf2.c: Likewise.
62282 * soft-fp/subdf3.c: Likewise.
62283 * soft-fp/subsf3.c: Likewise.
62284 * soft-fp/subtf3.c: Likewise.
62285 * soft-fp/truncdfsf2.c: Likewise.
62286 * soft-fp/trunctfdf2.c: Likewise.
62287 * soft-fp/trunctfsf2.c: Likewise.
62288 * soft-fp/trunctfxf2.c: Likewise.
62289 * soft-fp/unorddf2.c: Likewise.
62290 * soft-fp/unordsf2.c: Likewise.
62291 * soft-fp/unordtf2.c: Likewise.
62292
62293 2013-10-14 Ondƙej Bílka <neleai@seznam.cz>
62294
62295 [BZ #15672]
62296 * misc/error.c (error_tail): Fix possible buffer overflow.
62297
62298 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
62299
62300 [BZ #13028]
62301 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62302 address.
62303
62304 2013-10-14 P. J. McDermott <pj@pehjota.net>
62305
62306 [BZ #832]
62307 * elf/ldd.bash.in (try_trace): New function. Delete previous code
62308 testing pipefail option.
62309
62310 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62311
62312 * soft-fp/double.h: Indent preprocessor directives inside #if.
62313 * soft-fp/extended.h: Likewise.
62314 * soft-fp/op-2.h: Likewise.
62315 * soft-fp/op-4.h: Likewise.
62316 * soft-fp/op-common.h: Likewise.
62317 * soft-fp/quad.h: Likewise.
62318 * soft-fp/single.h: Likewise.
62319 * soft-fp/soft-fp.h: Likewise.
62320
62321 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
62322
62323 * iconv/iconv_prog.c: Fix typos.
62324 * stdio-common/psiginfo-data.h: Likewise.
62325
62326 2013-10-12 Reuben Thomas <rrt@sc3d.org>
62327
62328 [BZ #15764]
62329 * locale/setlocale.c: Fix typo.
62330
62331 2013-10-12 Joseph Myers <joseph@codesourcery.com>
62332
62333 [BZ #16036]
62334 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62335 signaling NaN arguments.
62336 * soft-fp/unordsf2.c (__unordsf2): Likewise.
62337 * soft-fp/unordtf2.c (__unordtf2): Likewise.
62338
62339 [BZ #14910]
62340 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62341 unordered operands.
62342 * soft-fp/gesf2.c (__gesf2): Likewise.
62343 * soft-fp/getf2.c (__getf2): Likewise.
62344 * soft-fp/ledf2.c (__ledf2): Likewise.
62345 * soft-fp/lesf2.c (__lesf2): Likewise.
62346 * soft-fp/letf2.c (__letf2): Likewise.
62347
62348 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62349 * soft-fp/eqsf2.c (__eqsf2): Likewise.
62350 * soft-fp/eqtf2.c (__eqtf2): Likewise.
62351 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62352 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62353 * soft-fp/fixdfti.c (__fixdfti): Likewise.
62354 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62355 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62356 * soft-fp/fixsfti.c (__fixsfti): Likewise.
62357 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62358 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62359 * soft-fp/fixtfti.c (__fixtfti): Likewise.
62360 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62361 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62362 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62363 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62364 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62365 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62366 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62367 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62368 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62369 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62370 * soft-fp/floatdisf.c (__floatdisf): Likewise.
62371 * soft-fp/floatsisf.c (__floatsisf): Likewise.
62372 * soft-fp/floattidf.c (__floattidf): Likewise.
62373 * soft-fp/floattisf.c (__floattisf): Likewise.
62374 * soft-fp/floattitf.c (__floattitf): Likewise.
62375 * soft-fp/floatundidf.c (__floatundidf): Likewise.
62376 * soft-fp/floatundisf.c (__floatundisf): Likewise.
62377 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62378 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62379 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62380 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62381 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62382 * soft-fp/gesf2.c (__gesf2): Likewise.
62383 * soft-fp/getf2.c (__getf2): Likewise.
62384 * soft-fp/ledf2.c (__ledf2): Likewise.
62385 * soft-fp/lesf2.c (__lesf2): Likewise.
62386 * soft-fp/letf2.c (__letf2): Likewise.
62387
62388 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62389 Undefine and redefine.
62390 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62391 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62392 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62393 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62394 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62395 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62396 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62397 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62398 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62399 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62400 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62401 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62402 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62403 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62404 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62405
62406 [BZ #16032]
62407 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62408 without decrementing exponent if mantissa >= that for the
62409 denominator, not >.
62410 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62411 denominator, not >. Decrement exponent in < case instead of
62412 incrementing in >= case.
62413 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62414 without decrementing exponent if mantissa >= that for the
62415 denominator, not >.
62416
62417 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62418 computing saturated result for unsigned overflow.
62419
62420 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62421 Jeff Law <law@redhat.com>
62422
62423 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62424 (atan2Mp): Add systemtap probe marker.
62425 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62426 (__ieee754_log): Add systemtap probe marker.
62427 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62428 (atanMp): Add systemtap probe marker.
62429 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62430 (tanMp): Add systemtap probe marker.
62431 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62432 (__slowexp): Add systemtap probe marker.
62433 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62434 (__slowpow): Add systemtap probe marker.
62435 * manual/probes.texi: Document probes.
62436
62437 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
62438
62439 [BZ #15362]
62440 * libio/fileops.c (_IO_new_file_write): Return count of bytes
62441 written.
62442 (_IO_new_file_xsputn): Don't return EOF if nothing has been
62443 written.
62444 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62445 written to buffer but not flushed.
62446 * libio/iofwrite_u.c: Likewise.
62447 * libio/iopadn.c: Return bytes returned even if EOF was
62448 encountered.
62449 * libio/iowpadn.c: Likewise.
62450 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62451 if _IO_padn does not write the whole buffer.
62452 [!COMPILE_WPRINTF] (PAD): Likewise.
62453
62454 2013-10-10 David S. Miller <davem@davemloft.net>
62455
62456 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62457 directory block.
62458
62459 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62460
62461 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
62462 instead of FSF address.
62463 * soft-fp/fixdfti.c: Likewise.
62464 * soft-fp/fixsfti.c: Likewise.
62465 * soft-fp/fixtfti.c: Likewise.
62466 * soft-fp/fixunsdfti.c: Likewise.
62467 * soft-fp/fixunssfti.c: Likewise.
62468 * soft-fp/fixunstfti.c: Likewise.
62469 * soft-fp/floattidf.c: Likewise.
62470 * soft-fp/floattisf.c: Likewise.
62471 * soft-fp/floattitf.c: Likewise.
62472 * soft-fp/floatuntidf.c: Likewise.
62473 * soft-fp/floatuntisf.c: Likewise.
62474 * soft-fp/floatuntitf.c: Likewise.
62475 * soft-fp/trunctfxf2.c: Likewise.
62476
62477 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
62478 * soft-fp/fixdfti.c: Likewise.
62479 * soft-fp/fixsfti.c: Likewise.
62480 * soft-fp/fixtfti.c: Likewise.
62481 * soft-fp/fixunsdfti.c: Likewise.
62482 * soft-fp/fixunssfti.c: Likewise.
62483 * soft-fp/fixunstfti.c: Likewise.
62484 * soft-fp/floattidf.c: Likewise.
62485 * soft-fp/floattisf.c: Likewise.
62486 * soft-fp/floattitf.c: Likewise.
62487 * soft-fp/floatuntidf.c: Likewise.
62488 * soft-fp/floatuntisf.c: Likewise.
62489 * soft-fp/floatuntitf.c: Likewise.
62490 * soft-fp/trunctfxf2.c: Likewise.
62491
62492 2013-10-10 David S. Miller <davem@davemloft.net>
62493
62494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62495
62496 2013-10-10 Joseph Myers <joseph@codsourcery.com>
62497
62498 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62499 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62500 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62501 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62502 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62503 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62504 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62505
62506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62507 for NaNs before doing comparisons on argument.
62508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62509 Likewise.
62510
62511 2013-10-10 Will Newton <will.newton@linaro.org>
62512
62513 * malloc/hooks.c (memalign_check): Ensure the value of bytes
62514 passed to _int_memalign does not overflow.
62515
62516 2013-10-10 Torvald Riegel <triegel@redhat.com>
62517
62518 * scripts/bench.pl: Add include-sources directive.
62519 * benchtests/README: Update documentation.
62520
62521 2013-10-10 Joseph Myers <joseph@codesourcery.com>
62522
62523 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62524 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62525 instead of FP_INIT_ROUNDMODE.
62526 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62527 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62528
62529 [BZ #16034]
62530 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
62531 copy class of input value.
62532 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
62533 not handle exceptions.
62534 * soft-fp/negsf2.c (__negsf2): Likewise.
62535 * soft-fp/negtf2.c (__negtf2): Likewise.
62536 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62537
62538 2013-10-09 Joseph Myers <joseph@codesourcery.com>
62539
62540 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62541 semicolon. From Linux kernel.
62542
62543 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
62544
62545 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62546
62547 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
62548
62549 [BZ #156]
62550 * manual/socket.texi: Added statement about buffer
62551 for gethostbyname2_r.
62552
62553 2013-10-08 Ondƙej Bílka <neleai@seznam.cz>
62554
62555 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62556 Use .p2align directive instead, throughout.
62557 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62558 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62559 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62562 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62563 * sysdeps/x86_64/strchr.S: Likewise.
62564 * sysdeps/x86_64/strrchr.S: Likewise.
62565
62566 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62567
62568 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62569
62570 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62571
62572 * sysdeps/generic/math_private.h (__mpsin1): Remove
62573 declaration.
62574 (__mpcos1): Likewise.
62575 (__mpsin): New argument __range_reduce.
62576 (__mpcos): Likewise.
62577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62578 (slow): Use __mpsin and __mpcos.
62579 (slow1): Likewise.
62580 (slow2): Likewise.
62581 (sloww): Likewise.
62582 (sloww1): Likewise.
62583 (sloww2): Likewise.
62584 (bsloww): Likewise.
62585 (bsloww1): Likewise.
62586 (bsloww2): Likewise.
62587 (cslow2): Likewise.
62588 (csloww): Likewise.
62589 (csloww1): Likewise.
62590 (csloww2): Likewise.
62591 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62592 range_reduce. Merge in __mpsin1.
62593 (__mpcos): Likewise.
62594 (__mpsin1): Remove.
62595 (__mpcos1): Likewise.
62596
62597 2013-10-07 Joseph Myers <joseph@codesourcery.com>
62598
62599 * locale/loadlocale.c (_nl_intern_locale_data): Use
62600 LOCFILE_ALIGNED_P.
62601 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62602 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62603 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62604 obstack data is appropriately aligned.
62605 (obstack_int32_grow_fast): Likewise.
62606 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62607 * locale/programs/locfile.c (add_locale_uint32): Likewise.
62608 (add_locale_uint32_array): Likewise.
62609
62610 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62611
62612 * benchtests/Makefile: Remove ARGLIST and RET variables.
62613 ($(objpfx)bench-%.c): Pass only function name to the script.
62614 * benchtests/README: Update documentation.
62615 * benchtests/acos-inputs: Add new directives.
62616 * benchtests/acosh-inputs: Likewise.
62617 * benchtests/asin-inputs: Likewise.
62618 * benchtests/asinh-inputs: Likewise.
62619 * benchtests/atan-inputs: Likewise.
62620 * benchtests/atanh-inputs: Likewise.
62621 * benchtests/cos-inputs: Likewise.
62622 * benchtests/cosh-inputs: Likewise.
62623 * benchtests/exp-inputs: Likewise.
62624 * benchtests/log-inputs: Likewise.
62625 * benchtests/pow-inputs: Likewise.
62626 * benchtests/rint-inputs: Likewise.
62627 * benchtests/sin-inputs: Likewise.
62628 * benchtests/sinh-inputs: Likewise.
62629 * benchtests/tan-inputs: Likewise.
62630 * benchtests/tanh-inputs: Likewise.
62631 * scripts/bench.pl: Add support for new directives.
62632
62633 2013-10-07 Alan Modra <amodra@gmail.com>
62634
62635 * README: Fix careless merge.
62636
62637 2013-10-05 Alan Modra <amodra@gmail.com>
62638
62639 * NEWS: Mention powerpc64le support and bugs fixed.
62640 * README: Both big-endian and little-endian powerpc64 supported.
62641
62642 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
62643
62644 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62645 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62646 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62647 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62648
62649 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
62650
62651 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62652 match prototype.
62653
62654 2013-10-04 Joseph Myers <joseph@codesourcery.com>
62655
62656 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62657 Move -mhard-float appending from
62658 ports/sysdeps/powerpc/powerpc32/Makefile.
62659 [$(with-fp) = yes] (ASFLAGS): Likewise.
62660 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62661 * sysdeps/powerpc/nofpu: Move directory from
62662 ports/sysdeps/powerpc/nofpu.
62663 * sysdeps/powerpc/soft-fp: Move directory from
62664 ports/sysdeps/powerpc/soft-fp.
62665 * sysdeps/powerpc/powerpc32/405: Move directory from
62666 ports/sysdeps/powerpc/powerpc32/405.
62667 * sysdeps/powerpc/powerpc32/440: Move directory from
62668 ports/sysdeps/powerpc/powerpc32/440.
62669 * sysdeps/powerpc/powerpc32/464: Move directory from
62670 ports/sysdeps/powerpc/powerpc32/464.
62671 * sysdeps/powerpc/powerpc32/476: Move directory from
62672 ports/sysdeps/powerpc/powerpc32/476.
62673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62683 * README: Update for powerpc-*-linux-gnu software floating point
62684 support in libc.
62685
62686 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62687 case to powerpc/powerpc32*.
62688 * sysdeps/unix/sysv/linux/configure: Regenerated.
62689
62690 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62691 (_FPU_MASK_OM): Define as 0x04.
62692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62694 0x00c10080.
62695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62696 0x0000003c.
62697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62698
62699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62700 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62701 getcontext_e500.
62702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62703 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62704 setcontext_e500.
62705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62706 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62707 and setcontext_e500.
62708
62709 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
62710
62711 * locale/iso-3166.def: Update iso-1366.def and related occurrences
62712
62713 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62714
62715 * manual/threads.texi (Default Thread Attributes): Fix typo.
62716
62717 2013-10-04 Will Newton <will.newton@linaro.org>
62718
62719 * malloc/Makefile: Add tst-memalign.
62720 * malloc/tst-memalign.c: New file.
62721
62722 * malloc/tst-posix_memalign.c: Add comments.
62723 (do_test): Add comments and call free on all potentially
62724 allocated pointers. Add space after cast.
62725
62726 * malloc/tst-pvalloc.c: Add comments.
62727 (do_test): Add comments and call free on all potentially
62728 allocated pointers. Remove duplicate check for NULL pointer.
62729 Add space after cast.
62730
62731 * malloc/tst-valloc.c: Add comments.
62732 (do_test): Add comments and call free on all potentially
62733 allocated pointers. Remove duplicate check for NULL pointer.
62734 Add space after cast.
62735
62736 2013-10-04 Alan Modra <amodra@gmail.com>
62737
62738 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62739 Use stdint types in rather than __attribute__((mode())).
62740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62741
62742 2013-10-04 Alan Modra <amodra@gmail.com>
62743
62744 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62745 Correct handling of unaligned relocs for little-endian.
62746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62747
62748 2013-10-04 Alan Modra <amodra@gmail.com>
62749
62750 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62751 * configure: Regenerate.
62752 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62753 * shlib-versions: Likewise.
62754
62755 2013-10-04 Alan Modra <amodra@gmail.com>
62756
62757 * string/tester.c (test_memrchr): Increment reported test cycle.
62758
62759 2013-10-04 Alan Modra <amodra@gmail.com>
62760
62761 * string/test-memcpy.c (do_one_test): When reporting errors, print
62762 string address and don't overrun end of string.
62763
62764 2013-10-04 Alan Modra <amodra@gmail.com>
62765
62766 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62767 insrdi. Make better use of reg selection to speed exit slightly.
62768 Schedule entry path a little better. Remove useless "are we done"
62769 checks on entry to main loop. Handle wrapping around zero address.
62770 Correct main loop count. Handle single left-over word from main
62771 loop inline rather than by using loop_small. Remove extra word
62772 case in loop_small caused by wrong loop count. Add little-endian
62773 support.
62774 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62776 cache hint.
62777 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62778 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62779 support. Avoid rlwimi.
62780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62781
62782 2013-10-04 Alan Modra <amodra@gmail.com>
62783
62784 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62785 insrdi. Formatting.
62786 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62787 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62788 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62789 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62790 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62791 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62792
62793 2013-10-04 Alan Modra <amodra@gmail.com>
62794
62795 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62799 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62804 use of regs. Use power7 mtocrf. Tidy function tails.
62805
62806 2013-10-04 Alan Modra <amodra@gmail.com>
62807
62808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62809 Formatting. Consistently use rXXX register defines or rN defines.
62810 Use early exit labels that avoid restoring unused non-volatile regs.
62811 Make cr field use more consistent with rWORDn compares. Rename
62812 regs used as shift registers for unaligned loop, using rN defines
62813 for short lifetime/multiple use regs.
62814 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62816 addi 1,1,64 to pop stack frame. Simplify return value code.
62817 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62818
62819 2013-10-04 Alan Modra <amodra@gmail.com>
62820
62821 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62822 support. Correct typos, formatting. Optimize tail. Use insrdi
62823 rather than rlwimi.
62824 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62825 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62826 little-endian support. Correct typos.
62827 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62828 rather than rlwimi.
62829 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62830 in loop and entry code to keep "and." results.
62831 (strchr): Add little-endian support. Comment. Move cntlzd
62832 earlier in tail.
62833 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62834
62835 2013-10-04 Alan Modra <amodra@gmail.com>
62836
62837 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62838 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62839 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62840 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62841
62842 2013-10-04 Alan Modra <amodra@gmail.com>
62843
62844 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62845 (rTMP): Define as r11.
62846 (strcmp): Add little-endian support. Optimise tail.
62847 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62848 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62849 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62850 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62851 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62852 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62854
62855 2013-10-04 Alan Modra <amodra@gmail.com>
62856
62857 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62858 little-endian support. Remove unnecessary "are we done" tests.
62859 Handle "s" wrapping around zero and extremely large "size".
62860 Correct main loop count. Handle single left-over word from main
62861 loop inline rather than by using small_loop. Correct comments.
62862 Delete "zero" tail, use "end_max" instead.
62863 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62864
62865 2013-10-04 Alan Modra <amodra@gmail.com>
62866
62867 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62868 support. Don't branch over align.
62869 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62870 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62871 support. Rearrange tmp reg use to suit. Comment.
62872 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62873
62874 2013-10-04 Alan Modra <amodra@gmail.com>
62875
62876 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62877
62878 2013-10-04 Alan Modra <amodra@gmail.com>
62879
62880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62881 conditional form of branch and link when obtaining pc.
62882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62883
62884 2013-10-04 Alan Modra <amodra@gmail.com>
62885
62886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62887 HIWORD/LOWORD.
62888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62890
62891 2013-10-04 Alan Modra <amodra@gmail.com>
62892
62893 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62894 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62895 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62896 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62898 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62899 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62900 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62901 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62902 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62903
62904 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62905 Alistair Popple <alistair@ozlabs.au.ibm.com>
62906 Alan Modra <amodra@gmail.com>
62907
62908 [BZ #15723]
62909 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62910 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62911 _dl_hwcap access for little-endian.
62912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62913 destroy vmx regs when saving unaligned.
62914 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62916 destroy vmx regs when saving unaligned.
62917
62918 2013-10-04 Alan Modra <amodra@gmail.com>
62919
62920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62921 Don't use a union to pack hi/low value.
62922
62923 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62924
62925 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62926 for little-endian.
62927 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62929 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62930 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62931 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62932
62933 2013-10-04 Alan Modra <amodra@gmail.com>
62934
62935 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62936 constants to usual value for .cst8 section, and remove redundant
62937 high address load.
62938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62939 constant for 0x1p52. Load little-endian words of double from
62940 correct stack offsets.
62941
62942 2013-10-04 Alan Modra <amodra@gmail.com>
62943
62944 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62945 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62946 words of double from correct stack offsets.
62947 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62948 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62949 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62954 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62959 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62960 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62961 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62962 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62963 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62964
62965 2013-10-04 Alan Modra <amodra@gmail.com>
62966
62967 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62968 64-bit int/double union.
62969 (_FPU_SETCW): Likewise.
62970 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62971 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62972
62973 2013-10-04 Alan Modra <amodra@gmail.com>
62974
62975 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62976 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62977
62978 2013-10-04 Alan Modra <amodra@gmail.com>
62979
62980 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62981 use vector int constants.
62982 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62983
62984 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62985
62986 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62987 array with long long.
62988 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62989 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62990 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62991 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62992 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62993 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62994 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62995 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62996 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62997 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62998 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62999 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63001
63002 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
63003
63004 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63005 (__signbit): Likewise. Correct for little-endian.
63006 (__signbitl): Call __signbit.
63007 (lrint): Correct for little-endian.
63008 (lrintf): Call lrint.
63009
63010 2013-10-04 Alan Modra <amodra@gmail.com>
63011
63012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63013 union 32-bit int array member with 64-bit int array.
63014 (t515, tm256): Double rather than long double.
63015 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63016
63017 2013-10-04 Alan Modra <amodra@gmail.com>
63018
63019 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63020 Delete.
63021 (IEEE854_LONG_DOUBLE_BIAS): Delete.
63022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63023 version of math_ldbl.h.
63024
63025 2013-10-04 Alan Modra <amodra@gmail.com>
63026
63027 [BZ #15734], [BZ #15735]
63028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63029 all uses of ieee875 long double macros and unions. Simplify test
63030 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
63031 ldbl_extract_mantissa value for ix,iy exponents. Properly
63032 normalize after ldbl_extract_mantissa, and don't add hidden bit
63033 already handled. Don't treat low word of ieee854 mantissa like
63034 low word of IBM long double and mask off bit when testing for
63035 zero.
63036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63037 all uses of ieee875 long double macros and unions. Simplify tests
63038 for 0.0L and inf. Correct double adjustment of k. Delete dead code
63039 adjusting ha,hb. Simplify code setting kld. Delete two600 and
63040 two1022, instead use their values. Recognise that tests for large
63041 "a" and small "b" are mutually exclusive. Rename vars. Comment.
63042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63043 Rewrite all uses of ieee875 long double macros and unions. Simplify
63044 test for 0.0L and nan. Correct negation.
63045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63046 ieee875 long double macros and unions. Correct output for large
63047 magnitude x. Correct absolute value calculation.
63048 (__erfcl): Likewise.
63049 * math/libm-test.inc: Add tests for errors discovered in IBM long
63050 double versions of fmodl, remainderl, erfl and erfcl.
63051
63052 2013-10-04 Alan Modra <amodra@gmail.com>
63053
63054 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63055 all uses of ieee854 long double macros and unions. Simplify tests
63056 for long doubles that are fully specified by the high double.
63057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63058 Likewise.
63059 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63060 Remove dead code too.
63061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63062 (__ieee754_ynl): Likewise.
63063 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63064 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63065 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63066 Remove dead code too.
63067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63070 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63071 Simplify.
63072 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63073 Simplify.
63074 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63075 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63077 Comment on variable precision.
63078 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63079 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63080 Likewise.
63081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63084 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63085 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63086
63087 2013-10-04 Alan Modra <amodra@gmail.com>
63088
63089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63091 all uses of ieee854 long double macros and unions.
63092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63096 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63097 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63098 Likewise.
63099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63104 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63105 Simplify sign and nan test too.
63106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63107 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63108 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63110 Likewise.
63111 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63112 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63113 Likewise.
63114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63115 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63116 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63117 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63120
63121 2013-10-04 Alan Modra <amodra@gmail.com>
63122
63123 * stdio-common/printf_size.c (__printf_size): Don't use
63124 union ieee854_long_double in fpnum union.
63125 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
63126 signbit macro to retrieve sign from long double.
63127 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63128 retrieve sign from long double.
63129 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63130 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63131 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63132 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63133 * math/test-misc.c (main): Don't use union ieee854_long_double.
63134
63135 2013-10-04 Alan Modra <amodra@gmail.com>
63136
63137 [BZ #15680]
63138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63140 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63141 calculation. Remove unnecessary test for denormal exponent.
63142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63143 Correct handling of denormals. Avoid undefined shift behaviour.
63144 Correct normalisation of low mantissa when low double is denormal.
63145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63146 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
63147 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63148 Correct normalisation of low mantissa. Test for overflow of high
63149 mantissa and normalise.
63150 (ldbl_nearbyint): Use more readable constant for two52.
63151 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63152 (__mpn_construct_long_double): Fix test for overflow of high
63153 mantissa and correct normalisation. Avoid undefined shift.
63154
63155 2013-10-04 Alan Modra <amodra@gmail.com>
63156
63157 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63158 (union ibm_extended_long_double): Define as an array of ieee754_double.
63159 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63160 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63161 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63162 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63163 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63164 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63166 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63167 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63168 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63170
63171 2013-10-03 Joseph Myers <joseph@codesourcery.com>
63172
63173 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63174 page size instead of calling getpagesize.
63175
63176 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63177 (LOCFILE_ALIGN_MASK): Likewise.
63178 (LOCFILE_ALIGN_UP): Likewise.
63179 (LOCFILE_ALIGNED_P): Likewise.
63180 * locale/programs/ld-collate.c (collate_output): Use the new
63181 macros instead of __alignof__ (int32_t).
63182 * locale/weight.h (findidx): Likewise.
63183
63184 2013-10-03 Ondƙej Bílka <neleai@seznam.cz>
63185
63186 [BZ #431]
63187 * manual/string.texi: Fix strncat and wcsncat.
63188
63189 2013-10-03 Brooks Moses <bmoses@google.com>
63190
63191 [BZ #15915]
63192 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63193 * Makerules: ...here, and adjust associated comments.
63194
63195 2013-10-02 Will Newton <will.newton@linaro.org>
63196
63197 * malloc/Makefile: Add tst-pvalloc.
63198 * malloc/tst-pvalloc.c: New file.
63199
63200 2013-10-02 Will Newton <will.newton@linaro.org>
63201
63202 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63203 improve test coverage.
63204
63205 2013-10-02 Will Newton <will.newton@linaro.org>
63206
63207 * malloc/Makefile: Add tst-posix_memalign.
63208 * malloc/tst-posix_memalign.c: New file.
63209
63210 2013-10-01 Eric Blake <eblake@redhat.com>
63211
63212 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63213 Use __THROWNL rather than __THROW on static functions.
63214
63215 2013-09-30 Petr Machata <pmachata@redhat.com>
63216
63217 * elf/elf.h (R_AARCH64_ABS16): New macro.
63218 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63219 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63220 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63221 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63222 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63223 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63224 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63225 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63226 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63227 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63228 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63229 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63230 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63231 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63232 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63233 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63234 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63235 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63236 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63237 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63238 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63239 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63240 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63241 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63242 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63243 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63244 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63245 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63246 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63247 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63248 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63249 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63250 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63251 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63252 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63253 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63254 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63255 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63256 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63257 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63258 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63259 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63260 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63261 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63262 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63263 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63264 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63265 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63266 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63267 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63268 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63269 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63270 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63271 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63272 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63273 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63274 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63275 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63276 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63277 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63278 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63279 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63280 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63281 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63282 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63283 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63284 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63285 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63286 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63287 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63288 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63289 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63290 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63291 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63292 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63293 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63294 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63295 (R_AARCH64_TLSDESC_LDR): Likewise.
63296 (R_AARCH64_TLSDESC_ADD): Likewise.
63297 (R_AARCH64_TLSDESC_CALL): Likewise.
63298
63299 2013-09-30 Andreas Schwab <schwab@suse.de>
63300
63301 [BZ #15048]
63302 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63303 the nss database lookup.
63304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63306
63307 2013-09-28 Mike Frysinger <vapier@gentoo.org>
63308
63309 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63310
63311 2013-09-28 P. J. McDermott <pj@pehjota.net>
63312
63313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63314 ${Bash-specific parameter/pattern/string} parameter expansion.
63315 * sysdeps/unix/make-syscalls.sh: Likewise.
63316
63317 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63318
63319 * sysdeps/sh/stackguard-macros.h: New file.
63320
63321 2013-09-26 Ondƙej Bílka <neleai@seznam.cz>
63322
63323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63325 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63326 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63328 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63329
63330 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63331
63332 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63333 Fix thread ID register.
63334
63335 2013-09-25 Joseph Myers <joseph@codesourcery.com>
63336
63337 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63338 [POSIX || UNIX98]: Require rather than permitting all symbols from
63339 <time.h>.
63340 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63341 element of struct sched_param.
63342 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63343 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63344 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63345 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63346 constant.
63347
63348 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
63349
63350 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63351 argument calculation.
63352
63353 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63354
63355 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63356 Expect macro.
63357 [POSIX] (pthread_attr_t): Do not require type.
63358 [POSIX] (pthread_cond_t): Likewise.
63359 [POSIX] (pthread_condattr_t): Likewise.
63360 [POSIX] (pthread_key_t): Likewise.
63361 [POSIX] (pthread_mutex_t): Likewise.
63362 [POSIX] (pthread_mutexattr_t): Likewise.
63363 [POSIX] (pthread_once_t): Likewise.
63364 [POSIX] (pthread_t): Likewise.
63365 [POSIX-based standards] (pthread_atfork): Expect function.
63366
63367 2013-09-24 Joseph Myers <joseph@codesourcery.com>
63368 Richard Sandiford <richard@codesourcery.com>
63369
63370 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63371 (swap_endianness_p): New extern variable.
63372 (set_big_endian): New inline function.
63373 (maybe_swap_uint32): Likewise.
63374 (maybe_swap_uint32_array): Likewise.
63375 (maybe_swap_uint32_obstack): Likewise.
63376 * locale/programs/locfile.c: Include <stdbool.h>.
63377 (swap_endianness_p): New variable.
63378 (add_locale_uint32): Call maybe_swap_uint32.
63379 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63380 (write_locale_data): Call maybe_swap_uint32_array.
63381 * locale/programs/ld-collate.c (obstack_int32_grow): Call
63382 maybe_swap_uint32.
63383 (obstack_int32_grow_fast): Likewise.
63384 (output_weightwc): Call maybe_swap_uint32_obstack.
63385 (collate_output): Likewise.
63386 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63387 (OPT_LITTLE_ENDIAN): Likewise.
63388 (options): Add --little-endian and --big-endian options.
63389 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63390 * locale/programs/locarchive.c: Include "locfile.h".
63391 (GET): New macro.
63392 (SET): Likewise.
63393 (INC): Likewise.
63394 (create_archive): Use the new macros to access fields of
63395 structures directly mapped from or written to locale archives.
63396 (oldlocrecentcmp): Likewise.
63397 (enlarge_archive): Likewise.
63398 (insert_name): Likewise.
63399 (add_alias): Likewise.
63400 (add_locale): Likewise.
63401 (delete_locales_from_archive): Likewise.
63402 (show_archive_content): Likewise.
63403 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
63404 locale data.
63405
63406 2013-09-24 Roland McGrath <roland@hack.frob.com>
63407
63408 * manual/freemanuals.texi: Updated from (newly) canonical copy at
63409 http://www.gnu.org/doc/freemanuals.texi.
63410 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63411
63412 2013-09-24 Will Newton <will.newton@linaro.org>
63413
63414 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63415 macro.
63416
63417 2013-09-23 Joseph Myers <joseph@codesourcery.com>
63418
63419 * locale/hashval.h (compute_hashval): Interpret bytes of key as
63420 unsigned char.
63421
63422 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
63423
63424 * manual/threads.texi (POSIX Threads): Fix a typo.
63425
63426 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
63427
63428 [BZ #14547]
63429 * string/tst-strcoll-overflow.c: New test case.
63430 * string/Makefile (xtests): Add tst-strcoll-overflow.
63431 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63432 cache if string sizes may cause integer overflow.
63433
63434 [BZ #14547]
63435 * string/strcoll_l.c (coll_seq): New members rule, idx,
63436 save_idx and back_us.
63437 (get_next_seq_nocache): New function.
63438 (do_compare_nocache): New function.
63439 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63440 when malloc fails.
63441
63442 2013-09-23 Carlos O'Donell <carlos@redhat.com>
63443
63444 [BZ #15754]
63445 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63446 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63447 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63448
63449 [BZ #15754]
63450 * elf/Makefile (tests): Add tst-ptrguard1.
63451 (tests-static): Add tst-ptrguard1-static.
63452 (tst-ptrguard1-ARGS): Define.
63453 (tst-ptrguard1-static-ARGS): Define.
63454 * elf/tst-ptrguard1.c: New file.
63455 * elf/tst-ptrguard1-static.c: New file.
63456 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63457 * sysdeps/i386/stackguard-macros.h: Likewise.
63458 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63459 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63460 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63461 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63462 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63463 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63464
63465 2013-09-23 Hector Marco <hecmargi@upv.es>
63466 Ismael Ripoll <iripoll@disca.upv.es>
63467 Carlos O'Donell <carlos@redhat.com>
63468
63469 [BZ #15754]
63470 * sysdeps/generic/stackguard-macros.h: Define
63471 __pointer_chk_guard_local and POINTER_CHK_GUARD.
63472 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63473 Define __pointer_chk_guard_local.
63474 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63475 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63476
63477 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
63478
63479 [BZ #15859]
63480 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63481
63482 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63483
63484 * include/string.h (__ffs): Declare as hidden.
63485 * string/ffs.c (__ffs): Define as hidden.
63486 * sysdeps/i386/ffs.c (__ffs): Likewise.
63487 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63488 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63489 * sysdeps/s390/ffs.c (__ffs): Likewise.
63490 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63491
63492 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
63493
63494 * NEWS: Mention malloc probes.
63495
63496 * malloc/arena.c (new_heap): New memory_heap_new probe.
63497 (grow_heap): New memory_heap_more probe.
63498 (shrink_heap): New memory_heap_less probe.
63499 (heap_trim): New memory_heap_free probe.
63500 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63501 (systrim): New memory_sbrk_less probe.
63502 * manual/probes.texi: Document them.
63503
63504 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63505 * manual/probes.texi: Document it.
63506
63507 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63508 (__libc_realloc): Add memory_realloc_retry probe.
63509 (__libc_memalign): Add memory_memalign_retry probe.
63510 (__libc_valloc): Add memory_valloc_retry probe.
63511 (__libc_pvalloc): Add memory_pvalloc_retry probe.
63512 (__libc_calloc): Add memory_calloc_retry probe.
63513 * manual/probes.texi: Document them.
63514
63515 * malloc/arena.c (get_free_list): Add probe
63516 memory_arena_reuse_free_list.
63517 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63518 and memory_arena_reuse.
63519 (arena_get2) [!PER_THREAD]: Likewise.
63520 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63521 memory_arena_reuse_realloc.
63522 * manual/probes.texi: Document them.
63523
63524 * malloc/malloc.c (__libc_free): Add
63525 memory_mallopt_free_dyn_thresholds probe.
63526 (__libc_mallopt): Add multiple memory_mallopt probes.
63527 * manual/probes.texi: Document them.
63528
63529 * malloc/malloc.c: Include stap-probe.h.
63530 (__libc_mallopt): Add memory_mallopt probe.
63531 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63532 * manual/probes.texi: New.
63533 * manual/Makefile (chapters): Add probes.
63534 * manual/threads.texi: Set next node.
63535
63536 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
63537
63538 [BZ #15963, #13985]
63539 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63540 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63541 Add `Chinese' to `nan' entry name.
63542
63543 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63544
63545 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63546 (POLYNOMIAL): Likewise.
63547 (TAYLOR_SINCOS): Likewise.
63548 (TAYLOR_SLOW): Likewise.
63549 (__sin): Use TAYLOR_SINCOS.
63550 (__cos): Likewise.
63551 (slow): Use TAYLOR_SLOW.
63552 (sloww): Likewise.
63553 (bsloww): Likewise.
63554 (csloww): Likewise.
63555
63556 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63557
63558 * stdlib/strtod_l.c: Fix buffer overrun.
63559
63560 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63561
63562 * benchtests/Makefile (bench): Add sincos.
63563 * benchtests/bench-sincos.c: New file.
63564
63565 * math/libm-test.inc (cos_test_data): New test inputs.
63566 (sin_test_data): Likewise.
63567
63568 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63569 macro.
63570 (__sin): Use it.
63571 (__cos): Likewise.
63572 (slow1): Likewise.
63573 (slow2): Likewise.
63574 (sloww1): Likewise.
63575 (sloww2): Likewise.
63576 (bsloww1): Likewise.
63577 (bsloww2): Likewise.
63578 (cslow2): Likewise.
63579 (csloww1): Likewise.
63580 (csloww2): Likewise.
63581
63582 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63583 function.
63584 (__sin): Use it.
63585 (__cos): Likewise.
63586
63587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63588 gotos.
63589 (__cos): Likewise.
63590
63591 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
63592
63593 * config.h.in (HAVE_MIPS_NAN2008): New macro.
63594 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63595 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63596 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63597 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63598 * elf/cache.c (print_entry): Handle the new cache flags.
63599
63600 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63601 Aldy Hernandez <aldyh@redhat.com>
63602
63603 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63604 Change condition to [_SOFT_FLOAT].
63605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63617 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63620 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63621 declaration.
63622
63623 2013-09-18 Joseph Myers <joseph@codesourcery.com>
63624
63625 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63626 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63627 (__longjmp): Use LOAD_GP to load saved GPRs.
63628 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63629 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63630 (__sigsetjmp): Use SAVE_GP to save GPRs.
63631
63632 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63633 Do not append -msoft-float.
63634 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63635
63636 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63637
63638 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63639
63640 2013-09-17 Joseph Myers <joseph@codesourcery.com>
63641
63642 [BZ #15966]
63643 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63644 (_FPU_GETCW): Use initial "__" on variable and field names but not
63645 on macro parameter name.
63646 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
63647 parentheses around reference to macro parameter.
63648
63649 2013-09-13 Richard Sandiford <richard@codesourcery.com>
63650
63651 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63652 prototype.
63653 (ctype_startup): Use uint32_t in cast and sizeof for
63654 ctype->charnames.
63655
63656 2013-09-11 Jia Liu <proljc@gmail.com>
63657
63658 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63659 __daddr_t_defined.
63660 [__FreeBSD__]: Likewise.
63661
63662 2013-09-11 Ondƙej Bílka <neleai@seznam.cz>
63663
63664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63665 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63666 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63667 (strchr): Remove __strchr_sse42 ifunc selection.
63668 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63669 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63670
63671 2013-09-11 Will Newton <will.newton@linaro.org>
63672
63673 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63674 parameter to RES. Remove hardcoded 1000 value.
63675 * benchtests/bench-skeleton.c (main): Pass RES parameter
63676 to TIMING_INIT and multiply result by 1000.
63677
63678 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63679
63680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63681
63682 2013-09-11 Andreas Schwab <schwab@suse.de>
63683
63684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63685 if not defined.
63686 (O_TMPFILE) [__USE_GNU]: Define.
63687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63688 Define.
63689
63690 2013-09-11 Will Newton <will.newton@linaro.org>
63691
63692 [BZ #15857]
63693 * malloc/malloc.c (__libc_memalign): Check the value of bytes
63694 does not overflow.
63695
63696 2013-09-11 Will Newton <will.newton@linaro.org>
63697
63698 [BZ #15856]
63699 * malloc/malloc.c (__libc_valloc): Check the value of bytes
63700 does not overflow.
63701
63702 2013-09-11 Will Newton <will.newton@linaro.org>
63703
63704 [BZ #15855]
63705 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63706 does not overflow.
63707
63708 2013-09-10 Ondƙej Bílka <neleai@seznam.cz>
63709
63710 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63714 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63715
63716 2013-09-10 Allan McRae <allan@archlinux.org>
63717
63718 [BZ #15748]
63719 * manual/arith.texi (Parsing of Floats): Clarify
63720 cross-reference.
63721
63722 [BZ #15849]
63723 * manual/install.texi (Running make install): Mention
63724 --enable-pt-chown.
63725 * INSTALL: Regenerated.
63726
63727 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63728
63729 * csu/init-first.c (_init): Remove the !SHARED condition around
63730 FPU control word initialization.
63731 * elf/dl-support.c (_dl_fpu_control): New variable.
63732 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63733 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63734 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63735 * math/test-fpucw-static.c: New file.
63736 * math/test-fpucw-ieee.c: New file.
63737 * math/test-fpucw-ieee-static.c: New file.
63738 * math/Makefile (tests): Add `test-fpucw-ieee' and
63739 `$(tests-static)'.
63740 (tests-static): New variable.
63741 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63742 dependency to...
63743 [($(build-shared),yes)]
63744 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63745 ... this.
63746 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63747 New dependency.
63748
63749 2013-09-09 Allan McRae <allan@archlinux.org>
63750
63751 [BZ #15939]
63752 * manual/string.texi (Collation Functions): Fix typo in
63753 strcoll example.
63754 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63755
63756 [BZ #15893]
63757 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63758
63759 [BZ #15892]
63760 * libio/memstream.c (open_memstream): Fix memory leak.
63761 * libio/wmemstream.c (open_wmemstream): Likewise.
63762
63763 [BZ #15895]
63764 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63765
63766 2013-09-09 Will Newton <will.newton@linaro.org>
63767
63768 * malloc/Makefile: Add tst-realloc to tests.
63769 * malloc/tst-realloc.c: New file.
63770
63771 2013-09-09 Allan McRae <allan@archlinux.org>
63772
63773 [BZ #15844]
63774 * COPYING: Update from GNU website to fix FSF address.
63775 * COPYING.LIB: Likewise.
63776
63777 2013-09-06 David S. Miller <davem@davemloft.net>
63778
63779 * po/zh_TW.po: Update Chinese (traditional) translation from
63780 translation project.
63781
63782 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63783 Joseph Myers <joseph@codesourcery.com>
63784
63785 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63786 "localeinfo.h".
63787 (obstack_chunk_alloc): New macro.
63788 (obstack_chunk_free): Likewise.
63789 (record_offset): New function.
63790 (init_locale_data): Likewise.
63791 (align_locale_data): Likewise.
63792 (add_locale_empty): Likewise.
63793 (add_locale_raw_data): Likewise.
63794 (add_locale_raw_obstack): Likewise.
63795 (add_locale_string): Likewise.
63796 (add_locale_wstring): Likewise.
63797 (add_locale_uint32): Likewise.
63798 (add_locale_uint32_array): Likewise.
63799 (add_locale_char): Likewise.
63800 (start_locale_structure): Likewise.
63801 (end_locale_structure): Likewise.
63802 (start_locale_prelude): Likewise.
63803 (end_locale_prelude): Likewise.
63804 (write_locale_data): Take locale_file structure rather than an
63805 iovec.
63806 * locale/programs/locfile.h: Include "obstack.h".
63807 (struct locale_file): Change to store locale file contents instead
63808 of header.
63809 (init_locale_data): New prototype.
63810 (align_locale_data): Likewise.
63811 (add_locale_empty): Likewise.
63812 (add_locale_raw_data): Likewise.
63813 (add_locale_raw_obstack): Likewise.
63814 (add_locale_string): Likewise.
63815 (add_locale_wstring): Likewise.
63816 (add_locale_uint32): Likewise.
63817 (add_locale_uint32_array): Likewise.
63818 (add_locale_char): Likewise.
63819 (start_locale_structure): Likewise.
63820 (end_locale_structure): Likewise.
63821 (start_locale_prelude): Likewise.
63822 (end_locale_prelude): Likewise.
63823 (write_locale_data): Update prototype.
63824 * locale/programs/3level.h (struct TABLE): Remove result field.
63825 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63826 Use new locale_file interface.
63827 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63828 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63829 * locale/programs/ld-address.c (address_output): Use new
63830 locale_file interface.
63831 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63832 NO_ADD_LOCALE.
63833 (collate_finish): Don't call collseq_table_finalize.
63834 (collate_output): Use new locale_file interface.
63835 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63836 in file.
63837 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63838 (TABLE): Move defines earlier in file.
63839 (ELEMENT): Likewise.
63840 (DEFAULT): Likewise.
63841 (wctrans_table_add): Move macro and inline function earlier in
63842 file.
63843 (struct wctype_table): Move type earlier in file.
63844 (add_locale_wctype_table): New static prototype.
63845 (struct locale_ctype_t): Use logical types instead of struct iovec
63846 pointers for members.
63847 (ctype_output): Use new locale_file interface.
63848 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63849 new locale_file interface.
63850 (allocate_arrays): Update for use of new locale_file interface.
63851 * locale/programs/ld-identification.c (identification_output): Use
63852 new locale_file interface.
63853 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63854 * locale/programs/ld-messages.c (messages_output): Likewise.
63855 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63856 * locale/programs/ld-name.c (name_output): Likewise.
63857 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63858 * locale/programs/ld-paper.c (paper_output): Likewise.
63859 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63860 * locale/programs/ld-time.c (time_output): Likewise.
63861
63862 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63863
63864 * benchtests/Makefile: Add memrchr benchmark.
63865 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63866 benchmark as memrchr.
63867 * benchtests/bench-memrchr-ifunc.c: New file.
63868 * benchtests/bench-memrchr.c: New file.
63869
63870 2013-09-06 Will Newton <will.newton@linaro.org>
63871
63872 * benchtests/Makefile (string-bench): Add memcpy.
63873
63874 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63875 Cong Wang <amwang@redhat.com>
63876
63877 [BZ #15850]
63878 * sysdeps/unix/sysv/linux/bits/in.h
63879 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63880 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63881 before __USE_KERNEL_IPV6_DEFS uses.
63882 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63883 IPPROTO_BEETPH.
63884 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63885 sockaddr_in6, or ipv6_mreq.
63886
63887 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63888
63889 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63890 memory access for final bytes in some large inputs.
63891 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63892
63893 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63894
63895 * string/test-memrchr.c: New file.
63896 * string/test-memrchr-ifunc.c: New file.
63897 * string/Makefile: Add new memrchr testcase.
63898
63899 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63900
63901 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63902 fanotify_init returns EPERM.
63903
63904 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63905
63906 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63907 errors.
63908 (top level): Treat second token from macro or constant entries for
63909 allowed headers as allowed.
63910 * include/complex.h: Condition internal declarations on
63911 [!_ISOMAC].
63912 * include/fenv.h: Condition include of <stdbool.h> and internal
63913 declarations on [!_ISOMAC].
63914
63915 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63916
63917 [BZ #15923]
63918 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63919
63920 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63921
63922 * configure.in (--enable-versioning): Remove configure option.
63923 (libc_cv_asm_symver_directive): Remove configure test.
63924 (libc_cv_ld_version_script_option): Likewise.
63925 (VERSIONING): Remove variable and AC_SUBST.
63926 (DO_VERSIONING): Remove AC_DEFINE.
63927 * configure: Regenerated.
63928 * config.h.in (DO_VERSIONING): Remove macro.
63929 * Makerules [$(versioning) = yes]: Change conditionals to
63930 [$(build-shared) = yes].
63931 * config.make.in (versioning): Remove variable.
63932 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63933 [$(build-shared) = yes].
63934 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63935 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63936 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63937 [$(build-shared) = yes].
63938 * extra-lib.mk [$(versioning) = yes]: Likewise.
63939 * hurd/Makefile [$(versioning) = yes]: Likewise.
63940 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63941 [SHARED].
63942 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63943 [SHARED].
63944 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63945 [SHARED && !NO_HIDDEN].
63946 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63947 [SHARED].
63948 [SHARED && DO_VERSIONING]: Likewise..
63949 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63950 [$(build-shared) = yes].
63951 * manual/install.texi (--disable-versioning): Remove
63952 documentation.
63953 * INSTALL: Regenerated.
63954 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63955 to [SHARED].
63956 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63957 [$(build-shared) = yes].
63958 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63959 * sysdeps/i386/i686/multiarch/strstr-c.c
63960 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63961 [SHARED && !NO_HIDDEN].
63962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63963 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63964 * sysdeps/powerpc/powerpc32/dl-machine.c
63965 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63966 * sysdeps/powerpc/powerpc32/sysdep.h
63967 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63968 to [SHARED && PIC && !NO_HIDDEN].
63969 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63970 conditional to [SHARED].
63971
63972 2013-09-04 Will Newton <will.newton@linaro.org>
63973
63974 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63975 * benchtests/bench-string.h: Include bench-timing.h instead
63976 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63977 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63978 call to HP_TIMING_DIFF_INIT.
63979 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63980 instead of hp-timing.h macros.
63981 * benchtests/bench-memchr.c: Likewise.
63982 * benchtests/bench-memcmp.c: Likewise.
63983 * benchtests/bench-memcpy.c: Likewise.
63984 * benchtests/bench-memmem.c: Likewise.
63985 * benchtests/bench-memmove.c: Likewise.
63986 * benchtests/bench-memset.c: Likewise.
63987 * benchtests/bench-rawmemchr.c: Likewise.
63988 * benchtests/bench-strcasecmp.c: Likewise.
63989 * benchtests/bench-strcasestr.c: Likewise.
63990 * benchtests/bench-strcat.c: Likewise.
63991 * benchtests/bench-strchr.c: Likewise.
63992 * benchtests/bench-strcmp.c: Likewise.
63993 * benchtests/bench-strcpy.c: Likewise.
63994 * benchtests/bench-strcpy_chk.c: Likewise.
63995 * benchtests/bench-strlen.c: Likewise.
63996 * benchtests/bench-strncasecmp.c: Likewise.
63997 * benchtests/bench-strncat.c: Likewise.
63998 * benchtests/bench-strncmp.c: Likewise.
63999 * benchtests/bench-strncpy.c: Likewise.
64000 * benchtests/bench-strnlen.c: Likewise.
64001 * benchtests/bench-strpbrk.c: Likewise.
64002 * benchtests/bench-strrchr.c: Likewise.
64003 * benchtests/bench-strspn.c: Likewise.
64004 * benchtests/bench-strstr.c: Likewise.
64005
64006 2013-09-04 Will Newton <will.newton@linaro.org>
64007
64008 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64009
64010 2013-09-03 Joseph Myers <joseph@codesourcery.com>
64011
64012 [BZ #15427]
64013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64014 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64015 * math/libm-test.inc (lgamma_test_data): Add more tests.
64016 * sysdeps/i386/fpu/libm-test-ulps: Update.
64017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64018
64019 2013-09-03 Ondƙej Bílka <neleai@seznam.cz>
64020
64021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64023 Add ifunc.
64024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64025 Add strcmp-sse2-unaligned
64026 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64027
64028 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64029
64030 * Versions.def (libc): Add GLIBC_2.19.
64031
64032 2013-09-02 Mike Frysinger <vapier@gentoo.org>
64033
64034 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64035 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64036
64037 2013-09-02 Joseph Myers <joseph@codesourcery.com>
64038
64039 [BZ #14155]
64040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64041 intermediate calculations in recurrence.
64042 (__ieee754_ynf): Likewise.
64043 * math/libm-test.inc (jn_test_data): Do not allow spurious
64044 underflow exception. Add more tests.
64045 (yn_test_data): Add more tests.
64046 * sysdeps/i386/fpu/libm-test-ulps: Update.
64047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64048
64049 2013-09-02 Ondƙej Bílka <neleai@seznam.cz>
64050
64051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64052
64053 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
64054
64055 * csu/init-first.c: Fix then/than typos.
64056 * locale/programs/ld-collate.c: Likewise.
64057 * locale/programs/linereader.h: Likewise.
64058 * manual/charset.texi: Likewise.
64059 * manual/filesys.texi: Likewise.
64060 * manual/stdio.texi: Likewise.
64061 * manual/string.texi: Likewise.
64062 * stdlib/fmtmsg.c: Likewise.
64063 * sysdeps/i386/stpncpy.S: Likewise.
64064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64065 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64067 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64068
64069 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
64070
64071 * elf/dl-open.c: Fix typos.
64072 * iconvdata/gbbig5.c: Likewise.
64073 * iconvdata/iso-2022-jp.c: Likewise.
64074 * iconv/gconv_int.h: Likewise.
64075 * iconv/loop.c: Likewise.
64076 * nis/rpcsvc/nis.h: Likewise.
64077 * resolv/ns_name.c: Likewise.
64078 * stdio-common/vfscanf.c: Likewise.
64079 * streams/stropts.h: Likewise.
64080 * sunrpc/rpc_thread.c: Likewise.
64081 * sysdeps/i386/strpbrk.S: Likewise.
64082 * sysdeps/ieee754/k_standard.c: Likewise.
64083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64085 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64086 * sysdeps/mach/hurd/profil.c: Likewise.
64087 * sysdeps/s390/dl-procinfo.h: Likewise.
64088 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64090 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64091 * sysdeps/x86_64/dl-trampoline.S: Likewise.
64092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64093
64094 2013-08-30 Ondƙej Bílka <neleai@seznam.cz>
64095
64096 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64098
64099 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
64100
64101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64102 aix specific files.
64103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64105 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64106 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64107 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64108 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64109 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64110 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64111
64112 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64113 Roland McGrath <roland@hack.frob.com>
64114
64115 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64116 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64117
64118 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
64119
64120 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64121 __executable_start symbol instead of _start.
64122
64123 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
64124
64125 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64126 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64127 Move macros to...
64128 * sysdeps/gnu/ldsodefs.h: ... this new file.
64129
64130 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64131 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64132 instead of ELFOSABI_LINUX.
64133
64134 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64135 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64136 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64137 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64138 Likewise.
64139 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64140 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64141 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64142 Likewise.
64143 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64144 (ibm_extended_long_double): Add ieee_nan member.
64145 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64146 (do_test): New function.
64147
64148 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64149 TEST_TRUNC.
64150 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64151 functions, renamed from truncdfsf_test, trunctfsf_test,
64152 trunctfdf_test.
64153 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64154 functions.
64155 (do_test): Run all these.
64156
64157 2013-08-29 Ondƙej Bílka <neleai@seznam.cz>
64158
64159 * argp/argp-help.c: Fix typos.
64160 * argp/argp-parse.c: Likewise.
64161 * debug/backtracesyms.c: Likewise.
64162 * elf/elf.h: Likewise.
64163 * malloc/malloc.c: Likewise.
64164 * nis/nis_print.c: Likewise.
64165 * resolv/res_comp.c: Likewise.
64166 * stdlib/stdlib.h: Likewise.
64167 * sunrpc/clnt_tcp.c: Likewise.
64168 * sunrpc/clnt_udp.c: Likewise.
64169 * sunrpc/clnt_unix.c: Likewise.
64170 * sysdeps/unix/bsd/ptsname.c: Likewise.
64171 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64174 Likewise.
64175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64176 Likewise.
64177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64178 Likewise.
64179 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64180
64181 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
64182
64183 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64185
64186 2013-08-27 Mike Frysinger <vapier@gentoo.org>
64187
64188 [BZ #15897]
64189 * dlfcn/Makefile (tests): Add bug-dl-leaf.
64190 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64191 ($(objpfx)bug-dl-leaf): New rule.
64192 ($(objpfx)bug-dl-leaf.so): Likewise.
64193 ($(objpfx)bug-dl-leaf.out): Likewise.
64194 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64195 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64196 * dlfcn/bug-dl-leaf.c: New test.
64197 * dlfcn/bug-dl-leaf-lib.c: Likewise.
64198 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64199 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64200 (dlclose): Likewise.
64201 (dlmopen): Likewise.
64202
64203 2013-08-27 Roland McGrath <roland@hack.frob.com>
64204
64205 * include/netdb.h [!_ISOMAC]:
64206 Don't include <tls.h>.
64207 (h_errno, __libc_h_errno): Move declaration and macros out of
64208 [_LIBC_REENTRANT].
64209
64210 * include/resolv.h [_RESOLV_H_]:
64211 Don't include <tls.h>.
64212 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64213 * resolv/res_libc.c: Don't include <tls.h>.
64214 (_res): Use __attribute__ ((nocommon)) in place of
64215 __attribute__ ((section (".bss"))).
64216
64217 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64218 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64219
64220 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64221
64222 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64223 only under [SIOCGIFCONF && SIOCGIFNETMASK].
64224
64225 * resolv/res_mkquery.c: Include <sys/time.h>.
64226
64227 * inet/ifreq.c: Moved to ...
64228 * sysdeps/unix/ifreq.c: ... here.
64229 * inet/ifreq.c: New file, true stub version.
64230
64231 * socket/sa_len.c: New file.
64232 * socket/Makefile (aux): Add it.
64233 * sysdeps/unix/sysv/linux/Makefile
64234 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64235 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64236 and #include <socket/sa_len.c>.
64237 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64238 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64239
64240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64241 * bits/socket.h: ... here.
64242
64243 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64244 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64245 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64246
64247 2013-08-27 Andreas Schwab <schwab@suse.de>
64248
64249 [BZ #15736]
64250 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64251 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64252 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64253 * string/test-strcasecmp.c (test_main): Run tests in several
64254 locales.
64255 * string/test-strncasecmp.c (test_main): Likewise.
64256
64257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64258 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64259 to __strcasecmp_nonascii and __strncasecmp_nonascii.
64260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64261 (__strncasecmp_ssse3) [PIC]: Likewise.
64262
64263 2013-08-26 Roland McGrath <roland@hack.frob.com>
64264
64265 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64266
64267 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64268 instead of explicitly declaring xdecrypt.
64269 * nis/nss_nis/nis-publickey.c: Likewise.
64270
64271 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64272
64273 [BZ #15890]
64274 * nscd/aicache.c: Include res_hconf.h.
64275 (addhstaiX): Initialize res_hconf.
64276
64277 2013-08-26 Andreas Schwab <schwab@suse.de>
64278
64279 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64280 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64281
64282 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64283
64284 * nscd/aicache.c (addhstaiX): Fix indentation.
64285
64286 2013-08-25 Mike Frysinger <vapier@gentoo.org>
64287
64288 * configure.ac: Quote $build_pt_chown test.
64289 * configure: Regenerated.
64290
64291 2013-08-23 Joseph Myers <joseph@codesourcery.com>
64292
64293 [BZ #15532]
64294 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64295 * math/s_cexpf.c (__cexpf): Likewise.
64296 * math/s_cexpl.c (__cexpl): Likewise.
64297 * math/libm-test.inc (cexp_test_data): Correct expected return
64298 value for NaN + i0. Add another test.
64299
64300 2013-08-22 David S. Miller <davem@davemloft.net>
64301
64302 * po/ca.po: Update Catalan translation from translation project.
64303 * po/uk.po: Add Ukrainian translations from translation project.
64304
64305 2013-08-21 Joseph Myers <joseph@codesourcery.com>
64306
64307 [BZ #15797]
64308 * math/s_fdim.c (__fdim): Check for infinite arguments if result
64309 is infinite, not alongside NaN test.
64310 * math/s_fdimf.c (__fdimf): Likewise.
64311 * math/s_fdiml.c (__fdiml): Likewise.
64312 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
64313 errno is unchanged.
64314
64315 2013-08-21 Ondƙej Bílka <neleai@seznam.cz>
64316
64317 * argp/argp-help.c: Fix typos.
64318 * crypt/speeds.c: Likewise.
64319 * csu/check_fds.c: Likewise.
64320 * elf/dl-load.c: Likewise.
64321 * elf/dl-open.c: Likewise.
64322 * elf/reldep3.c: Likewise.
64323 * elf/reldep.c: Likewise.
64324 * elf/sprof.c: Likewise.
64325 * iconv/iconv_charmap.c: Likewise.
64326 * iconv/skeleton.c: Likewise.
64327 * iconv/strtab.c: Likewise.
64328 * io/lockf64.c: Likewise.
64329 * libio/libioP.h: Likewise.
64330 * resolv/gai_notify.c: Likewise.
64331 * resolv/ns_name.c: Likewise.
64332 * resolv/ns_samedomain.c: Likewise.
64333 * resolv/res_send.c: Likewise.
64334 * stdlib/random.c: Likewise.
64335 * sunrpc/rpc/xdr.h: Likewise.
64336 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64337 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64338 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64339 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64340 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64341 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64344 * sysdeps/mach/hurd/check_fds.c: Likewise.
64345 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64346 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64349 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64351 * sysdeps/pthread/aio_notify.c: Likewise.
64352 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64353 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64354 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64356 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64357
64358 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64359
64360 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64361 version if bit_Slow_SSE4_2 is set.
64362 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64363 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64364
64365 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64366
64367 [BZ #15867]
64368 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64369 trampoline stack frame information.
64370 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64371 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64372 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64373 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64374 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64375 * sysdeps/unix/sysv/linux/powerpc/init-first.c
64376 (_libc_vdso_platform_setup): Initialize the signal trampolines.
64377 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64378 sa_flags value.
64379 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64380 interrupting a syscall and set with option SA_SIGINFO.
64381
64382 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64383
64384 [BZ #15531]
64385 * math/s_cproj.c (__cproj): Only return an infinity if one part of
64386 argument is infinite.
64387 * math/s_cprojf.c (__cprojf): Likewise.
64388 * math/s_cprojl.c (__cprojl): Likewise.
64389 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64390 * math/libm-test.inc (cproj_test_data): Add more tests.
64391
64392 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64393
64394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64395 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64396 size. Use __ffs to determine corresponding shift.
64397
64398 2013-08-20 Joseph Myers <joseph@codesourcery.com>
64399 Roland McGrath <roland@hack.frob.com>
64400
64401 * Makefile (INSTALL): Remove trailing blank lines from output of
64402 makeinfo.
64403
64404 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64405
64406 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64407 Align 32 bit compat elf_greg to 8 bytes.
64408
64409 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
64410
64411 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64412
64413 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64414
64415 * string/strcoll_l.c (coll_seq): New structure.
64416 (get_next_seq_cached): New function.
64417 (get_next_seq): New function.
64418 (do_compare): New function.
64419 (STRCOLL): Use GNU style definition. Simplify implementation
64420 by using get_next_seq, get_next_seq_cached and do_compare.
64421
64422 2013-08-16 Florian Weimer <fweimer@redhat.com>
64423
64424 [BZ #14699]
64425 CVE-2013-4237
64426 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64427 member.
64428 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64429 member.
64430 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64431 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64432 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
64433 conditional.
64434 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64435 GETDENTS_64BIT_ALIGNED.
64436 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64437 * manual/filesys.texi (Reading/Closing Directory): Document
64438 ENAMETOOLONG return value of readdir_r. Recommend readdir more
64439 strongly.
64440 * manual/conf.texi (Limits for Files): Add portability note to
64441 NAME_MAX, PATH_MAX.
64442 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64443
64444 2013-08-13 Andreas Schwab <schwab@suse.de>
64445
64446 [BZ #15749]
64447 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64448 of fabs.
64449 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64450 LDBL_MAX_EXP >= 16384]: Add tests for it.
64451
64452 2013-08-12 David S. Miller <davem@davemloft.net>
64453
64454 * version.h (RELEASE): Set to "development".
64455 (VERSION): Set to "2.18.90".
64456 * NEWS: Add 2.19 section.
64457
64458 2013-08-03 David S. Miller <davem@davemloft.net>
64459
64460 * po/ko.po: Update Korean translation from translation project.
64461
64462 2013-08-01 David S. Miller <davem@davemloft.net>
64463
64464 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
64465 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64466 Bilka.
64467
64468 2013-07-30 David S. Miller <davem@davemloft.net>
64469
64470 * po/fr.po: Update French translation from translation project.
64471
64472 2013-07-28 David S. Miller <davem@davemloft.net>
64473
64474 * po/cs.po: Update Czech translation from translation project.
64475
64476 * po/sv.po: Update Swedish translation from translation project.
64477
64478 2013-07-27 David S. Miller <davem@davemloft.net>
64479
64480 * po/eo.po: Update Esperanto translation from translation project.
64481
64482 * po/vi.po: Update Vietnamese translation from translation project.
64483
64484 * po/de.po: Update German translation from translation project.
64485
64486 2013-07-26 David S. Miller <davem@davemloft.net>
64487
64488 * po/bg.po: Update Bulgarian translation from translation project.
64489
64490 * po/nl.po: Update Dutch translation from translation project.
64491 * po/pl.po: Update Polish translation from translation project.
64492 * po/ru.po: Update Russian translation from translation project.
64493
64494 2013-07-24 David S. Miller <davem@davemloft.net>
64495
64496 * po/libc.pot: Update.
64497
64498 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64499
64500 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64501 variable page size.
64502 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64503 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64504 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64505
64506 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64507
64508 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64509
64510 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
64511 Andreas Schwab <schwab@suse.de>
64512 Roland McGrath <roland@hack.frob.com>
64513 Joseph Myers <joseph@codesourcery.com>
64514 Carlos O'Donell <carlos@redhat.com>
64515
64516 [BZ #15755]
64517 * config.h.in: Define HAVE_PT_CHOWN.
64518 * config.make.in (build-pt-chown): New variable.
64519 * configure.in (--enable-pt_chown): New configure option.
64520 * configure: Regenerate.
64521 * login/Makefile: Include Makeconfig. Build pt_chown only if
64522 build-pt-chown is enabled.
64523 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64524 pt_chown to fix pty ownership.
64525 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64526 CLOSE_ALL_FDS.
64527 * manual/install.texi (Configuring and compiling): Mention
64528 --enable-pt_chown. Add @findex for grantpt.
64529 * INSTALL: Regenerate.
64530
64531 2013-07-20 David S. Miller <davem@davemloft.net>
64532
64533 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64534 difference between 32-bit and 64-bit.
64535
64536 2013-07-15 Carlos O'Donell <carlos@redhat.com>
64537
64538 [BZ #15711]
64539 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64540 Avoid system header dependency with -ffreestanding.
64541 ($(objpfx)bits/syscall%d): Likewise.
64542
64543 2013-07-13 David S. Miller <davem@davemloft.net>
64544
64545 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64546 underflows from atanl/atan2l due to bug 15319.
64547 (casinh_test_data): Likewise.
64548
64549 2013-07-07 David S. Miller <davem@davemloft.net>
64550
64551 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64552
64553 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
64554
64555 * sysdeps/i386/fpu/libm-test-ulps: Update.
64556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64557
64558 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64559
64560 * configure.in (--enable-lock-elision): Fix message text.
64561 * INSTALL: Regenerate.
64562 * configure: Regenerate.
64563
64564 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64565
64566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64567
64568 2013-07-03 Andreas Jaeger <aj@suse.de>
64569
64570 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64571 define.
64572 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64573 (ptrace_peeksiginfo_args): Add.
64574 (__ptrace_peeksiginfo_flags): Add.
64575 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64578
64579 2013-07-03 Allan McRae <allan@archlinux.org>
64580
64581 * sysdeps/i386/fpu/libm-test-ulps: Update.
64582
64583 2013-07-02 David S. Miller <davem@davemloft.net>
64584
64585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64586
64587 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
64588
64589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64590
64591 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64592
64593 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64595
64596 2013-07-02 Andi Kleen <ak@linux.intel.com>
64597
64598 * config.h.in (ENABLE_LOCK_ELISION): Add.
64599 * configure.in (--enable-lock-elision): Add option.
64600 * manual/install.texi: Document --enable lock elision.
64601 * configure: Regenerate
64602 * INSTALL: Regenerate.
64603
64604 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
64605
64606 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64607 SSE4.2 strcasecmp for libc.a.
64608 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64609
64610 2013-07-02 Joseph Myers <joseph@codesourcery.com>
64611
64612 [BZ #13304]
64613 * soft-fp/op-common.h (_FP_FMA): New macro.
64614 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64615 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
64616 (_FP_MUL_MEAT_1_imm): ... here.
64617 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
64618 (_FP_MUL_MEAT_1_wide): ... here.
64619 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
64620 (_FP_MUL_MEAT_1_hard): ... here.
64621 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64622 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
64623 (_FP_MUL_MEAT_2_wide): ... here.
64624 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
64625 (_FP_MUL_MEAT_2_wide_3mul): ... here.
64626 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
64627 (_FP_MUL_MEAT_2_gmp): ... here.
64628 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64629 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
64630 (_FP_MUL_MEAT_4_wide): ... here.
64631 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
64632 (_FP_MUL_MEAT_4_gmp): ... here.
64633 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64634 (_FP_WFRACBITS_DW_S): Likewise.
64635 (_FP_WFRACXBITS_DW_S): Likewise.
64636 (_FP_HIGHBIT_DW_S): Likewise.
64637 (FP_FMA_S): Likewise.
64638 (_FP_FRAC_HIGH_DW_S): Likewise.
64639 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64640 (_FP_WFRACBITS_DW_D): Likewise.
64641 (_FP_WFRACXBITS_DW_D): Likewise.
64642 (_FP_HIGHBIT_DW_D): Likewise.
64643 (FP_FMA_D): Likewise.
64644 (_FP_FRAC_HIGH_DW_D): Likewise.
64645 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64646 (_FP_WFRACBITS_DW_E): Likewise.
64647 (_FP_WFRACXBITS_DW_E): Likewise.
64648 (_FP_HIGHBIT_DW_E): Likewise.
64649 (FP_FMA_E): Likewise.
64650 (_FP_FRAC_HIGH_DW_E): Likewise.
64651 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64652 (_FP_WFRACBITS_DW_Q): Likewise.
64653 (_FP_WFRACXBITS_DW_Q): Likewise.
64654 (_FP_HIGHBIT_DW_Q): Likewise.
64655 (FP_FMA_Q): Likewise.
64656 (_FP_FRAC_HIGH_DW_Q): Likewise.
64657 * soft-fp/fmasf4.c: New file.
64658 * soft-fp/fmadf4.c: Likewise.
64659 * soft-fp/fmatf4.c: Likewise.
64660
64661 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64662
64663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64664 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64665 Silvermont.
64666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64667 macro.
64668 (index_Slow_SSE4_2): Likewise.
64669 (index_Prefer_PMINUB_for_stringop): Likewise.
64670 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64671 bit_Slow_SSE4_2 is set.
64672 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64673 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64674
64675 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64676
64677 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64678 rtld_global._dl_hwcap2.
64679 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64680 POWER8.
64681 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64682 POWER8 feature descriptions defined in _dl_hwcap2.
64683 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64684 string handling for POWER8 feature bits.
64685 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64686 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64687 _dl_powerpc_cap_flags.
64688 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64689 * sysdeps/powerpc/rtld-global-offsets.sym
64690 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64691 _dl_hwcap2 in the rtld_global_ro structure.
64692
64693 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64694
64695 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64696 hardware capabilities in support of AT_HWCAP2.
64697 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64698 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64699 GLRO(dl_hwcap2).
64700 (_dl_show_auxv): Add support for calling _dl_procinfo to display
64701 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
64702 explicitly the unknown a_type display mechanism is used.
64703 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64704 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64705 struct member.
64706 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64707 to macro prototype for AT_HWCAP2 support.
64708 * sysdeps/i386/dl-procinfo.h: Likewise.
64709 * sysdeps/s390/dl-procinfo.h: Likewise.
64710 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64711 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
64712 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
64713 return -1 for unknown a_type display fallback.
64714 * sysdeps/sparc/dl-procinfo.h: Likewise.
64715 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64716 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64717
64718 2013-06-28 Joseph Myers <joseph@codesourcery.com>
64719
64720 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64721 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64722
64723 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64724
64725 [BZ #12492]
64726 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64727 mprotect making __stack_prot writable.
64728
64729 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64730 Joseph Myers <joseph@codesourcery.com>
64731
64732 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64733 as being properly aligned.
64734
64735 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64736
64737 * dlfcn/modstatic5.c: New file.
64738 * dlfcn/tststatic5.c: New file.
64739 * dlfcn/Makefile (tests): Add tststatic5.
64740 (tests-static): Likewise.
64741 (modules-names): Add modstatic5.
64742 (tststatic5-ENV): New variable.
64743 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64744
64745 [BZ #15022]
64746 * elf/dl-support.c (_dl_main_map): New variable.
64747 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64748 (_dl_nns, _dl_load_adds): Set to 1.
64749 (_dl_initial_searchlist): Refer to _dl_main_map.
64750 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64751 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64752 call to _dl_get_origin.
64753 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64754 around call_map.
64755 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64756 * dlfcn/modstatic3.c: New file.
64757 * dlfcn/tststatic3.c: New file.
64758 * dlfcn/tststatic4.c: New file.
64759 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64760 (tests-static): Likewise.
64761 (modules-names): Add modstatic3.
64762 (tststatic3-ENV, tststatic4-ENV): New variables.
64763 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64764 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64765
64766 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64767
64768 * configure.in (CC): Require GCC version 4.4 or later.
64769 * configure: Regenerated.
64770 * manual/install.texi (Tools for Compilation): Update GCC version
64771 requirement.
64772 * INSTALL: Regenerated.
64773
64774 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64775
64776 [BZ #15674]
64777 * string/test-memcmp.c (check2): New.
64778 (main): Call check2.
64779
64780 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64781
64782 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64783
64784 [BZ #15022]
64785 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64786 over to...
64787 (dl_open_worker) [!SHARED]: ... here.
64788
64789 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64790
64791 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64792
64793 2013-06-25 Richard Henderson <rth@redhat.com>
64794
64795 * locale/programs/locarchive.c: Include <libc-internal.h>
64796
64797 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64798
64799 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64800 trailing whitespace removed.
64801
64802 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64803
64804 [BZ #10283]
64805 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64806 * locale/programs/locarchive.c: Include libc-mmap.h.
64807 (prepare_address_space): Take two new outputs (the mmap base and len).
64808 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64809 values.
64810 (create_archive): Declare new mmap base and len values for
64811 prepare_address_space, and store the result in ah.
64812 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64813 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64814 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64815 Declare new mmap base and len values for
64816 prepare_address_space, and store the result in new_ah.
64817 (open_archive): Declare new mmap base and len values for
64818 prepare_address_space, and store the result in ah.
64819 (close_archive): If ah->mmap_base is not NULL, use that and
64820 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64821 * sysdeps/generic/libc-mmap.h: New file.
64822
64823 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64824
64825 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64826 (ALIGN_UP): Likewise.
64827 (PTR_ALIGN_DOWN): Likewise.
64828 (PTR_ALIGN_UP): Likewise.
64829
64830 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64831
64832 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64833 entry mapped to PPC_PLATFORM_POWER8.
64834 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64835 POWER8.
64836 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64837 (_dl_string_platform): Add case for exporting platform position for
64838 POWER8.
64839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64840 search path to sysdeps/powerpc/powerpc32/power8 directory.
64841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64842 search path to sysdeps/powerpc/powerpc64/power8 directory.
64843 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64844 power7 directories.
64845 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64846 power7 directories.
64847
64848 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64849
64850 * INSTALL: Regenerate.
64851
64852 * nscd/connections.c (nscd_init): Fix comment.
64853
64854 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64855
64856 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64857
64858 [BZ #15667]
64859 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64860 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64861
64862 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64863
64864 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64865 DL_DST_REQ_STATIC.
64866 (DL_DST_REQ_STATIC): Remove macro.
64867
64868 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64869
64870 [BZ #7006]
64871 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64872 with a shift of 0 bits.
64873
64874 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64875
64876 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64877 $(tststatic-ENV).
64878
64879 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64880
64881 [BZ #15655]
64882 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64883
64884 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64885
64886 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64887 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64888 accepts -fno-tree-loop-distribute-patterns.
64889 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64890 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64891 recursive call.
64892 * string/memset.c (memset): Likewise.
64893 * string/test-memmove.c (simple_memmove): Disable loop transformation
64894 to library calls.
64895 * string/test-memset.c (simple_memset): Likewise.
64896 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64897 * benchtests/bench-memset.c (simple_memset): Likewise.
64898 * configure: Regenerated.
64899
64900 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64901
64902 * math/test-misc.c (main): Ignore fesetround failure when failures
64903 of subsequent rounding tests would be ignored.
64904
64905 [BZ #15654]
64906 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64907 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64908 * math/fegetenv.c (__fegetenv): Return 0.
64909 * math/fegetexcept.c (fegetexcept): Return 0.
64910 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64911 FE_TONEAREST.
64912 * math/feholdexcpt.c (feholdexcept): Return 0.
64913 * math/fesetenv.c (__fesetenv): Return 0.
64914 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64915 argument FE_TONEAREST.
64916 * math/feupdateenv.c (__feupdateenv): Return 0.
64917 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64918
64919 2013-06-18 Roland McGrath <roland@hack.frob.com>
64920
64921 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64922 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64923 ($(objpfx)rtld-%.os rules): Use them.
64924
64925 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64926
64927 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64928 fields.
64929
64930 2013-06-17 Roland McGrath <roland@hack.frob.com>
64931
64932 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64933 length of target pattern, then descending length of dependency pattern.
64934 * configure.in (AWK): Require gawk 3.1.2 or newer.
64935 * manual/install.texi (Tools for Compilation): Say that we do.
64936 * configure: Regenerated.
64937
64938 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64939 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64940 * scripts/sysd-rules.awk: ... this new script.
64941 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64942 than a glob-style pattern.
64943
64944 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64945
64946 * math/test-misc.c (main): Do not treat incorrectly rounded
64947 conversions as failure unless ROUNDING_TESTS passes.
64948
64949 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64950
64951 [BZ #15631]
64952 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64953 restore exception state around main square root computation, then
64954 check for inexactness explicitly.
64955
64956 * math/libm-test.inc (fma_test_data): Add another test.
64957
64958 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64959
64960 * manual/threads.texi (Non-POSIX Extensions): New document
64961 node. Document pthread_getattr_default_np and
64962 pthread_setattr_default_np.
64963
64964 * Versions.def (libpthread): Add GLIBC_2.18.
64965 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64967 Likewise.
64968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64969 Likewise.
64970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64971 Likewise.
64972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64973 Likewise.
64974 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64975 Likewise.
64976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64977 Likewise.
64978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64979 Likewise.
64980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64981 Likewise.
64982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64983 Likewise.
64984
64985 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64986
64987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64988 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64989
64990 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64991 H.J. Lu <hjl.tools@gmail.com>
64992
64993 [BZ #15627]
64994 * sysdeps/x86_64/rtld-memset.c: Remove file.
64995 * sysdeps/x86_64/rtld-memset.S: New file.
64996
64997 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64998
64999 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65000 (test_in_one_mode): Take arguments for whether the rounding mode
65001 is supported for each floating-point type.
65002 (do_test): Pass new arguments to test_in_one_mode using
65003 ROUNDING_TESTS.
65004
65005 2013-06-13 Roland McGrath <roland@hack.frob.com>
65006
65007 * posix/tst-waitid.c (do_test): Distinguish different instances of
65008 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
65009 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65010 before entering the kernel for waitpid.
65011
65012 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65013
65014 * NEWS: Fix note on clock function precision. Text by Roland
65015 McGrath.
65016
65017 2013-06-13 Roland McGrath <roland@hack.frob.com>
65018
65019 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65020 it into place only when and if the sanity check passes.
65021
65022 2013-06-13 Joseph Myers <joseph@codesourcery.com>
65023
65024 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65025 output for whether conversion result is exact. Take argument
65026 indicating whether type is IBM long double.
65027 (round_for_all): Change need_exact field to ibm_ld.
65028 * stdlib/tst-strtod-round.c (struct exactness): New type.
65029 (struct test): Change bool ld_ok field to struct exactness exact.
65030 (TEST): Update all definitions for change to field.
65031 (tests): Regenerate array contents.
65032 (test_in_one_mode): Take pointer to new field instead of old ld_ok
65033 field value. Check for IBM long double here.
65034 (do_test): Update calls to test_in_one_mode.
65035
65036 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
65037
65038 [BZ #12515]
65039 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65040 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65041
65042 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65043
65044 [BZ #15605]
65045 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65046 generated by the compiler on loop optimizations.
65047 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65048 general definitions.
65049
65050 2013-06-12 Joseph Myers <joseph@codesourcery.com>
65051
65052 * math/bug-nextafter.c: Include <math-tests.h>.
65053 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65054 the relevant type.
65055 * math/bug-nexttoward.c: Include <math-tests.h>.
65056 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65057 the relevant type.
65058 * math/test-misc.c: Include <math-tests.h>.
65059 (main): Only test for exceptions if EXCEPTION_TESTS is true for
65060 the relevant type.
65061
65062 2013-06-12 Andreas Jaeger <aj@suse.de>
65063
65064 * po/ia.po: Update Interlingua translation from translation
65065 project.
65066
65067 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
65068
65069 * include/fenv.h: Include stdbool.h.
65070 (struct rm_ctx): New structure.
65071 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65072 Define macro.
65073 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65074 (SET_RESTORE_ROUNDF): Likewise.
65075 (SET_RESTORE_ROUNDL): Likewise.
65076 (SET_RESTORE_ROUND_NOEX): Likewise.
65077 (SET_RESTORE_ROUND_NOEXF): Likewise.
65078 (SET_RESTORE_ROUND_NOEXL): Likewise.
65079 (SET_RESTORE_ROUND_53BIT): Likewise.
65080 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65081 (libc_feresetround_noexf_ctx): Likewise.
65082 (libc_feresetround_noexl_ctx): Likewise.
65083 (libc_feholdsetround_53bit_ctx): Likewise.
65084 (libc_feresetround_53bit_ctx): Likewise.
65085 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65086 (libc_feholdexcept_setround_sse_ctx): New function.
65087 (libc_fesetenv_sse_ctx): Likewise.
65088 (libc_feupdateenv_sse_ctx): Likewise.
65089 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65090 (libc_feholdexcept_setround_387_ctx): Likewise.
65091 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65092 (libc_feholdsetround_387_prec_ctx): Likewise.
65093 (libc_feholdsetround_387_ctx): Likewise.
65094 (libc_feholdsetround_387_53bit_ctx): Likewise.
65095 (libc_feholdsetround_sse_ctx): Likewise.
65096 (libc_feresetround_sse_ctx): Likewise.
65097 (libc_feresetround_387_ctx): Likewise.
65098 (libc_feupdateenv_387_ctx): Likewise.
65099 (libc_feholdexcept_setroundf_ctx): Define macro.
65100 (libc_fesetenvf_ctx): Likewise.
65101 (libc_feupdateenvf_ctx): Likewise.
65102 (libc_feholdsetroundf_ctx): Likewise.
65103 (libc_feresetroundf_ctx): Likewise.
65104 (libc_feholdexcept_setround_ctx): Likewise.
65105 (libc_fesetenv_ctx): Likewise.
65106 (libc_feupdateenv_ctx): Likewise.
65107 (libc_feholdsetround_ctx): Likewise.
65108 (libc_feresetround_ctx): Likewise.
65109 (libc_feholdexcept_setroundl_ctx): Likewise.
65110 (libc_feupdateenvl_ctx): Likewise.
65111 (libc_feholdsetroundl_ctx): Likewise.
65112 (libc_feresetroundl_ctx): Likewise.
65113 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65114 (libc_feresetround_53bit_ctx): Likewise.
65115
65116 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65117
65118 * locale/iso-639.def: Convert to UTF-8.
65119
65120 2013-06-11 Joseph Myers <joseph@codesourcery.com>
65121
65122 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65123 (EXCEPTION_TESTS_double): Likewise.
65124 (EXCEPTION_TESTS_long_double): Likewise.
65125 (EXCEPTION_TESTS): Likewise.
65126 * math/libm-test.inc (test_exceptions): Only test exceptions if
65127 EXCEPTION_TESTS (FLOAT).
65128
65129 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65130
65131 * benchtests/Makefile (string-bench): Add strcpy_chk and
65132 stpcpy_chk.
65133 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65134 * benchtests/bench-stpcpy_chk.c: New file.
65135 * benchtests/bench-strcpy_chk-ifunc.c: New file.
65136 * benchtests/bench-strcpy_chk.c: New file.
65137 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65138 code.
65139 (do_test): Likewise.
65140
65141 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65142
65143 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65144 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65145 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65146 with tabs where appropriate.
65147 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65148 dl-procinfo.h.
65149 [PPC_PLATFORM_PPC440]: Likewise.
65150 [PPC_PLATFORM_PPC464]: Likewise.
65151 [PPC_PLATFORM_PPC476]: Likewise.
65152 (_dl_string_platform): Add support for detecting ppc405, ppc440,
65153 ppc464, and ppc476 platform strings merging from ports/
65154 dl-procinfo.h.
65155
65156 2013-06-11 Andreas Schwab <schwab@suse.de>
65157
65158 [BZ #14991]
65159 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65160 (from_ucs4_idx): Regenerate.
65161 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65162 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65163 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65164 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65165 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65166 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65167 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65168 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65169 from FROM_LOOP and TO_LOOP specific macros.
65170 (BODY): Handle combining characters.
65171 * iconvdata/BIG5HKSCS.irreversible: Update.
65172 * iconvdata/BIG5HKSCS.precomposed: New file.
65173 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65174 characters.
65175 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65176
65177 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65178
65179 * include/sys/time.h: Fix indentation and add copyright header.
65180
65181 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65182 (do_test): Likewise.
65183 * string/test-memchr.c (do_one_test): Likewise.
65184 (do_test): Likewise.
65185 * string/test-memcmp.c (do_one_test): Likewise.
65186 (do_test): Likewise.
65187 * string/test-memcpy.c (do_one_test): Likewise.
65188 (do_test): Likewise.
65189 * string/test-memmem.c (do_one_test): Likewise.
65190 (do_test): Likewise.
65191 (do_random_tests): Likewise.
65192 * string/test-memmove.c (do_one_test): Likewise.
65193 (do_test): Likewise.
65194 * string/test-memset.c (do_one_test): Likewise.
65195 (do_test): Likewise.
65196 * string/test-rawmemchr.c (do_one_test): Likewise.
65197 (do_test): Likewise.
65198 * string/test-strcasecmp.c (do_one_test): Likewise.
65199 (do_test): Likewise.
65200 * string/test-strcasestr.c (do_one_test): Likewise.
65201 (do_test): Likewise.
65202 * string/test-strcat.c (do_one_test): Likewise.
65203 (do_test): Likewise.
65204 * string/test-strchr.c (do_one_test): Likewise.
65205 (do_test): Likewise.
65206 * string/test-strcmp.c (do_one_test): Likewise.
65207 (do_test): Likewise.
65208 * string/test-strcpy.c (do_one_test): Likewise.
65209 (do_test): Likewise.
65210 * string/test-string.h: Likewise.
65211 (test_init): Likewise.
65212 * string/test-strlen.c (do_one_test): Likewise.
65213 (do_test): Likewise.
65214 * string/test-strncasecmp.c (do_one_test): Likewise.
65215 (do_test): Likewise.
65216 * string/test-strncat.c (do_one_test): Likewise.
65217 (do_test): Likewise.
65218 * string/test-strncmp.c (do_one_test): Likewise.
65219 (do_test_limit): Likewise.
65220 (do_test): Likewise.
65221 * string/test-strncpy.c (do_one_test): Likewise.
65222 (do_test): Likewise.
65223 * string/test-strnlen.c (do_one_test): Likewise.
65224 (do_test): Likewise.
65225 * string/test-strpbrk.c (do_one_test): Likewise.
65226 (do_test): Likewise.
65227 * string/test-strrchr.c (do_one_test): Likewise.
65228 (do_test): Likewise.
65229 * string/test-strspn.c (do_one_test): Likewise.
65230 (do_test): Likewise.
65231 * string/test-strstr.c (do_one_test): Likewise.
65232 (do_test): Likewise.
65233
65234 * benchtests/Makefile (string-bench): Add string benchmarks.
65235 * benchtests/bench-bcopy-ifunc.c: New file.
65236 * benchtests/bench-bcopy.c: New file.
65237 * benchtests/bench-bzero-ifunc.c: New file.
65238 * benchtests/bench-bzero.c: New file.
65239 * benchtests/bench-memccpy-ifunc.c: New file.
65240 * benchtests/bench-memccpy.c: New file.
65241 * benchtests/bench-memchr-ifunc.c: New file.
65242 * benchtests/bench-memchr.c: New file.
65243 * benchtests/bench-memcmp-ifunc.c: New file.
65244 * benchtests/bench-memcmp.c: New file.
65245 * benchtests/bench-memmem-ifunc.c: New file.
65246 * benchtests/bench-memmem.c: New file.
65247 * benchtests/bench-memmove-ifunc.c: New file.
65248 * benchtests/bench-memmove.c: New file.
65249 * benchtests/bench-mempcpy-ifunc.c: New file.
65250 * benchtests/bench-mempcpy.c: New file.
65251 * benchtests/bench-memset-ifunc.c: New file.
65252 * benchtests/bench-memset.c: New file.
65253 * benchtests/bench-rawmemchr-ifunc.c: New file.
65254 * benchtests/bench-rawmemchr.c: New file.
65255 * benchtests/bench-stpcpy-ifunc.c: New file.
65256 * benchtests/bench-stpcpy.c: New file.
65257 * benchtests/bench-stpncpy-ifunc.c: New file.
65258 * benchtests/bench-stpncpy.c: New file.
65259 * benchtests/bench-strcasecmp-ifunc.c: New file.
65260 * benchtests/bench-strcasecmp.c: New file.
65261 * benchtests/bench-strcasestr-ifunc.c: New file.
65262 * benchtests/bench-strcasestr.c: New file.
65263 * benchtests/bench-strcat-ifunc.c: New file.
65264 * benchtests/bench-strcat.c: New file.
65265 * benchtests/bench-strchr-ifunc.c: New file.
65266 * benchtests/bench-strchr.c: New file.
65267 * benchtests/bench-strchrnul-ifunc.c: New file.
65268 * benchtests/bench-strchrnul.c: New file.
65269 * benchtests/bench-strcmp-ifunc.c: New file.
65270 * benchtests/bench-strcmp.c: New file.
65271 * benchtests/bench-strcpy-ifunc.c: New file.
65272 * benchtests/bench-strcpy.c: New file.
65273 * benchtests/bench-strcspn-ifunc.c: New file.
65274 * benchtests/bench-strcspn.c: New file.
65275 * benchtests/bench-strlen-ifunc.c: New file.
65276 * benchtests/bench-strlen.c: New file.
65277 * benchtests/bench-strncasecmp-ifunc.c: New file.
65278 * benchtests/bench-strncasecmp.c: New file.
65279 * benchtests/bench-strncat-ifunc.c: New file.
65280 * benchtests/bench-strncat.c: New file.
65281 * benchtests/bench-strncmp-ifunc.c: New file.
65282 * benchtests/bench-strncmp.c: New file.
65283 * benchtests/bench-strncpy-ifunc.c: New file.
65284 * benchtests/bench-strncpy.c: New file.
65285 * benchtests/bench-strnlen-ifunc.c: New file.
65286 * benchtests/bench-strnlen.c: New file.
65287 * benchtests/bench-strpbrk-ifunc.c: New file.
65288 * benchtests/bench-strpbrk.c: New file.
65289 * benchtests/bench-strrchr-ifunc.c: New file.
65290 * benchtests/bench-strrchr.c: New file.
65291 * benchtests/bench-strspn-ifunc.c: New file.
65292 * benchtests/bench-strspn.c: New file.
65293 * benchtests/bench-strstr-ifunc.c: New file.
65294 * benchtests/bench-strstr.c: New file.
65295
65296 * benchtests/Makefile: Disable parallel execution of targets.
65297 (string-bench): Add memcpy.
65298 (benchset): New variable to store a list of benchmark sets.
65299 (bench-func): Renamed from bench.
65300 (bench-set): New target.
65301 (bench): Depend on bench-func and bench-set.
65302 * benchtests/README: Add section on benchmark sets.
65303 * benchtests/bench-memcpy-ifunc.c: New file.
65304 * benchtests/bench-memcpy.c: New file.
65305 * benchtests/bench-string.h: New file.
65306
65307 2013-06-11 Andreas Schwab <schwab@suse.de>
65308
65309 [BZ #15577]
65310 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65311 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65312 values in the triple.
65313 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65314 terminator in the group key.
65315
65316 2013-06-11 Andreas Jaeger <aj@suse.de>
65317
65318 * po/zh_TW.po: Update Chinese (traditional) translation from
65319 translation project.
65320
65321 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65322
65323 * include/time.h (__clock_gettime): Add libc_hidden_proto.
65324 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65325 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
65326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65327 (clock_getcpuclockid): Likewise.
65328 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65329 Add weak_alias and libc_hidden_def.
65330 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65331 * rt/clock_gettime.c (clock_gettime): Rename to
65332 __clock_gettime. Add weak_alias and libc_hidden_def.
65333 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65334 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65335 __clock_nanosleep. Add weak_alias and libc_hidden_def.
65336 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65337 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65338 Likewise.
65339 * rt/clock_settime.c (clock_settime): Rename to
65340 __clock_settime. Add weak_alias and libc_hidden_def.
65341 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65342
65343 2013-06-10 Joseph Myers <joseph@codesourcery.com>
65344
65345 * mach/err_boot.sub: Remove trailing whitespace.
65346 * mach/err_ipc.sub: Likewise.
65347 * mach/err_mach.sub: Likewise.
65348
65349 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65350 (ROUNDING_TESTS_double): Likewise.
65351 (ROUNDING_TESTS_long_double): Likewise.
65352 (ROUNDING_TESTS): Likewise.
65353 * math/libm-test.inc: Include <math-tests.h>.
65354 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65355 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65356 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65357 (IF_ROUND_INIT_FE_UPWARD): Likewise.
65358
65359 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65360
65361 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65362 of assigning.
65363
65364 2013-06-08 Joseph Myers <joseph@codesourcery.com>
65365
65366 * sysdeps/gnu/errlist.awk: Do not generate space at end of
65367 otherwise empty TRANS lines.
65368 * sysdeps/gnu/errlist.c: Regenerated.
65369
65370 * catgets/gencat.c (error_print): Use (void) in function
65371 definition.
65372 * crypt/crypt_util.c (__init_des): Likewise.
65373 * crypt/speeds.c (Stop): Likewise.
65374 (main): Likewise.
65375 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65376 * inet/ruserpass.c (token): Likewise.
65377 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65378 * intl/localealias.c (extend_alias_table): Likewise.
65379 * intl/plural-exp.c (init_germanic_plural): Likewise.
65380 * libio/fcloseall.c (__fcloseall): Likewise.
65381 * libio/genops.c (_IO_flush_all): Likewise.
65382 (_IO_flush_all_linebuffered): Likewise.
65383 (_IO_cleanup): Likewise.
65384 (_IO_iter_begin): Likewise.
65385 (_IO_iter_end): Likewise.
65386 (_IO_list_lock): Likewise.
65387 (_IO_list_unlock): Likewise.
65388 (_IO_list_resetlock): Likewise.
65389 * libio/getchar.c (getchar): Likewise.
65390 * libio/getchar_u.c (getchar_unlocked): Likewise.
65391 * libio/getwchar.c (getwchar): Likewise.
65392 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65393 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65394 * login/getpt.c (__getpt): Likewise.
65395 * login/tst-utmp.c (main): Likewise.
65396 * malloc/hooks.c (__malloc_check_init): Likewise.
65397 * malloc/malloc.c (__malloc_stats): Likewise.
65398 * malloc/mtrace.c (tr_break): Likewise.
65399 (mtrace): Likewise.
65400 (muntrace): Likewise.
65401 * misc/fstab.c (endfsent): Likewise.
65402 * misc/getclktck.c (__getclktck): Likewise.
65403 * misc/getdtsz.c (__getdtablesize): Likewise.
65404 * misc/gethostid.c (gethostid): Likewise.
65405 * misc/getpagesize.c (__getpagesize): Likewise.
65406 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65407 (__get_nprocs): Likewise.
65408 (__get_phys_pages): Likewise.
65409 (__get_avphys_pages): Likewise.
65410 * misc/getttyent.c (getttyent): Likewise.
65411 (setttyent): Likewise.
65412 (endttyent): Likewise.
65413 * misc/getusershell.c (getusershell): Likewise.
65414 (endusershell): Likewise.
65415 (setusershell): Likewise.
65416 (initshells): Likewise.
65417 * misc/hsearch.c (__hdestroy): Likewise.
65418 * misc/sync.c (sync): Likewise.
65419 * misc/syslog.c (closelog_internal): Likewise.
65420 (closelog): Likewise.
65421 * misc/ttyslot.c (ttyslot): Likewise.
65422 * misc/vhangup.c (vhangup): Likewise.
65423 * posix/fork.c (__fork): Likewise.
65424 * posix/getegid.c (__getegid): Likewise.
65425 * posix/geteuid.c (__geteuid): Likewise.
65426 * posix/getgid.c (__getgid): Likewise.
65427 * posix/getpid.c (__getpid): Likewise.
65428 * posix/getppid.c (__getppid): Likewise.
65429 * posix/getuid.c (__getuid): Likewise.
65430 * posix/pause.c (pause): Likewise.
65431 * posix/setpgrp.c (setpgrp): Likewise.
65432 * posix/setsid.c (__setsid): Likewise.
65433 * posix/test-vfork.c (noop): Likewise.
65434 * resolv/gethnamaddr.c (_endhtent): Likewise.
65435 (_gethtent): Likewise.
65436 (ht_endhostent): Likewise.
65437 (gethostent): Likewise.
65438 (dns_service): Likewise.
65439 * stdlib/drand48.c (drand48): Likewise.
65440 * stdlib/lrand48.c (lrand48): Likewise.
65441 * stdlib/mrand48.c (mrand48): Likewise.
65442 * stdlib/rand.c (rand): Likewise.
65443 * stdlib/random.c (__random): Likewise.
65444 * stdlib/setenv.c (clearenv): Likewise.
65445 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65446 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65447 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65448 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65449 (__get_nprocs): Likewise.
65450 (__get_phys_pages): Likewise.
65451 (__get_avphys_pages): Likewise.
65452 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65453 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65454 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65455 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65456 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65457 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65458 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65459 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65460 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65461 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65462 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65463 * sysdeps/mach/hurd/sync.c (sync): Likewise.
65464 * sysdeps/posix/clock.c (clock): Likewise.
65465 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65466 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65467 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65468 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65469 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65471 (__get_nprocs_conf): Likewise.
65472 (__get_phys_pages): Likewise.
65473 (__get_avphys_pages): Likewise.
65474 * time/clock.c (clock): Likewise.
65475 * time/tzset.c (__tzname_max): Likewise.
65476
65477 2013-06-07 Joseph Myers <joseph@codesourcery.com>
65478
65479 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65480 (__bswap_32): Do not use "register".
65481 * crypt/crypt.c (_ufc_doit_r): Likewise.
65482 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65483 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65484 * gmon/gmon.c (__monstartup): Likewise.
65485 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65486 * hurd/hurdmalloc.c (more_memory): Likewise.
65487 (malloc): Likewise.
65488 (free): Likewise.
65489 (realloc): Likewise.
65490 (malloc_fork_prepare): Likewise.
65491 (malloc_fork_parent): Likewise.
65492 (malloc_fork_child): Likewise.
65493 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65494 (_svcauth_des): Likewise.
65495 * inet/inet_lnaof.c (inet_lnaof): Likewise.
65496 * inet/inet_net.c (inet_network): Likewise.
65497 * inet/inet_netof.c (inet_netof): Likewise.
65498 * inet/rcmd.c (__validuser2_sa): Likewise.
65499 * io/fts.c (fts_open): Likewise.
65500 (fts_load): Likewise.
65501 (fts_close): Likewise.
65502 (fts_read): Likewise.
65503 (fts_children): Likewise.
65504 (fts_build): Likewise.
65505 (fts_stat): Likewise.
65506 (fts_sort): Likewise.
65507 (fts_alloc): Likewise.
65508 (fts_lfree): Likewise.
65509 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65510 (_IO_file_xsgetn): Likewise.
65511 (_IO_file_xsgetn_mmap): Likewise.
65512 * libio/iofopncook.c (_IO_cookie_read): Likewise.
65513 (_IO_cookie_write): Likewise.
65514 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65515 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65516 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65517 * malloc/obstack.c (_obstack_begin): Likewise.
65518 (_obstack_begin_1): Likewise.
65519 (_obstack_newchunk): Likewise.
65520 (_obstack_allocated_p): Likewise.
65521 (obstack_free): Likewise.
65522 (_obstack_memory_used): Likewise.
65523 * misc/getttyent.c (getttynam): Likewise.
65524 (getttyent): Likewise.
65525 (skip): Likewise.
65526 (value): Likewise.
65527 * misc/getusershell.c (initshells): Likewise.
65528 * misc/syslog.c (__vsyslog_chk): Likewise.
65529 * misc/ttyslot.c (ttyslot): Likewise.
65530 * nis/nis_hash.c (__nis_hash): Likewise.
65531 * posix/fnmatch_loop.c (FCT): Likewise.
65532 * posix/getconf.c (print_all): Likewise.
65533 (main): Likewise.
65534 * posix/getopt.c (exchange): Likewise.
65535 * posix/glob.c (globfree): Likewise.
65536 (prefix_array): Likewise.
65537 (__glob_pattern_type): Likewise.
65538 * resolv/arpa/nameser.h (NS_GET16): Likewise.
65539 (NS_GET32): Likewise.
65540 (NS_PUT16): Likewise.
65541 (NS_PUT32): Likewise.
65542 * resolv/gethnamaddr.c (getanswer): Likewise.
65543 (gethostbyname2): Likewise.
65544 (gethostbyaddr): Likewise.
65545 (_gethtent): Likewise.
65546 (_gethtbyname2): Likewise.
65547 (_gethtbyaddr): Likewise.
65548 * resolv/ns_print.c (dst_s_get_int16): Likewise.
65549 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65550 * resolv/res_init.c (__res_vinit): Likewise.
65551 (net_mask): Likewise.
65552 * resolv/res_mkquery.c (outchar): Likewise.
65553 (PRINT): Likewise.
65554 * stdio-common/printf_fp.c (outchar): Likewise.
65555 (PRINT): Likewise.
65556 * stdio-common/printf_fphex.c (outchar): Likewise.
65557 (PRINT): Likewise.
65558 * stdio-common/printf_size.c (outchar): Likewise.
65559 (PRINT): Likewise.
65560 * stdio-common/test_rdwr.c (main): Likewise.
65561 * stdio-common/tfformat.c (matches): Likewise.
65562 * stdio-common/vfprintf.c (outchar): Likewise.
65563 (printf_unknown): Likewise.
65564 (buffered_vfprintf): Likewise.
65565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65566 * stdio-common/xbug.c (AppendToBuffer): Likewise.
65567 (ReadFile): Likewise.
65568 * stdlib/qsort.c (SWAP): Likewise.
65569 (_quicksort): Likewise.
65570 * stdlib/setenv.c (__add_to_environ): Likewise.
65571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65572 * stdlib/strtol_l.c (__strtol_l): Likewise.
65573 * stdlib/tst-strtod.c (main): Likewise.
65574 * stdlib/tst-strtol.c (main): Likewise.
65575 * stdlib/tst-strtoll.c (main): Likewise.
65576 * string/bits/string2.h (__strcmp_cc): Likewise.
65577 (__strcmp_cg): Likewise.
65578 (__strcspn_c1): Likewise.
65579 (__strcspn_c2): Likewise.
65580 (__strcspn_c3): Likewise.
65581 (__strspn_c1): Likewise.
65582 (__strspn_c2): Likewise.
65583 (__strspn_c3): Likewise.
65584 (__strsep_1c): Likewise.
65585 (__strsep_2c): Likewise.
65586 (__strsep_3c): Likewise.
65587 * string/memccpy.c (__memccpy): Likewise.
65588 * string/stpcpy.c (__stpcpy): Likewise.
65589 * string/strcmp.c (strcmp): Likewise.
65590 * string/strrchr.c (strrchr): Likewise.
65591 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65592 Likewise.
65593 * sysdeps/mach/hurd/getcwd.c
65594 (_hurd_canonicalize_directory_name_internal): Likewise.
65595 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65596 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65597 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65598 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65599 Likewise, in both definitions.
65600 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65601 definitions.
65602 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65603 64] (__bswap_64): Likewise.
65604 * time/test_time.c (main): Likewise.
65605 * time/tzfile.c (__tzfile_read): Likewise.
65606 (__tzfile_compute): Likewise.
65607 * time/tzset.c (__tzset_parse_tz): Likewise.
65608 (tzset_internal): Likewise.
65609 (compute_change): Likewise.
65610 * wcsmbs/wcscat.c (__wcscat): Likewise.
65611 * wcsmbs/wcschr.c (wcschr): Likewise.
65612 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65613 * wcsmbs/wcscspn.c (wcscspn): Likewise.
65614 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65615 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65616 * wcsmbs/wcsspn.c (wcsspn): Likewise.
65617 * wcsmbs/wcsstr.c (wcsstr): Likewise.
65618 * wcsmbs/wmemchr.c (wmemchr): Likewise.
65619 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65620 * wcsmbs/wmemset.c (wmemset): Likewise.
65621
65622 2013-06-06 Joseph Myers <joseph@codesourcery.com>
65623
65624 * scripts/config.guess: Update to version 2013-05-16.
65625 * scripts/config.sub: Update to version 2013-04-24.
65626 * scripts/install-sh: Update to version 2011-11-20.07.
65627 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65628 * scripts/move-if-change: Update to version 2012-01-06 07:23.
65629
65630 2013-06-06 Ondƙej Bílka <neleai@seznam.cz>
65631
65632 * debug/fgetws_u_chk.c: Fix leading whitespaces.
65633 * elf/sln.c: Likewise.
65634 * hurd/hurd/ioctl.h: Likewise.
65635 * hurd/hurdmalloc.c: Likewise.
65636 * hurd/xattr.c: Likewise.
65637 * include/shlib-compat.h: Likewise.
65638 * inet/ruserpass.c: Likewise.
65639 * libio/iofgets_u.c: Likewise.
65640 * libio/iofgetws_u.c: Likewise.
65641 * locale/programs/ld-identification.c: Likewise.
65642 * locale/programs/ld-time.c: Likewise.
65643 * mach/msg-destroy.c: Likewise.
65644 * nss/nss_files/files-netgrp.c: Likewise.
65645 * resolv/res_data.c: Likewise.
65646 * soft-fp/op-1.h: Likewise.
65647 * soft-fp/op-2.h: Likewise.
65648 * soft-fp/op-4.h: Likewise.
65649 * soft-fp/op-common.h: Likewise.
65650 * stdio-common/printf_fphex.c: Likewise.
65651 * stdlib/strtod_l.c: Likewise.
65652 * sunrpc/rpc/clnt.h: Likewise.
65653 * sysdeps/generic/framestate.c: Likewise.
65654 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65655 * sysdeps/i386/bsd-setjmp.S: Likewise.
65656 * sysdeps/i386/__longjmp.S: Likewise.
65657 * sysdeps/i386/setjmp.S: Likewise.
65658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65659 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65660 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65663 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65667 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65668 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65669 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65670 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65671 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65672 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65673 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65674 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65675 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65676 * sysdeps/ieee754/support.c: Likewise.
65677 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65678 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65679 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65680 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65681 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65682 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65683 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65684 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65685 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65686 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65687 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65688 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65691 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65692 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65693 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65695
65696 2013-06-05 Ondƙej Bílka <neleai@seznam.cz>
65697
65698 * posix/transbug.c: Remove executable mode.
65699
65700 2013-06-05 Joseph Myers <joseph@codesourcery.com>
65701
65702 * crypt/speeds.c: Remove trailing whitespace.
65703 * dlfcn/default.c: Likewise.
65704 * elf/ifuncdep2.c: Likewise.
65705 * elf/ifuncmain1.c: Likewise.
65706 * elf/ifuncmain1vis.c: Likewise.
65707 * elf/testobj.h: Likewise.
65708 * elf/tst-stackguard1.c: Likewise.
65709 * gmon/sys/gmon.h: Likewise.
65710 * hurd/hurdmsg.c: Likewise.
65711 * hurd/new-fd.c: Likewise.
65712 * hurd/ports-get.c: Likewise.
65713 * iconvdata/ibm1008_420.c: Likewise.
65714 * inet/tst-getni1.c: Likewise.
65715 * inet/tst-getni2.c: Likewise.
65716 * libio/ioungetc.c: Likewise.
65717 * libio/wfiledoalloc.c: Likewise.
65718 * manual/libm-err-tab.pl: Likewise.
65719 * math/w_dremf.c: Likewise.
65720 * misc/ftruncate.c: Likewise.
65721 * posix/bug-glob2.c: Likewise.
65722 * posix/tst-pcre.c: Likewise.
65723 * posix/wait4.c: Likewise.
65724 * resolv/README: Likewise.
65725 * resolv/res_debug.h: Likewise.
65726 * resolv/tst-inet_ntop.c: Likewise.
65727 * setjmp/bug269-setjmp.c: Likewise.
65728 * soft-fp/extended.h: Likewise.
65729 * soft-fp/op-1.h: Likewise.
65730 * soft-fp/op-2.h: Likewise.
65731 * soft-fp/op-4.h: Likewise.
65732 * soft-fp/op-8.h: Likewise.
65733 * soft-fp/testit.c: Likewise.
65734 * stdio-common/bug16.c: Likewise.
65735 * stdlib/random.c: Likewise.
65736 * sunrpc/rpcsvc/rquota.x: Likewise.
65737 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65738 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65740 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65741 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65742 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65743 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65744 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65745 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65748 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65752 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65753 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65755 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65756 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65757 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65759 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65760 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65761 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65762 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65766 * sysdeps/ieee754/s_lib_version.c: Likewise.
65767 * sysdeps/mach/hurd/check_fds.c: Likewise.
65768 * sysdeps/mach/hurd/getsockname.c: Likewise.
65769 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65770 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65771 * sysdeps/powerpc/bits/link.h: Likewise.
65772 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65773 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65774 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65775 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65776 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65778 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65780 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65781 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65782 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65783 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65784 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65785 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65786 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65787 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65790 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65793 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65795 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65796 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65800 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65806 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65807 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65808 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65809 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65810 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65811 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65812 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65813 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65814 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65815 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65816 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65817 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65818 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65819 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65820 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65821 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65824 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65826 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65827 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65828 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65833 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65834 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65835 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65836 * sysdeps/powerpc/sysdep.h: Likewise.
65837 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65838 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65839 * sysdeps/sh/dl-trampoline.S: Likewise.
65840 * sysdeps/sh/memset.S: Likewise.
65841 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65842 * sysdeps/sh/strlen.S: Likewise.
65843 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65844 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65845 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65846 * sysdeps/sparc/sparc32/rem.S: Likewise.
65847 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65848 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65849 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65850 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65851 * sysdeps/sparc/sparc32/urem.S: Likewise.
65852 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65853 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65854 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65855 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65856 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65857 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65858 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65859 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65860 * sysdeps/unix/bsd/times.c: Likewise.
65861 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65862 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65866 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65867 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65868 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65870 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65871 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65872 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65873 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65874 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65875 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65876 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65878 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65879 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65880 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65881 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65882 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65883 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65886 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65887 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65889 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65890 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65891 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65892 * sysdeps/x86_64/strcspn.S: Likewise.
65893
65894 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65895
65896 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65897 generated file. Regenerate properly from gen-translit.pl.
65898 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65899 locale/C-translit.h.
65900
65901 2013-06-05 Andreas Schwab <schwab@suse.de>
65902
65903 [BZ #15100]
65904 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65905 week as 6 instead of -1.
65906 * time/tst-strptime.c (day_tests): Add test case.
65907
65908 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65909
65910 * sysdeps/generic/math_private.h
65911 (libc_feholdexcept_setround_53bit): Replace with
65912 libc_feholdsetround_53bit.
65913 (libc_feupdateenv_53bit): Replace with
65914 libc_feresetround_53bit.
65915 (SET_RESTORE_ROUND_53BIT): Adjust.
65916
65917 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65918
65919 * string/test-strchrnul.c: Add copyright header.
65920
65921 * posix/tst-getaddrinfo4.c: Increase test timeout.
65922
65923 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65924
65925 [BZ #15536]
65926 * math/libm-test.inc (MAX_EXP): Remove
65927 (MIN_EXP): Define.
65928 (ulp): Use MIN_EXP - MANT_DIG.
65929 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65930
65931 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65932
65933 * po/be.po: Revert last change.
65934 * po/zh_CN.po: Likewise.
65935 * po/header.pot: Likewise.
65936
65937 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65938
65939 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65940 link-libc-deps to empty as target-specific variable.
65941 * Makerules (link-libc-args): New variable.
65942 (libc-for-link): Likewise.
65943 (link-libc-deps): Likewise.
65944 (lib%.so): Depend on $(link-libc-deps). Link with
65945 $(link-libc-args).
65946 (build-module): Link with $(link-libc-args).
65947 (build-module-asneeded): Likewise.
65948 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65949 list of objects.
65950 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65951 target-specific variable.
65952 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65953 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65954 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65955 libc.
65956 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65957 libc and ld.so.
65958 ($(objpfx)libpcprofile.so): Likewise.
65959 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65960 libc_nonshared.a.
65961 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65962 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65963 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65964 $(link-libc-deps).
65965 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65966 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65967 * login/Makefile ($(objpfx)libutil.so): Likewise.
65968 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65969 * math/Makefile ($(objpfx)libm.so): Likewise.
65970 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65971 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65972 variable instead of depending directly on libc.
65973 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65974 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65975 $(link-libc-deps).
65976 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65977 libc.
65978 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65979 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65980 ($(objpfx)libanl.so): Likewise.
65981 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65982 ld.so.
65983 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65984 $(link-libc-deps).
65985 * sysdeps/i386/fpu/Makefile: Remove file.
65986 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65987 ($(objpfx)libm.so): Remove dependency on ld.so.
65988
65989 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65990
65991 [BZ # 15553]
65992 * nis/yp_xdr.c (XDRMAXNAME): Define.
65993 (XDRMAXRECORD): Define.
65994 (xdr_domainname): Use XDRMAXNAME.
65995 (xdr_mapname): Likewise.
65996 (xdr_peername): Likewise.
65997 (xdr_keydat): Use XDRMAXRECORD.
65998 (xdr_valdat): Likewise.
65999
66000 2013-05-30 Jeff Law <law@redhat.com>
66001
66002 [BZ #14256]
66003 * manual/errno.texi (ESTALE): Update to account for more than
66004 just NFS file systems.
66005 * sysdeps/gnu/errlist.c: Regenerated.
66006
66007 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66008
66009 [BZ #15465]
66010 * elf/Makefile (tests): Add tst-null-argv.
66011 (modules-names): Add tst-null-argv-lib.
66012 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66013 (tst-null-argv-ENV): Set environment for tst-null-argv.
66014 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66015 (RTLD_PROGNAME): New macro.
66016 * elf/tst-null-argv.c: New test case.
66017 * elf/tst-null-argv-lib.c: Library for test case.
66018 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66019 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66020 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66021 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66022 * elf/dl-init.c (call_init): Likewise.
66023 (_dl_init): Likewise.
66024 * elf/dl-load.c (print_search_path): Likewise.
66025 (_dl_map_object): Likewise.
66026 * elf/dl-lookup.c (do_lookup_x): Likewise.
66027 (add_dependency): Likewise.
66028 (_dl_lookup_symbol_x): Likewise.
66029 (_dl_debug_bindings): Likewise.
66030 * elf/dl-open.c (_dl_show_scope): Likewise.
66031 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66032 * elf/dl-version.c (match_symbol): Likewise.
66033 (_dl_check_map_versions): Likewise.
66034 * elf/rtld.c (dl_main): Likewise.
66035 (print_unresolved): Use RTLD_PROGNAME.
66036 (print_missing_version): Likewise.
66037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66038 (elf_machine_rela): Likewise.
66039 * sysdeps/powerpc/powerpc32/dl-machine.c
66040 (__process_machine_rela): Likewise.
66041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66042 Likewise.
66043 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66044 Likewise.
66045 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66046 Likewise.
66047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66049 Likewise.
66050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66051 Likewise.
66052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66053
66054 2013-05-28 Carlos O'Donell <carlos@redhat.com>
66055
66056 * po/be.po: Add descriptive title.
66057 * po/zh_CN.po: Likewise.
66058 * po/header.pot: Likewise.
66059
66060 2013-05-28 Mike Frysinger <vapier@gentoo.org>
66061
66062 * locale/programs/locarchive.c (create_archive): Inlucde fname in
66063 error message.
66064 (enlarge_archive): Likewise.
66065
66066 2013-05-28 Ben North <ben@redfrontdoor.org>
66067
66068 * manual/arith.texi (frexp): It is the magnitude of the return
66069 value which lies in [0.5, 1), not the return value itself.
66070
66071 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66072
66073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66074
66075 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
66076
66077 * stdio-common/bug26.c (main): Correct fscanf template.
66078
66079 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66080 declare _dl_skip_args.
66081
66082 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66083 Don't declare.
66084
66085 * manual/platform.texi: Add missing @end deftypefun.
66086
66087 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66088
66089 [BZ #15529]
66090 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66091 bit of mantissa of 2^16382.
66092 * math/libm-test.inc (hypot_test_data): Add more tests.
66093
66094 * math/libm-test.inc: Add drem and pow10 to list of tested
66095 functions.
66096 (pow10_test): New function.
66097 (drem_test): Likewise.
66098 (drem_test_tonearest): Likewise.
66099 (drem_test_towardzero): Likewise.
66100 (drem_test_downward): Likewise.
66101 (drem_test_upward): Likewise.
66102 (main): Call the new functions.
66103
66104 * math/libm-test.inc (finite_test_data): Remove.
66105 (finite_test): Run tests from isfinite_test_data.
66106 (gamma_test_data): Remove.
66107 (gamma_test): Run tests from lgamma_test_data.
66108 * sysdeps/i386/fpu/libm-test-ulps: Update.
66109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66110
66111 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66112
66113 * manual/platform.texi: Add PowerPC PPR function set documentation.
66114 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66115 implementation.
66116
66117 2013-05-24 Carlos O'Donell <carlos@redhat.com>
66118
66119 * math/libm-test.inc (MAX_EXP): Define.
66120 (ULPDIFF): Define.
66121 (ulp): New function.
66122 (check_float_internal): Use ULPDIFF.
66123 (cpow_test): Disable failing test.
66124 (check_ulp): Test ulp() implementation.
66125 (main): Call check_ulp before starting tests.
66126
66127 2013-05-24 Joseph Myers <joseph@codesourcery.com>
66128
66129 * math/gen-libm-test.pl (generate_testfile): Do not handle
66130 START_DATA and END_DATA.
66131 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66132 END_DATA.
66133 (acos_tonearest_test_data): Likewise.
66134 (acos_towardzero_test_data): Likewise.
66135 (acos_downward_test_data): Likewise.
66136 (acos_upward_test_data): Likewise.
66137 (acosh_test_data): Likewise.
66138 (asin_test_data): Likewise.
66139 (asin_tonearest_test_data): Likewise.
66140 (asin_towardzero_test_data): Likewise.
66141 (asin_downward_test_data): Likewise.
66142 (asin_upward_test_data): Likewise.
66143 (asinh_test_data): Likewise.
66144 (atan_test_data): Likewise.
66145 (atanh_test_data): Likewise.
66146 (atan2_test_data): Likewise.
66147 (cabs_test_data): Likewise.
66148 (cacos_test_data): Likewise.
66149 (cacosh_test_data): Likewise.
66150 (carg_test_data): Likewise.
66151 (casin_test_data): Likewise.
66152 (casinh_test_data): Likewise.
66153 (catan_test_data): Likewise.
66154 (catanh_test_data): Likewise.
66155 (cbrt_test_data): Likewise.
66156 (ccos_test_data): Likewise.
66157 (ccosh_test_data): Likewise.
66158 (ceil_test_data): Likewise.
66159 (cexp_test_data): Likewise.
66160 (cimag_test_data): Likewise.
66161 (clog_test_data): Likewise.
66162 (clog10_test_data): Likewise.
66163 (conj_test_data): Likewise.
66164 (copysign_test_data): Likewise.
66165 (cos_test_data): Likewise.
66166 (cos_tonearest_test_data): Likewise.
66167 (cos_towardzero_test_data): Likewise.
66168 (cos_downward_test_data): Likewise.
66169 (cos_upward_test_data): Likewise.
66170 (cosh_test_data): Likewise.
66171 (cosh_tonearest_test_data): Likewise.
66172 (cosh_towardzero_test_data): Likewise.
66173 (cosh_downward_test_data): Likewise.
66174 (cosh_upward_test_data): Likewise.
66175 (cpow_test_data): Likewise.
66176 (cproj_test_data): Likewise.
66177 (creal_test_data): Likewise.
66178 (csin_test_data): Likewise.
66179 (csinh_test_data): Likewise.
66180 (csqrt_test_data): Likewise.
66181 (ctan_test_data): Likewise.
66182 (ctan_tonearest_test_data): Likewise.
66183 (ctan_towardzero_test_data): Likewise.
66184 (ctan_downward_test_data): Likewise.
66185 (ctan_upward_test_data): Likewise.
66186 (ctanh_test_data): Likewise.
66187 (ctanh_tonearest_test_data): Likewise.
66188 (ctanh_towardzero_test_data): Likewise.
66189 (ctanh_downward_test_data): Likewise.
66190 (ctanh_upward_test_data): Likewise.
66191 (erf_test_data): Likewise.
66192 (erfc_test_data): Likewise.
66193 (exp_test_data): Likewise.
66194 (exp_tonearest_test_data): Likewise.
66195 (exp_towardzero_test_data): Likewise.
66196 (exp_downward_test_data): Likewise.
66197 (exp_upward_test_data): Likewise.
66198 (exp10_test_data): Likewise.
66199 (exp2_test_data): Likewise.
66200 (expm1_test_data): Likewise.
66201 (fabs_test_data): Likewise.
66202 (fdim_test_data): Likewise.
66203 (finite_test_data): Likewise.
66204 (floor_test_data): Likewise.
66205 (fma_test_data): Likewise.
66206 (fma_towardzero_test_data): Likewise.
66207 (fma_downward_test_data): Likewise.
66208 (fma_upward_test_data): Likewise.
66209 (fmax_test_data): Likewise.
66210 (fmin_test_data): Likewise.
66211 (fmod_test_data): Likewise.
66212 (fpclassify_test_data): Likewise.
66213 (frexp_test_data): Likewise.
66214 (gamma_test_data): Likewise.
66215 (hypot_test_data): Likewise.
66216 (ilogb_test_data): Likewise.
66217 (isfinite_test_data): Likewise.
66218 (isgreater_test_data): Likewise.
66219 (isgreaterequal_test_data): Likewise.
66220 (isinf_test_data): Likewise.
66221 (isless_test_data): Likewise.
66222 (islessequal_test_data): Likewise.
66223 (islessgreater_test_data): Likewise.
66224 (isnan_test_data): Likewise.
66225 (isnormal_test_data): Likewise.
66226 (issignaling_test_data): Likewise.
66227 (isunordered_test_data): Likewise.
66228 (j0_test_data): Likewise.
66229 (j1_test_data): Likewise.
66230 (jn_test_data): Likewise.
66231 (ldexp_test_data): Likewise.
66232 (lgamma_test_data): Likewise.
66233 (lrint_test_data): Likewise.
66234 (lrint_tonearest_test_data): Likewise.
66235 (lrint_towardzero_test_data): Likewise.
66236 (lrint_downward_test_data): Likewise.
66237 (lrint_upward_test_data): Likewise.
66238 (llrint_test_data): Likewise.
66239 (llrint_tonearest_test_data): Likewise.
66240 (llrint_towardzero_test_data): Likewise.
66241 (llrint_downward_test_data): Likewise.
66242 (llrint_upward_test_data): Likewise.
66243 (log_test_data): Likewise.
66244 (log10_test_data): Likewise.
66245 (log1p_test_data): Likewise.
66246 (log2_test_data): Likewise.
66247 (logb_test_data): Likewise.
66248 (logb_downward_test_data): Likewise.
66249 (lround_test_data): Likewise.
66250 (llround_test_data): Likewise.
66251 (modf_test_data): Likewise.
66252 (nearbyint_test_data): Likewise.
66253 (nextafter_test_data): Likewise.
66254 (nexttoward_test_data): Likewise.
66255 (pow_test_data): Likewise.
66256 (pow_tonearest_test_data): Likewise.
66257 (pow_towardzero_test_data): Likewise.
66258 (pow_downward_test_data): Likewise.
66259 (pow_upward_test_data): Likewise.
66260 (remainder_test_data): Likewise.
66261 (remainder_tonearest_test_data): Likewise.
66262 (remainder_towardzero_test_data): Likewise.
66263 (remainder_downward_test_data): Likewise.
66264 (remainder_upward_test_data): Likewise.
66265 (remquo_test_data): Likewise.
66266 (rint_test_data): Likewise.
66267 (rint_tonearest_test_data): Likewise.
66268 (rint_towardzero_test_data): Likewise.
66269 (rint_downward_test_data): Likewise.
66270 (rint_upward_test_data): Likewise.
66271 (round_test_data): Likewise.
66272 (scalb_test_data): Likewise.
66273 (scalbn_test_data): Likewise.
66274 (scalbln_test_data): Likewise.
66275 (signbit_test_data): Likewise.
66276 (sin_test_data): Likewise.
66277 (sin_tonearest_test_data): Likewise.
66278 (sin_towardzero_test_data): Likewise.
66279 (sin_downward_test_data): Likewise.
66280 (sin_upward_test_data): Likewise.
66281 (sincos_test_data): Likewise.
66282 (sinh_test_data): Likewise.
66283 (sinh_tonearest_test_data): Likewise.
66284 (sinh_towardzero_test_data): Likewise.
66285 (sinh_downward_test_data): Likewise.
66286 (sinh_upward_test_data): Likewise.
66287 (sqrt_test_data): Likewise.
66288 (tan_test_data): Likewise.
66289 (tan_tonearest_test_data): Likewise.
66290 (tan_towardzero_test_data): Likewise.
66291 (tan_downward_test_data): Likewise.
66292 (tan_upward_test_data): Likewise.
66293 (tanh_test_data): Likewise.
66294 (tgamma_test_data): Likewise.
66295 (trunc_test_data): Likewise.
66296 (y0_test_data): Likewise.
66297 (y1_test_data): Likewise.
66298 (yn_test_data): Likewise.
66299 (significand_test_data): Likewise.
66300
66301 * math/gen-libm-test.pl (@functions): Remove variable.
66302 (generate_testfile): Don't handle START and END lines.
66303 * math/libm-test.inc (START): New macro.
66304 (END): Likewise.
66305 (END_COMPLEX): Likewise.
66306 (acos_test): Use END macro without arguments.
66307 (acos_test_tonearest): Likewise.
66308 (acos_test_towardzero): Likewise.
66309 (acos_test_downward): Likewise.
66310 (acos_test_upward): Likewise.
66311 (acosh_test): Likewise.
66312 (asin_test): Likewise.
66313 (asin_test_tonearest): Likewise.
66314 (asin_test_towardzero): Likewise.
66315 (asin_test_downward): Likewise.
66316 (asin_test_upward): Likewise.
66317 (asinh_test): Likewise.
66318 (atan_test): Likewise.
66319 (atanh_test): Likewise.
66320 (atan2_test): Likewise.
66321 (cabs_test): Likewise.
66322 (cacos_test): Use END_COMPLEX macro without arguments.
66323 (cacosh_test): Likewise.
66324 (carg_test): Use END macro without arguments.
66325 (casin_test): Use END_COMPLEX macro without arguments.
66326 (casinh_test): Likewise.
66327 (catan_test): Likewise.
66328 (catanh_test): Likewise.
66329 (cbrt_test): Use END macro without arguments.
66330 (ccos_test): Use END_COMPLEX macro without arguments.
66331 (ccosh_test): Likewise.
66332 (ceil_test): Use END macro without arguments.
66333 (cexp_test): Use END_COMPLEX macro without arguments.
66334 (cimag_test): Use END macro without arguments.
66335 (clog_test): Use END_COMPLEX macro without arguments.
66336 (clog10_test): Likewise.
66337 (conj_test): Likewise.
66338 (copysign_test): Use END macro without arguments.
66339 (cos_test): Likewise.
66340 (cos_test_tonearest): Likewise.
66341 (cos_test_towardzero): Likewise.
66342 (cos_test_downward): Likewise.
66343 (cos_test_upward): Likewise.
66344 (cosh_test): Likewise.
66345 (cosh_test_tonearest): Likewise.
66346 (cosh_test_towardzero): Likewise.
66347 (cosh_test_downward): Likewise.
66348 (cosh_test_upward): Likewise.
66349 (cpow_test): Use END_COMPLEX macro without arguments.
66350 (cproj_test): Likewise.
66351 (creal_test): Use END macro without arguments.
66352 (csin_test): Use END_COMPLEX macro without arguments.
66353 (csinh_test): Likewise.
66354 (csqrt_test): Likewise.
66355 (ctan_test): Likewise.
66356 (ctan_test_tonearest): Likewise.
66357 (ctan_test_towardzero): Likewise.
66358 (ctan_test_downward): Likewise.
66359 (ctan_test_upward): Likewise.
66360 (ctanh_test): Likewise.
66361 (ctanh_test_tonearest): Likewise.
66362 (ctanh_test_towardzero): Likewise.
66363 (ctanh_test_downward): Likewise.
66364 (ctanh_test_upward): Likewise.
66365 (erf_test): Use END macro without arguments.
66366 (erfc_test): Likewise.
66367 (exp_test): Likewise.
66368 (exp_test_tonearest): Likewise.
66369 (exp_test_towardzero): Likewise.
66370 (exp_test_downward): Likewise.
66371 (exp_test_upward): Likewise.
66372 (exp10_test): Likewise.
66373 (exp2_test): Likewise.
66374 (expm1_test): Likewise.
66375 (fabs_test): Likewise.
66376 (fdim_test): Likewise.
66377 (finite_test): Likewise.
66378 (floor_test): Likewise.
66379 (fma_test): Likewise.
66380 (fma_test_towardzero): Likewise.
66381 (fma_test_downward): Likewise.
66382 (fma_test_upward): Likewise.
66383 (fmax_test): Likewise.
66384 (fmin_test): Likewise.
66385 (fmod_test): Likewise.
66386 (fpclassify_test): Likewise.
66387 (frexp_test): Likewise.
66388 (gamma_test): Likewise.
66389 (hypot_test): Likewise.
66390 (ilogb_test): Likewise.
66391 (isfinite_test): Likewise.
66392 (isgreater_test): Likewise.
66393 (isgreaterequal_test): Likewise.
66394 (isinf_test): Likewise.
66395 (isless_test): Likewise.
66396 (islessequal_test): Likewise.
66397 (islessgreater_test): Likewise.
66398 (isnan_test): Likewise.
66399 (isnormal_test): Likewise.
66400 (issignaling_test): Likewise.
66401 (isunordered_test): Likewise.
66402 (j0_test): Likewise.
66403 (j1_test): Likewise.
66404 (jn_test): Likewise.
66405 (ldexp_test): Likewise.
66406 (lgamma_test): Likewise.
66407 (lrint_test): Likewise.
66408 (lrint_test_tonearest): Likewise.
66409 (lrint_test_towardzero): Likewise.
66410 (lrint_test_downward): Likewise.
66411 (lrint_test_upward): Likewise.
66412 (llrint_test): Likewise.
66413 (llrint_test_tonearest): Likewise.
66414 (llrint_test_towardzero): Likewise.
66415 (llrint_test_downward): Likewise.
66416 (llrint_test_upward): Likewise.
66417 (log_test): Likewise.
66418 (log10_test): Likewise.
66419 (log1p_test): Likewise.
66420 (log2_test): Likewise.
66421 (logb_test): Likewise.
66422 (logb_test_downward): Likewise.
66423 (lround_test): Likewise.
66424 (llround_test): Likewise.
66425 (modf_test): Likewise.
66426 (nearbyint_test): Likewise.
66427 (nextafter_test): Likewise.
66428 (nexttoward_test): Likewise.
66429 (pow_test): Likewise.
66430 (pow_test_tonearest): Likewise.
66431 (pow_test_towardzero): Likewise.
66432 (pow_test_downward): Likewise.
66433 (pow_test_upward): Likewise.
66434 (remainder_test): Likewise.
66435 (remainder_test_tonearest): Likewise.
66436 (remainder_test_towardzero): Likewise.
66437 (remainder_test_downward): Likewise.
66438 (remainder_test_upward): Likewise.
66439 (remquo_test): Likewise.
66440 (rint_test): Likewise.
66441 (rint_test_tonearest): Likewise.
66442 (rint_test_towardzero): Likewise.
66443 (rint_test_downward): Likewise.
66444 (rint_test_upward): Likewise.
66445 (round_test): Likewise.
66446 (scalb_test): Likewise.
66447 (scalbn_test): Likewise.
66448 (scalbln_test): Likewise.
66449 (signbit_test): Likewise.
66450 (sin_test): Likewise.
66451 (sin_test_tonearest): Likewise.
66452 (sin_test_towardzero): Likewise.
66453 (sin_test_downward): Likewise.
66454 (sin_test_upward): Likewise.
66455 (sincos_test): Likewise.
66456 (sinh_test): Likewise.
66457 (sinh_test_tonearest): Likewise.
66458 (sinh_test_towardzero): Likewise.
66459 (sinh_test_downward): Likewise.
66460 (sinh_test_upward): Likewise.
66461 (sqrt_test): Likewise.
66462 (tan_test): Likewise.
66463 (tan_test_tonearest): Likewise.
66464 (tan_test_towardzero): Likewise.
66465 (tan_test_downward): Likewise.
66466 (tan_test_upward): Likewise.
66467 (tanh_test): Likewise.
66468 (tgamma_test): Likewise.
66469 (trunc_test): Likewise.
66470 (y0_test): Likewise.
66471 (y1_test): Likewise.
66472 (yn_test): Likewise.
66473 (significand_test): Likewise.
66474
66475 2013-05-24 Ondƙej Bílka <neleai@seznam.cz>
66476
66477 [BZ #15381]
66478 * libio/genops.c (_IO_no_init): Initialize wide struct info.
66479
66480 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
66481
66482 [BZ #14894]
66483 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66484 __ppc_mdoio and __ppc_mdoom.
66485 * manual/platform.texi: Document new functions __ppc_yield,
66486 __ppc_mdoio and __ppc_mdoom.
66487
66488 2013-05-22 Carlos O'Donell <carlos@redhat.com>
66489
66490 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66491 (main): Mention "tls" pseudo-hwcap is legacy.
66492 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66493
66494 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66495
66496 * math/gen-libm-test.pl (parse_args): Output only string of
66497 arguments as text for test name, not full call or descriptions of
66498 tests for extra outputs.
66499 (generate_testfile): Do not pass function name to parse_args.
66500 Generate this_func variable from START.
66501 * math/libm-test.inc (struct test_f_f_data): Rename test_name
66502 field to arg_str.
66503 (struct test_ff_f_data): Likewise.
66504 (test_ff_f_data_nexttoward): Likewise.
66505 (struct test_fi_f_data): Likewise.
66506 (struct test_fl_f_data): Likewise.
66507 (struct test_if_f_data): Likewise.
66508 (struct test_fff_f_data): Likewise.
66509 (struct test_c_f_data): Likewise.
66510 (struct test_f_f1_data): Likewise. Remove field extra_name.
66511 (struct test_fF_f1_data): Likewise.
66512 (struct test_ffI_f1_data): Likewise.
66513 (struct test_c_c_data): Rename test_name field to arg_str.
66514 (struct test_cc_c_data): Likewise.
66515 (struct test_f_i_data): Likewise.
66516 (struct test_ff_i_data): Likewise.
66517 (struct test_f_l_data): Likewise.
66518 (struct test_f_L_data): Likewise.
66519 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
66520 and extra2_name.
66521 (COMMON_TEST_SETUP): New macro.
66522 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66523 (COMMON_TEST_CLEANUP): Likewise.
66524 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66525 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
66526 macros.
66527 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66528 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
66529 macros.
66530 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66531 (RUN_TEST_fff_f): Take argument string. Call new setup and
66532 cleanup macros.
66533 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66534 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
66535 macros.
66536 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66537 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
66538 macros.
66539 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66540 (RUN_TEST_fF_f1): Take argument string. Call new setup and
66541 cleanup macros.
66542 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66543 (RUN_TEST_fI_f1): Take argument string. Call new setup and
66544 cleanup macros.
66545 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66546 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
66547 cleanup macros.
66548 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66549 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
66550 macros.
66551 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66552 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
66553 macros.
66554 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66555 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
66556 macros.
66557 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66558 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
66559 cleanup macros.
66560 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66561 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
66562 cleanup macros.
66563 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66564 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
66565 macros.
66566 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66567 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
66568 cleanup macros.
66569 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66570 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
66571 macros.
66572 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66573 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
66574 macros.
66575 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66576 (RUN_TEST_fFF_11): Take argument string. Call new setup and
66577 cleanup macros.
66578 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66579
66580 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
66581
66582 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66583 to _sifields.sigfault.
66584 (si_addr_lsb): Define new macro.
66585 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66587 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66588
66589 2013-05-03 Carlos O'Donell <carlos at redhat.com>
66590
66591 [BZ #15441]
66592 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66593 returns -1.
66594 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66595 null return -1.
66596 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66597 loading the domain.
66598
66599 2013-05-22 Joseph Myers <joseph@codesourcery.com>
66600
66601 * math/gen-libm-test.pl (parse_args): Do not include expected
66602 result in test name.
66603 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66606 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66609
66610 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66611
66612 * benchtests/Makefile: Sort function entries.
66613
66614 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66615 tanh, asinh, acosh, atanh.
66616 * benchtests/acos-inputs: New file.
66617 * benchtests/acosh-inputs: New file.
66618 * benchtests/asin-inputs: New file.
66619 * benchtests/asinh-inputs: New file.
66620 * benchtests/atanh-inputs: New file.
66621 * benchtests/cosh-inputs: New file.
66622 * benchtests/log-inputs: New file.
66623 * benchtests/sinh-inputs: New file.
66624 * benchtests/tanh-inputs: New file.
66625
66626 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
66627
66628 [BZ #15339]
66629 * posix/tst-getaddrinfo4.c: New test.
66630 * posix/Makefile (tests): Add it.
66631
66632 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66633
66634 [BZ #15339]
66635 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66636 when no services were used.
66637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66638 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66639
66640 2013-05-21 Andreas Schwab <schwab@suse.de>
66641
66642 [BZ #15014]
66643 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66644 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66645 successful.
66646 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66647 redundant variable declarations and reallocation of buffer when
66648 parsing as IPv6 address. Always set NSS status when called from
66649 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
66650 buffer too small. Correct computation of needed size.
66651 * nss/Makefile (tests): Add test-digits-dots.
66652 * nss/test-digits-dots.c: New test.
66653
66654 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
66655
66656 * benchtests/Makefile: Remove instructions for adding
66657 benchmark tests.
66658 * benchtests/README: New file to explain how to execute and
66659 enhance the benchmark tests.
66660
66661 2013-05-21 Andreas Schwab <schwab@suse.de>
66662
66663 [BZ #15493]
66664 * setjmp/Makefile (tests): Add tst-sigsetjmp.
66665 * setjmp/tst-sigsetjmp.c: New test.
66666
66667 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66668
66669 * sysdeps/x86_64/memset.S (memset): New implementation.
66670 (__bzero): Likewise.
66671 (__memset_tail): New function.
66672
66673 2013-05-20 Ondƙej Bílka <neleai@seznam.cz>
66674
66675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66676 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66677 __memcpy_sse2_unaligned ifunc selection.
66678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66679 Add memcpy-sse2-unaligned.S.
66680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66681 Add: __memcpy_sse2_unaligned.
66682
66683 2013-05-19 Joseph Myers <joseph@codesourcery.com>
66684
66685 [BZ #15490]
66686 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66687 math_force_eval before restoring floating-point envrionment.
66688 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66690 Likewise.
66691 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66692 <math_private.h>.
66693 (__nearbyintl): Use math_force_eval before restoring
66694 floating-point environment.
66695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66696
66697 * math/gen-libm-test.pl (special_functions): Remove.
66698 (parse_args): Don't handle TEST_extra. Handle functions with no
66699 return value.
66700 * math/libm-test.inc (struct test_sincos_data): Replace with
66701 struct test_fFF_11_data.
66702 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66703 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66704 (sincos_test_data): Change element type to struct
66705 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
66706 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66707 RUN_TEST_LOOP_sincos.
66708 * math/README.libm-test: Don't mention special handling of
66709 individual functions.
66710 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66712 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66713 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66716
66717 * math/gen-libm-test.pl (get_variable): Remove function.
66718 (parse_args): Don't show pointer parameters to call in test
66719 names. Use "extra output N" in test names for extra outputs
66720 rather than naming variables.
66721
66722 2013-05-18 Joseph Myers <joseph@codesourcery.com>
66723
66724 [BZ #15488]
66725 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66726 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66727 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66728 double tests.
66729 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66730 disable.
66731 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66732 check_long_double.
66733
66734 * math/gen-libm-test.pl (@tests): Remove variable.
66735 ($count): Likewise.
66736 (new_test): Remove function.
66737 (show_exceptions): New function.
66738 (special_functions): Use show_exceptions instead of new_test.
66739 (parse_args): Likewise.
66740 (generate_testfile): Pass only function name in generated call to
66741 print_max_error or print_complex_max_error.
66742 (get_ulps): Do not handle complex tests specially.
66743 (output_test): Rename to ...
66744 (get_all_ulps_for_test): ... this. Return a string rather than
66745 printing to a file. Require ulps to be present.
66746 (output_ulps): Generate arrays rather than #defines.
66747 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66748 (struct ulp_data): New type.
66749 (BUILD_COMPLEX_ULP): Remove macro.
66750 (compare_ulp_data): New function.
66751 (find_ulps): Likewise.
66752 (find_test_ulps): Likewise.
66753 (find_function_ulps): Likewise.
66754 (find_complex_function_ulps): Likewise.
66755 (print_max_error): Determine allowed ulps using
66756 find_function_ulps.
66757 (print_complex_max_error): Determine allowed ulps using
66758 find_complex_function_ulps.
66759 (check_float_internal): Determine max ulps using find_test_ulps.
66760 (check_float): Do not take max_ulp parameter. Update call to
66761 check_float_internal.
66762 (check_complex): Likewise.
66763 (check_int): Do not take max_ulp parameter.
66764 (check_long): Likewise.
66765 (check_bool): Likewise.
66766 (check_longlong): Likewise.
66767 (struct test_f_f_data): Remove max_ulp field.
66768 (struct test_ff_f_data): Likewise.
66769 (struct test_ff_f_data_nexttoward): Likewise.
66770 (struct test_fi_f_data): Likewise.
66771 (struct test_fl_f_data): Likewise.
66772 (struct test_if_f_data): Likewise.
66773 (struct test_fff_f_data): Likewise.
66774 (struct test_c_f_data): Likewise.
66775 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66776 (struct test_fF_f1_data): Likewise.
66777 (struct test_ffI_f1_data): Likewise.
66778 (struct test_c_c_data): Remove max_ulp field.
66779 (struct test_cc_c_data): Likewise.
66780 (struct test_f_i_data): Likewise.
66781 (struct test_ff_i_data): Likewise.
66782 (struct test_f_l_data): Likewise.
66783 (struct test_f_L_data): Likewise.
66784 (struct test_sincos_data): Likewise.
66785 (RUN_TEST_f_f): Do not handle ulps.
66786 (RUN_TEST_LOOP_f_f): Likewise.
66787 (RUN_TEST_2_f): Likewise.
66788 (RUN_TEST_LOOP_2_f): Likewise.
66789 (RUN_TEST_fff_f): Likewise.
66790 (RUN_TEST_LOOP_fff_f): Likewise.
66791 (RUN_TEST_c_f): Likewise.
66792 (RUN_TEST_LOOP_c_f): Likewise.
66793 (RUN_TEST_f_f1): Likewise.
66794 (RUN_TEST_LOOP_f_f1): Likewise.
66795 (RUN_TEST_fF_f1): Likewise.
66796 (RUN_TEST_LOOP_fF_f1): Likewise.
66797 (RUN_TEST_fI_f1): Likewise.
66798 (RUN_TEST_LOOP_fI_f1): Likewise.
66799 (RUN_TEST_ffI_f1): Likewise.
66800 (RUN_TEST_LOOP_ffI_f1): Likewise.
66801 (RUN_TEST_c_c): Likewise.
66802 (RUN_TEST_LOOP_c_c): Likewise.
66803 (RUN_TEST_cc_c): Likewise.
66804 (RUN_TEST_LOOP_cc_c): Likewise.
66805 (RUN_TEST_f_i): Likewise.
66806 (RUN_TEST_LOOP_f_i): Likewise.
66807 (RUN_TEST_f_i_tg): Likewise.
66808 (RUN_TEST_LOOP_f_i_tg): Likewise.
66809 (RUN_TEST_ff_i_tg): Likewise.
66810 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66811 (RUN_TEST_f_b): Likewise.
66812 (RUN_TEST_LOOP_f_b): Likewise.
66813 (RUN_TEST_f_b_tg): Likewise.
66814 (RUN_TEST_LOOP_f_b_tg): Likewise.
66815 (RUN_TEST_f_l): Likewise.
66816 (RUN_TEST_LOOP_f_l): Likewise.
66817 (RUN_TEST_f_L): Likewise.
66818 (RUN_TEST_LOOP_f_L): Likewise.
66819 (RUN_TEST_sincos): Likewise.
66820 (RUN_TEST_LOOP_sincos): Likewise.
66821
66822 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66823
66824 [BZ #15480]
66825 [BZ #15485]
66826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66827 main case of finite arguments, set rounding mode to FE_TONEAREST
66828 and discard exceptions.
66829 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66830 exceptions.
66831 (remainder_tonearest_test_data): New variable.
66832 (remainder_test_tonearest): New function.
66833 (remainder_towardzero_test_data): New variable.
66834 (remainder_test_towardzero): New function.
66835 (remainder_downward_test_data): New variable.
66836 (remainder_test_downward): New function.
66837 (remainder_upward_test_data): New variable.
66838 (remainder_test_upward): New function.
66839 (main): Call the new test functions.
66840
66841 * math/libm-test.inc (struct test_f_f1_data): Remove field
66842 extra_init.
66843 (struct test_fF_f1_data): Likewise.
66844 (struct test_ffI_f1_data): Likewise.
66845 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66846 based on value of EXTRA_EXPECTED.
66847 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66848 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66849 EXTRA_VAR based on value of EXTRA_EXPECTED.
66850 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66851 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66852 EXTRA_VAR based on value of EXTRA_EXPECTED.
66853 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66854 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66855 EXTRA_VAR based on value of EXTRA_EXPECTED.
66856 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66857 * math/gen-libm-test.pl (parse_args): Don't output initializers
66858 for extra output values.
66859
66860 * math/libm-test.inc (check_int): Expect result to be exactly
66861 equal to expected value and do not handle ulps.
66862 (check_long): Likewise.
66863 (check_longlong): Likewise.
66864
66865 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66866 exceptions.
66867 (cimag_test_data): Likewise.
66868 (conj_test_data): Likewise.
66869 (copysign_test_data): Likewise.
66870 (cproj_test_data): Likewise.
66871 (creal_test_data): Likewise.
66872 (fabs_test_data): Likewise.
66873 (fdim_test_data): Likewise.
66874 (finite_test_data): Likewise.
66875 (floor_test_data): Likewise.
66876 (fmax_test_data): Likewise.
66877 (fmin_test_data): Likewise.
66878 (fmod_test_data): Likewise.
66879 (fpclassify_test_data): Likewise.
66880 (frexp_test_data): Likewise.
66881 (ilogb_test_data): Likewise.
66882 (isfinite_test_data): Likewise.
66883 (isgreater_test_data): Likewise.
66884 (isgreaterequal_test_data): Likewise.
66885 (isinf_test_data): Likewise.
66886 (isless_test_data): Likewise.
66887 (islessequal_test_data): Likewise.
66888 (islessgreater_test_data): Likewise.
66889 (isnan_test_data): Likewise.
66890 (isnormal_test_data): Likewise.
66891 (issignaling_test_data): Likewise.
66892 (isunordered_test_data): Likewise.
66893 (ldexp_test_data): Likewise.
66894 (lrint_test_data): Likewise.
66895 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66896 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66897 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66898 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66899 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66900 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66901 test input.
66902 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66903 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66904 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66905 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66906 that test input.
66907 (lrint_downward_test_data): Test for "inexact" exceptions.
66908 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66909 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66910 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66911 test input.
66912 (lrint_upward_test_data): Test for "inexact" exceptions.
66913 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66914 test input.
66915 (llrint_test_data): Test for "inexact" exceptions.
66916 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66917 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66918 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66919 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66920 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66921 (llrint_downward_test_data): Test for "inexact" exceptions.
66922 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66923 (llrint_upward_test_data): Test for "inexact" exceptions.
66924 (logb_test_data): Likewise.
66925 (logb_downward_test_data): Likewise.
66926 (nextafter_test_data): Likewise.
66927 (nexttoward_test_data): Likewise.
66928 (remainder_test_data): Likewise.
66929 (remquo_test_data): Likewise.
66930 (scalbn_test_data): Likewise.
66931 (scalbln_test_data): Likewise.
66932 (signbit_test_data): Likewise.
66933 (sqrt_test_data): Likewise.
66934 (significand_test_data): Likewise.
66935
66936 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66937
66938 [BZ #15424]
66939 * benchtests/bench-modf.c (struct args): Mark arg0 as
66940 volatile.
66941 * scripts/bench.pl: Mark members of struct args as volatile.
66942
66943 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66944
66945 [BZ # 15497]
66946 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66947 negative infinity on POWER6 or lower.
66948 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66949
66950 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66951
66952 [BZ #15442]
66953 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66954 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66955 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66956 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66957 (_FP_SETQNAN): New macro.
66958 (_FP_SETQNAN_SEMIRAW): Likewise.
66959 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66960 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66961 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66962 (FP_EXTEND): Use _FP_FRAC_SNANP.
66963 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66964 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66965 into account.
66966 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66967 New macro.
66968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66969 Likewise.
66970
66971 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66972
66973 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66974 with DIVIDE_BY_ZERO_EXCEPTION.
66975 (gamma_test_data): Likewise.
66976 (lgamma_test_data): Likewise.
66977 (log_test_data): Likewise.
66978 (log10_test_data): Likewise.
66979 (log2_test_data): Likewise.
66980 (tgamma_test_data): Likewise.
66981
66982 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66983 (acos_test_tonearest): Likewise.
66984 (acos_test_towardzero): Likewise.
66985 (acos_test_downward): Likewise.
66986 (acos_test_upward): Likewise.
66987 (acosh_test): Likewise.
66988 (asin_test): Likewise.
66989 (asin_test_tonearest): Likewise.
66990 (asin_test_towardzero): Likewise.
66991 (asin_test_downward): Likewise.
66992 (asin_test_upward): Likewise.
66993 (asinh_test): Likewise.
66994 (atan_test): Likewise.
66995 (atanh_test): Likewise.
66996 (atan2_test): Likewise.
66997 (cabs_test): Likewise.
66998 (cacos_test): Likewise.
66999 (cacosh_test): Likewise.
67000 (casin_test): Likewise.
67001 (casinh_test): Likewise.
67002 (catan_test): Likewise.
67003 (catanh_test): Likewise.
67004 (cbrt_test): Likewise.
67005 (ccos_test): Likewise.
67006 (ccosh_test): Likewise.
67007 (cexp_test): Likewise.
67008 (clog_test): Likewise.
67009 (clog10_test): Likewise.
67010 (cos_test): Likewise.
67011 (cos_test_tonearest): Likewise.
67012 (cos_test_towardzero): Likewise.
67013 (cos_test_downward): Likewise.
67014 (cos_test_upward): Likewise.
67015 (cosh_test): Likewise.
67016 (cosh_test_tonearest): Likewise.
67017 (cosh_test_towardzero): Likewise.
67018 (cosh_test_downward): Likewise.
67019 (cosh_test_upward): Likewise.
67020 (cpow_test): Likewise.
67021 (csin_test): Likewise.
67022 (csinh_test): Likewise.
67023 (csqrt_test): Likewise.
67024 (ctan_test): Likewise.
67025 (ctan_test_tonearest): Likewise.
67026 (ctan_test_towardzero): Likewise.
67027 (ctan_test_downward): Likewise.
67028 (ctan_test_upward): Likewise.
67029 (ctanh_test): Likewise.
67030 (ctanh_test_tonearest): Likewise.
67031 (ctanh_test_towardzero): Likewise.
67032 (ctanh_test_downward): Likewise.
67033 (ctanh_test_upward): Likewise.
67034 (erf_test): Likewise.
67035 (erfc_test): Likewise.
67036 (exp_test): Likewise.
67037 (exp_test_tonearest): Likewise.
67038 (exp_test_towardzero): Likewise.
67039 (exp_test_downward): Likewise.
67040 (exp_test_upward): Likewise.
67041 (exp10_test): Likewise.
67042 (exp2_test): Likewise.
67043 (expm1_test): Likewise.
67044 (fmod_test): Likewise.
67045 (gamma_test): Likewise.
67046 (hypot_test): Likewise.
67047 (j0_test): Likewise.
67048 (j1_test): Likewise.
67049 (jn_test): Likewise.
67050 (lgamma_test): Likewise.
67051 (log_test): Likewise.
67052 (log10_test): Likewise.
67053 (log1p_test): Likewise.
67054 (log2_test): Likewise.
67055 (logb_test_downward): Likewise.
67056 (pow_test): Likewise.
67057 (pow_test_tonearest): Likewise.
67058 (pow_test_towardzero): Likewise.
67059 (pow_test_downward): Likewise.
67060 (pow_test_upward): Likewise.
67061 (remainder_test): Likewise.
67062 (remquo_test): Likewise.
67063 (sin_test): Likewise.
67064 (sin_test_tonearest): Likewise.
67065 (sin_test_towardzero): Likewise.
67066 (sin_test_downward): Likewise.
67067 (sin_test_upward): Likewise.
67068 (sincos_test): Likewise.
67069 (sinh_test): Likewise.
67070 (sinh_test_tonearest): Likewise.
67071 (sinh_test_towardzero): Likewise.
67072 (sinh_test_downward): Likewise.
67073 (sinh_test_upward): Likewise.
67074 (sqrt_test): Likewise.
67075 (tan_test): Likewise.
67076 (tan_test_tonearest): Likewise.
67077 (tan_test_towardzero): Likewise.
67078 (tan_test_downward): Likewise.
67079 (tan_test_upward): Likewise.
67080 (tanh_test): Likewise.
67081 (tgamma_test): Likewise.
67082 (y0_test): Likewise.
67083 (y1_test): Likewise.
67084 (yn_test): Likewise.
67085
67086 * math/gen-libm-test.pl (adjust_arg): Remove function.
67087 (special_function): Remove argument $in_func. Only handle
67088 generating output for tables of tests, not inside functions.
67089 (parse_args): Likewise.
67090 (generate_testfile): Remove variable $in_func. Update call to
67091 parse_args.
67092 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67093 (MINUS_ZERO_INIT): Rename macro to minus_zero.
67094 (PLUS_INFTY_INIT): Rename macro to plus_infty.
67095 (MINUS_INFTY_INIT): Rename macro to minus_infty.
67096 (QNAN_VALUE_INIT): Rename macro to qnan_value.
67097 (MAX_VALUE_INIT): Rename macro to max_value.
67098 (MIN_VALUE_INIT): Rename macro to min_value.
67099 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67100 (plus_zero): Remove variable.
67101 (minus_zero): Likewise.
67102 (plus_infty): Likewise.
67103 (minus_infty): Likewise.
67104 (qnan_value): Likewise.
67105 (max_value): Likewise.
67106 (min_value): Likewise.
67107 (min_subnorm_value): Likewise.
67108
67109 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
67110
67111 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67112 uint64_t or uint32_t usage.
67113 * crypt/sha256-block.c: Likewise.
67114 * crypt/sha256-crypt.c: Likewise.
67115 * crypt/sha256.c: Likewise.
67116 * crypt/sha512-block.c: Likewise.
67117 * crypt/sha512-crypt.c: Likewise.
67118 * crypt/sha512.c: Likewise.
67119 * debug/backtrace-tst.c: Likewise.
67120 * debug/pcprofiledump.c: Likewise.
67121 * elf/cache.c: Likewise.
67122 * elf/dl-cache.c: Likewise.
67123 * elf/dl-misc.c: Likewise.
67124 * elf/dl-profile.c: Likewise.
67125 * elf/dl-support.c: Likewise.
67126 * elf/ldconfig.c: Likewise.
67127 * elf/sprof.c: Likewise.
67128 * iconv/dummy-repertoire.c: Likewise.
67129 * iconv/iconv_charmap.c: Likewise.
67130 * iconv/skeleton.c: Likewise.
67131 * iconvdata/8bit-generic.c: Likewise.
67132 * iconvdata/cp737.h: Likewise.
67133 * iconvdata/cp775.h: Likewise.
67134 * iconvdata/ibm1008.h: Likewise.
67135 * iconvdata/ibm1025.h: Likewise.
67136 * iconvdata/ibm1046.h: Likewise.
67137 * iconvdata/ibm1097.h: Likewise.
67138 * iconvdata/ibm1112.h: Likewise.
67139 * iconvdata/ibm1122.h: Likewise.
67140 * iconvdata/ibm1123.h: Likewise.
67141 * iconvdata/ibm1124.h: Likewise.
67142 * iconvdata/ibm1129.h: Likewise.
67143 * iconvdata/ibm1130.h: Likewise.
67144 * iconvdata/ibm1132.h: Likewise.
67145 * iconvdata/ibm1133.h: Likewise.
67146 * iconvdata/ibm1137.h: Likewise.
67147 * iconvdata/ibm1140.h: Likewise.
67148 * iconvdata/ibm1141.h: Likewise.
67149 * iconvdata/ibm1142.h: Likewise.
67150 * iconvdata/ibm1143.h: Likewise.
67151 * iconvdata/ibm1144.h: Likewise.
67152 * iconvdata/ibm1145.h: Likewise.
67153 * iconvdata/ibm1146.h: Likewise.
67154 * iconvdata/ibm1147.h: Likewise.
67155 * iconvdata/ibm1148.h: Likewise.
67156 * iconvdata/ibm1149.h: Likewise.
67157 * iconvdata/ibm1153.h: Likewise.
67158 * iconvdata/ibm1154.h: Likewise.
67159 * iconvdata/ibm1155.h: Likewise.
67160 * iconvdata/ibm1156.h: Likewise.
67161 * iconvdata/ibm1157.h: Likewise.
67162 * iconvdata/ibm1158.h: Likewise.
67163 * iconvdata/ibm1160.h: Likewise.
67164 * iconvdata/ibm1161.h: Likewise.
67165 * iconvdata/ibm1162.h: Likewise.
67166 * iconvdata/ibm1163.h: Likewise.
67167 * iconvdata/ibm1164.h: Likewise.
67168 * iconvdata/ibm1166.h: Likewise.
67169 * iconvdata/ibm1167.h: Likewise.
67170 * iconvdata/ibm12712.h: Likewise.
67171 * iconvdata/ibm1390.h: Likewise.
67172 * iconvdata/ibm1399.h: Likewise.
67173 * iconvdata/ibm16804.h: Likewise.
67174 * iconvdata/ibm4517.h: Likewise.
67175 * iconvdata/ibm4899.h: Likewise.
67176 * iconvdata/ibm4909.h: Likewise.
67177 * iconvdata/ibm4971.h: Likewise.
67178 * iconvdata/ibm5347.h: Likewise.
67179 * iconvdata/ibm803.h: Likewise.
67180 * iconvdata/ibm856.h: Likewise.
67181 * iconvdata/ibm901.h: Likewise.
67182 * iconvdata/ibm902.h: Likewise.
67183 * iconvdata/ibm9030.h: Likewise.
67184 * iconvdata/ibm9066.h: Likewise.
67185 * iconvdata/ibm921.h: Likewise.
67186 * iconvdata/ibm922.h: Likewise.
67187 * iconvdata/ibm9448.h: Likewise.
67188 * iconvdata/isiri-3342.h: Likewise.
67189 * iconvdata/jis0201.h: Likewise.
67190 * include/link.h: Likewise.
67191 * include/netdb.h: Likewise.
67192 * inet/check_native.c: Likewise.
67193 * inet/check_pf.c: Likewise.
67194 * inet/getipv4sourcefilter.c: Likewise.
67195 * inet/getnameinfo.c: Likewise.
67196 * inet/getsourcefilter.c: Likewise.
67197 * inet/htonl.c: Likewise.
67198 * inet/setipv4sourcefilter.c: Likewise.
67199 * inet/setsourcefilter.c: Likewise.
67200 * inet/test-inet6_opt.c: Likewise.
67201 * inet/tst-network.c: Likewise.
67202 * locale/C-collate.c: Likewise.
67203 * locale/C-ctype.c: Likewise.
67204 * locale/C-time.c: Likewise.
67205 * locale/C-translit.h: Likewise.
67206 * locale/loadarchive.c: Likewise.
67207 * locale/programs/3level.h: Likewise.
67208 * locale/programs/charmap.c: Likewise.
67209 * locale/programs/charmap.h: Likewise.
67210 * locale/programs/ld-address.c: Likewise.
67211 * locale/programs/ld-collate.c: Likewise.
67212 * locale/programs/ld-ctype.c: Likewise.
67213 * locale/programs/ld-identification.c: Likewise.
67214 * locale/programs/ld-measurement.c: Likewise.
67215 * locale/programs/ld-messages.c: Likewise.
67216 * locale/programs/ld-monetary.c: Likewise.
67217 * locale/programs/ld-name.c: Likewise.
67218 * locale/programs/ld-numeric.c: Likewise.
67219 * locale/programs/ld-paper.c: Likewise.
67220 * locale/programs/ld-telephone.c: Likewise.
67221 * locale/programs/ld-time.c: Likewise.
67222 * locale/programs/linereader.c: Likewise.
67223 * locale/programs/locale.c: Likewise.
67224 * locale/programs/locarchive.c: Likewise.
67225 * locale/programs/locfile.h: Likewise.
67226 * locale/programs/repertoire.c: Likewise.
67227 * locale/programs/simple-hash.c: Likewise.
67228 * locale/programs/simple-hash.h: Likewise.
67229 * malloc/memusage.c: Likewise.
67230 * malloc/memusagestat.c: Likewise.
67231 * nis/nis_defaults.c: Likewise.
67232 * nis/nis_hash.c: Likewise.
67233 * nis/nis_print.c: Likewise.
67234 * nis/nis_xdr.c: Likewise.
67235 * nscd/connections.c: Likewise.
67236 * nscd/hstcache.c: Likewise.
67237 * nscd/nscd_gethst_r.c: Likewise.
67238 * nscd/nscd_getserv_r.c: Likewise.
67239 * nscd/nscd_helper.c: Likewise.
67240 * nscd/servicescache.c: Likewise.
67241 * nss/makedb.c: Likewise.
67242 * nss/nss_db/db-XXX.c: Likewise.
67243 * nss/nss_db/db-initgroups.c: Likewise.
67244 * nss/nss_db/db-netgrp.c: Likewise.
67245 * nss/nss_files/files-network.c: Likewise.
67246 * nss/nss_files/files-parse.c: Likewise.
67247 * posix/bug-regex5.c: Likewise.
67248 * posix/fnmatch_loop.c: Likewise.
67249 * posix/regcomp.c: Likewise.
67250 * posix/regexec.c: Likewise.
67251 * posix/tst-rfc3484-2.c: Likewise.
67252 * posix/tst-rfc3484-3.c: Likewise.
67253 * posix/tst-rfc3484.c: Likewise.
67254 * resolv/nss_dns/dns-canon.c: Likewise.
67255 * resolv/nss_dns/dns-network.c: Likewise.
67256 * resolv/res_init.c: Likewise.
67257 * resolv/res_mkquery.c: Likewise.
67258 * resolv/tst-aton.c: Likewise.
67259 * stdlib/cxa_atexit.c: Likewise.
67260 * stdlib/cxa_finalize.c: Likewise.
67261 * stdlib/gen-fpioconst.c: Likewise.
67262 * stdlib/strtol_l.c: Likewise.
67263 * string/tst-endian.c: Likewise.
67264 * sunrpc/auth_des.c: Likewise.
67265 * sunrpc/clnt_udp.c: Likewise.
67266 * sunrpc/rtime.c: Likewise.
67267 * sunrpc/svcauth_des.c: Likewise.
67268 * sunrpc/xdr.c: Likewise.
67269 * sunrpc/xdr_intXX_t.c: Likewise.
67270 * sunrpc/xdr_rec.c: Likewise.
67271 * sysdeps/generic/ldconfig.h: Likewise.
67272 * sysdeps/generic/ldsodefs.h: Likewise.
67273 * sysdeps/generic/memusage.h: Likewise.
67274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67276 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67280 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67281 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67284 * sysdeps/posix/getaddrinfo.c: Likewise.
67285 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67286 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67287 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67288 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67289 * sysdeps/powerpc/test-gettimebase.c: Likewise.
67290 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67291 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67292 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67293 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67294 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67295 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67296 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67297 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67298 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67299 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67300 * sysdeps/x86_64/dl-tls.h: Likewise.
67301 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67302 * time/alt_digit.c: Likewise.
67303 * time/era.c: Likewise.
67304 * wcsmbs/tst-c16c32-1.c: Likewise.
67305
67306 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67307
67308 * math/libm-test.inc (struct test_sincos_data): New type.
67309 (RUN_TEST_LOOP_sincos): New macro.
67310 (sincos_test_data): New variable.
67311 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67312
67313 2013-05-16 Richard Henderson <rth@redhat.com>
67314
67315 * math/atest-exp2.c (LIMB64): New macro.
67316 (CONSTSZ): New macro.
67317 (mp_exp1, mp_exp_m1, mp_log2): New variables.
67318 (hexdig): Move ...
67319 (print_mpn_fp): ... to function scope.
67320 (read_mpn_hex): Remove.
67321 (get_log2): Remove.
67322 (exp2_mpn): Use mp_log2.
67323 (main): Use mp_exp1.
67324
67325 2013-05-16 Joseph Myers <joseph@codesourcery.com>
67326
67327 * math/libm-test.inc: Remove comment about not testing "inexact"
67328 exceptions.
67329 (INEXACT_EXCEPTION): New macro.
67330 (NO_INEXACT_EXCEPTION): Likewise.
67331 (INVALID_EXCEPTION_OK): Update value.
67332 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67333 (OVERFLOW_EXCEPTION_OK): Likewise.
67334 (UNDERFLOW_EXCEPTION_OK): Likewise.
67335 (IGNORE_ZERO_INF_SIGN): Likewise.
67336 (ERRNO_UNCHANGED): Likewise.
67337 (ERRNO_EDOM): Likewise.
67338 (ERRNO_ERANGE): Likewise.
67339 (test_exceptions): Handle testing "inexact" exceptions.
67340 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67341 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67342 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67343 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67344 INEXACT_EXCEPTION.
67345 (rint_towardzero_test_data): Likewise.
67346 (rint_downward_test_data): Likewise.
67347 (rint_upward_test_data): Likewise.
67348
67349 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67350 with OVERFLOW_EXCEPTION.
67351 (exp10_test_data): Likewise.
67352 (exp2_test_data): Likewise.
67353 (expm1_test_data): Likewise.
67354 (lgamma_test_data): Likewise.
67355 (pow_test_data): Likewise.
67356 (tgamma_test_data): Likewise.
67357 (yn_test_data): Remove duplicate test of overflow.
67358
67359 * math/libm-test.inc (struct test_cc_c_data): New type.
67360 (RUN_TEST_LOOP_cc_c): New macro.
67361 (cpow_test_data): New variable.
67362 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67363
67364 * math/libm-test.inc (struct test_f_L_data): New type.
67365 (RUN_TEST_LOOP_f_L): New macro.
67366 (llrint_test_data): New variable.
67367 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67368 (llrint_tonearest_test_data): New variable.
67369 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67370 (llrint_towardzero_test_data): New variable.
67371 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67372 (llrint_downward_test_data): New variable.
67373 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67374 (llrint_upward_test_data): New variable.
67375 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67376 (llround_test_data): New variable.
67377 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67378
67379 2013-05-13 Peter Collingbourne <pcc@google.com>
67380
67381 * math/atest-exp2.c (get_log2): Remove const attribute.
67382
67383 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67384
67385 * math/libm-test.inc (struct test_f_l_data): New type.
67386 (RUN_TEST_LOOP_f_l): New macro.
67387 (lrint_test_data): New variable.
67388 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67389 (lrint_tonearest_test_data): New variable.
67390 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67391 (lrint_towardzero_test_data): New variable.
67392 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67393 (lrint_downward_test_data): New variable.
67394 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67395 (lrint_upward_test_data): New variable.
67396 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67397 (lround_test_data): New variable.
67398 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67399
67400 2013-05-15 Peter Collingbourne <pcc@google.com>
67401
67402 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67403 (EXTRACT_WORDS64) Use where appropriate.
67404 (INSERT_WORDS64) Likewise.
67405
67406 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67407 constraints with x constraints.
67408 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67409
67410 * malloc/obstack.c (_obstack_compat): Add initializer.
67411
67412 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67413
67414 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67415 si_trapno and add si_addr_lsb to _sifields.sigfault.
67416 (si_trapno): Remove macro.
67417 (si_addr_lsb): Define new macro.
67418 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67419
67420 2013-05-15 Joseph Myers <joseph@codesourcery.com>
67421
67422 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67423 instead of TEST_f_l.
67424 (llrint_test_tonearest): Likewise.
67425 (llrint_test_towardzero): Likewise.
67426 (llrint_test_downward): Likewise.
67427 (llrint_test_upward): Likewise.
67428 (llround_test): Likewise.
67429
67430 * math/libm-test.inc (struct test_f_i_data): Add comment.
67431 (RUN_TEST_LOOP_f_b): New macro.
67432 (RUN_TEST_LOOP_f_b_tg): Likewise.
67433 (finite_test_data): New variable.
67434 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67435 (isfinite_test_data): New variable.
67436 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67437 (isinf_test_data): New variable.
67438 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67439 (isnan_test_data): New variable.
67440 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67441 (isnormal_test_data): New variable.
67442 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67443 (issignaling_test_data): New variable.
67444 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67445 (signbit_test_data): New variable.
67446 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67447
67448 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67449 with INVALID_EXCEPTION.
67450 (acosh_test_data): Likewise.
67451 (asin_test_data): Likewise.
67452 (atanh_test_data): Likewise.
67453 (fmod_test_data): Likewise.
67454 (log_test_data): Likewise.
67455 (log10_test_data): Likewise.
67456 (log2_test_data): Likewise.
67457 (pow_test_data): Likewise.
67458 (sqrt_test_data): Likewise.
67459 (y0_test_data): Likewise.
67460 (y1_test_data): Likewise.
67461 (yn_test_data): Likewise.
67462
67463 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67464 function contents.
67465
67466 * math/libm-test.inc (struct test_ff_i_data): New type.
67467 (RUN_TEST_LOOP_ff_i_tg): New macro.
67468 (isgreater_test_data): New variable.
67469 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67470 (isgreaterequal_test_data): New variable.
67471 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67472 (isless_test_data): New variable.
67473 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67474 (islessequal_test_data): New variable.
67475 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67476 (islessgreater_test_data): New variable.
67477 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67478 (isunordered_test_data): New variable.
67479 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67480
67481 2013-05-14 David S. Miller <davem@davemloft.net>
67482
67483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67484
67485 2013-05-14 Joseph Myers <joseph@codesourcery.com>
67486
67487 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67488
67489 * math/libm-test.inc (struct test_fF_f1_data): Change type of
67490 extra_test to int.
67491 (struct test_f_i_data): Change type of max_ulp to int.
67492
67493 * math/libm-test.inc (test_ffI_f1_data): New type.
67494 (RUN_TEST_LOOP_ffI_f1): New macro.
67495 (remquo_test_data): New variable.
67496 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67497
67498 * setjmp/tst-setjmp-fp.c: New file.
67499 * setjmp/Makefile (tests): Add tst-setjmp-fp.
67500 (link-libm): New variable.
67501 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67502
67503 * math/libm-test.inc (struct test_f_i_data): New type.
67504 (RUN_TEST_LOOP_f_i): New macro.
67505 (RUN_TEST_LOOP_f_i_tg): Likewise.
67506 (fpclassify_test_data): New variable.
67507 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67508 (ilogb_test_data): New variable.
67509 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67510
67511 * math/libm-test.inc (scalbln_test): Correct function name in END
67512 call.
67513
67514 * math/libm-test.inc (struct test_f_f1_data): Add comment.
67515 (RUN_TEST_LOOP_fI_f1): New macro.
67516 (frexp_test_data): New variable.
67517 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67518
67519 * math/libm-test.inc (struct test_fF_f1_data): New type.
67520 (RUN_TEST_LOOP_fF_f1): New macro.
67521 (modf_test_data): New variable.
67522 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67523
67524 * math/libm-test.inc (struct test_f_f1_data): New type.
67525 (RUN_TEST_LOOP_f_f1): New macro.
67526 (gamma_test_data): New variable.
67527 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67528 (lgamma_test_data): New variable.
67529 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67530
67531 2013-05-13 Carlos O'Donell <carlos@redhat.com>
67532
67533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67534 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67535 (main): Comment "tls" pseudo-hwcap.
67536
67537 2013-05-13 Joseph Myers <joseph@codesourcery.com>
67538
67539 * math/libm-test.inc (struct test_fl_f_data): New type.
67540 (RUN_TEST_LOOP_fl_f): New variable.
67541 (scalbln_test_data): New variable.
67542 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67543
67544 * math/libm-test.inc (struct test_fi_f_data): New type.
67545 (RUN_TEST_LOOP_fi_f): New macro.
67546 (ldexp_test_data): New variable.
67547 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67548 (scalbn_test_data): New variable.
67549 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67550
67551 * math/libm-test.inc (struct test_c_f_data): New type.
67552 (RUN_TEST_LOOP_c_f): New macro.
67553 (cabs_test_data): New variable.
67554 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67555 (carg_test_data): New variable.
67556 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67557 (cimag_test_data): New variable.
67558 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67559 (creal_test_data): New variable.
67560 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67561
67562 * math/libm-test.inc (struct test_if_f_data): New type.
67563 (RUN_TEST_LOOP_if_f): New macro.
67564 (jn_test_data): New variable.
67565 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67566 (yn_test_data): New variable.
67567 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67568
67569 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67570
67571 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67572
67573 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67574 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67575
67576 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
67577
67578 * benchtests/Makefile (CPPFLAGS-nonlib): Add
67579 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67580 (bench-deps): Add bench-timing.h.
67581 * benchtests-bench-skeleton.c: Include bench-timing.h.
67582 (main): Use TIMING_* macros instead of clock_gettime.
67583 * benchtests/bench-timing.h: New file.
67584
67585 [BZ #14582]
67586 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67587 Renamed from _LIB_VERSION.
67588 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67589
67590 2013-05-12 Joseph Myers <joseph@codesourcery.com>
67591
67592 * math/libm-test.inc (struct test_fff_f_data): New type.
67593 (RUN_TEST_LOOP_fff_f): New macro.
67594 (fma_test_data): New variable.
67595 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67596 (fma_towardzero_test_data): New variable.
67597 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67598 (fma_downward_test_data): New variable.
67599 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67600 (fma_upward_test_data): New variable.
67601 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67602
67603 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67604 (struct test_c_c_data): New type.
67605 (RUN_TEST_LOOP_c_c): New macro.
67606 (cacos_test_data): New variable.
67607 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67608 (cacosh_test_data): New variable.
67609 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67610 (casin_test_data): New variable.
67611 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67612 (casinh_test_data): New variable.
67613 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67614 (catan_test_data): New variable.
67615 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67616 (catanh_test_data): New variable.
67617 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67618 (ccos_test_data): New variable.
67619 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67620 (ccosh_test_data): New variable.
67621 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67622 (cexp_test_data): New variable.
67623 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67624 (clog_test_data): New variable.
67625 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67626 (clog10_test_data): New variable.
67627 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67628 (conj_test_data): New variable.
67629 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67630 (cproj_test_data): New variable.
67631 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67632 (csin_test_data): New variable.
67633 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67634 (csinh_test_data): New variable.
67635 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67636 (csqrt_test_data): New variable.
67637 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67638 (ctan_test_data): New variable.
67639 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67640 (ctan_tonearest_test_data): New variable.
67641 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67642 (ctan_towardzero_test_data): New variable.
67643 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67644 (ctan_downward_test_data): New variable.
67645 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67646 (ctan_upward_test_data): New variable.
67647 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67648 (ctanh_test_data): New variable.
67649 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67650 (ctanh_tonearest_test_data): New variable.
67651 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67652 (ctanh_towardzero_test_data): New variable.
67653 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67654 (ctanh_downward_test_data): New variable.
67655 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67656 (ctanh_upward_test_data): New variable.
67657 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67658 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67659 of BUILD_COMPLEX.
67660
67661 * math/libm-test.inc (struct test_ff_f_data): New type.
67662 (struct test_ff_f_data_nexttoward): Likewise.
67663 (RUN_TEST_LOOP_2_f): New macro.
67664 (RUN_TEST_LOOP_ff_f): Likewise.
67665 (atan2_test_data): New variable.
67666 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67667 (copysign_test_data): New variable.
67668 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67669 (fdim_test_data): New variable.
67670 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67671 (fmax_test_data): New variable.
67672 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67673 (fmin_test_data): New variable.
67674 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67675 (fmod_test_data): New variable.
67676 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67677 (hypot_test_data): New variable.
67678 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67679 (nextafter_test_data): New variable.
67680 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67681 (nexttoward_test_data): New variable.
67682 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67683 (pow_test_data): New variable.
67684 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67685 (pow_tonearest_test_data): New variable.
67686 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67687 (pow_towardzero_test_data): New variable.
67688 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67689 (pow_downward_test_data): New variable.
67690 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67691 (pow_upward_test_data): New variable.
67692 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67693 (remainder_test_data): New variable.
67694 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67695 (scalb_test_data): New variable.
67696 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67697 * sysdeps/i386/fpu/libm-test-ulps: Update.
67698
67699 2013-05-11 Joseph Myers <joseph@codesourcery.com>
67700
67701 * math/libm-test.inc (fma_test): Use max_value instead of local
67702 variable fltmax.
67703 (nextafter_test): Likewise.
67704
67705 * math/libm-test.inc (acos_towardzero_test_data): New variable.
67706 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67707 (acos_downward_test_data): New variable.
67708 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67709 (acos_upward_test_data): New variable.
67710 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67711 (acosh_test_data): New variable.
67712 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67713 (asin_test_data): New variable.
67714 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67715 (asin_tonearest_test_data): New variable.
67716 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67717 (asin_towardzero_test_data): New variable.
67718 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67719 (asin_downward_test_data): New variable.
67720 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67721 (asin_upward_test_data): New variable.
67722 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67723 (asinh_test_data): New variable.
67724 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67725 (atan_test_data): New variable.
67726 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67727 (atanh_test_data): New variable.
67728 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67729 (cbrt_test_data): New variable.
67730 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67731 (ceil_test_data): New variable.
67732 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67733 (cos_test_data): New variable.
67734 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67735 (cos_tonearest_test_data): New variable.
67736 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67737 (cos_towardzero_test_data): New variable.
67738 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67739 (cos_downward_test_data): New variable.
67740 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67741 (cos_upward_test_data): New variable.
67742 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67743 (cosh_test_data): New variable.
67744 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67745 (cosh_tonearest_test_data): New variable.
67746 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67747 (cosh_towardzero_test_data): New variable.
67748 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67749 (cosh_downward_test_data): New variable.
67750 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67751 (cosh_upward_test_data): New variable.
67752 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67753 (erf_test_data): New variable.
67754 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67755 (erfc_test_data): New variable.
67756 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67757 (exp_test_data): New variable.
67758 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67759 (exp_tonearest_test_data): New variable.
67760 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67761 (exp_towardzero_test_data): New variable.
67762 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67763 (exp_downward_test_data): New variable.
67764 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67765 (exp_upward_test_data): New variable.
67766 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67767 (exp10_test_data): New variable.
67768 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67769 (exp2_test_data): New variable.
67770 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67771 (expm1_test_data): New variable.
67772 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67773 (fabs_test_data): New variable.
67774 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67775 (floor_test_data): New variable.
67776 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67777 (j0_test_data): New variable.
67778 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67779 (j1_test_data): New variable.
67780 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67781 (log_test_data): New variable.
67782 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67783 (log10_test_data): New variable.
67784 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67785 (log1p_test_data): New variable.
67786 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67787 (log2_test_data): New variable.
67788 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67789 (logb_test_data): New variable.
67790 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67791 (logb_downward_test_data): New variable.
67792 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67793 (nearbyint_test_data): New variable.
67794 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67795 (rint_test_data): New variable.
67796 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67797 (rint_tonearest_test_data): New variable.
67798 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67799 (rint_towardzero_test_data): New variable.
67800 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67801 (rint_downward_test_data): New variable.
67802 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67803 (rint_upward_test_data): New variable.
67804 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67805 (round_test_data): New variable.
67806 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67807 (sin_test_data): New variable.
67808 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67809 (sin_tonearest_test_data): New variable.
67810 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67811 (sin_towardzero_test_data): New variable.
67812 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67813 (sin_downward_test_data): New variable.
67814 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67815 (sin_upward_test_data): New variable.
67816 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67817 (sinh_test_data): New variable.
67818 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67819 (sinh_tonearest_test_data): New variable.
67820 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67821 (sinh_towardzero_test_data): New variable.
67822 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67823 (sinh_downward_test_data): New variable.
67824 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67825 (sinh_upward_test_data): New variable.
67826 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67827 (sqrt_test_data): New variable.
67828 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67829 (tan_test_data): New variable.
67830 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67831 (tan_tonearest_test_data): New variable.
67832 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67833 (tan_towardzero_test_data): New variable.
67834 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67835 (tan_downward_test_data): New variable.
67836 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67837 (tan_upward_test_data): New variable.
67838 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67839 (tanh_test_data): New variable.
67840 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67841 (tgamma_test_data): New variable.
67842 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67843 (trunc_test_data): New variable.
67844 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67845 (y0_test_data): New variable.
67846 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67847 (y1_test_data): New variable.
67848 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67849 (significand_test_data): New variable.
67850 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67851
67852 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67853
67854 [BZ #12387]
67855 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67856
67857 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67858
67859 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67860
67861 2013-05-10 Andreas Jaeger <aj@suse.de>
67862
67863 [BZ #15448]
67864 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67865 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67866
67867 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67868
67869 * math/gen-libm-test.pl (adjust_arg): New function.
67870 (special_functions): Handle generating output in both functions
67871 and arrays.
67872 (parse_args): Likewise.
67873 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67874 $in_func argument to parse_args.
67875 * math/libm-test.inc (struct test_f_f_data): New type.
67876 (IF_ROUND_INIT_): New macro.
67877 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67878 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67879 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67880 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67881 (ROUND_RESTORE_): Likewise.
67882 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67883 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67884 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67885 (ROUND_RESTORE_FE_UPWARD): Likewise.
67886 (RUN_TEST_LOOP_f_f): New macro.
67887 (acos_test_data): New variable.
67888 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67889 (acos_tonearest_test_data): New variable.
67890 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67891
67892 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67893
67894 * benchtests/bench-skeleton.c (startup): Fix coding style.
67895
67896 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67897
67898 [BZ #6809]
67899 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67900 negative infinity argument.
67901 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67902 negative infinity argument.
67903 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67904 negative infinity argument.
67905 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67906 domain errors.
67907
67908 2013-05-10 Florian Weimer <fweimer@redhat.com>
67909
67910 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67911 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67912 * iconv/iconv_prog.c (main): Likewise.
67913 * locale/programs/charmap-dir.c (charmap_readdir)
67914 (fopen_uncompressed): Likewise.
67915 * locale/programs/locfile.c (siblings_uncached)
67916 (write_locale_data): Use lstat64 instead of lstat.
67917 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67918 stat.
67919
67920 2013-05-10 Andreas Jaeger <aj@suse.de>
67921
67922 [BZ #15395]
67923 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67924 localization.
67925 Include <locale.h>.
67926
67927 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67928
67929 * elf/dl-close.c (_dl_close_worker): Add comments.
67930
67931 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67932
67933 [BZ #15359]
67934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67935 high part of pi/2.
67936 (__ieee754_rem_pio2l): Update comments.
67937
67938 [BZ #15429]
67939 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67940 high part of pi/2.
67941 (__ieee754_rem_pio2l): Update comments.
67942
67943 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67944 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67945
67946 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67947 M_PI_4l.
67948
67949 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67950 (M_PI_34_LOG10El): Likewise.
67951 (M_PI2_LOG10El): Likewise.
67952 (M_PI4_LOG10El): Likewise.
67953 (M_PI_LOG10El): Likewise.
67954
67955 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67956
67957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67958
67959 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67960
67961 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67962 (MINUS_ZERO_INIT): Likewise.
67963 (PLUS_INFTY_INIT): Likewise.
67964 (MINUS_INFTY_INIT): Likewise.
67965 (QNAN_VALUE_INIT): Likewise.
67966 (MAX_VALUE_INIT): Likewise.
67967 (MIN_VALUE_INIT): Likewise.
67968 (MIN_SUBNORM_VALUE_INIT): Likewise.
67969 (plus_zero): Initialize with PLUS_ZERO_INIT.
67970 (minus_zero): Initialize with MINUS_ZERO_INIT.
67971 (plus_infty): Initialize with PLUS_INFTY_INIT.
67972 (minus_infty): Initialize with MINUS_INFTY_INIT.
67973 (qnan_value): Initialize with QNAN_VALUE_INIT.
67974 (max_value): Initialize with MAX_VALUE_INIT.
67975 (min_value): Initialize with MIN_VALUE_INIT.
67976 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67977
67978 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67979 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67980 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67981 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67982
67983 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67984 (RUN_TEST_2_f): Likewise.
67985 (RUN_TEST_ff_f): Likewise.
67986 (RUN_TEST_fi_f): Likewise.
67987 (RUN_TEST_fl_f): Likewise.
67988 (RUN_TEST_fff_f): Likewise.
67989 (RUN_TEST_c_f): Likewise.
67990 (RUN_TEST_f_f1): Likewise.
67991 (RUN_TEST_fF_f1): Likewise.
67992 (RUN_TEST_fI_f1): Likewise.
67993 (RUN_TEST_ffI_f1): Likewise.
67994 (RUN_TEST_c_c): Likewise.
67995 (RUN_TEST_cc_c): Likewise.
67996 (RUN_TEST_f_i): Likewise.
67997 (RUN_TEST_f_i_tg): Likewise.
67998 (RUN_TEST_ff_i_tg): Likewise.
67999 (RUN_TEST_f_b): Likewise.
68000 (RUN_TEST_f_b_tg): Likewise.
68001 (RUN_TEST_f_l): Likewise.
68002 (RUN_TEST_f_L): Likewise.
68003 (RUN_TEST_sincos): Likewise.
68004 * math/gen-libm-test.pl (new_test): Take new argument to indicate
68005 whether to show exceptions. Do not include ");\n" in return
68006 value.
68007 (special_functions): Output call to RUN_TEST_sincos instead of
68008 check_float calls. Update calls to new_test.
68009 (parse_args): Output call to single RUN_TEST_* macro instead of
68010 check_* calls and other assignments. Update calls to new_test.
68011
68012 [BZ #2546]
68013 [BZ #2560]
68014 [BZ #5159]
68015 [BZ #15426]
68016 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68017 input to result for tgamma overflow.
68018 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68019 (gamma_coeff): New variable.
68020 (NCOEFF): New macro.
68021 (gamma_positive): New function.
68022 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68023 underflow here. Use gamma_positive instead of exp (lgamma) for
68024 other arguments.
68025 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68026 (gamma_coeff): New variable.
68027 (NCOEFF): New macro.
68028 (gammaf_positive): New function.
68029 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68030 underflow here. Use gamma_positive instead of exp (lgamma) for
68031 other arguments.
68032 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68033 (gamma_coeff): New variable.
68034 (NCOEFF): New macro.
68035 (gammal_positive): New function.
68036 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68037 underflow here. Use gamma_positive instead of exp (lgamma) for
68038 other arguments.
68039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68040 (gamma_coeff): New variable.
68041 (NCOEFF): New macro.
68042 (gammal_positive): New function.
68043 (__ieee754_gammal_r): Handle positive infinity, overflow and
68044 underflow here. Handle NaN the same as positive infinity. Remove
68045 check x < 0xffffffff for negative integers. Use gamma_positive
68046 instead of exp (lgamma) for other arguments.
68047 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68048 (gamma_coeff): New variable.
68049 (NCOEFF): New macro.
68050 (gammal_positive): New function.
68051 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68052 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68053 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68054 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68055 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68056 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68057 * sysdeps/generic/math_private.h (__gamma_productf): New
68058 prototype.
68059 (__gamma_product): Likewise.
68060 (__gamma_productl): Likewise.
68061 * math/Makefile (libm-calls): Add gamma_product.
68062 * math/libm-test.inc (tgamma_test): Add more tests.
68063 * sysdeps/i386/fpu/libm-test-ulps: Update.
68064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68065
68066 2013-05-08 Ondƙej Bílka <neleai@seznam.cz>
68067
68068 * benchtests/bench-skeleton.c (main): Preheat CPU.
68069
68070 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
68071
68072 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68073
68074 2013-05-07 Roland McGrath <roland@hack.frob.com>
68075
68076 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68077 and _dl_skip_args_internal.
68078
68079 2013-05-07 Carlos O'Donell <carlos@redhat.com>
68080
68081 * manual/message.texi (Message Translation): Talk about users.
68082 Message to key mapping impacts design.
68083
68084 2013-05-06 Roland McGrath <roland@hack.frob.com>
68085
68086 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68087
68088 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68089
68090 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68091 * sysdeps/wordsize-64/glob64.c: ... here.
68092
68093 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68094 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68095 New macros.
68096
68097 * debug/getlogin_r_chk.c: Moved to ...
68098 * login/getlogin_r_chk.c: ... here.
68099 * debug/Makefile (routines): Move getlogin_r_chk to ...
68100 * login/Makefile (routines): ... here.
68101 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68102 * login/Versions (libc: GLIBC_2.4): ... here.
68103
68104 * io/poll.c (__poll): Renamed from poll.
68105 Add libc_hidden_def.
68106 (poll): Define as weak alias.
68107
68108 * debug/ptsname_r_chk.c: Moved to ...
68109 * login/ptsname_r_chk.c: ... here.
68110 * debug/Makefile (routines): Move ptsname_r_chk to ...
68111 * login/Makefile (routines): ... here.
68112 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68113 * login/Versions (libc: GLIBC_2.4): ... here.
68114
68115 * posix/getlogin.c: Moved to ...
68116 * login/getlogin.c: ... here.
68117 * posix/getlogin_r.c: Moved to ...
68118 * login/getlogin_r.c: ... here.
68119 * posix/getlogin_r.c: Moved to ...
68120 * login/getlogin_r.c: ... here.
68121 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68122 * login/Makefile (routines): ... here.
68123 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68124 * login/Versions (libc: GLIBC_2.0): ... here.
68125
68126 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68127 (setrlimit): Define as weak alias.
68128
68129 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68130 Call __ names for open, ftruncate, and close.
68131 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68132 (truncate): Define as weak alias.
68133
68134 2013-05-06 Joseph Myers <joseph@codesourcery.com>
68135
68136 * math/gen-libm-test.pl (parse_args): Initialize x before each
68137 test of frexp, modf and remquo.
68138
68139 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68140 test signgam value.
68141
68142 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68143
68144 [BZ #15418]
68145 [BZ #15419]
68146 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68147 internal tests.
68148 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68149
68150 2013-05-06 Roland McGrath <roland@hack.frob.com>
68151
68152 * elf/dl-writev.h: New file.
68153 * elf/dl-misc.c: Include it.
68154 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68155 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68156
68157 2013-05-04 Joseph Myers <joseph@codesourcery.com>
68158
68159 * math/libm-test.inc (noXFails): Remove variable.
68160 (noXPasses): Likewise.
68161 (BUILD_COMPLEX_INT): Remove macro.
68162 (print_screen): Remove xfail argument.
68163 (print_screen_max_error): Likewise.
68164 (update_stats): Likewise.
68165 (print_max_error): Likewise. Update calls to other affected
68166 functions.
68167 (print_complex_max_error): Likewise.
68168 (test_single_exception): Update calls to print_screen.
68169 (test_single_errno): Likewise.
68170 (check_float_internal): Remove xfail argument. Update calls to
68171 other affected functions.
68172 (check_float): Likewise.
68173 (check_complex): Likewise.
68174 (check_int): Likewise.
68175 (check_long): Likewise.
68176 (check_bool): Likewise.
68177 (check_longlong): Likewise.
68178 (main): Don't print noXFails and noXPasses.
68179 * math/gen-libm-test.pl (top level): Don't mention expected
68180 failure handling in comment.
68181 (new_test): Don't handle expected failures.
68182 (parse_args): Don't mention expected failure handling in comment.
68183 (generate_testfile): Don't handle expected failures.
68184 (parse_ulps): Likewise.
68185 (print_ulps_file): Likewise.
68186 (get_failure): Remove function.
68187 (output_test): Don't handle expected failures.
68188 * make/README.libm-test: Don't mention expected failure handling.
68189
68190 * math/libm-test.inc (plus_zero): Make const. Add initializer.
68191 (minus_zero): Likewise.
68192 (plus_infty): Likewise.
68193 (minus_infty): Likewise.
68194 (qnan_value): Likewise.
68195 (max_value): Likewise.
68196 (min_value): Likewise.
68197 (min_subnorm_value): Likewise.
68198 (initialize): Do not initialize those variables dynamically.
68199
68200 2013-05-03 Roland McGrath <roland@hack.frob.com>
68201
68202 * io/open.c (__open_2): Moved to ...
68203 * io/open_2.c: ... this new file.
68204 * io/open64.c (__open64_2): Moved to ...
68205 * io/open64_2.c: ... this new file.
68206 * io/openat.c (__openat_2): Moved to ...
68207 * io/openat_2.c: ... this new file.
68208 * io/openat64.c (__openat64_2): Moved to ...
68209 * io/openat64_2.c: ... this new file.
68210 * io/Makefile (routines): Add them.
68211 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68212 * sysdeps/unix/sysv/linux/open_2.c: File removed.
68213 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68214 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68215 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68216 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68217 (__openat64): Add hidden_ver.
68218 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68219 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68220
68221 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68222 Separately conditionalize setting of GLRO(dl_sysinfo) so
68223 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68224 as well, but the actual setting is only under [NEED_DL_SYSINFO].
68225
68226 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68227
68228 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68230 definition.
68231 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68232 * sysdeps/unix/sysv/linux/powerpc/init-first.c
68233 (_libc_vdso_platform_setup): Add __vdso_time initialization.
68234 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68235 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68236
68237 2013-05-03 Joseph Myers <joseph@codesourcery.com>
68238
68239 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68240 test signgam value.
68241
68242 * math/libm-test.inc (hypot_test): Do not use
68243 IGNORE_ZERO_INF_SIGN.
68244
68245 2013-05-03 Andreas Jaeger <aj@suse.de>
68246
68247 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68248 Linux 3.9.
68249 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68250 (PF_MAX): Adjust for VSOCK change.
68251
68252 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68253
68254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68255
68256 2013-05-02 Carlos O'Donell <carlos@redhat.com>
68257
68258 [BZ #15264]
68259 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68260 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68261 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68262
68263 2013-05-02 David S. Miller <davem@davemloft.net>
68264
68265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68266
68267 2013-05-01 Ondƙej Bílka <neleai@seznam.cz>
68268
68269 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68270
68271 2013-05-01 Roland McGrath <roland@hack.frob.com>
68272
68273 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68274
68275 2013-05-01 Richard Smith <richard@metafoo.co.uk>
68276
68277 [BZ #14952]
68278 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68279 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68280 Use __attribute__ ((__gnu_inline__)).
68281 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68282 Don't use __attribute__ ((__gnu_inline__)).
68283
68284 2013-05-01 Joseph Myers <joseph@codesourcery.com>
68285
68286 [BZ #15423]
68287 * math/s_catan.c (__catan): Handle small real or imaginary part of
68288 input specially to avoid spurious underflow.
68289 * math/s_catanf.c (__catanf): Likewise.
68290 * math/s_catanh.c (__catanh): Likewise.
68291 * math/s_catanhf.c (__catanhf): Likewise.
68292 * math/s_catanhl.c (__catanhl): Likewise.
68293 * math/s_catanl.c (__catanl): Likewise.
68294 * math/libm-test.inc (catan_test): Add more tests.
68295 (catanh_test): Likewise.
68296 * sysdeps/i386/fpu/libm-test-ulps: Update.
68297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68298
68299 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68300
68301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68302
68303 2013-04-30 Joseph Myers <joseph@codesourcery.com>
68304
68305 [BZ #15416]
68306 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68307 accurately for denominator in atan2.
68308 * math/s_catanf.c (__catanf): Likewise.
68309 * math/s_catanh.c (__catanh): Likewise.
68310 * math/s_catanhf.c (__catanhf): Likewise.
68311 * math/s_catanhl.c (__catanhl): Likewise.
68312 * math/s_catanl.c (__catanl): Likewise.
68313 * math/libm-test.inc (catan_test): Add more tests.
68314 (catanh_test): Likewise.
68315 * sysdeps/i386/fpu/libm-test-ulps: Update.
68316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68317
68318 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68319
68320 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68321
68322 * benchtests/Makefile (bench): Remove slow benchmarks.
68323 * benchtests/atan-inputs: Add slow benchmark inputs.
68324 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68325 (BENCH_FUNC): Accept variant offset.
68326 (VARIANT): Define.
68327 * benchtests/bench-skeleton.c (main): Run benchmark for each
68328 variant.
68329 * benchtests/cos-inputs: Add slow benchmark inputs.
68330 * benchtests/exp-inputs: Likewise.
68331 * benchtests/pow-inputs: Likewise.
68332 * benchtests/sin-inputs: Likewise.
68333 * benchtests/slowatan-inputs: Remove.
68334 * benchtests/slowatan.c: Remove.
68335 * benchtests/slowcos-inputs: Remove.
68336 * benchtests/slowcos.c: Remove.
68337 * benchtests/slowexp-inputs: Remove.
68338 * benchtests/slowexp.c: Remove.
68339 * benchtests/slowpow-inputs: Remove.
68340 * benchtests/slowpow.c: Remove.
68341 * benchtests/slowsin-inputs: Remove.
68342 * benchtests/slowsin.c: Remove.
68343 * benchtests/slowtan-inputs: Remove.
68344 * benchtests/slowtan.c: Remove.
68345 * benchtests/tan-inputs: Add slow benchmark inputs.
68346 * scripts/bench.pl: Parse comments and directives.
68347
68348 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
68349 in CPPFLAGS.
68350 ($(objpfx)bench-%.c): Remove *-ITER.
68351 * benchtests/bench-modf.c: Remove definition of ITER.
68352 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68353 (main): Loop for DURATION seconds instead of fixed number of
68354 iterations.
68355 * scripts/bench.pl: Don't expect iterations in parameters.
68356
68357 2013-04-29 Roland McGrath <roland@hack.frob.com>
68358
68359 * io/fchdir.c (__fchdir): Renamed from fchdir.
68360 (fchdir): Define as weak alias.
68361
68362 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68363
68364 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68365 (ERRNO_EDOM): Likewise.
68366 (ERRNO_ERANGE): Likewise.
68367 (noErrnoTests): New variable.
68368 (init_max_error): Set errno to 0.
68369 (test_single_errno): New function.
68370 (test_errno): Likewise.
68371 (check_float_internal): Call test_errno. Set errno to 0.
68372 (check_complex): Refer to errno tests in comment.
68373 (check_int): Call test_errno. Set errno to 0.
68374 (check_long): Likewise.
68375 (check_bool): Likewise.
68376 (check_longlong): Likewise.
68377 (cos_test): Use ERRNO_* flags for errno tests instead of
68378 check_int.
68379 (expm1_test): Likewise.
68380 (fmod_test): Likewise.
68381 (ilogb_test): Likewise.
68382 (lgamma_test): Likewise.
68383 (pow_test): Likewise.
68384 (remainder_test): Likewise.
68385 (sin_test): Likewise.
68386 (tan_test): Likewise.
68387 (yn_test): Likewise.
68388 (initialize): Set errno to 0.
68389 (main): Print number of errno tests.
68390 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68391
68392 2013-04-29 Andreas Jaeger <aj@suse.de>
68393
68394 [BZ #15084]
68395 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68396 and RES_USEVC.
68397
68398 [BZ #15085]
68399 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68400 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68401 unimplemented.
68402
68403 [BZ #15380]
68404 * stdlib/random.c (__initstate): Return NULL if
68405 __initstate fails.
68406
68407 [BZ #15086]
68408 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68409 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68410 RES_SNGLKUPREOP.
68411
68412 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68413
68414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68415
68416 2013-04-29 Joseph Myers <joseph@codesourcery.com>
68417
68418 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68419 of individual tests.
68420 (casin_test): Likewise.
68421 (casinh_test): Likewise.
68422
68423 2013-04-27 Joseph Myers <joseph@codesourcery.com>
68424
68425 [BZ #15409]
68426 * math/s_catan.c (__catan): Handle arguments with large real or
68427 imaginary part separately without squaring.
68428 * math/s_catanf.c (__catanf): Likewise.
68429 * math/s_catanh.c (__catanh): Likewise.
68430 * math/s_catanhf.c (__catanhf): Likewise.
68431 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68432 and redefine.
68433 (__catanhl): Handle arguments with large real or imaginary part
68434 separately without squaring.
68435 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68436 and redefine.
68437 (__catanl): Handle arguments with large real or imaginary part
68438 separately without squaring.
68439 * math/libm-test.inc (catan_test): Add more tests.
68440 (catanh_test): Likewise.
68441 * sysdeps/i386/fpu/libm-test-ulps: Update.
68442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68443
68444 2013-04-27 Andreas Jaeger <aj@suse.de>
68445
68446 [BZ #15007]
68447 * stdlib/stdlib.h: Update guards for qecvt.
68448 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68449 <stdlib.h>.
68450
68451 2013-04-27 Allan McRae <allan@archlinux.org>
68452
68453 * sysdeps/i386/fpu/libm-test-ulps: Update.
68454
68455 2013-04-26 Joseph Myers <joseph@codesourcery.com>
68456
68457 [BZ #15406]
68458 * math/s_catan.c: Include <float.h>.
68459 (__catan): Ensure underflow exception occurs for underflowed
68460 result.
68461 * math/s_catanf.c: Include <float.h>.
68462 (__catanf): Ensure underflow exception occurs for underflowed
68463 result.
68464 * math/s_catanh.c: Include <float.h>.
68465 (__catanh): Ensure underflow exception occurs for underflowed
68466 result.
68467 * math/s_catanhf.c: Include <float.h>.
68468 (__catanhf): Ensure underflow exception occurs for underflowed
68469 result.
68470 * math/s_catanhl.c: Include <float.h>.
68471 (__catanhl): Ensure underflow exception occurs for underflowed
68472 result.
68473 * math/s_catanl.c: Include <float.h>.
68474 (__catanl): Ensure underflow exception occurs for underflowed
68475 result.
68476 * math/libm-test.inc (catan_test): Add more tests.
68477 (catanh_test): Likewise.
68478
68479 [BZ #15405]
68480 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68481 underflowed result.
68482 * math/s_ccoshf.c (__ccoshf): Likewise.
68483 * math/s_ccoshl.c (__ccoshl): Likewise.
68484 * math/s_csin.c (__csin): Likewise.
68485 * math/s_csinf.c (__csinf): Likewise.
68486 * math/s_csinh.c (__csinh): Likewise.
68487 * math/s_csinhf.c (__csinhf): Likewise.
68488 * math/s_csinhl.c (__csinhl): Likewise.
68489 * math/s_csinl.c (__csinl): Likewise.
68490 * math/libm-test.inc (ccos_test): Add more tests.
68491 (ccosh_test): Likewise.
68492 (csin_test): Likewise.
68493 (csinh_test): Likewise.
68494
68495 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68496
68497 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68498 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68499 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68500 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68501 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68502 powerpc/power5+/fpu folders.
68503 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68504
68505
68506 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
68507
68508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68509
68510 2013-04-25 Joseph Myers <joseph@codesourcery.com>
68511
68512 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68513 additions to variable.
68514 [$(config-machine) = x86_64] (modules-names): Likewise.
68515 ($(objpfx)tst-audit3): Remove dependency.
68516 ($(objpfx)tst-audit3.out): Likewise.
68517 ($(objpfx)tst-audit4): Likewise.
68518 ($(objpfx)tst-audit4.out): Likewise.
68519 ($(objpfx)tst-audit5): Likewise.
68520 ($(objpfx)tst-audit5.out): Likewise.
68521 ($(objpfx)tst-audit6): Likewise.
68522 ($(objpfx)tst-audit6.out): Likewise.
68523 ($(objpfx)tst-audit7): Likewise.
68524 ($(objpfx)tst-audit7.out): Likewise.
68525 (tst-audit3-ENV): Remove variable.
68526 (tst-audit4-ENV): Likewise.
68527 (tst-audit5-ENV): Likewise.
68528 (tst-audit6-ENV): Likewise.
68529 (tst-audit7-ENV): Likewise.
68530 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68531 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68532 addition to variable.
68533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68538 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68539 tst-audit3, tst-audit4 and tst-audit5.
68540 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68541 tst-audit6 and tst-audit7.
68542 [$(subdir) = elf] (modules-names): Add audit modules for those
68543 tests.
68544 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68545 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68546 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68547 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68548 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68549 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68550 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68551 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68552 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68553 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68554 [$(subdir) = elf] (tst-audit3-ENV): New variable.
68555 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68556 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68557 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68558 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68559 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68560 Likewise.
68561 [$(subdir) = elf && $(config-cflags-avx) = yes]
68562 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68563 [$(subdir) = elf && $(config-cflags-avx) = yes]
68564 (CFLAGS-tst-auditmod4a.c): Likewise.
68565 [$(subdir) = elf && $(config-cflags-avx) = yes]
68566 (CFLAGS-tst-auditmod4b.c): Likewise.
68567 [$(subdir) = elf && $(config-cflags-avx) = yes]
68568 (CFLAGS-tst-auditmod6b.c): Likewise.
68569 [$(subdir) = elf && $(config-cflags-avx) = yes]
68570 (CFLAGS-tst-auditmod6c.c): Likewise.
68571 [$(subdir) = elf && $(config-cflags-avx) = yes]
68572 (CFLAGS-tst-auditmod7b.c): Likewise.
68573 * elf/tst-audit3.c: Move to ...
68574 * sysdeps/x86_64/tst-audit3.c: ... here.
68575 * elf/tst-audit4.c: Move to ...
68576 * sysdeps/x86_64/tst-audit4.c: ... here.
68577 * elf/tst-audit5.c: Move to ...
68578 * sysdeps/x86_64/tst-audit5.c: ... here.
68579 * elf/tst-audit6.c: Move to ...
68580 * sysdeps/x86_64/tst-audit6.c: ... here.
68581 * elf/tst-audit7.c: Move to ...
68582 * sysdeps/x86_64/tst-audit7.c: ... here.
68583 * elf/tst-auditmod3a.c: Move to ...
68584 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68585 * elf/tst-auditmod3b.c: Move to ...
68586 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68587 * elf/tst-auditmod4a.c: Move to ...
68588 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68589 * elf/tst-auditmod4b.c: Move to ...
68590 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68591 * elf/tst-auditmod5a.c: Move to ...
68592 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68593 * elf/tst-auditmod5b.c: Move to ...
68594 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68595 * elf/tst-auditmod6a.c: Move to ...
68596 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68597 * elf/tst-auditmod6b.c: Move to ...
68598 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68599 * elf/tst-auditmod6c.c: Move to ...
68600 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68601 * elf/tst-auditmod7a.c: Move to ...
68602 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68603 * elf/tst-auditmod7b.c: Move to ...
68604 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68605
68606 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
68607
68608 [BZ #15366]
68609 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68610 define unconditionally.
68611 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68612 define unconditionally.
68613 (INT8_C, INT16_C, etc.): Likewise.
68614
68615 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
68616
68617 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68618 __ehdr_start with hidden visibility.
68619
68620 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68621
68622 2013-04-24 Carlos O'Donell <carlos@redhat.com>
68623
68624 * math/libm-test.inc (cos_test): Use accurate hex constants.
68625 (sincost_test): Likewise.
68626
68627 2013-04-24 Joseph Myers <joseph@codesourcery.com>
68628
68629 * math/libm-test.inc (catan_test): Add more tests.
68630 (catanh_test): Likewise.
68631
68632 * math/s_catanf.c (__catanf): Use suffixed floating-point
68633 constants.
68634 * math/s_catanhf.c (__catanhf): Likewise.
68635 * math/s_catanhl.c (__catanhl): Likewise.
68636 * math/s_catanl.c (__catanl): Likewise.
68637
68638 [BZ #15394]
68639 * math/s_catan.c (__catan): Calculate imaginary part of result
68640 with log1p not log unless computing log of number close to 0.
68641 * math/s_catanf.c (__catanf): Likewise.
68642 * math/s_catanl.c (__catanl): Likewise.
68643 * math/s_catanh.c (__catanh): Calculate real part of result with
68644 log1p not log unless computing log of number close to 0.
68645 * math/s_catanhf.c (__catanhf): Likewise.
68646 * math/s_catanhl.c (__catanhl): Likewise.
68647 * math/libm-test.inc (catan_test): Add more tests.
68648 (catanh_test): Likewise.
68649 * sysdeps/i386/fpu/libm-test-ulps: Update.
68650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68651
68652 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68653
68654 * benchtests/Makefile: Mention files in which fast and slow
68655 paths of math functions are implemented.
68656
68657 2013-04-23 Roland McGrath <roland@hack.frob.com>
68658
68659 * sysdeps/posix/timespec_get.c: New file.
68660
68661 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68662
68663 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68664 POWER.
68665 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68666 for POWER.
68667 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68668 powerpc/power5/fpu folders.
68669 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68670 * benchtests/Makefile: Add modf testcase.
68671 * benchtests/bench-modf.c: New file: Benchmark test for mo
68672
68673 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
68674
68675 [BZ #14888]
68676 * time/Makefile (tests): Add tst-strptime-whitespace.
68677 * time/strptime_l.c (get_number): Use ISSPACE.
68678 (__strptime_internal): Likewise.
68679 * time/tst-strptime-whitespace.c: New test case.
68680
68681 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
68682
68683 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68684 member.
68685 (_nss_files_init): Set it here.
68686
68687 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
68688
68689 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68690 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68691 unsigned.
68692
68693 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
68694
68695 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68696
68697 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68698
68699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68700 size just once.
68701
68702 2013-04-21 David S. Miller <davem@davemloft.net>
68703
68704 * po/ru.po: Update Russion translation from translation project.
68705
68706 2013-04-17 Adam Conrad <adconrad@0c3.net>
68707
68708 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68709 and setfsgid.
68710
68711 2013-04-17 Carlos O'Donell <carlos@redhat.com>
68712
68713 * configure.in: Remove i386 configure warning. Remove i386 case.
68714 * configure: Regenerate.
68715 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68716 Add example to error message.
68717 * sysdeps/i386/configure: Regenerate.
68718
68719 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
68720
68721 * benchtests/Makefile (bench): Add cos, tan, slowcos and
68722 slowtan.
68723 * benchtests/cos-inputs: New file.
68724 * benchtests/slowcos-inputs: New file.
68725 * benchtests/slowcos.c: New file.
68726 * benchtests/slowtan-inputs: New file.
68727 * benchtests/slowtan.c: New file.
68728 * benchtests/tan-inputs: New file.
68729
68730 2013-04-16 Roland McGrath <roland@hack.frob.com>
68731
68732 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68733 considered kosher.
68734
68735 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68736
68737 * benchtests/Makefile: Include cppflags-iterator.mk to add
68738 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68739
68740 * Makefile.in (bench-clean): New target.
68741 * benchtests/Makefile (bench-clean): Likewise.
68742
68743 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68744
68745 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68746
68747 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68748
68749 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68750
68751 2013-04-15 Andreas Schwab <schwab@suse.de>
68752
68753 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68755 * nscd/pwdcache.c (cache_addpw): Likewise.
68756 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68757 more than recsize.
68758
68759 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68760
68761 * benchtests/Makefile (bench): Write all output to
68762 bench-out.tmp together.
68763
68764 2013-04-15 Andreas Schwab <schwab@suse.de>
68765
68766 * nscd/nscd.c (main): Don't fork again after closing files.
68767
68768 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68769
68770 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68771
68772 * benchtests/Rules (bench-deps): Collect dependencies into a
68773 single variable. Add Makefile to dependencies.
68774 ($(objpfx)bench-%.c): Depend on bench-deps.
68775
68776 2013-04-12 Roland McGrath <roland@hack.frob.com>
68777 Xavier Roche <roche+kml2@exalead.com>
68778
68779 [BZ #15361]
68780 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68781 just that it's a file descriptor.
68782 * manual/llio.texi (Synchronizing AIO Operations): Update description
68783 for EBADF error from aio_fsync.
68784
68785 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68786
68787 * Rules (bench): Move target definition...
68788 * benchtests/Makefile: ... here.
68789
68790 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68791
68792 * math/libm-test.inc (cos_test): Fix PI/2 test.
68793 (sincos_test): Likewise.
68794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68795 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68796
68797 2013-04-11 Andreas Schwab <schwab@suse.de>
68798
68799 [BZ #13988]
68800 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68801 accept exponent character only when digits were seen.
68802 * stdio-common/Makefile (tests): Add bug26.
68803 * stdio-common/bug26.c: New file.
68804
68805 [BZ #14293]
68806 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68807 non-freeable.
68808
68809 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68810
68811 * Makeconfig (rtld-prefix): Define built linker prefix.
68812 * Rules (run-bench): Use it.
68813 * math/Makefile (run-regen-ulps): Likewise.
68814
68815 * Rules (bench): Remove eval.
68816
68817 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68818 Roland McGrath <roland@hack.frob.com>
68819 Ondrej Bilka <neleai@seznam.cz>
68820
68821 [BZ #15346]
68822 * time/getdate.c: Include ctype.h and alloca.h.
68823 (__getdate_r): Trim leading and trailing spaces of input.
68824 * time/tst-getdate.c (tests): Add tests with leading and
68825 trailing spaces.
68826
68827 2013-04-08 Roland McGrath <roland@hack.frob.com>
68828
68829 [BZ #14280]
68830 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68831 when computing value.
68832
68833 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68834
68835 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68836 Use testrun.sh to run libm tests.
68837
68838 [BZ #15309]
68839 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68840
68841 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68842
68843 [BZ #15264]
68844 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68845
68846 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68847
68848 * Makefile.in (regen-ulps): New target.
68849 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68850 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68851 [ifneq (no,$(PERL)] (regen-ulps): New target.
68852 [ifeq (no,$(PERL)] (regen-ulps): New target.
68853 * math/libm-test.inc (ulps_file_name): Define.
68854 (output_dir): New variable.
68855 (options): Add "output-dir" option.
68856 (parse_opt): Handle 'o' case.
68857 (main): If output_dir is non-NULL use it as a prefix
68858 otherwise use "".
68859 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68860
68861 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68862
68863 [BZ #10060, #10062]
68864 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68865 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68866 fail configure if __sync_val_compare_and_swap is not inlined.
68867 * sysdeps/i386/configure: Regenerate.
68868 * configure.in: Build for i686 when configured for i386.
68869 * configure: Regenerate.
68870 * README: Remove i386 reference.
68871
68872 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68873
68874 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68876
68877 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68878
68879 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68880 (lmsnanval): New variables.
68881 (F): Add conversion tests.
68882 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68883 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68884
68885 * stdio-common/tstdiomisc.c (F): Properly collect individual
68886 tests' results.
68887
68888 [BZ #14686, #15336]
68889 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68890 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68891 Instead, use input NaN values or generate a qNaN by arithmetic
68892 operation. Also fix bugs to comply with the standard.
68893 * math/libm-test.inc (remainder_test): Add more tests.
68894
68895 [BZ #15335, #15342]
68896 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68898 input NaN values or generate a qNaN by arithmetic operation.
68899
68900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68901 unreachable code.
68902
68903 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68904 definitions.
68905
68906 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68907
68908 [BZ #14478]
68909 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68910 underflowed result.
68911 * math/s_cexpf.c (__cexpf): Likewise.
68912 * math/s_cexpl.c (__cexpl): Likewise.
68913 * math/libm-test.inc (cexp_test): Add more tests.
68914
68915 2013-04-03 Andreas Schwab <schwab@suse.de>
68916
68917 [BZ #15330]
68918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68919 order arrays from heap if bigger than alloca cutoff.
68920
68921 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68922
68923 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68924 (SNAN_TESTS_double): Refer to GCC PR56831.
68925 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68926 GCC PR56828.
68927
68928 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68929
68930 * Rules (bench): Move bench.out after the run is complete.
68931
68932 * Rules (bench): Echo currently running benchmark.
68933
68934 * benchtests/Makefile (bench): Add atan and slowatan.
68935 * benchtests/atan-inputs: New file.
68936 * benchtests/slowatan-inputs: New file.
68937 * benchtests/slowatan.c: New file.
68938
68939 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68940 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68941 its value.
68942
68943 [BZ #15305]
68944 * sysdeps/unix/sysv/linux/kernel-features.h
68945 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68946 __ASSUME_XFS_RESTRICTED_CHOWN.
68947 * sysdeps/unix/sysv/linux/pathconf.c
68948 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68949 Save and restore errno.
68950
68951 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68952
68953 [BZ #15327]
68954 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68955 arguments using __kernel_casinh.
68956 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68957 arguments using __kernel_casinhf.
68958 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68959 arguments using __kernel_casinhl.
68960 * math/libm-test.inc (cacosh_test): Add more tests.
68961 * sysdeps/i386/fpu/libm-test-ulps: Update.
68962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68963
68964 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68965
68966 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68968
68969 * bench/Makefile (bench): Add sin and slowsin.
68970 * benchtests/sin-inputs: New file.
68971 * benchtests/slowsin-inputs: New file.
68972 * benchtests/slowsin.c: New file.
68973
68974 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68975 (bench): Add slowexp and slowpow.
68976 (exp-ITER): Increase iterations.
68977 (pow-ITER): Likewise.
68978 * benchtests/exp-inputs: Change input.
68979 * benchtests/pow-inputs: Likewise.
68980 * benchtests/slowexp-inputs: New file.
68981 * benchtests/slowexp.c: New file.
68982 * benchtests/slowpow-inputs: New file.
68983 * benchtests/slowpow.c: New file.
68984
68985 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68986
68987 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68988 instructions.
68989 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68990 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68991 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68992 * benchtests/Makefile: Add rint benchtest.
68993 * benchtests/rint-inputs: Input for rint benchtest.
68994
68995 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68996
68997 * Versions.def (libm): Add GLIBC_2.18.
68998 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68999 hidden libm prototypes.
69000 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69001 * math/Makefile (libm-calls): Add s_issignaling.
69002 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69003 __issignalingf, __issignalingl. Adjust all libm.abilist files.
69004 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69005 declaration.
69006 * math/math.h [__USE_GNU] (issignaling): New macro.
69007 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69008 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69009 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69010 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69011 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69012 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69013 * manual/arith.texi (issignaling): New section.
69014 * manual/libm-err-tab.pl (@all_functions): Update comment.
69015 * math/gen-libm-test.pl (parse_args): Apply special handling for
69016 issignaling.
69017 * math/libm-test.inc (print_float, issignaling_test): New
69018 functions.
69019 (check_float_internal): Add issignaling checks.
69020 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69021 default definition.
69022 * sysdeps/powerpc/math-tests.h: New file.
69023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69024 tests.
69025 * math/test-snan.c (TEST_FUNC): Likewise.
69026
69027 2013-03-30 David S. Miller <davem@davemloft.net>
69028
69029 * po/de.po: Update from translation team.
69030
69031 2013-03-30 Joseph Myers <joseph@codesourcery.com>
69032
69033 [BZ #10357]
69034 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69035 imaginary part less than 1.0 and real part less than 0.5
69036 specially.
69037 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69038 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69039 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69040 (cacos_test): Add more tests.
69041 (casin_test): Likewise.
69042 (casinh_test): Likewise.
69043 * sysdeps/i386/fpu/libm-test-ulps: Update.
69044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69045
69046 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
69047
69048 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69049 ONE with its value.
69050
69051 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69052 (__pow_mp): Replace ONE and MONE with their values.
69053 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69055 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69056 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69057 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69059
69060 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69061
69062 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69063 (__pow_mp): Replace ZERO and MZERO with their values.
69064 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69068 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69069 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69070 (__sqr): Likewise.
69071
69072 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69073
69074 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69075
69076 2013-03-28 Roland McGrath <roland@hack.frob.com>
69077
69078 * include/stdlib.h [!SHARED] (__call_tls_dtors):
69079 Declare with __attribute__ ((weak)).
69080 * stdlib/exit.c (__libc_atexit) [!SHARED]:
69081 Call __call_tls_dtors only if it's not NULL.
69082
69083 2013-03-28 Roland McGrath <roland@hack.frob.com>
69084
69085 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69086 didn't do it already, then set _dl_phdr and _dl_phnum based on the
69087 magic __ehdr_start linker symbol if it's defined.
69088 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69089 them up here if it was already done.
69090
69091 * elf/dl-support.c (_dl_phdr): Make pointer to const.
69092 (_dl_aux_init): Use const in cast when setting it.
69093 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69094 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69095 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69096
69097 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69098 Declare them here.
69099 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69100 * csu/libc-tls.c: Nor here.
69101 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69102
69103 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69104 (__libc_message): Never call vsyslog.
69105
69106 2013-03-28 Alan Modra <amodra@gmail.com>
69107
69108 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69109 Define as empty.
69110 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69111 Likewise.
69112
69113 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69114
69115 [BZ #15214]
69116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69117 underflow.
69118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69119
69120 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69121
69122 [BZ #15304]
69123 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69124 Don't add gid passed as argument.
69125
69126 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69127
69128 2013-03-27 Joseph Myers <joseph@codesourcery.com>
69129
69130 [BZ #15307]
69131 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69132 imaginary part between 1.0 and 1.5 and real part less than 0.5
69133 specially.
69134 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69135 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69136 * math/libm-test.inc (cacos_test): Add more tests.
69137 (casin_test): Likewise.
69138 (casinh_test): Likewise.
69139 * sysdeps/i386/fpu/libm-test-ulps: Update.
69140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69141
69142 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69143
69144 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69145 constants.
69146 (norm): Likewise.
69147 (denorm): Likewise.
69148 (__dbl_mp): Likewise.
69149 (add_magnitudes): Likewise.
69150 (sub_magnitudes): Likewise.
69151 (__add): Likewise.
69152 (__sub): Likewise.
69153 (__mul): Likewise.
69154 (__sqr): Likewise.
69155 (__inv): Likewise.
69156 (__dvd): Likewise.
69157
69158 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69159 commented code.
69160 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69161 (__dubcos): Likewise.
69162 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69163 (__ieee754_acos): Likewise.
69164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69166 (__exp1): Likewise.
69167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69169 (log1): Likewise.
69170 (my_log2): Likewise.
69171 (checkint): Likewise.
69172 * sysdeps/ieee754/dbl-64/e_remainder.c
69173 (__ieee754_remainder): Likewise.
69174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69176 (bsloww): Likewise.
69177 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69178
69179 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69180 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69181 MANTISSA_STORE_T to store computations on mantissa. Use
69182 macros for rounding and division.
69183 (denorm): Likewise.
69184 (__dbl_mp): Likewise.
69185 (add_magnitudes): Likewise.
69186 (sub_magnitudes): Likewise.
69187 (__mul): Likewise.
69188 (__sqr): Likewise.
69189 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69190 powers of two in terms of TWOPOW macro.
69191 (mp_no): Make type of mantissa as MANTISSA_T.
69192 [!RADIXI]: Define RADIXI.
69193 [!TWO52]: Define TWO52.
69194 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69195
69196 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69197
69198 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69199 llroundl symbol when building for PPC32.
69200
69201 2013-03-24 Mark H Weaver <mhw@netris.org>
69202
69203 * manual/arith.texi (Normalization Functions): Fix prototypes for
69204 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69205
69206 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69207
69208 [BZ #13889]
69209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69210 high value to check if expl overflow.
69211 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69212 to check for underflow and overflow.
69213 * math/libm-test.inc: Add exp test.
69214
69215 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
69216
69217 [BZ #11120]
69218 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69219 with NOT_IN_libc.
69220
69221 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69222
69223 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69224 symbol.
69225
69226 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
69227
69228 * math/gen-libm-test.pl (parse_args, special_functions): Properly
69229 wrap blocks consisting of several statements.
69230
69231 * sysdeps/generic/math-tests.h: New file.
69232 * sysdeps/i386/fpu/math-tests.h: Likewise.
69233 * math/test-snan.c: Include it.
69234 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69235
69236 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69237
69238 [BZ #15285]
69239 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69240 (__ieee754_j0l): Do not improve calculations using cos of twice
69241 input for inputs above LDBL_MAX / 2.0L.
69242 (__ieee754_y0l): Likewise.
69243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69244 (__ieee754_j1l): Do not improve calculations using cos of twice
69245 input for inputs above LDBL_MAX / 2.0L.
69246 (__ieee754_y1l): Likewise.
69247 * math/libm-test.inc (j0_test): Add another test.
69248 (j1_test): Likewise.
69249 (y0_test): Likewise.
69250 (y1_test): Likewise.
69251 * sysdeps/i386/fpu/libm-test-ulps: Update.
69252
69253 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69254
69255 * Rules ($(objpfx)bench-%.c): Include code from a C source
69256 file.
69257
69258 2013-03-21 Joseph Myers <joseph@codesourcery.com>
69259
69260 [BZ #15287]
69261 * math/k_casinh.c (__kernel_casinh): Handle arguments with
69262 imaginary part 1.0 and real part less than 0.5 specially.
69263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
69264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
69265 * math/libm-test.inc (cacos_test): Add more tests.
69266 (casin_test): Likewise.
69267 (casinh_test): Likewise.
69268 * sysdeps/i386/fpu/libm-test-ulps: Update.
69269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69270
69271 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
69272
69273 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69275
69276 2013-03-20 Joseph Myers <joseph@codesourcery.com>
69277
69278 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69279 * config.make.in (config-cflags-sse4): Remove variable.
69280 (config-cflags-avx): Likewise.
69281 (config-cflags-sse2avx): Likewise.
69282 (config-cflags-novzeroupper): Likewise.
69283 (config-asflags-i686): Likewise.
69284 (have-mfma4): Likewise.
69285 (have-as-vis3): Likewise.
69286 (MIG): Likewise.
69287 * configure.in (MIG): Do not AC_SUBST.
69288 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69289 (libc_cv_cc_sse4): Do not AC_SUBST.
69290 (libc_cv_cc_avx): Likewise.
69291 (libc_cv_cc_sse2avx): Likewise.
69292 (libc_cv_cc_novzeroupper): Likewise.
69293 (libc_cv_cc_fma4): Likewise.
69294 (libc_cv_as_i686): Likewise.
69295 (libc_cv_sparc_as_vis3): Likewise.
69296 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69297 LIBC_CONFIG_VAR.
69298 (config-asflags-i686): Likewise.
69299 (config-cflags-avx): Likewise.
69300 (config-cflags-sse2avx): Likewise.
69301 (have-mfma4): Likewise.
69302 (config-cflags-novzeroupper): Likewise.
69303 * sysdeps/mach/configure.in (MIG): Likewise.
69304 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69305 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69306 LIBC_CONFIG_VAR.
69307 (config-cflags-avx): Likewise.
69308 (config-cflags-sse2avx): Likewise.
69309 (have-mfma4): Likewise.
69310 (config-cflags-novzeroupper): Likewise.
69311 * configure: Regenerated.
69312 * sysdeps/i386/configure: Likewise.
69313 * sysdeps/mach/configure: Likewise.
69314 * sysdeps/sparc/configure: Likewise.
69315 * sysdeps/x86_64/configure: Likewise.
69316
69317 2013-03-20 Roland McGrath <roland@hack.frob.com>
69318
69319 [BZ #14812]
69320 * locale/programs/localedef.c (options): Put N_ translation marker
69321 on argument names, not just descriptions.
69322
69323 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
69324
69325 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69326
69327 2013-03-20 Ondƙej Bílka <neleai@seznam.cz>
69328
69329 [BZ #14176]
69330 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69331
69332 2013-03-19 Roland McGrath <roland@hack.frob.com>
69333
69334 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69335 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69336 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69337 [!BEFORE_ABORT] (before_abort): New function.
69338 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69339 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69340 (writev_for_fatal): New function.
69341 (WRITEV_FOR_FATAL): New macro; call that.
69342 (backtrace_and_maps): New function.
69343 (BEFORE_ABORT): New macro; call that.
69344 (struct str_list): Type removed.
69345 (__libc_message, __libc_fatal): Functions removed.
69346 Include <sysdeps/posix/libc_fatal.c> instead.
69347
69348 2013-03-19 Joseph Myers <joseph@codesourcery.com>
69349
69350 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69351 constants.
69352 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69353 double constants.
69354
69355 2013-03-19 Andreas Schwab <schwab@suse.de>
69356
69357 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69358 * sysdeps/gnu/configure: Regenerate.
69359
69360 * configure.in: Substitute libc_cv_rtlddir.
69361 * configure: Regenerate.
69362 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69363 * Makeconfig (rtlddir, inst_rtlddir): New variables.
69364 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69365 * elf/Makefile (install-others, CFLAGS-interp.c)
69366 (ldso_install, common-ldd-rewrite): Likewise.
69367 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69368 $(inst_slibdir)/$(rtld-installed-name).
69369 * scripts/rellns-sh: Add -p option.
69370 * Makerules (make-shlib-link): Use rellns-sh to get relative name
69371 for source.
69372
69373 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
69374
69375 * manual/nptl.texi: Renamed to ...
69376 * manual/threads.texi: ... this.
69377 * manual/Makefile (chapters): Update.
69378
69379 2013-03-18 Roland McGrath <roland@hack.frob.com>
69380
69381 [BZ #14812]
69382 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69383 on argument names, not just descriptions.
69384 * malloc/memusagestat.c (options): Likewise.
69385 * nss/getent.c (options): Likewise.
69386
69387 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
69388
69389 [BZ #14812]
69390 * iconv/iconv_prog.c (options): Put N_ translation marker
69391 on argument names, not just descriptions.
69392 * iconv/iconvconfig.c (options): Likewise.
69393
69394 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
69395
69396 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69397 implementation which is faster on all x86_64 architectures.
69398 Tested on AMD, Intel Nehalem, SNB, IVB.
69399 * sysdeps/x86_64/strnlen.S: Likewise.
69400
69401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69402 Remove all multiarch strlen and strnlen versions.
69403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69404 Remove strlen and strnlen related parts.
69405
69406 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69407 Inline strlen part.
69408 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69409
69410 * sysdeps/x86_64/multiarch/strlen.S: Remove.
69411 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69412 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69413 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69414 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69415 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69416
69417 2013-03-17 Carlos O'Donell <carlos@redhat.com>
69418
69419 * manual/memory.texi (Malloc Tunable Parameters):
69420 Sort parameters alphabetically. Add comments for missing entries.
69421
69422 2013-03-17 David S. Miller <davem@davemloft.net>
69423
69424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69425
69426 2013-03-16 Joseph Myers <joseph@codesourcery.com>
69427
69428 [BZ #15283]
69429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69430 for arguments at most half maximum finite value.
69431 * math/libm-test.inc (j0_test): Add more tests.
69432 (j1_test): Likewise.
69433 (y0_test): Likewise.
69434 (y1_test): Likewise.
69435 * sysdeps/i386/fpu/libm-test-ulps: Update.
69436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69437
69438 [BZ #14155]
69439 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69440 1 / x and functions P and Q for arguments above 0x1p256L.
69441 (__ieee754_y0l): Likewise.
69442 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69443 (__ieee754_y1l): Likewise.
69444 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69445 (j1_test): Likewise.
69446 (y0_test): Likewise.
69447 (y1_test): Likewise.
69448
69449 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
69450
69451 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69452 variable.
69453
69454 2013-03-15 Roland McGrath <roland@hack.frob.com>
69455
69456 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69457 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69458 zero since it's initialized to EXEC_PAGESIZE.
69459
69460 * sysdeps/unix/sysv/linux/ldsodefs.h
69461 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69462 * sysdeps/generic/ldsodefs.h: ... here.
69463
69464 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
69465
69466 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69467
69468 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69469 math/test-snan.c.
69470 * math/test-snan.c: Renamed from
69471 sysdeps/powerpc/fpu/test-powerpc-snan.c.
69472 * math/Makefile (tests): Add test-snan.
69473 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69474 test-powerpc-snan.
69475
69476 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69477 SUFFIX. Initialize qNaN_var with __builtin_nan family of
69478 functions.
69479 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
69480 __builtin_nan family of functions.
69481 * math/libm-test.inc (initialize): Initialize qnan_value with
69482 __builtin_nan family of functions.
69483 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69484 Remove variables.
69485 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69486 Remove functions.
69487 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
69488 storage class. Initialize qNaN_var and sNaN_var with
69489 __builtin_nan and __builtin_nans families of functions,
69490 respectively.
69491
69492 * math/libm-test.inc (acosh_test): Also test with qNaN input.
69493 (sqrt_test): Remove duplicate test with qNaN input.
69494 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69495 (round_test, signbit_test, significand_test): Note missing +/-Inf
69496 as well as qNaN tests.
69497
69498 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69499 qNaN_var. Fix a few strings, too.
69500 * math/libm-test.inc (nan_value): Rename to qnan_value.
69501 * math/gen-libm-test.pl (%beautify): Adjust to that.
69502 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69503 * math/test-misc.c (main): Likewise.
69504 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69505 to __qnan_bytes, and __qnan_union, respectively.
69506 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69507 Likewise.
69508 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69509 and lqnanval, respectively.
69510 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69511 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69512 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69513 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69514
69515 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69516 * math/test-misc.c (main) [__x86_64__]: Enable test for long
69517 doubles.
69518
69519 * math/test-misc.c (main): Fix copy'n'pastos.
69520 * misc/tst-efgcvt.c (special): Likewise.
69521
69522 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69523 Remove declarations.
69524
69525 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69526
69527 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69528 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69529 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69530 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69531
69532 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69533
69534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69535 macro to return vdso values correctly in IFUNC implementations.
69536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69537 Optimization by using IFUNC.
69538
69539 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69540 Richard Henderson <rth@redhat.com>
69541 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69542
69543 * Makefile.in (bench): New target.
69544 * NEWS: Mention the benchmark framework.
69545 * Rules (bench): Likewise.
69546 (binaries-bench): Generate binaries for functions to
69547 benchmark.
69548 * benchtests/Makefile: New makefile for benchmark tests.
69549 * benchtests/bench-skeleton.c: New skeleton file for benchmark
69550 programs.
69551 * benchtests/exp-inputs: New input file for EXP function.
69552 * benchtests/pow-inputs: New input file for POW function.
69553 * scripts/bench.pl: New script to generate source files for
69554 benchmark programs.
69555
69556 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
69557
69558 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69560 computations on mantissa. Use macros for rounding and
69561 division.
69562 (denorm): Likewise.
69563 (__dbl_mp): Likewise.
69564 (add_magnitudes): Likewise.
69565 (sub_magnitudes): Likewise.
69566 (__mul): Likewise.
69567 (__sqr): Likewise.
69568 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
69569 powers of two in terms of TWOPOW macro.
69570 (mp_no): Make type of mantissa as MANTISSA_T.
69571 [!RADIXI]: Define RADIXI.
69572 [!TWO52]: Define TWO52.
69573 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69574
69575 * manual/nptl.texi (cindex): Modify threads to pthreads.
69576
69577 2013-03-15 Joseph Myers <joseph@codesourcery.com>
69578
69579 * sysdeps/x86_64/preconfigure: Regenerated.
69580
69581 2013-03-14 Joseph Myers <joseph@codesourcery.com>
69582
69583 [BZ #14155]
69584 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69585 0x1p28 and above.
69586 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69587 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69588 0x1p28 and above.
69589 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69590 * math/libm-test.inc (j0_test): Do not allow one spurious
69591 underflow exception.
69592 (y1_test): Likewise.
69593
69594 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
69595
69596 * manual/Makefile (chapters): Add nptl.
69597 * manual/debug.texi (Debugging Support): Add link to Threads
69598 chapter.
69599 * manual/nptl.texi: New file.
69600
69601 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69602
69603 2013-03-14 Petr Baudis <pasky@ucw.cz>
69604
69605 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69606 for non-NULL pointer before the memory validity test. Pointed
69607 out by Holger Brunck <holger.brunck@keymile.com>.
69608
69609 2013-03-13 Andreas Schwab <schwab@suse.de>
69610
69611 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69612 instead of .os.
69613
69614 2013-03-13 Joseph Myers <joseph@codesourcery.com>
69615
69616 * timezone/zic.c: Update from tzcode 2013b.
69617
69618 2013-03-12 Carlos O'Donell <carlos@redhat.com>
69619
69620 * manual/install.texi (Configuring and compiling):
69621 Mention i686 and i586.
69622 * INSTALL: Regenerate.
69623
69624 2013-03-12 Roland McGrath <roland@hack.frob.com>
69625
69626 * sysdeps/init_array/elf-init.c: New file.
69627 * csu/elf-init.c
69628 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69629 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69630
69631 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69632 __gmon_start__ as global, but as static with a .preinit_array pointer.
69633 * sysdeps/init_array/gmon-start.c: New file. Use that.
69634 * sysdeps/init_array/crti.S: New file, empty except for comments.
69635 * sysdeps/init_array/crtn.S: Likewise.
69636
69637 2013-03-11 Ondƙej Bílka <neleai@seznam.cz>
69638
69639 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69640 definining bcopy.
69641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69642 Remove Prefer_SSE_for_memop.
69643 * sysdeps/x86_64/multiarch/init-arch.h: Remove
69644 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69645 HAS_PREFER_SSE_FOR_MEMOP.
69646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69647 memset-x86-64.
69648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69649 Remove bzero, memset ifunc support.
69650 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69651 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69652 * sysdeps/x86_64/multiarch/memset.S: Likewise.
69653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69654
69655 2013-03-11 Andreas Schwab <schwab@suse.de>
69656
69657 [BZ #15234]
69658 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69659 by SHLIB_COMPAT.
69660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69661 (GLIBC_2.16): Remove pthread_atfork.
69662
69663 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
69664
69665 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69666 (ptestcases.h): Likewise.
69667
69668 2013-03-08 Roland McGrath <roland@hack.frob.com>
69669
69670 * Makeconfig ($(common-objpfx)config.status): Depend on
69671 sysdeps/*/preconfigure{,.in} too.
69672
69673 2013-03-08 Joseph Myers <joseph@codesourcery.com>
69674
69675 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69676 (__free_hook): Use void * instead of __malloc_ptr_t.
69677 (__malloc_hook): Likewise.
69678 (__realloc_hook): Likewise.
69679 (__memalign_hook): Likewise.
69680 (__after_morecore_hook): Likewise.
69681 * malloc/arena.c (save_malloc_hook): Likewise.
69682 (save_free_hook): Likewise.
69683 * malloc/hooks.c (malloc_hook_ini): Likewise.
69684 (realloc_hook_ini): Likewise.
69685 (memalign_hook_ini): Likewise.
69686 * malloc/malloc.c (malloc_hook_ini): Likewise.
69687 (realloc_hook_ini): Likewise.
69688 (memalign_hook_ini): Likewise.
69689 (__free_hook): Likewise.
69690 (__malloc_hook): Likewise.
69691 (__realloc_hook): Likewise.
69692 (__memalign_hook): Likewise.
69693 (__libc_malloc): Likewise.
69694 (__libc_free): Likewise.
69695 (__libc_realloc): Likewise.
69696 (__libc_memalign): Likewise.
69697 (__libc_valloc): Likewise.
69698 (__libc_pvalloc): Likewise.
69699 (__libc_calloc): Likewise.
69700 (__posix_memalign): Likewise.
69701 * malloc/morecore.c (__sbrk): Likewise.
69702 (__default_morecore): Likewise.
69703
69704 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69705
69706 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69707 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69708 __malloc_ptrdiff_t.
69709
69710 * malloc/malloc.h (__malloc_size_t): Remove macro.
69711 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69712 __malloc_size_t.
69713 (old_memalign_hook): Likewise.
69714 (old_realloc_hook): Likewise.
69715 (struct hdr): Likewise.
69716 (flood): Likewise.
69717 (mallochook): Likewise.
69718 (memalignhook): Likewise.
69719 (reallochook): Likewise.
69720 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69721 (tr_old_realloc_hook): Likewise.
69722 (tr_old_memalign_hook): Likewise.
69723 (tr_mallochook): Likewise.
69724 (tr_reallochook): Likewise.
69725 (tr_memalignhook): Likewise.
69726
69727 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69728
69729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69730 default_ldbl_pack and using as default implementation.
69731 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69732 implementation.
69733 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69734 redundant definition.
69735 (ldbl_insert_mantissa): Likewise.
69736 (ldbl_canonicalize): Likewise.
69737 (ldbl_nearbyint): Likewise.
69738 (ldbl_pack): Rename to ldbl_pack_ppc.
69739 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69740 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69741 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69742
69743 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69744
69745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69746 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69748 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69750 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69751 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69752 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69753
69754 2013-03-07 Andreas Jaeger <aj@suse.de>
69755
69756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69757 bits/mman-linux.h.
69758
69759 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69760
69761 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69762 Include mpa.h and declare __MPEXP.
69763 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69765 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69767 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69768 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69769 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69770
69771 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69772 (__slowpow): Use long double EXPL and LOGL functions to
69773 compute POW.
69774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69775 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69776 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69778 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69779 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69780
69781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69782 intermediate variable to calculate exponent.
69783 (__sqr): Likewise.
69784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69785 Likewise.
69786 (__sqr): Likewise.
69787
69788 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69789 [!NO__SQR]: Define __sqr.
69790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69791 and NO__SQR. Remove all code except __mul and __sqr. Include
69792 sysdeps/ieee754/dbl-64/mpa.c.
69793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69794
69795 [BZ #12723]
69796 * posix/Makefile (tests): Add tst-pathconf.
69797 * posix/tst-pathconf.c: New test case.
69798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69799 _PC_PIPE_BUF.
69800 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69801
69802 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69803
69804 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69805
69806 2013-03-06 Andreas Jaeger <aj@suse.de>
69807
69808 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69809 definition via __MAP_ANONYMOUS.
69810
69811 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69812 it's not part of Linux headers.
69813
69814 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69815 (MAP_HUGE_MASK): Define.
69816
69817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69818 Define.
69819 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69821 Define.
69822 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69823 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69824 Define.
69825 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69827 Define.
69828 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69829
69830 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69831 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69832 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69833 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69834 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69835 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69836
69837 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69838 Handle f2fs.
69839
69840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69841 Handle f2fs and efivarfs.
69842
69843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69844 f2fs.
69845
69846 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69847 (EFIVARFS_MAGIC): Add.
69848 (F2FS_LINK_MAX): Add.
69849
69850 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69851
69852 * stdio-common/vfprintf.c: Replace __builtin_expect with
69853 __glibc_unlikely.
69854
69855 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69856
69857 [BZ #13550]
69858 * sysdeps/generic/bp-sym.h: Remove file.
69859 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69860 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69861 <bp-sym.h> and <bp-asm.h>.
69862 (__longjmp): Don't use BP_SYM.
69863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69864 and <bp-asm.h>.
69865 (memcpy): Don't use BP_SYM.
69866 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69867 <bp-sym.h> and <bp-asm.h>.
69868 (memcpy): Don't use BP_SYM.
69869 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69870 <bp-asm.h>.
69871 (memcpy): Don't use BP_SYM.
69872 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69873 <bp-asm.h>.
69874 (memset): Don't use BP_SYM.
69875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69877 (__bzero): Don't use BP_SYM.
69878 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69879 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69881 <bp-sym.h> and <bp-asm.h>.
69882 (memcmp): Don't use BP_SYM. Remove comment about bounded
69883 pointers.
69884 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69885 <bp-sym.h> and <bp-asm.h>.
69886 (memcpy): Don't use BP_SYM.
69887 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69888 <bp-sym.h> and <bp-asm.h>.
69889 (memset): Don't use BP_SYM.
69890 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69891 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69892 (__bzero): Don't use BP_SYM.
69893 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69894 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69896 <bp-sym.h> and <bp-asm.h>.
69897 (strncmp): Don't use BP_SYM. Remove comment about bounded
69898 pointers.
69899 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69900 <bp-sym.h> and <bp-asm.h>.
69901 (memcpy): Don't use BP_SYM.
69902 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69903 <bp-sym.h> and <bp-asm.h>.
69904 (memset): Don't use BP_SYM.
69905 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69906 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69907 (__bzero): Don't use BP_SYM.
69908 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69909 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69911 <bp-sym.h> and <bp-asm.h>.
69912 (__memchr): Don't use BP_SYM.
69913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69914 <bp-sym.h> and <bp-asm.h>.
69915 (memcmp): Don't use BP_SYM. Remove comment about bounded
69916 pointers.
69917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69918 <bp-sym.h> and <bp-asm.h>.
69919 (memcpy): Don't use BP_SYM.
69920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69921 <bp-sym.h> and <bp-asm.h>.
69922 (__mempcpy): Don't use BP_SYM.
69923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69924 <bp-sym.h> and <bp-asm.h>.
69925 (__memrchr): Don't use BP_SYM.
69926 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69927 <bp-sym.h> and <bp-asm.h>.
69928 (memset): Don't use BP_SYM.
69929 (__bzero): Likewise.
69930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69931 <bp-sym.h> and <bp-asm.h>.
69932 (__rawmemchr): Don't use BP_SYM.
69933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69934 <bp-sym.h> and <bp-asm.h>.
69935 (__STRCMP): Don't use BP_SYM.
69936 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69937 <bp-sym.h> and <bp-asm.h>.
69938 (strchr): Don't use BP_SYM.
69939 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69940 <bp-sym.h> and <bp-asm.h>.
69941 (__strchrnul): Don't use BP_SYM.
69942 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69943 <bp-sym.h> and <bp-asm.h>.
69944 (strlen): Don't use BP_SYM.
69945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69946 <bp-sym.h> and <bp-asm.h>.
69947 (strncmp): Don't use BP_SYM. Remove comment about bounded
69948 pointers.
69949 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69950 <bp-sym.h> and <bp-asm.h>.
69951 (__strnlen): Don't use BP_SYM.
69952 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69953 <bp-sym.h> and <bp-asm.h>.
69954 (__GI__setjmp): Don't use BP_SYM.
69955 (_setjmp): Likewise.
69956 (__sigsetjmp): Likewise.
69957 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69958 (L(start_addresses)): Don't use BP_SYM.
69959 (_start): Likewise.
69960 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69961 <bp-asm.h>.
69962 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69963 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69964 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69965 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69966 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69967 <bp-asm.h>.
69968 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69969 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69970 about bounded pointers.
69971 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69972 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69973 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69974 <bp-asm.h>.
69975 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69976 about bounded pointers. Remove GKM FIXME comments.
69977 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69978 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69979 <bp-asm.h>.
69980 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69981 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69982 Remove GKM FIXME comments.
69983 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69984 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69985 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69986 <bp-asm.h>.
69987 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69988 about bounded pointers. Remove GKM FIXME comment.
69989 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69990 and <bp-asm.h>.
69991 (strncmp): Don't use BP_SYM. Remove comment about bounded
69992 pointers.
69993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69994 <bp-sym.h> and <bp-asm.h>.
69995 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69997 <bp-sym.h> and <bp-asm.h>.
69998 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69999 comment.
70000
70001 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70002
70003 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70004 call free(NULL).
70005
70006 2013-03-05 David S. Miller <davem@davemloft.net>
70007
70008 * po/es.po: Update from translation team.
70009
70010 2013-03-05 Andreas Jaeger <aj@suse.de>
70011
70012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70013 <bits/mman-linux.h>.
70014 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70015 is fine.
70016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70017 <bits/mman-linux.h> to end of file.
70018 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70019 is fine.
70020 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70021 <bits/mman-linux.h> to end of file.
70022 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70023 is fine.
70024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70025 <bits/mman-linux.h> to end of file.
70026
70027 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70028 (MCL_CURRENT, MCL_FUTURE): Define here.
70029
70030 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70031
70032 [BZ #15232]
70033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70034 attribute_hidden.
70035 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70036
70037 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70038
70039 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70040 fourth parameter needed for rt_sigprocmask syscall.
70041 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70043 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70044 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70045 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70046 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70047
70048 2013-03-04 Joseph Myers <joseph@codesourcery.com>
70049
70050 [BZ #13550]
70051 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70052 comment about bounded pointers.
70053 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70054 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70055
70056 2013-03-04 Andreas Jaeger <aj@suse.de>
70057
70058 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70059 common definitions.
70060
70061 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70062 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70063 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70064 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70067
70068 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70069
70070 [BZ #15055]
70071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70072 __ieee754_sqrl instead of __sqrl.
70073
70074 2013-03-01 Joseph Myers <joseph@codesourcery.com>
70075
70076 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70077 * sysdeps/powerpc/fpu_control.h: ... here.
70078 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70079 * sysdeps/powerpc/bits/fenvinline.h: ... here.
70080 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70081 * sysdeps/powerpc/bits/mathinline.h: ... here.
70082
70083 2013-03-01 Roland McGrath <roland@hack.frob.com>
70084
70085 * elf/dl-hwcaps.c (_dl_important_hwcaps):
70086 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70087 to just [NEED_DL_SYSINFO_DSO].
70088 * elf/dl-support.c: Likewise.
70089 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70090 * elf/rtld.c (dl_main): Likewise.
70091 * elf/setup-vdso.h (setup_vdso): Likewise.
70092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70093 * sysdeps/unix/sysv/linux/dl-sysdep.c
70094 (_dl_discover_osversion): Likewise.
70095
70096 2013-03-01 Carlos O'Donell <carlos@redhat.com>
70097
70098 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70099 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70100
70101 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
70102
70103 * NEWS: Mention libm performance improvements and non-x86 PI
70104 futex support.
70105
70106 * csu/libc-start.c (__pthread_initialize_minimal): Change
70107 function arguments.
70108 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70109
70110 2013-02-28 Joseph Myers <joseph@codesourcery.com>
70111
70112 [BZ #13550]
70113 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70115 <bp-sym.h> and <bp-asm.h>.
70116 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70117 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70118 and <bp-asm.h>.
70119 (memcpy): Don't use BP_SYM.
70120 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70121 <bp-asm.h>.
70122 (__mpn_add_n): Don't use BP_SYM.
70123 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70124 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70125 and <bp-asm.h>.
70126 (__mpn_addmul_1): Don't use BP_SYM.
70127 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70128 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70129 <bp-sym.h>.
70130 (_setjmp): Don't use BP_SYM.
70131 (__novmx_setjmp): Likewise.
70132 (__GI__setjmp): Likewise.
70133 (__vmx_setjmp): Likewise.
70134 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70135 <bp-sym.h>.
70136 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70137 (__bzero): Don't use BP_SYM.
70138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70140 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70141 <bp-sym.h> and <bp-asm.h>.
70142 (memcpy): Don't use BP_SYM.
70143 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70144 <bp-sym.h> and <bp-asm.h>.
70145 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70147 <bp-sym.h> and <bp-asm.h>.
70148 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70149 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70150 <bp-asm.h>.
70151 (__mpn_lshift): Don't use BP_SYM.
70152 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70153 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70154 <bp-asm.h>.
70155 (memset): Don't use BP_SYM.
70156 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70157 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70158 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70159 <bp-asm.h>.
70160 (__mpn_mul_1): Don't use BP_SYM.
70161 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70163 <bp-sym.h> and <bp-asm.h>.
70164 (memcmp): Don't use BP_SYM.
70165 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70166 <bp-sym.h> and <bp-asm.h>.
70167 (memcpy): Don't use BP_SYM.
70168 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70169 <bp-sym.h> and <bp-asm.h>.
70170 (memset): Don't use BP_SYM.
70171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70172 <bp-sym.h> and <bp-asm.h>.
70173 (strncmp): Don't use BP_SYM.
70174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70175 <bp-sym.h> and <bp-asm.h>.
70176 (memcpy): Don't use BP_SYM.
70177 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70178 <bp-sym.h> and <bp-asm.h>.
70179 (memset): Don't use BP_SYM.
70180 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70181 <bp-sym.h> and <bp-asm.h>.
70182 (__memchr): Don't use BP_SYM.
70183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70184 <bp-sym.h> and <bp-asm.h>.
70185 (memcmp): Don't use BP_SYM.
70186 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70187 <bp-sym.h> and <bp-asm.h>.
70188 (memcpy): Don't use BP_SYM.
70189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70190 <bp-sym.h> and <bp-asm.h>.
70191 (__mempcpy): Don't use BP_SYM.
70192 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70193 <bp-sym.h> and <bp-asm.h>.
70194 (__memrchr): Don't use BP_SYM.
70195 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70196 <bp-sym.h> and <bp-asm.h>.
70197 (memset): Don't use BP_SYM.
70198 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70199 <bp-sym.h> and <bp-asm.h>.
70200 (__rawmemchr): Don't use BP_SYM.
70201 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70202 <bp-sym.h> and <bp-asm.h>.
70203 (__STRCMP): Don't use BP_SYM.
70204 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70205 <bp-sym.h> and <bp-asm.h>.
70206 (strchr): Don't use BP_SYM.
70207 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70208 <bp-sym.h> and <bp-asm.h>.
70209 (__strchrnul): Don't use BP_SYM.
70210 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70211 <bp-sym.h> and <bp-asm.h>.
70212 (strlen): Don't use BP_SYM.
70213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70214 <bp-sym.h> and <bp-asm.h>.
70215 (strncmp): Don't use BP_SYM.
70216 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70217 <bp-sym.h> and <bp-asm.h>.
70218 (__strnlen): Don't use BP_SYM.
70219 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70220 <bp-asm.h>.
70221 (__mpn_rshift): Don't use BP_SYM.
70222 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70223 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70224 <bp-sym.h> and <bp-asm.h>.
70225 (__sigsetjmp): Don't use BP_SYM.
70226 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70227 (L(start_addresses)): Don't use BP_SYM.
70228 (_start): Likewise.
70229 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70230 <bp-asm.h>.
70231 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70232 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70233 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70234 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70235 <bp-asm.h>.
70236 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70237 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70238 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70239 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70240 <bp-asm.h>.
70241 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70242 comments.
70243 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70244 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70245 <bp-asm.h>.
70246 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
70247 FIXME comments.
70248 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70249 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70250 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70251 <bp-asm.h>.
70252 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
70253 comment.
70254 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70255 and <bp-asm.h>.
70256 (strncmp): Don't use BP_SYM,
70257 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70258 <bp-asm.h>.
70259 (__mpn_sub_n): Don't use BP_SYM.
70260 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70261 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70262 and <bp-asm.h>.
70263 (__mpn_submul_1): Don't use BP_SYM.
70264 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70266 <bp-sym.h> and <bp-asm.h>.
70267 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70269 <bp-sym.h> and <bp-asm.h>.
70270 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
70271 comment.
70272
70273 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70274
70275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70276 Use ZK to minimize writes to Z.
70277 (sub_magnitudes): Simplify code a bit.
70278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70279 Use ZK to minimize writes to Z.
70280 (sub_magnitudes): Simplify code a bit.
70281
70282 2013-02-27 Roland McGrath <roland@hack.frob.com>
70283
70284 * csu/gmon-start.c: Add special exception to license text.
70285
70286 2013-02-27 Richard Henderson <rth@redhat.com>
70287
70288 * scripts/config.guess: Update from config.git.
70289 * scripts/config.sub: Likewise.
70290
70291 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
70292
70293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70294
70295 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70296
70297 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70298
70299 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70300
70301 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70302
70303 2013-02-26 Roland McGrath <roland@hack.frob.com>
70304
70305 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70306 [$(build-shared = yes].
70307
70308 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70309
70310 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70311 (__mul): Reduce iterations for calculating mantissa.
70312
70313 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70314 MPTWO.
70315 (__mpranred): Likewise.
70316
70317 [BZ #15160]
70318 * malloc/memusagestat.c (main): Draw graphs for heap and stack
70319 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70320
70321 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
70322
70323 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70324 Define __attribute__.
70325
70326 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70327
70328 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70329 unused.
70330 * posix/regex_internal.h (__attribute): Remove.
70331 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70332 (re_string_context_at): Likewise.
70333 (bitset_not): Use __attribute__ and mark function as possibly
70334 unused.
70335 (bitset_merge): Likewise.
70336 (bitset_mask): Likewise.
70337 (re_string_char_size_at): Likewise.
70338 (re_string_wchar_at): Likewise.
70339 (re_string_elem_size_at): Likewise.
70340
70341 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
70342
70343 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70344 code.
70345 (cc32): Likewise.
70346
70347 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70348 (__acr): Likewise.
70349 (__cpy): Likewise.
70350 (norm): Likewise.
70351 (denorm): Likewise.
70352 (__dbl_mp): Likewise.
70353 (add_magnitudes): Likewise.
70354 (sub_magnitudes): Likewise.
70355 (__mul): Likewise.
70356 (__inv): Likewise.
70357
70358 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70359 style.
70360
70361 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70362 style.
70363
70364 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70365 code.
70366
70367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70368 up changes with default code.
70369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70370 Likewise.
70371
70372 2013-02-24 Allan McRae <allan@archlinux.org>
70373
70374 * manual/socket.texi (The Internet Namespace): Order menu items
70375 to match that in the file.
70376
70377 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70378 node listing of the info page menu.
70379
70380 2013-02-21 Joseph Myers <joseph@codesourcery.com>
70381
70382 [BZ #13550]
70383 * sysdeps/i386/bp-asm.h: Remove file.
70384 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70385 (PARMS): Do not use macros from bp-asm.h.
70386 (S1): Likewise.
70387 (S2): Likewise.
70388 (SIZE): Likewise.
70389 (__mpn_add_n): Do not use BP_SYM
70390 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70391 "bp-asm.h".
70392 (PARMS): Do not use macros from bp-asm.h.
70393 (S1): Likewise.
70394 (SIZE): Likewise.
70395 (__mpn_addmul_1): Do not use BP_SYM
70396 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70397 "bp-asm.h".
70398 (PARMS): Do not use macros from bp-asm.h.
70399 (SIGMSK): Likewise.
70400 (_setjmp): Likewise. Do not use BP_SYM.
70401 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70402 "bp-asm.h".
70403 (PARMS): Do not use macros from bp-asm.h.
70404 (SIGMSK): Likewise.
70405 (setjmp): Likewise. Do not use BP_SYM.
70406 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70407 "bp-asm.h".
70408 (PARMS): Do not use macros from bp-asm.h.
70409 (__frexp): Do not use BP_SYM.
70410 (frexp): Likewise.
70411 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70412 "bp-asm.h".
70413 (PARMS): Do not use macros from bp-asm.h.
70414 (__frexpf): Do not use BP_SYM.
70415 (frexpf): Likewise.
70416 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70417 "bp-asm.h".
70418 (PARMS): Do not use macros from bp-asm.h.
70419 (__frexpl): Do not use BP_SYM.
70420 (frexpl): Likewise.
70421 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70422 "bp-asm.h".
70423 (PARMS): Do not use macros from bp-asm.h.
70424 (__remquo): Do not use BP_SYM.
70425 (remquo): Likewise.
70426 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70427 "bp-asm.h".
70428 (PARMS): Do not use macros from bp-asm.h.
70429 (__remquof): Do not use BP_SYM.
70430 (remquof): Likewise.
70431 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70432 "bp-asm.h".
70433 (PARMS): Do not use macros from bp-asm.h.
70434 (__remquol): Do not use BP_SYM.
70435 (remquol): Likewise.
70436 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70437 "bp-asm.h".
70438 (PARMS): Do not use macros from bp-asm.h.
70439 (DEST): Likewise.
70440 (SRC): Likewise.
70441 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
70442 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70443 "bp-asm.h".
70444 (PARMS): Do not use macros from bp-asm.h.
70445 (strlen): Do not use BP_SYM.
70446 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70447 "bp-asm.h".
70448 (PARMS): Do not use macros from bp-asm.h.
70449 (S1): Likewise.
70450 (S2): Likewise.
70451 (SIZE): Likewise.
70452 (__mpn_add_n): Do not use BP_SYM.
70453 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70454 "bp-asm.h".
70455 (PARMS): Do not use macros from bp-asm.h.
70456 (S1): Likewise.
70457 (SIZE): Likewise.
70458 (__mpn_addmul_1): Do not use BP_SYM.
70459 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70460 weak_alias.
70461 (bzero): Likewise.
70462 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70463 "bp-asm.h".
70464 (PARMS): Do not use macros from bp-asm.h.
70465 (S): Likewise.
70466 (SIZE): Likewise.
70467 (__mpn_lshift): Do not use BP_SYM.
70468 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70469 "bp-asm.h".
70470 (PARMS): Do not use macros from bp-asm.h.
70471 (DEST): Likewise.
70472 (SRC): Likewise.
70473 (LEN): Likewise.
70474 (memcpy): Likewise. Do not use BP_SYM.
70475 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70476 libc_hidden_def and weak_alias.
70477 (mempcpy): Do not use BP_SYM in weak_alias.
70478 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70479 "bp-asm.h".
70480 (PARMS): Do not use macros from bp-asm.h.
70481 (DEST): Likewise.
70482 (LEN): Likewise.
70483 [!BZERO_P] (CHR): Likewise.
70484 (memset): Likewise. Do not use BP_SYM.
70485 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70486 "bp-asm.h".
70487 (PARMS): Do not use macros from bp-asm.h.
70488 (S1): Likewise.
70489 (SIZE): Likewise.
70490 (__mpn_mul_1): Do not use BP_SYM.
70491 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70492 "bp-asm.h".
70493 (PARMS): Do not use macros from bp-asm.h.
70494 (S): Likewise.
70495 (SIZE): Likewise.
70496 (__mpn_rshift): Do not use BP_SYM.
70497 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70498 "bp-asm.h".
70499 (PARMS): Do not use macros from bp-asm.h.
70500 (STR): Likewise.
70501 (CHR): Likewise.
70502 (strchr): Likewise. Do not use BP_SYM.
70503 (index): Do not use BP_SYM in weak_alias.
70504 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70505 "bp-asm.h".
70506 (PARMS): Do not use macros from bp-asm.h.
70507 (DEST): Likewise.
70508 (SRC): Likewise.
70509 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
70510 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70511 "bp-asm.h".
70512 (PARMS): Do not use macros from bp-asm.h.
70513 (strlen): Do not use BP_SYM.
70514 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70515 "bp-asm.h".
70516 (PARMS): Do not use macros from bp-asm.h.
70517 (S1): Likewise.
70518 (S2): Likewise.
70519 (SIZE): Likewise.
70520 (__mpn_sub_n): Do not use BP_SYM.
70521 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70522 "bp-asm.h".
70523 (PARMS): Do not use macros from bp-asm.h.
70524 (S1): Likewise.
70525 (SIZE): Likewise.
70526 (__mpn_submul_1): Do not use BP_SYM.
70527 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70528 "bp-asm.h".
70529 (PARMS): Do not use macros from bp-asm.h.
70530 (S1): Likewise.
70531 (S2): Likewise.
70532 (SIZE): Likewise.
70533 (__mpn_add_n): Do not use BP_SYM.
70534 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70535 weak_alias.
70536 (bzero): Likewise.
70537 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70538 "bp-asm.h".
70539 (PARMS): Do not use macros from bp-asm.h.
70540 (BLK2): Likewise.
70541 (LEN): Likewise.
70542 (memcmp): Do not use BP_SYM.
70543 (bcmp): Do not use BP_SYM in weak_alias.
70544 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70545 "bp-asm.h".
70546 (PARMS): Do not use macros from bp-asm.h.
70547 (DEST): Likewise.
70548 (SRC): Likewise.
70549 (LEN): Likewise.
70550 (memcpy): Likewise. Do not use BP_SYM.
70551 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70552 "bp-asm.h".
70553 (PARMS): Do not use macros from bp-asm.h.
70554 (DEST): Likewise.
70555 (SRC): Likewise.
70556 (LEN): Likewise.
70557 (memmove): Likewise. Do not use BP_SYM.
70558 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70559 "bp-asm.h".
70560 (PARMS): Do not use macros from bp-asm.h.
70561 (DEST): Likewise.
70562 (SRC): Likewise.
70563 (LEN): Likewise.
70564 (__mempcpy): Likewise. Do not use BP_SYM.
70565 (mempcpy): Do not use BP_SYM in weak_alias.
70566 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70567 "bp-asm.h".
70568 (PARMS): Do not use macros from bp-asm.h.
70569 (DEST): Likewise.
70570 (LEN): Likewise.
70571 [!BZERO_P] (CHR): Likewise.
70572 (memset): Likewise. Do not use BP_SYM.
70573 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70574 "bp-asm.h".
70575 (PARMS): Do not use macros from bp-asm.h.
70576 (STR2): Likewise.
70577 (strcmp): Do not use BP_SYM.
70578 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70579 "bp-asm.h".
70580 (PARMS): Do not use macros from bp-asm.h.
70581 (STR): Likewise.
70582 (DELIM): Likewise.
70583 [USE_AS_STRTOK_R] (SAVE): Likewise.
70584 (FUNCTION): Likewise. Do not use BP_SYM.
70585 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70586 aliases.
70587 (strtok_r): Likewise.
70588 (__GI___strtok_r): Likewise.
70589 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70590 (PARMS): Do not use macros from bp-asm.h.
70591 (S): Likewise.
70592 (SIZE): Likewise.
70593 (__mpn_lshift): Do not use BP_SYM.
70594 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70595 (PARMS): Do not use macros from bp-asm.h.
70596 (STR): Likewise.
70597 (CHR): Likewise.
70598 (__memchr): Do not use BP_SYM.
70599 (memchr): Do not use BP_SYM in weak_alias.
70600 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70601 (PARMS): Do not use macros from bp-asm.h.
70602 (BLK2): Likewise.
70603 (LEN): Likewise.
70604 (memcmp): Do not use BP_SYM.
70605 (bcmp): Do not use BP_SYM in weak_alias.
70606 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70607 (PARMS): Do not use macros from bp-asm.h.
70608 (S1): Likewise.
70609 (SIZE): Likewise.
70610 (__mpn_mul_1): Do not use BP_SYM.
70611 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70612 "bp-asm.h".
70613 (PARMS): Do not use macros from bp-asm.h.
70614 (STR): Likewise.
70615 (CHR): Likewise.
70616 (__rawmemchr): Do not use BP_SYM.
70617 (rawmemchr): Do not use BP_SYM in weak_alias.
70618 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70619 (PARMS): Do not use macros from bp-asm.h.
70620 (S): Likewise.
70621 (SIZE): Likewise.
70622 (__mpn_rshift): Do not use BP_SYM.
70623 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70624 (PARMS): Do not use macros from bp-asm.h.
70625 (SIGMSK): Likewise.
70626 (__sigsetjmp): Likewise. Do not use BP_SYM.
70627 * sysdeps/i386/start.S: Do not include "bp-sym.h".
70628 (_start): Do not use BP_SYM.
70629 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70630 (PARMS): Do not use macros from bp-asm.h.
70631 (DEST): Likewise.
70632 (SRC): Likewise.
70633 (__stpcpy): Likewise. Do not use BP_SYM.
70634 (stpcpy): Do not use BP_SYM in weak_alias.
70635 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70636 "bp-asm.h".
70637 (PARMS): Do not use macros from bp-asm.h.
70638 (DEST): Likewise.
70639 (SRC): Likewise.
70640 (LEN): Likewise.
70641 (__stpncpy): Likewise. Do not use BP_SYM.
70642 (stpncpy): Do not use BP_SYM in weak_alias.
70643 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70644 (PARMS): Do not use macros from bp-asm.h.
70645 (STR): Likewise.
70646 (CHR): Likewise.
70647 (strchr): Likewise. Do not use BP_SYM.
70648 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70649 "bp-asm.h".
70650 (PARMS): Do not use macros from bp-asm.h.
70651 (STR): Likewise.
70652 (CHR): Likewise.
70653 (__strchrnul): Likewise. Do not use BP_SYM.
70654 (strchrnul): Do not use BP_SYM in weak_alias.
70655 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70656 "bp-asm.h".
70657 (PARMS): Do not use macros from bp-asm.h.
70658 (STOP): Likewise.
70659 (strcspn): Do not use BP_SYM.
70660 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70661 "bp-asm.h".
70662 (PARMS): Do not use macros from bp-asm.h.
70663 (STR): Likewise.
70664 (STOP): Likewise.
70665 (strpbrk): Likewise. Do not use BP_SYM.
70666 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70667 "bp-asm.h".
70668 (PARMS): Do not use macros from bp-asm.h.
70669 (STR): Likewise.
70670 (CHR): Likewise.
70671 (strrchr): Likewise. Do not use BP_SYM.
70672 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70673 (PARMS): Do not use macros from bp-asm.h.
70674 (SKIP): Likewise.
70675 (strspn): Do not use BP_SYM.
70676 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70677 (PARMS): Do not use macros from bp-asm.h.
70678 (STR): Likewise.
70679 (DELIM): Likewise.
70680 (SAVE): Likewise.
70681 (FUNCTION): Likewise. Do not use BP_SYM.
70682 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70683 aliases.
70684 (strtok_r): Likewise.
70685 (__GI___strtok_r): Likewise.
70686 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70687 (PARMS): Do not use macros from bp-asm.h.
70688 (S1): Likewise.
70689 (S2): Likewise.
70690 (SIZE): Likewise.
70691 (__mpn_sub_n): Do not use BP_SYM.
70692 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70693 "bp-asm.h".
70694 (PARMS): Do not use macros from bp-asm.h.
70695 (S1): Likewise.
70696 (SIZE): Likewise.
70697 (__mpn_submul_1): Do not use BP_SYM.
70698 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70699 <bp-sym.h>.
70700 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70701 and <bp-asm.h>.
70702 (PARMS): Do not use macros from bp-asm.h.
70703 (FLAGS): Likewise.
70704 (PTID): Likewise.
70705 (TLS): Likewise.
70706 (CTID): Likewise.
70707 (__clone): Do not use BP_SYM.
70708 (clone): Do not use BP_SYM in weak_alias.
70709 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70710 and <bp-asm.h>.
70711 (PARMS): Do not use macros from bp-asm.h.
70712 (LEN): Likewise.
70713 (__mmap64): Do not use BP_SYM.
70714 (mmap64): Do not use BP_SYM in weak_alias.
70715 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70716 <bp-sym.h> and <bp-asm.h>.
70717 (PARMS): Do not use macros from bp-asm.h.
70718 (__posix_fadvise64_l64): Do not use BP_SYM.
70719 * sysdeps/unix/sysv/linux/i386/semtimedop.S
70720 (PARMS): Do not use macros from bp-asm.h.
70721 (NSOPS): Likewise.
70722 (semtimedop): Do not use BP_SYM.
70723 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70724 and <bp-asm.h>.
70725
70726 2013-02-21 Allan McRae <allan@archlinux.org>
70727
70728 * manual/message.texi (Charset conversion in gettext):
70729 Move @end statement to beginning of line.
70730
70731 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70732
70733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70734 static.
70735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70736 Likewise.
70737
70738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70739 (denorm): Likewise.
70740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70742
70743 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70744
70745 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70746 tail-call to the resolved function if pltexit isn't needed.
70747
70748 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70749
70750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70751 or Y being zero as being unlikely.
70752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70753 Likewise.
70754
70755 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70756
70757 * manual/nss.texi (System Databases and Name Service Switch):
70758 Remove frobnicate @pxref.
70759
70760 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70761
70762 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70763 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70764
70765 2013-02-20 Petr Machata <pmachata@redhat.com>
70766
70767 * elf/elf.h (R_ARM_TARGET1): New macro.
70768 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70769 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70770 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70771 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70772 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70773 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70774 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70775 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70776 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70777 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70778 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70779 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70780 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70781 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70782 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70783 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70784 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70785 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70786 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70787 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70788 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70789 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70790 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70791 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70792 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70793 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70794 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70795 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70796 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70797 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70798 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70799 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70800 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70801 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70802 (R_ARM_THM_GOT_BREL12): Likewise.
70803 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70804 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70805 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70806 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70807 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70808 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70809 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70810 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70811 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70812
70813 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70814
70815 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70816 __attribute_used__ to __attribute__ ((unused)).
70817
70818 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70819
70820 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70821 powerpc mpa.c.
70822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70823 comment formatting.
70824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70825
70826 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70827
70828 [BZ #13550]
70829 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70830 Remove macro.
70831 (ENTER): Remove both macro definitions.
70832 (LEAVE): Likewise.
70833 (CHECK_BOUNDS_LOW): Likewise.
70834 (CHECK_BOUNDS_HIGH): Likewise.
70835 (CHECK_BOUNDS_BOTH): Likewise.
70836 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70837 (RETURN_BOUNDED_POINTER): Likewise.
70838 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70839 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70840 (POP_ERRNO_LOCATION_RETURN): Likewise.
70841 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70842 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70843 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70844 macros.
70845 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70846 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70847 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70848 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70849 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70850 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70851 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70852 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70853 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70854 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70855 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70856 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70857 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70858 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70859 removed macros.
70860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70861 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70862 macros.
70863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70864 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70865 * sysdeps/i386/i586/memset.S (memset): Likewise.
70866 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70867 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70868 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70869 macros.
70870 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70871 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70872 Change uses of L(2) to L(out).
70873 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70874 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70875 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70876 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70877 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70878 removed macros.
70879 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70880 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70881 macros.
70882 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70883 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70884 (RETURN): Do not use macro LEAVE.
70885 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70886 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70887 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70888 * sysdeps/i386/i686/memset.S (memset): Likewise.
70889 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70890 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70891 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70892 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70893 Likewise.
70894 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70895 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70896 L(1_2) and L(1_3) into L(1).
70897 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70898 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70899 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70900 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70901 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70902 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70903 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70904 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70905 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70906 macros.
70907 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70908 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70909 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70910 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70911 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70912 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70913 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70914 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70915 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70916 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70917 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70918 * sysdeps/i386/strspn.S (strspn): Likewise.
70919 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70920 conditional code.
70921 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70922 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70923 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70924 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70925 L(1_3) into L(1_1).
70926 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70927 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70928 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70929 macros.
70930 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70931
70932 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70933
70934 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70935 macro.
70936
70937 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70938
70939 * math/atest-exp.c (exp_mpn): Remove ROUND.
70940 * math/atest-exp2.c (exp_mpn): Likewise.
70941 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70942
70943 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70944 * stdlib/tst-tls-atexit-lib.c: Likewise.
70945 * stdlib/tst-tls-atexit.c: Likewise.
70946
70947 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70948
70949 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70950 and __attribute_alloc_size__.
70951
70952 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70953
70954 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70955 __attribute_alloc_size__.
70956 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70957 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70958
70959 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70960
70961 * include/programs/xmalloc.h: New file.
70962 * catgets/gencat.c: Include it.
70963 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70964 * elf/pldd.c: Likewise.
70965 * iconv/iconv_charmap.c: Likewise.
70966 * iconv/iconvconfig.c: Likewise.
70967 * iconv/strtab.c: Likewise.
70968 * locale/programs/locale.c: Likewise.
70969 * locale/programs/localedef.h: Likewise.
70970 * locale/programs/simple-hash.c: Likewise.
70971 * nscd/nscd.h: Likewise.
70972 * nss/makedb.c: Likewise.
70973 * sysdeps/generic/ldconfig.h: Likewise.
70974
70975 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70976
70977 * Versions.def: Add GLIBC_2.18.
70978 * include/link.h (struct link_map): New member l_tls_dtor_count.
70979 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70980 (__call_tls_dtors): Likewise.
70981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70982 __cxa_thread_atexit_impl.
70983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70984 Likewise.
70985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70986 Likewise.
70987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70988 Likewise.
70989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70990 Likewise.
70991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70993 Likewise.
70994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70995 Likewise.
70996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70998 Likewise.
70999 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71000 (tests): Add test case tst-tls-atexit.
71001 (modules-names): Add shared library for tst-tls-atexit.
71002 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71003 (GLIBC_PRIVATE): Add __call_tls_dtors.
71004 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71005 for libstdc++.
71006 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71007 * stdlib/tst-tls-atexit.c: New test case.
71008 * stdlib/tst-tls-atexit-lib.c: New test case.
71009
71010 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71011
71012 * elf/Versions (ld): Add _dl_find_dso_for_object.
71013 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71014 * elf/dl-open.c (_dl_find_dso_for_object): New function.
71015 (dl_open_worker): Use _dl_find_dso_for_object.
71016 * elf/dl-sym.c (do_sym): Likewise.
71017 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71018
71019 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71020
71021 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71022 Syntactic changes only.
71023 (_dl_runtime_profile): Do a tail-call to the resolved function.
71024
71025 2013-02-17 Joseph Myers <joseph@codesourcery.com>
71026
71027 [BZ #13550]
71028 * sysdeps/x86_64/bp-asm.h: Remove file.
71029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71030 <bp-sym.h> and <bp-asm.h>.
71031 (__clone): Do not use BP_SYM.
71032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71033 <bp-sym.h> and <bp-asm.h>.
71034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
71035 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71036 "bp-asm.h".
71037 (_setjmp): Do not use BP_SYM.
71038 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71039 "bp-asm.h".
71040 (setjmp): Do not use BP_SYM.
71041 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71042 libc_hidden_def.
71043 (mempcpy): Do not use BP_SYM in weak_alias.
71044 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71045 "bp-asm.h".
71046 (strchr): Do not use BP_SYM.
71047 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71048 "bp-asm.h".
71049 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71050 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71051 (_start): Do not use BP_SYM.
71052 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71053 "bp-asm.h".
71054 (strcat): Do not use BP_SYM.
71055 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71056 "bp-asm.h".
71057 (STRCMP): Do not use BP_SYM.
71058 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71059 "bp-asm.h".
71060 (STRCPY): Do not use BP_SYM.
71061 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71062 "bp-asm.h".
71063 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71064 "bp-asm.h".
71065 (FUNCTION): Do not use BP_SYM.
71066 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71067 weak_alias.
71068 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71069
71070 2013-02-17 Andreas Jaeger <aj@suse.de>
71071
71072 * time/Versions: Sort entries.
71073 * string/Versions: Likewise.
71074 * resolv/Versions: Likewise.
71075 * posix/Versions: Likewise.
71076 * iconv/Versions: Likewise.
71077 * elf/Versions: Likewise.
71078 * wcsmbs/Versions: Likewise.
71079
71080 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
71081
71082 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71083 loop termination condition.
71084
71085 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71086 variable to calculate EZ.
71087 (__sqr): Likewise.
71088
71089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71090 the lower precision input.
71091
71092 2013-02-15 Joseph Myers <joseph@codesourcery.com>
71093
71094 [BZ #13550]
71095 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71096 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71097 (run-via-rtld-prefix): Do not handle %-bp tests.
71098 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71099 (all-object-suffixes): Remove .ob.
71100 (bppfx): Remove variable.
71101 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71102 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71103 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71104 [$(build-bounded) = yes] (libtype.ob): Likewise.
71105 * Makerules (elide-routines.ob): Remove variable.
71106 (do-tests-clean): Do not handle *-bp.out.
71107 (common-mostlyclean): Do not handle *-bp and *-bp.out.
71108 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71109 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71110 (tests): Do not include $(tests-bp.out).
71111 (xtests): Do not include $(xtests-bp.out).
71112 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71113 [$(build-bounded) = yes] ($(addprefix
71114 $(objpfx),$(binaries-bounded))): Remove rule.
71115 ($(objpfx)%-bp.out): Remove rule.
71116 * config.make.in (build-bounded): Remove variable.
71117 * crypt/Makefile [$(build-bounded) = yes]
71118 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71119 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71120 append to variable.
71121 [$(build-bounded) = yes] (install-lib): Likewise.
71122 [$(build-bounded) = yes] (generated): Likewise.
71123 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71124 Remove rule.
71125 * intl/Makefile [$(build-bounded) = yes]
71126 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71127 * math/Makefile [$(build-bounded) = yes]
71128 ($(tests:%=$(objpfx)%-bp): Likewise.
71129 * misc/Makefile [$(build-bounded) = yes]
71130 ($(objpfx)tst-tsearch-bp): Likewise.
71131 * nptl/Makeconfig (bounded-thread-library): Remove variable.
71132 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71133 Remove dependency.
71134 * string/Makefile (o-objects.ob): Remove variable.
71135 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71136 (CFLAGS-.ob): Remove variable.
71137 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71138 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71139 both definitions of variable.
71140 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71141 (ASFLAGS-.ob): Remove variable.
71142
71143 2013-02-14 Joseph Myers <joseph@codesourcery.com>
71144
71145 [BZ #13550]
71146 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71147 Remove __BOUNDED_POINTERS__ from condition.
71148 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71149 * string/bits/string2.h [!__NO_STRING_INLINES &&
71150 !__BOUNDED_POINTERS__]: Likewise.
71151 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71152 Likewise.
71153 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71154 Remove conditional code.
71155 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71156 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71157 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71158 condition.
71159
71160 [BZ #13550]
71161 * csu/libc-start.c: Do not include <bp-sym.h>.
71162 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71163 * elf/dl-open.c: Do not include <bp-sym.h>.
71164 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71165 * math/fegetenv.c: Do not include <bp-sym.h>.
71166 (fegetenv): Do not use BP_SYM in versioned symbols.
71167 * nptl/sysdeps/pthread/bits/libc-lockP.h
71168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71169 <bp-sym.h>.
71170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71171 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71173 (__pthread_mutex_destroy): Likewise.
71174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71175 (__pthread_mutex_lock): Likewise.
71176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71177 (__pthread_mutex_trylock): Likewise.
71178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71179 (__pthread_mutex_unlock): Likewise.
71180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71181 (__pthread_mutexattr_init): Likewise.
71182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71183 (__pthread_mutexattr_destroy): Likewise.
71184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71185 (__pthread_mutexattr_settype): Likewise.
71186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71187 (__pthread_rwlock_init): Likewise.
71188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71189 (__pthread_rwlock_destroy): Likewise.
71190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71191 (__pthread_rwlock_rdlock): Likewise.
71192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71193 (__pthread_rwlock_tryrdlock): Likewise.
71194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71195 (__pthread_rwlock_wrlock): Likewise.
71196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71197 (__pthread_rwlock_trywrlock): Likewise.
71198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71199 (__pthread_rwlock_unlock): Likewise.
71200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71201 (__pthread_key_create): Likewise.
71202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71203 (__pthread_setspecific): Likewise.
71204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71205 (__pthread_getspecific): Likewise.
71206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71207 Likewise.
71208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71209 (_pthread_cleanup_push_defer): Likewise.
71210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71211 (_pthread_cleanup_pop_restore): Likewise.
71212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71213 (pthread_setcancelstate): Likewise.
71214 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71215 <bp-sym.h>.
71216 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71217 (memchr): Do not use BP_SYM in weak_alias.
71218 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71219 (fegetenv): Do not use BP_SYM in versioned symbols.
71220 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71221 (fesetenv): Do not use BP_SYM in versioned symbols.
71222 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71223 (feupdateenv): Do not use BP_SYM in versioned symbols.
71224 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71225 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71226 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71227 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71228 (open64): Do not use BP_SYM in weak_alias.
71229 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71230 (fegetenv): Do not use BP_SYM in versioned symbols.
71231 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71232 (fesetenv): Do not use BP_SYM in versioned symbols.
71233 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71234 (feupdateenv): Do not use BP_SYM in versioned symbols.
71235 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71236 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71237 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71238 (feraiseexcept): Do not use BP_SYM in versioned symbols.
71239 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71240 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71241 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71242 <bp-sym.h>.
71243 (__libc_start_main): Do not use BP_SYM.
71244
71245 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71246
71247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71248 redundant return line.
71249 (norm): Likewise.
71250 (denorm): Likewise.
71251 (dbl_mp): Likewise.
71252 (sub_magnitudes): Likewise.
71253 (__add): Likewise.
71254 (__sub): Likewise.
71255 (__mul): Likewise.
71256 (__inv): Likewise.
71257 (__dvd): Likewise.
71258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71259 (norm): Likewise.
71260 (denorm): Likewise.
71261 (dbl_mp): Likewise.
71262 (sub_magnitudes): Likewise.
71263 (__add): Likewise.
71264 (__sub): Likewise.
71265 (__mul): Likewise.
71266 (__inv): Likewise.
71267 (__dvd): Likewise.
71268
71269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71270 instead of __mul.
71271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71272 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71273 (cc32): Likewise.
71274
71275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71276 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71278 of __mul for squares.
71279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71280 function
71281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71282 Likewise.
71283 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71284 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71285
71286 2013-02-13 Joseph Myers <joseph@codesourcery.com>
71287
71288 [BZ #13550]
71289 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71290 code.
71291 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71292 prototype or function definition. Rename ubp_* variables and
71293 parameters. Remove argv definitions conditional on
71294 [__BOUNDED_POINTERS__].
71295 * debug/backtrace.c (__backtrace): Do not use __unbounded.
71296 * elf/dl-runtime.c (_dl_fixup): Likewise.
71297 * include/set-hooks.h (RUN_HOOK): Likewise.
71298 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71299 definition.
71300 * string/strcpy.c (strcpy): Do not use __unbounded.
71301 * sysdeps/generic/frame.h (struct layout): Likewise.
71302 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71303 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71304 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71305 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71306 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71307 (__backtrace): Likewise.
71308 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71309 use __ptrvalue.
71310 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71311 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71312 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71313 Likewise.
71314 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71315 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71316 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71317 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71318 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71319 Do not use __unbounded.
71320 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71321 Rename __unboundedrlimits parameter to rlimits in prototype.
71322 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71323 Do not use __unbounded.
71324 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71325 not use __ptrvalue.
71326 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71327 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71328 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71329 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71330 __ptrvalue or __unbounded.
71331 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71332 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71333 use __unbounded.
71334 (__new_msgctl): Do not use __ptrvalue.
71335 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71336 __unbounded.
71337 (__libc_msgrcv): Do not use __ptrvalue.
71338 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71339 startup_info): Do not use __unbounded.
71340 (__libc_start_main): Likewise. Rename ubp_* variables and
71341 parameters. Remove argv definitions conditional on
71342 [__BOUNDED_POINTERS__].
71343 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71344 __ptrvalue.
71345 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71346 use __unbounded.
71347 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71348 or __ptrvalue.
71349 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71350 use __unbounded.
71351 (__new_shmctl): Do not use __ptrvalue.
71352 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71353 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71354 Likewise.
71355 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71357 (__libc_sigaction): Likewise.
71358 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71360 Likewise.
71361 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71362
71363 2013-02-13 Ondƙej Bílka <neleai@seznam.cz>
71364
71365 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71366
71367 * string/mempcpy.c: Implement by calling memcpy.
71368
71369 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
71370
71371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71372
71373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71374 evaluation.
71375
71376 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71377 values in the mantissa.
71378
71379 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71380 minimize writes to Z.
71381 (sub_magnitudes): Simplify code a bit.
71382
71383 2013-02-12 Roland McGrath <roland@hack.frob.com>
71384
71385 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71386 from the message. The linker prefixes all warnings with that already.
71387
71388 2013-02-12 Andreas Schwab <schwab@suse.de>
71389
71390 [BZ #15078]
71391 * posix/regexec.c (extend_buffers): Add parameter min_len.
71392 (check_matching): Pass minimum needed length.
71393 (clean_state_log_if_needed): Likewise.
71394 (get_subexp): Likewise.
71395 * posix/Makefile (tests): Add bug-regex34.
71396 (bug-regex34-ENV): Define.
71397 * posix/bug-regex34.c: New file.
71398
71399 [BZ #11561]
71400 * posix/regcomp.c (parse_bracket_exp): When looking up collating
71401 elements compare against the byte sequence of it, not its name.
71402 * posix/Makefile (tests): Add bug-regex35.
71403 (bug-regex35-ENV): Define.
71404 * posix/bug-regex35.c: New file.
71405
71406 2013-02-11 Tom de Vries <tom@codesourcery.com>
71407
71408 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
71409 comment.
71410 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71411 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71412 (CHECK_EOL): Add undef.
71413
71414 2013-02-11 Ondƙej Bílka <neleai@seznam.cz>
71415
71416 * bits/stdlib-bsearch.h: New file.
71417 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71418 * stdlib/stdlib.h: Likewise.
71419
71420 2013-02-11 Roland McGrath <roland@hack.frob.com>
71421
71422 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71423 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71424 declaration.
71425 * manual/search.texi (Array Search Function): Add missing const in
71426 lfind prototype.
71427 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71428 declaration to use rlim_t.
71429 (Basic Scheduling Functions): Remove erroneous const from
71430 sched_getparam prototype. Remove erroneous * from
71431 sched_get_priority_max and sched_get_priority_min prototypes.
71432 (Resource Usage): Fix summary @comment on vtimes to refer to
71433 sys/vtimes.h rather than vtimes.h.
71434 Add missing *s in vtimes prototype.
71435 (Limits on Resources): Fix ulimit prototype to return long int.
71436 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71437 prototypes to use long int rather than double.
71438 (BSD Random): Fix initstate and setstate to use char *, not void *.
71439 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71440 prototype to make second argument 'struct aiocb64 *const[]'.
71441 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71442 (Status of AIO Operations): Remove erroneous const in aio_return and
71443 aio_return64 prototypes.
71444 (Synchronizing I/O): Fix sync prototype to return void.
71445 * manual/startup.texi (Suboptions): Remove an erroneous const in
71446 getsubopt prototype.
71447 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71448 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71449 use size_t rather than int.
71450 (Scanning All Users): Likewise for getpwent_r.
71451 (Setting Groups): Add missing const to setgroups prototype.
71452 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71453 * manual/socket.texi (Host Names): Fix gethostbyaddr and
71454 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71455 'const void *' rather than 'const char *'.
71456 (Host Address Functions): Likewise for inet_ntop.
71457 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71458 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71459 ssize_t for return value.
71460 (Sending Data): Likewise for send, sendto, sendmsg.
71461 (Socket Option Functions): Add a missing const in setsockopt prototype.
71462 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71463 use wchar_t for the argument.
71464 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71465 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71466 take no arguments.
71467 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71468 double/float/long double for second argument.
71469 Fix return types of significand, significandf, significandl.
71470 * manual/filesys.texi (Setting Permissions): Use mode_t for second
71471 argument in fchmod prototype.
71472 (File Owner): Use uid_t and gid_t in fchown prototype.
71473 (File Times): Add const to utimes, futimes, and lutimes prototypes.
71474 (Making Special Files): Use mode_t and dev_t in mknod prototype.
71475 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71476 use 'const struct dirent **' as argument types to CMP function pointer
71477 argument.
71478 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71479 (File Times): Fix summary magic @comment for struct utimbuf and utime
71480 to refer to utime.h, not time.h.
71481 * manual/string.texi (Argz Functions): Add missing const in
71482 argz_extract and argz_next prototypes.
71483 (Finding Tokens in a String): Likewise for basename.
71484 (String/Array Comparison): Fix typo in wcscasecmp prototype.
71485 (Copying and Concatenation): Fix typo in wmemmove prototype.
71486 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71487 (Signal Stack): Remove erroneous const in sigstack prototype.
71488 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71489 prototype.
71490 (Simple Calendar Time): Likewise for stime.
71491 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71492 prototype.
71493 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71494 say sys/sysctl.h instead.
71495 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71496 and vsyslog prototypes.
71497
71498 2013-02-11 Tom de Vries <tom@codesourcery.com>
71499
71500 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71501 Remove.
71502
71503 2013-02-11 Roland McGrath <roland@hack.frob.com>
71504
71505 * misc/sys/mman.h: Fix typo in mremap comment.
71506
71507 2013-02-08 Roland McGrath <roland@hack.frob.com>
71508
71509 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71510 the '\0' terminator.
71511
71512 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71513
71514 [BZ #13550]
71515 * debug/segfault.c: Don't include <bp-checks.h>.
71516 * sysdeps/generic/bp-checks.h: Remove file.
71517 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71518 (__GETDENTS): Don't use CHECK_N.
71519 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71520 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71521 (__getgroups): Don't use CHECK_N.
71522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71523 (setgroups): Don't use CHECK_N.
71524 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71525 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71526 (__libc_msgrcv): Don't use CHECK_N.
71527 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71528 (__libc_msgsnd): Don't use CHECK_N.
71529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71530 <bp-checks.h>.
71531 (__libc_pread): Don't use CHECK_N.
71532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71533 include <bp-checks.h>.
71534 (__libc_pread64): Don't use CHECK_N.
71535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71536 include <bp-checks.h>.
71537 (__libc_pwrite): Don't use CHECK_N.
71538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71539 include <bp-checks.h>.
71540 (__libc_pwrite64): Don't use CHECK_N.
71541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71542 <bp-checks.h>.
71543 (__libc_pread): Don't use CHECK_N.
71544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71545 include <bp-checks.h>.
71546 (__libc_pread64): Don't use CHECK_N.
71547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71548 include <bp-checks.h>.
71549 (__libc_pwrite): Don't use CHECK_N.
71550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71551 include <bp-checks.h>.
71552 (__libc_pwrite64): Don't use CHECK_N.
71553 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71554 (do_pread): Don't use CHECK_N.
71555 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71556 (do_pread64): Don't use CHECK_N.
71557 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71558 (do_pwrite): Don't use CHECK_N.
71559 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71560 (do_pwrite64): Don't use CHECK_N.
71561 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71562 (__libc_readv): Don't use CHECK_N.
71563 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71564 (semop): Don't use CHECK_N.
71565 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71566 <bp-checks.h>.
71567 (semtimedop): Don't use CHECK_N.
71568 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71569 (__libc_pread): Don't use CHECK_N.
71570 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71571 <bp-checks.h>.
71572 (__libc_pread64): Don't use CHECK_N.
71573 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71574 <bp-checks.h>.
71575 (__libc_pwrite): Don't use CHECK_N.
71576 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71577 <bp-checks.h>.
71578 (__libc_pwrite64): Don't use CHECK_N.
71579 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71580 <bp-checks.h>.
71581 (__libc_msgrcv): Don't use CHECK_N.
71582 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71583 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
71584 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71585 (__libc_writev): Don't use CHECK_N.
71586
71587 2013-02-08 Roland McGrath <roland@hack.frob.com>
71588
71589 * string/strcpy.c: Removed unused variable.
71590
71591 * Makeconfig (+sysdep-includes): Define with := rather than =.
71592 Use an existing include/ subdir of each sysdeps dir before it.
71593
71594 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71595
71596 * nscd/connection.c (register_traced_file): Comment function.
71597 [HAVE_INOTIFY] (union __inev): Define.
71598 [HAVE_INOTIFY] (inotify_check_files): New function.
71599 [HAVE_INOTIFY] (clear_db_cache): Likewise.
71600 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71601 clear_db_cache.
71602 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71603
71604 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71605
71606 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71607 loaded if not already and that a failure is permanent.
71608
71609 2013-02-08 Carlos O'Donell <carlos@redhat.com>
71610
71611 [BZ #15006]
71612 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71613 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71614
71615 2013-02-08 Joseph Myers <joseph@codesourcery.com>
71616
71617 [BZ #13550]
71618 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71619 (CHECK_1_NULL_OK): Likewise.
71620 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71621 (__fxstat): Do not use CHECK_1.
71622 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71623 <bp-checks.h>.
71624 (___fxstat64): Do not use CHECK_1.
71625 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71626 <bp-checks.h>.
71627 (__fxstatat): Do not use CHECK_1.
71628 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71629 <bp-checks.h>.
71630 (__fxstatat64): Do not use CHECK_1.
71631 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71632 <bp-checks.h>.
71633 (__fxstat): Do not use CHECK_1.
71634 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71635 <bp-checks.h>.
71636 (__fxstatat): Do not use CHECK_1.
71637 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71638 <bp-checks.h>.
71639 (__getresgid): Do not use CHECK_1.
71640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71641 <bp-checks.h>.
71642 (__getresuid): Do not use CHECK_1.
71643 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71644 <bp-checks.h>.
71645 (__lxstat): Do not use CHECK_1.
71646 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71647 <bp-checks.h>.
71648 (__old_msgctl): Do not use CHECK_1.
71649 (__new_msgctl): Likewise.
71650 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71651 <bp-checks.h>.
71652 (__new_setrlimit): Do not use CHECK_1.
71653 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71654 <bp-checks.h>.
71655 (__old_shmctl): Do not use CHECK_1.
71656 (__new_shmctl): Likewise.
71657 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71658 <bp-checks.h>.
71659 (__xstat): Do not use CHECK_1.
71660 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71661 (__lxstat): Do not use CHECK_1.
71662 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71663 <bp-checks.h>.
71664 (___lxstat64): Do not use CHECK_1.
71665 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71666 (__old_msgctl): Do not use CHECK_1.
71667 (__new_msgctl): Likewise.
71668 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71669 <bp-checks.h>.
71670 (__gettimeofday): Do not use CHECK_1.
71671 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71672 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71673 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71674 <bp-checks.h>.
71675 (__gettimeofday): Do not use CHECK_1.
71676 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71677 (__old_shmctl): Do not use CHECK_1_NULL_OK.
71678 (__new_shmctl): Do not use CHECK_1.
71679 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71680 <bp-checks.h>.
71681 (do_sigtimedwait): Do not use CHECK_1.
71682 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71683 <bp-checks.h>.
71684 (do_sigwaitinfo): Do not use CHECK_1.
71685 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71686 <bp-checks.h>.
71687 (msgctl): Do not use CHECK_1.
71688 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71689 <bp-checks.h>.
71690 (shmctl): Do not use CHECK_1.
71691 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71692 (ustat): Do not use CHECK_1.
71693 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71694 <bp-checks.h>.
71695 (__fxstat): Do not use CHECK_1.
71696 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71697 <bp-checks.h>.
71698 (__fxstatat): Do not use CHECK_1.
71699 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71700 <bp-checks.h>.
71701 (__lxstat): Do not use CHECK_1.
71702 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71703 <bp-checks.h>.
71704 (__xstat): Do not use CHECK_1.
71705 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71706 (__xstat): Do not use CHECK_1.
71707 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71708 (___xstat64): Do not use CHECK_1.
71709
71710 [BZ #13550]
71711 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71712 definitions.
71713 (CHECK_BOUNDS_HIGH): Likewise.
71714 * string/strcpy.c: Do not include <bp-checks.h>.
71715 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71716
71717 2013-02-07 Roland McGrath <roland@hack.frob.com>
71718
71719 * nscd/nscd-client.h (__nscd_drop_map_ref):
71720 Add __attribute__ ((unused)).
71721 * nis/nss-nisplus.h (niserr2nss): Likewise.
71722
71723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71724 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71725
71726 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71727 Remove inline keyword.
71728 * include/rounding-mode.h (round_away): Likewise.
71729 * libio/wfileops.c (adjust_wide_data): Likewise.
71730 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71731 (__m128i_strloadu_tolower): Likewise.
71732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71733 (__m128i_strloadu_tolower): Likewise.
71734 * time/mktime.c (ydhms_diff): Likewise.
71735 * locale/elem-hash.h (elem_hash): Likewise.
71736 * locale/setlocale.c (setdata): Likewise.
71737 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71738 (re_string_wchar_at): Likewise.
71739 (bitset_not, bitset_merge, bitset_mask): Likewise.
71740 [!(__GNUC__ > 3)] (inline): Remove macro.
71741 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71742 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71743 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71744 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71745 * string/memcmp.c (memcmp_bytes): Likewise.
71746 * locale/programs/locarchive.c (compute_hashval): Likewise.
71747 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71748 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71749 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71750 * nss/getent.c (print_rpc, print_protocols): Likewise.
71751 (print_passwd, print_group, print_aliases): Likewise.
71752 * nis/nss-nisplus.h (niserr2nss): Likewise.
71753 * nscd/connections.c (restart_p): Likewise.
71754 Change return type to bool.
71755
71756 2013-02-05 Roland McGrath <roland@hack.frob.com>
71757
71758 * Makeconfig (all-Depend-files): Add existing
71759 $(sorted-subdirs:=/Depend) files.
71760 (all-subdirs): Remove nss.
71761 * sysdeps/unix/inet/Subdirs: Add it here instead.
71762 * hesiod/Depend: New file.
71763
71764 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71765 instead of calling alloca.
71766
71767 * io/lseek.c (__lseek): Rename to __libc_lseek.
71768 Define __lseek as an alias.
71769
71770 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71771
71772 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71773
71774 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71775 else clause and remove check for non-standard endianness.
71776
71777 2013-02-04 David S. Miller <davem@davemloft.net>
71778
71779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71780
71781 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71782
71783 [BZ #13550]
71784 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71785 (__ubp_memchr): Remove prototype.
71786 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71787 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71788 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71789 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71790 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71791 Remove alias.
71792 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71793 (__ubp_memchr): Likewise.
71794 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71795 (__ubp_memchr): Likewise.
71796 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71797 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71798 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71799 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71800 CHECK_STRING.
71801 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71802 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71803 (__getcwd): Do not use CHECK_STRING.
71804 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71805 <bp-checks.h>.
71806 (__real_chown): Do not use CHECK_STRING.
71807 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71808 <bp-checks.h>.
71809 (fchownat): Do not use CHECK_STRING.
71810 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71811 CHECK_STRING.
71812 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71813 <bp-checks.h>.
71814 (__lchown): Do not use CHECK_STRING.
71815 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71816 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71817 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71818 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71820 include <bp-checks.h>.
71821 (truncate64): Do not use CHECK_STRING.
71822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71823 <bp-checks.h>.
71824 (__real_chown): Do not use CHECK_STRING.
71825 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71826 <bp-checks.h>.
71827 (__lchown): Do not use CHECK_STRING.
71828 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71829 <bp-checks.h>.
71830 (__chown): Do not use CHECK_STRING.
71831 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71832 <bp-checks.h>.
71833 (truncate64): Do not use CHECK_STRING.
71834 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71835 Likewise.
71836 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71837 (__xmknod): Do not use CHECK_STRING.
71838 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71839 <bp-checks.h>.
71840 (__xmknodat): Do not use CHECK_STRING.
71841 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71842 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71843
71844 2013-02-04 Andreas Schwab <schwab@suse.de>
71845
71846 [BZ #14142]
71847 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71848 * include/netdb.h: Likewise for h_errno.
71849 * elf/tst-stackguard1.c: Include <tls.h>.
71850
71851 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71852
71853 * elf/link.h (struct link_map): Extend the l_addr comment.
71854 * include/link.h (struct link_map): Likewise.
71855
71856 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71857
71858 [BZ #13550]
71859 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71860 (BOUNDED_1): Remove macro.
71861 * debug/backtrace.c: Don't include <bp-checks.h>.
71862 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71863 (__backtrace): Likewise.
71864 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71865 <bp-checks.h>.
71866 (__backtrace): Don't use BOUNDED_1.
71867 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71868 <bp-checks.h>.
71869 (__backtrace): Don't use BOUNDED_1.
71870 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71871 (__backtrace): Don't use BOUNDED_1.
71872 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71873 (shmat): Don't use BOUNDED_N.
71874
71875 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71876
71877 [BZ #13550]
71878 * sysdeps/generic/bp-start.h: Remove file.
71879 * csu/libc-start.c: Don't include <bp-start.h>.
71880 (LIBC_START_MAIN): Set up __environ directly instead of using
71881 INIT_ARGV_and_ENVIRON.
71882 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71883 <bp-start.h>.
71884
71885 [BZ #13550]
71886 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71887 definitions.
71888 (CHECK_FCNTL): Likewise.
71889 (CHECK_N_PAGES): Likewise.
71890
71891 [BZ #13550]
71892 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71893 definitions.
71894 (CHECK_SIGSET_NULL_OK): Likewise.
71895 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71896 <bp-checks.h>.
71897 (sigpending): Don't use CHECK_SIGSET.
71898 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71899 <bp-checks.h>.
71900 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71901 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71902 <bp-checks.h>.
71903 (do_sigsuspend): Don't use CHECK_SIGSET.
71904 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71905 use CHECK_SIGSET.
71906 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71907 (do_sigwait): Don't use CHECK_SIGSET.
71908 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71909 use CHECK_SIGSET.
71910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71911 include <bp-checks.h>.
71912 (sigpending): Don't use CHECK_SIGSET.
71913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71914 include <bp-checks.h>.
71915 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71916 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71917 <bp-checks.h>.
71918 (sigpending): Don't use CHECK_SIGSET.
71919 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71920 <bp-checks.h>.
71921 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71922
71923 [BZ #13550]
71924 * sysdeps/generic/bp-semctl.h: Remove file.
71925 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71926 <bp-checks.h> and <bp-semctl.h>.
71927 (__old_semctl): Don't use CHECK_SEMCTL.
71928 (__new_semctl): Likewise.
71929 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71930 and <bp-semctl.h>.
71931 (__old_semctl): Don't use CHECK_SEMCTL.
71932 (__new_semctl): Likewise.
71933 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71934 <bp-checks.h> and <bp-semctl.h>.
71935 (__old_semctl): Don't use CHECK_SEMCTL.
71936 (__new_semctl): Likewise.
71937 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71938 <bp-checks.h> and <bp-semctl.h>.
71939 (semctl): Don't use CHECK_SEMCTL.
71940
71941 [BZ #13550]
71942 * Makerules (elide-bp-thunks): Remove variable.
71943 (elide-routines.oS): Don't use $(elide-bp-thunks).
71944 (elide-routines.os): Likewise.
71945 (elide-routines.o): Likewise.
71946 (elide-routines.op): Likewise.
71947 (elide-routines.og): Likewise.
71948 (objects): Don't use $(bp-thunks).
71949 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71950 include.
71951 (common-generated): Do not add s-proto-bp.d.
71952 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71953 (int): Likewise.
71954 (typ): Likewise.
71955 Do not generate makefile rules for bounded-pointer thunks.
71956 * sysdeps/generic/bp-thunks.h: Remove file.
71957 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71958 * sysdeps/unix/s-proto-bp.S: Likewise.
71959
71960 [BZ #15062]
71961 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71962 parts of result separately when argument is not close to line from
71963 -i to i and one part of argument is small.
71964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71966 * math/libm-test.inc (cacos_test): Add more tests.
71967 (casin_test): Likewise.
71968 (casinh_test): Likewise.
71969 * sysdeps/i386/fpu/libm-test-ulps: Update.
71970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71971
71972 2013-01-31 David S. Miller <davem@davemloft.net>
71973
71974 * po/de.po: Update from translation team.
71975
71976 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71977
71978 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71979
71980 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71981
71982 * configure.in (_AC_PROG_CC_C89): New definition.
71983 * configure: Regenerate.
71984
71985 * configure.in (AC_PROG_CPP): New definition.
71986 * configure: Regenerate.
71987
71988 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71989
71990 * debug/tst-backtrace.h: New file.
71991 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71992 (ret): Remove variable.
71993 (x): Likewise.
71994 (FAIL): Remove macro.
71995 (NO_INLINE): Likewise.
71996 (fn1): Use match function instead of strstr.
71997 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71998 (ret): Remove variable.
71999 (x): Likewise.
72000 (FAIL): Remove macro.
72001 (NO_INLINE): Likewise.
72002 (fn): Use match function instead of strstr.
72003 * debug/tst-backtrace4.c: Include tst-backtrace.h.
72004 (ret): Remove variable.
72005 (x): Likewise.
72006 (FAIL): Remove macro.
72007 (NO_INLINE): Likewise.
72008 (handle_signal): Use match function instead of strstr.
72009 * debug/tst-backtrace5.c: Include tst-backtrace.h.
72010 (ret): Remove variable.
72011 (x): Likewise.
72012 (FAIL): Remove macro.
72013 (NO_INLINE): Likewise.
72014 (handle_signal): Use match function instead of strstr.
72015
72016 2013-01-23 Roland McGrath <roland@hack.frob.com>
72017
72018 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72019
72020 2013-01-23 David S. Miller <davem@davemloft.net>
72021
72022 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72023 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72024 argument of CAS if possible.
72025 * sysdeps/sparc/sparc64/bits/atomic.h
72026 (__arch_compare_and_exchange_val_32_acq): Likewise.
72027 (__arch_compare_and_exchange_val_64_acq): Likewise.
72028
72029 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
72030
72031 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72032 * sysdeps/posix/ulimit.c: ... this.
72033 Include <limits.h>.
72034 * sysdeps/unix/bsd/ulimit.c: Remove file.
72035
72036 2013-01-23 Adam Conrad <adconrad@0c3.net>
72037
72038 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72039 (LDFLAGS-tst-array5): Likewise.
72040
72041 2013-01-23 Joseph Myers <joseph@codesourcery.com>
72042
72043 [BZ #15036]
72044 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72045 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72046 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72047 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72048
72049 2013-01-21 David S. Miller <davem@davemloft.net>
72050
72051 * sysdeps/sparc/backtrace.c: New file.
72052 * sysdeps/sparc/sparc32/backtrace.h: New file.
72053 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72054 * sysdeps/sparc/sparc64/backtrace.h: New file.
72055 * sysdeps/sparc/sparc64/backtrace.c: Delete.
72056 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72057 -funwind-tables.
72058
72059 2013-01-21 Andreas Schwab <schwab@suse.de>
72060
72061 [BZ #15020]
72062 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72063 closed its stdout.
72064
72065 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
72066
72067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72068 "mpa2.h".
72069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72070
72071 2013-01-18 Joseph Myers <joseph@codesourcery.com>
72072 Mark Mitchell <mark@codesourcery.com>
72073 Tom de Vries <tom@codesourcery.com>
72074 Paul Pluzhnikov <ppluzhnikov@google.com>
72075
72076 * debug/tst-backtrace2.c: New file.
72077 * debug/tst-backtrace3.c: Likewise.
72078 * debug/tst-backtrace4.c: Likewise.
72079 * debug/tst-backtrace5.c: Likewise.
72080 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72081 (CFLAGS-tst-backtrace3.c): Likewise.
72082 (CFLAGS-tst-backtrace4.c): Likewise.
72083 (CFLAGS-tst-backtrace5.c): Likewise.
72084 (LDFLAGS-tst-backtrace2): Likewise.
72085 (LDFLAGS-tst-backtrace3): Likewise.
72086 (LDFLAGS-tst-backtrace4): Likewise.
72087 (LDFLAGS-tst-backtrace5): Likewise.
72088 (tests): Add new tests tst-backtrace2, tst-backtrace3,
72089 tst-backtrace4 and tst-backtrace5.
72090
72091 2013-01-18 Anton Blanchard <anton@samba.org>
72092 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
72093
72094 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72095 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72096 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72097 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72099 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72100 "+r" and remove output regs list as redundant. Add explicit inline
72101 asm to specify register of return val to work around compiler codegen
72102 bug. Remove (int) cast on return value. Add return type parameter to
72103 use in macro so that this macro does not truncate return value for
72104 64-bit values.
72105 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72106 pass to INTERNAL_VSYSCALL_NCS.
72107 (INLINE_VSYSCALL): Add 'long int' as return type to
72108 INTERNAL_VSYSCALL_NCS macro invocation.
72109 (INTERNAL_VSYSCALL): Add 'long int' as return type to
72110 INTERNAL_VSYSCALL_NCS macro invocation.
72111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72112
72113 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
72114
72115 [BZ #14496]
72116 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72117 Fix application of SIMD FP exception mask.
72118
72119 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72120 mp_no from a power of two.
72121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72122 __mpexp_twomm1. Use __pow_mp.
72123
72124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72125 multiplication.
72126
72127 2013-01-17 David S. Miller <davem@davemloft.net>
72128
72129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72130
72131 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72132
72133 [BZ #15023]
72134 * include/complex.h: Condition contents on [!_COMPLEX_H].
72135 (__kernel_casinhf): New prototype.
72136 (__kernel_casinh): Likewise.
72137 (__kernel_casinhl): Likewise.
72138 * math/Makefile (libm_calls): Add k_casinh.
72139 * math/k_casinh.c: New file.
72140 * math/k_casinhf.c: Likewise.
72141 * math/k_casinhl.c: Likewise.
72142 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72143 finite nonzero arguments.
72144 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72145 finite nonzero arguments.
72146 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72147 finite nonzero arguments.
72148 * math/s_casinh.c: Do not include <float.h>.
72149 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72150 * math/s_casinhf.c: Do not include <float.h>.
72151 (__casinhf): Move code for finite nonzero arguments to
72152 k_casinhf.c.
72153 * math/s_casinhl.c: Do not include <float.h>.
72154 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72155 redefine.
72156 (__casinhl): Move code for finite nonzero arguments to
72157 k_casinhl.c.
72158 * math/libm-test.inc (cacos_test): Add more tests.
72159 * sysdeps/i386/fpu/libm-test-ulps: Update.
72160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72161
72162 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
72163
72164 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72165 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72166 [!HAVE_MREMAP]: Remove [defined linux] case.
72167 * malloc/arena.c: Do not include <malloc-sysdep.h>.
72168
72169 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
72170
72171 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72172
72173 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
72174
72175 * elf/elf.h (R_386_SIZE32): New relocation.
72176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72177 R_386_SIZE32.
72178 (elf_machine_rela): Likewise.
72179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72180 R_X86_64_SIZE64 and R_X86_64_SIZE32.
72181
72182 2013-01-17 Joseph Myers <joseph@codesourcery.com>
72183
72184 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72185 (FP_FAST_FMA): Do not define.
72186 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72187 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72188 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72189 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72190 !_SOFT_FLOAT]: Likewise.
72191 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72193 value.
72194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72195 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72197 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72198 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72199 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72200 file.
72201
72202 2013-01-16 Andreas Schwab <schwab@suse.de>
72203
72204 [BZ #14327]
72205 * include/stdlib.h (__mktemp): Add declaration.
72206 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72207 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72208
72209 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
72210
72211 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72212 definitions.
72213 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72214 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72215 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72216 definitions here.
72217 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72218 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72219 definitions.
72220 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72221 and ONE.
72222 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72223 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72225 definitions.
72226 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72227 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72228 definitions.
72229 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72230
72231 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72232
72233 2013-01-15 David S. Miller <davem@davemloft.net>
72234
72235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72236 trunc{,f} to libm-sysdep_routes.
72237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72239 file.
72240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72242 file.
72243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72244 file.
72245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72247 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72251 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72252 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72253
72254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72255 nearbyint{,f} to libm-sysdep_routes.
72256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72258 New file.
72259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72260 file.
72261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72262 New file.
72263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72264 file.
72265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72268 file.
72269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72271 file.
72272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72273 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72274 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72275
72276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72277 libc_feholdexcept and libc_fesetenv.
72278
72279 2013-01-15 Mike Frysinger <vapier@gentoo.org>
72280
72281 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72282
72283 2013-01-14 David S. Miller <davem@davemloft.net>
72284
72285 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72286 (SPARC_ASM_VIS2_IFUNC): Likewise.
72287 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72289 use of 'siam' instruction.
72290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72291 Likewise.
72292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72293 Likewise.
72294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72295 Likewise.
72296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72301 file.
72302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72303 file.
72304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72305 file.
72306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72307 file.
72308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72313 new VIS2 routines.
72314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72317 Likewise.
72318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72323 routines to libm-sysdep_routines.
72324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72325
72326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72327 fdim/fdimf to libm-sysdep_routines.
72328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72329 file.
72330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72332 file.
72333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72336 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72337 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72338 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72339 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72340
72341 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
72342
72343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72344 to optimize copies.
72345
72346 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72349
72350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72351 local variable MPTWO.
72352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72353 Likewise.
72354
72355 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72356
72357 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72358 GLOB_NOESCAPE.
72359
72360 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72361
72362 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72363
72364 2013-01-13 Mike Frysinger <vapier@gentoo.org>
72365
72366 * manual/pattern.texi (glob_t): Document gl_flags.
72367 (glob64_t): Likewise.
72368
72369 2013-01-11 David S. Miller <davem@davemloft.net>
72370
72371 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72372 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72373 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
72374 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72375 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72376 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72377 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72378 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72379 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72380 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72381 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72382 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72383 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72384
72385 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72386 sparc V9 rather than using V8 code.
72387 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72388 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72389
72390 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72391 Move to...
72392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72393 Here.
72394
72395 2013-01-11 Roland McGrath <roland@hack.frob.com>
72396
72397 [BZ #14941]
72398 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72399 not in the main loop.
72400 * configure: Regenerated.
72401
72402 2013-01-11 Joseph Myers <joseph@codesourcery.com>
72403
72404 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72405 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72406 to just #else.
72407 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
72408 [!__GLIBC_HAVE_LONG_LONG] case.
72409 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72410 condition to just #else.
72411 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72412 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72413 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72414 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72415 unconditional.
72416 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72417 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72418 #elif condition to just #else.
72419 * sysdeps/unix/sysv/linux/sys/sysmacros.h
72420 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72421 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72422 #elif condition to just #else.
72423
72424 2013-01-11 Steve Ellcey <sellcey@mips.com>
72425
72426 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72427 (EF_MIPS_ARCH_64): Fix value.
72428 (EF_MIPS_ARCH_32R2): New.
72429 (EF_MIPS_ARCH_64R2): New.
72430
72431 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
72432
72433 * Makeconfig (+link-pie-before-libc): New.
72434 (+link-pie-after-libc): Likewise.
72435 (+link-pie-tests): Likewise.
72436 (+link-pie): Rewritten.
72437 (link-before-libc): Remove $(config-LDFLAGS).
72438 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72439 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72440 (config-LDFLAGS): Renamed to ...
72441 (rtld-LDFLAGS): This.
72442 (rtld-tests-LDFLAGS): New macro.
72443 (link-libc-rpath-link): Likewise.
72444 (link-libc-tests-rpath-link): Likewise.
72445 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72446 (link-libc): Prepand $(link-libc-rpath-link).
72447 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72448 (test-program-prefix): New macro.
72449 (test-via-rtld-prefix): Likewise.
72450 (test-program-cmd): Likewise.
72451 (host-test-program-cmd): Likewise.
72452 * Makefile ($(common-objpfx)testrun.sh): Replace
72453 $(run-program-prefix) with $(test-program-prefix).
72454 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72455 $(rtld-LDFLAGS).
72456 ($(common-objpfx)shlib.lds): Likewise.
72457 (build-module-helper): Likewise.
72458 ($(common-objpfx)format.lds): Likewise.
72459 * Rules (binaries-pie-tests): New.
72460 (binaries-pie-notests): Likewise.
72461 (binaries-pie): Rewritten.
72462 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72463 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72464 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72465 (make-test-out): Replace $(host-built-program-cmd) with
72466 $(host-test-program-cmd).
72467 * config.make.in (build-hardcoded-path-in-tests): New variable.
72468 * configure.in (--enable-hardcoded-path-in-tests): New configure
72469 option.
72470 (hardcoded_path_in_tests): New AC_SUBST.
72471 * configure: Regenerated.
72472 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72473 $(built-program-cmd) with $(test-program-cmd).
72474 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72475 (test_program_cmd): This.
72476 * elf/Makefile ($(objpfx)order.out): Run test with
72477 $(test-program-prefix).
72478 ($(objpfx)order2.out): Likewise.
72479 ($(objpfx)tst-initorder.out): Likewise.
72480 ($(objpfx)tst-initorder2.out): Likewise.
72481 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72482 $(test-program-cmd).
72483 ($(objpfx)tst-array1-static.out): Likewise.
72484 ($(objpfx)tst-array2.out): Likewise.
72485 ($(objpfx)tst-array3.out): Likewise.
72486 ($(objpfx)tst-array4.out): Likewise.
72487 ($(objpfx)tst-array5.out): Likewise.
72488 ($(objpfx)tst-array5-static.out): Likewise.
72489 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72490 $(test-program-cmd).
72491 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72492 $(run-program-prefix) with $(test-program-prefix).
72493 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72494 (test_program_prefix): This.
72495 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72496 $(run-program-prefix) with $(test-program-prefix).
72497 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72498 (test_program_prefix): This.
72499 * iconvdata/tst-tables.sh: Likewise.
72500 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72501 $(run-program-prefix) with $(test-program-prefix).
72502 ($(objpfx)tst-translit.out): Likewise.
72503 ($(objpfx)tst-gettext2.out): Likewise.
72504 ($(objpfx)tst-gettext4.out): Likewise.
72505 ($(objpfx)tst-gettext6.out): Likewise.
72506 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72507 (test_program_prefix): This.
72508 * intl/tst-gettext2.sh: Likewise.
72509 * intl/tst-gettext4.sh Likewise.
72510 * intl/tst-gettext6.sh: Likewise.
72511 * intl/tst-translit.sh: Likewise.
72512 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72513 with $(test-program-cmd).
72514 * libio/Makefile ($(objpfx)test-freopen.out): Replace
72515 $(run-program-prefix) with $(test-program-prefix).
72516 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72517 (test_program_prefix): This.
72518 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72519 $(run-program-prefix) with $(test-program-prefix).
72520 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72521 (test_program_prefix): This.
72522 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72523 * posix/Makefile ($(objpfx)globtest.out): Replace
72524 $(run-via-rtld-prefix) and $(test-wrapper) with
72525 $(test-program-prefix) and $(test-via-rtld-prefix).
72526 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72527 $(test-program-prefix).
72528 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72529 $(host-test-program-cmd).
72530 (tst-spawn-ARGS): Likewise.
72531 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72532 $(test-program-prefix).
72533 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72534 (test_via_rtld_prefix): This.
72535 (test_wrapper): Renamed to ...
72536 (test_program_prefix): This.
72537 (run_program_prefix): Replaced by test_program_prefix.
72538 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72539 (test_program_prefix): This.
72540 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72541 with $(host-test-program-cmd).
72542 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72543 $(run-program-prefix) with $(test-program-prefix).
72544 ($(objpfx)tst-printf.out): Likewise.
72545 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72546 $(test-program-cmd).
72547 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72548 (test_program_prefix): This.
72549 * stdio-common/tst-unbputc.sh: Likewise.
72550 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72551 $(run-program-prefix) with $(test-program-prefix).
72552 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72553 (test_program_prefix): This.
72554 * string/Makefile ($(objpfx)tst-svc.out): Replace
72555 $(built-program-cmd) with $(test-program-cmd).
72556
72557 2013-01-11 Andreas Jaeger <aj@suse.de>
72558
72559 [BZ #15003]
72560 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72561 value. Sync with Linux 3.7.
72562
72563 2013-01-10 David S. Miller <davem@davemloft.net>
72564
72565 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72566 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72567 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72568
72569 2013-01-10 Roland McGrath <roland@hack.frob.com>
72570
72571 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72572 never set.
72573 * configure: Regenerated.
72574
72575 2013-01-10 David S. Miller <davem@davemloft.net>
72576
72577 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72578 sparc V9 rather than using V8 code.
72579 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72580 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72581
72582 2013-01-10 Roland McGrath <roland@hack.frob.com>
72583
72584 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72585 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72586 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72587 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72588 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72589 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72590 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72591 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72592 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72593 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72594 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72595 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72596 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72597 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72598 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72599 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72600 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72601 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72602 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72603 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72604 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72605 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72606 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72607 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72608 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72609 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72610 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72611
72612 2013-01-10 David S. Miller <davem@davemloft.net>
72613
72614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72615
72616 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72617
72618 * posix/Makefile (tests-static): New variable.
72619 (tests): Add $(tests-static).
72620 (tst-exec-static-ARGS): New variable.
72621 (tst-spawn-static-ARGS): Likewise.
72622 * posix/tst-exec-static.c: New file.
72623 * posix/tst-spawn-static.c: Likewise.
72624 * posix/tst-exec.c: Support run directly.
72625 * posix/tst-spawn.c: Likewise.
72626
72627 2013-01-10 Joseph Myers <joseph@codesourcery.com>
72628
72629 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72630 long.
72631 * math/bits/mathcalls.h (llrint): Likewise.
72632 (llround): Likewise.
72633 * stdlib/stdlib.h (struct drand48_data): Likewise.
72634 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72635 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72636 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72637 Likewise.
72638 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72639 Likewise.
72640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72641 (elf_greg_t): Likewise.
72642 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72643 (__jmp_buf): Likewise.
72644 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72645 definitions.
72646 (llrint): Likewise, for all definitions.
72647 (llrintl): Likewise.
72648
72649 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72650 Remove [__GNUC__] condition.
72651 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72652 condition to just [__USE_ISOC99].
72653 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72654
72655 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
72656
72657 [BZ #14200]
72658 * sysdeps/unix/sysv/linux/x86/bits/environments.h
72659 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72660 defined.
72661 (_POSIX_V6_ILP32_OFF32): Likewise.
72662 (_XBS5_ILP32_OFF32): Likewise.
72663 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72664 (__ILP32_OFFBIG_LDFLAGS): Likewise.
72665
72666 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
72667
72668 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72669
72670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72671 doubles __mpexp_twomm1. Adjust usage.
72672 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72673 Remove.
72674
72675 2013-01-10 Andreas Schwab <schwab@suse.de>
72676
72677 [BZ #14964]
72678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72679 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72680
72681 2013-01-09 David S. Miller <davem@davemloft.net>
72682
72683 [BZ #15003]
72684 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72685 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72686 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72687 (TCP_FASTOPEN): Define.
72688 (tcp_repair_opt): New structure.
72689 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72690 enum values.
72691 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72692 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72693 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72694 (tcp_cookie_transactions): New structure.
72695
72696 2013-01-09 Anton Blanchard <anton@samba.org>
72697
72698 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72699 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72700 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72701 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72702
72703 2013-01-09 Joseph Myers <joseph@codesourcery.com>
72704
72705 * include/features.h (__USE_ANSI): Remove.
72706
72707 2013-01-09 Roland McGrath <roland@hack.frob.com>
72708
72709 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72710
72711 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72712
72713 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
72714
72715 * sysdeps/s390/fpu/libm-test-ulps: Update.
72716
72717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72718
72719 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72720 (__acr): Likewise.
72721 (__cpy): Likewise.
72722 (norm): Likewise.
72723 (denorm): Likewise.
72724 (__mp_dbl): Likewise.
72725 (__dbl_mp): Likewise.
72726 (add_magnitudes): Likewise.
72727 (sub_magnitudes): Likewise.
72728 (__add): Likewise.
72729 (__sub): Likewise.
72730 (__mul): Likewise.
72731 (__inv): Likewise.
72732 (__dvd): Likewise.
72733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72734 (__acr): Likewise.
72735 (__cpy): Likewise.
72736 (norm): Likewise.
72737 (denorm): Likewise.
72738 (__mp_dbl): Likewise.
72739 (__dbl_mp): Likewise.
72740 (add_magnitudes): Likewise.
72741 (sub_magnitudes): Likewise.
72742 (__add): Likewise.
72743 (__sub): Likewise.
72744 (__mul): Likewise.
72745 (__inv): Likewise.
72746 (__dvd): Likewise.
72747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72748 (__acr): Likewise.
72749 (__cpy): Likewise.
72750 (norm): Likewise.
72751 (denorm): Likewise.
72752 (__mp_dbl): Likewise.
72753 (__dbl_mp): Likewise.
72754 (add_magnitudes): Likewise.
72755 (sub_magnitudes): Likewise.
72756 (__add): Likewise.
72757 (__sub): Likewise.
72758 (__mul): Likewise.
72759 (__inv): Likewise.
72760 (__dvd): Likewise.
72761
72762 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72763
72764 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72765 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72766 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72767 2 && __USE_EXTERN_INLINES]: Likewise.
72768
72769 2013-01-08 Andreas Jaeger <aj@suse.de>
72770
72771 [BZ #14985]
72772 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72773 Remove.
72774 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72775 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72776
72777 2013-01-07 Anton Blanchard <anton@samba.org>
72778
72779 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72780 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72781 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72782 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72783 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72784 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72785 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72786 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72788 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72791 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72793 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72795 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72797 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72798 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72799 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72800 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72801 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72802 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72803 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72804 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72805 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72806 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72808 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72809 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72812 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72813 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72814 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72816 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72817 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72818 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72819 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72821 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72822
72823 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72824
72825 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72826 (__MALLOC_PMT): Likewise.
72827 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72828 [__GNUC__], only on [_LIBC].
72829 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72830 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72831 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72832 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72833 forward declaration.
72834 (realloc_hook_ini): Likewise.
72835 (memalign_hook_ini): Likewise.
72836 (__libc_memalign): Do not use __MALLOC_PMT in variable
72837 declaration.
72838 (__libc_valloc): Likewise.
72839 (__libc_pvalloc): Likewise.
72840 (__libc_calloc): Likewise.
72841 (__posix_memalign): Likewise.
72842
72843 [BZ #14996]
72844 * math/s_casinh.c: Include <float.h>.
72845 (__casinh): Do not do computation with squaring and square root
72846 for large arguments.
72847 * math/s_casinhf.c: Include <float.h>.
72848 (__casinhf): Do not do computation with squaring and square root
72849 for large arguments.
72850 * math/s_casinhl.c: Include <float.h>.
72851 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72852 (__casinhl): Do not do computation with squaring and square root
72853 for large arguments.
72854 * math/libm-test.inc (casin_test): Add more tests.
72855 (casinh_test): Likewise.
72856 * sysdeps/i386/fpu/libm-test-ulps: Update.
72857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72858
72859 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72860
72861 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72862 (__x86_64_raw_data_cache_size): Likewise.
72863 (__x86_64_data_cache_size_half): Likewise.
72864 (__x86_64_raw_data_cache_size_half): Likewise.
72865 (__x86_64_shared_cache_size): Likewise.
72866 (__x86_64_raw_shared_cache_size): Likewise.
72867 (__x86_64_shared_cache_size_half): Likewise.
72868 (__x86_64_raw_shared_cache_size_half): Likewise.
72869 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72870 to ...
72871 (__x86_data_cache_size): This.
72872 (__x86_64_raw_data_cache_size): Renamed to ...
72873 (__x86_raw_data_cache_size): This.
72874 (__x86_64_data_cache_size_half): Renamed to ...
72875 (__x86_data_cache_size_half): This.
72876 (__x86_64_raw_data_cache_size_half): Renamed to ...
72877 (__x86_raw_data_cache_size_half): This.
72878 (__x86_64_shared_cache_size): Renamed to ...
72879 (__x86_shared_cache_size): This.
72880 (__x86_64_raw_shared_cache_size): Renamed to ...
72881 (__x86_raw_shared_cache_size): This.
72882 (__x86_64_shared_cache_size_half): Renamed to ...
72883 (__x86_shared_cache_size_half): This.
72884 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72885 (__x86_raw_shared_cache_size_half): This.
72886 * sysdeps/x86_64/memcpy.S: Updated.
72887 * sysdeps/x86_64/memset.S: Likewise.
72888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72891
72892 2013-01-04 David S. Miller <davem@davemloft.net>
72893
72894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72895
72896 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72897
72898 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72899 1 to avoid redefinition warning.
72900 (__USE_GNU): Don't define.
72901 (init_signaling_nan): Protoize.
72902
72903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72904
72905 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72906
72907 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72909 (__cpymn): Likewise.
72910 (norm): Remove commented code.
72911 (denorm): Likewise.
72912 (__mp_dbl): Likewise.
72913 (__inv): Likewise.
72914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72915 (__cpymn): Likewise.
72916 (norm): Remove commented code.
72917 (denorm): Likewise.
72918 (__mp_dbl): Likewise.
72919 (__inv): Likewise.
72920
72921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72922 mp_no value for 1.0 and 2.0.
72923 (norm): Use RADIXI instead of radixi.d.
72924 (denorm): Likewise.
72925 (__mul): Use 0.0 instead of zero.d.
72926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72927 mp_no value for 1.0 and 2.0.
72928 (norm): Use RADIXI instead of radixi.d.
72929 (denorm): Likewise.
72930 (__mul): Use 0.0 instead of zero.d.
72931
72932 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72933
72934 [BZ #14994]
72935 * math/s_casinh.c (__casinh): Reduce finite argument to first
72936 quadrant then set signs of results at the end.
72937 * math/s_casinhf.c (__casinhf): Likewise.
72938 * math/s_casinhl.c (__casinhl): Likewise.
72939 * math/libm-test.inc (casin_test): Add more tests.
72940 (casinh_test): Likewise.
72941 * sysdeps/i386/fpu/libm-test-ulps: Update.
72942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72943
72944 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72945
72946 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72947
72948 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72949
72950 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72951 declarations.
72952 (denorm): Likewise.
72953 (__mp_dbl): Likewise.
72954 (__inv): Likewise.
72955
72956 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72957 and adjust the header comment.
72958
72959 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72960 variable name from declaration.
72961
72962 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72963
72964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72965 Initialize COMMON_CPUID_INDEX_7 element.
72966 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72967 (CPUID_RTM): Likewise.
72968 (HAS_RTM): Likewise.
72969 (COMMON_CPUID_INDEX_7): New enum.
72970
72971 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72972
72973 [BZ #14981]
72974 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72975 size is zero, record memory as freed.
72976
72977 2013-01-03 Andreas Jaeger <aj@suse.de>
72978
72979 * po/ia.po: Add new Interlingua translation.
72980
72981 2012-01-03 Allan McRae <allan@archlinux.org>
72982
72983 * locale/programs/localedef.c: Fix description of '--posix' flag.
72984
72985 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72986
72987 * NEWS: Update dates in second copyright notice.
72988 * README: Update copyright dates in example.
72989 * manual/libc.texinfo: Update copyright dates.
72990 * scripts/test-installation.pl: Update copyright date in --version
72991 output.
72992
72993 * hurd/ctty-input.c: Fix copyright notice formatting.
72994 * hurd/ctty-output.c: Likewise.
72995 * hurd/dtable.c: Likewise.
72996 * hurd/hurd-raise.c: Likewise.
72997 * hurd/hurdprio.c: Likewise.
72998 * hurd/msgportdemux.c: Likewise.
72999 * misc/sys/file.h: Likewise.
73000 * misc/sys/ioctl.h: Likewise.
73001 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73002 * sysdeps/mach/hurd/chdir.c: Likewise.
73003 * sysdeps/mach/hurd/fchdir.c: Likewise.
73004 * sysdeps/mach/hurd/rename.c: Likewise.
73005 * sysdeps/mach/hurd/rmdir.c: Likewise.
73006 * sysdeps/mach/hurd/seekdir.c: Likewise.
73007 * sysdeps/mach/hurd/setsid.c: Likewise.
73008 * sysdeps/posix/wait3.c: Likewise.
73009
73010 * All files with FSF copyright notices: Update copyright dates
73011 using scripts/update-copyrights.
73012 * intl/plural.c: Regenerated.
73013 * locale/programs/charmap-kw.h: Likewise.
73014 * locale/programs/locfile-kw.h: Likewise.
73015
73016 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
73017
73018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73019 four values.
73020
73021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73022 calculation loop and add branch prediction.
73023
73024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73025 check access beyond bounds of m1np.
73026
73027 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73028 MPTWO.
73029 (__inv): Remove local variable MPTWO to use the global
73030 constant.
73031 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73033 variable MPTWO.
73034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73035 MP3HALFS static const.
73036
73037 2013-01-01 David S. Miller <davem@davemloft.net>
73038
73039 * po/ca.po: Update from translation team.
73040
73041 2013-01-01 Joseph Myers <joseph@codesourcery.com>
73042
73043 * scripts/update-copyrights: New file.
73044 * Makeconfig: Reformat copyright notice.
73045 * ctype/ctype.h: Likewise.
73046 * debug/swprintf_chk.c: Likewise.
73047 * elf/dl-cache.c: Likewise.
73048 * elf/dl-debug.c: Likewise.
73049 * elf/dl-object.c: Likewise.
73050 * grp/initgroups.c: Likewise.
73051 * hurd/Makefile: Likewise.
73052 * hurd/hurd/signal.h: Likewise.
73053 * hurd/hurdfault.c: Likewise.
73054 * hurd/hurdioctl.c: Likewise.
73055 * hurd/hurdlookup.c: Likewise.
73056 * hurd/intr-msg.c: Likewise.
73057 * iconv/gconv_open.c: Likewise.
73058 * libio/swprintf.c: Likewise.
73059 * locale/lc-ctype.c: Likewise.
73060 * locale/nl_langinfo.c: Likewise.
73061 * mach/Machrules: Likewise.
73062 * mach/Makefile: Likewise.
73063 * malloc/obstack.h: Likewise.
73064 * manual/Makefile: Likewise.
73065 * manual/tsort.awk: Likewise.
73066 * misc/bits/stab.def: Likewise.
73067 * nis/nis_print_group_entry.c: Likewise.
73068 * nis/nis_table.c: Likewise.
73069 * nis/nss_compat/compat-pwd.c: Likewise.
73070 * nis/nss_compat/compat-spwd.c: Likewise.
73071 * po/Makefile: Likewise.
73072 * posix/fnmatch.c: Likewise.
73073 * posix/regex.h: Likewise.
73074 * resolv/Makefile: Likewise.
73075 * resolv/nss_dns/dns-network.c: Likewise.
73076 * resolv/res_hconf.c: Likewise.
73077 * scripts/gen-sorted.awk: Likewise.
73078 * soft-fp/soft-fp.h: Likewise.
73079 * stdio-common/printf.h: Likewise.
73080 * stdlib/monetary.h: Likewise.
73081 * stdlib/random.c: Likewise.
73082 * stdlib/random_r.c: Likewise.
73083 * sysdeps/generic/Makefile: Likewise.
73084 * sysdeps/gnu/Makefile: Likewise.
73085 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73092 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73095 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73096 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73097 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73098 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73099 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73100 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73101 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73103 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73105 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73106 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73107 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73108 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73109 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73110 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73111 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73112 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73113 * sysdeps/mach/hurd/errnos.awk: Likewise.
73114 * sysdeps/mach/hurd/fork.c: Likewise.
73115 * sysdeps/mach/hurd/getcwd.c: Likewise.
73116 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73117 * sysdeps/mach/hurd/mmap.c: Likewise.
73118 * sysdeps/mach/hurd/utimes.c: Likewise.
73119 * sysdeps/mach/hurd/xmknod.c: Likewise.
73120 * sysdeps/posix/profil.c: Likewise.
73121 * sysdeps/posix/readdir_r.c: Likewise.
73122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73123 * sysdeps/powerpc/bits/setjmp.h: Likewise.
73124 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73125 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73127 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73131 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73132 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73133 * sysdeps/pthread/lio_listio.c: Likewise.
73134 * sysdeps/sparc/dl-procinfo.h: Likewise.
73135 * sysdeps/unix/i386/sysdep.S: Likewise.
73136 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73137 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73138 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73139 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73141 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73142 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73143 * sysdeps/unix/sysv/linux/speed.c: Likewise.
73144 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73145 * sysdeps/wordsize-32/divdi3.c: Likewise.
73146 * time/sys/time.h: Likewise.
73147 * wcsmbs/Makefile: Likewise.
73148
73149 2013-01-01 David S. Miller <davem@davemloft.net>
73150
73151 * po/fr.po: Update from translation team.
73152
73153 * catgets/gencat.c: Update copyright year.
73154 * csu/version.c: Likewise.
73155 * debug/catchsegv.sh: Likewise.
73156 * debug/pcprofiledump.c: Likewise.
73157 * debug/xtrace.sh: Likewise.
73158 * elf/ldconfig.c: Likewise.
73159 * elf/ldd.bash.in: Likewise.
73160 * elf/pldd.c: Likewise.
73161 * elf/sotruss.ksh: Likewise.
73162 * elf/sprof.c: Likewise.
73163 * iconv/iconv_prog.c: Likewise.
73164 * iconv/iconvconfig.c: Likewise.
73165 * locale/programs/locale.c: Likewise.
73166 * locale/programs/localedef.c: Likewise.
73167 * login/programs/pt_chown.c: Likewise.
73168 * malloc/memusage.sh: Likewise.
73169 * malloc/memusagestat.c: Likewise.
73170 * malloc/mtrace.pl: Likewise.
73171 * nscd/nscd.c: Likewise.
73172 * nss/getent.c: Likewise.
73173 * nss/makedb.c: Likewise.
73174 * posix/getconf.c: Likewise.
73175
73176 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73177
73178 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73179 numbers.
73180
73181 2012-12-30 Mike Frysinger <vapier@gentoo.org>
73182
73183 * math/bits/mathcalls.h (modf): Use __nonnull.
73184
73185 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
73186
73187 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73188 (split): Use macro CN instead of the bare value.
73189 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73190 could be used.
73191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73192 instead of the bare value.
73193 (power1): Likewise.
73194
73195 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73196
73197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73198 __ATAN_TWOM.
73199 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73200
73201 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73202 their values.
73203 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73205 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73206 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73207
73208 2012-12-28 Andreas Jaeger <aj@suse.de>
73209
73210 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
73211 values are from Linux 3.7.
73212
73213 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73214 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
73215
73216 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73217
73218 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73219 TRUE case.
73220
73221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73222 (norm): Likewise.
73223 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73224 variables with preprocessor constants.
73225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73226 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73227 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73228
73229 2012-12-27 Bruno Haible <bruno@clisp.org>
73230
73231 [BZ #14317]
73232 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73233 only if needed.
73234
73235 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73236
73237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73238 and use variable directly.
73239 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73240
73241 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73242 MPONE.
73243 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73245 variable MPONE.
73246 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73248 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73249 include directive. Remove local variable MPONE.
73250 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73251 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73252 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73253
73254 2012-12-25 David S. Miller <davem@davemloft.net>
73255
73256 * version.h (RELEASE): Set to "development".
73257 (VERSION): Set to "2.17.90".
73258 * NEWS: Add 2.18 section.
73259
73260 2012-12-21 David S. Miller <davem@davemloft.net>
73261
73262 * po/hr.po: Update from translation team.
73263
73264 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73265
73266 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73267
73268 2012-12-19 Steve Ellcey <sellcey@mips.com>
73269
73270 * NEWS: Mention new memcpy for MIPS.
73271
73272 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73273
73274 * manual/contrib.texi (Contributors): Spelling correction.
73275
73276 2012-12-15 David S. Miller <davem@davemloft.net>
73277
73278 * po/ru.po: Update from translation team.
73279
73280 2012-12-13 David S. Miller <davem@davemloft.net>
73281
73282 * NEWS: Mention IFUNC testsuite enhancements.
73283
73284 * po/pl.po: Update from translation team.
73285 * po/bg.po: Likewise.
73286
73287 * manual/contrib.texi (Contributors): Update entries for Hongjiu
73288 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
73289
73290 2012-12-11 David S. Miller <davem@davemloft.net>
73291
73292 * po/sv.po: Update from translation team.
73293
73294 * po/vi.po: Update from translation team.
73295
73296 * po/cs.po: Update from translation team.
73297
73298 * po/de.po: Update from translation team.
73299 * po/eo.po: Likewise.
73300 * po/nl.po: Likewise.
73301
73302 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73303
73304 [BZ #14246]
73305 * manual/argp.texi (Argp Helper Functions): Move node to follow
73306 Argp Parsing State.
73307
73308 [BZ #14872]
73309 * manual/conf.texi (Limits on File System Capacity): Mention if
73310 terminating null is included in the max size.
73311
73312 2012-12-10 Andreas Jaeger <aj@suse.de>
73313
73314 * po/cs.po: Update from translation team.
73315
73316 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
73317
73318 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73319 void pointer and cast to uintptr_t.
73320 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73321 path.
73322 * sysdeps/s390/s390-64/memcpy.S: Likewise.
73323 * sysdeps/s390/s390-64/memset.S: Likewise.
73324
73325 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
73326
73327 [BZ #14833]
73328 * menual/message.texi (Message Translation): Fix typos.
73329 (Helper programs for gettext): Likewise.
73330
73331 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
73332
73333 [BZ #14898]
73334 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73335 Change to -1.
73336
73337 2012-12-07 David S. Miller <davem@davemloft.net>
73338
73339 * po/libc.pot: Update.
73340
73341 2012-12-07 Richard Henderson <rth@redhat.com>
73342
73343 [BZ #10114]
73344 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73345 normal/normal case to before the switch.
73346 (_FP_DIV): Likewise.
73347
73348 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
73349 Mike Frysinger <vapier@gentoo.org>
73350
73351 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73352 check for __NR_fadvise64_64.
73353
73354 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
73355
73356 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73357 0, not just to plain "0" as a statement.
73358 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73359 with cw.
73360
73361 2012-12-06 Joseph Myers <joseph@codesourcery.com>
73362
73363 * NEWS: Use sourceware.org in Bugzilla URL.
73364
73365 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
73366
73367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73368 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73369
73370 * stdio-common/tst-put-error.c (do_test): Add newline to the
73371 padded test to ensure flush.
73372
73373 2012-12-05 Jeff Law <law@redhat.com>
73374
73375 * sunrpc/etc.rpc (fedfs_admin): Add entry.
73376
73377 2012-12-05 Joseph Myers <joseph@codesourcery.com>
73378
73379 * README: Don't refer to ports add-on as distributed separately.
73380 Mention AArch64 in list of systems supported in the ports add-on.
73381
73382 * LICENSES: Add more non-FSF copyright and license notices.
73383
73384 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73385 ((unused)).
73386
73387 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73388
73389 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73390 10000 as width of padded output.
73391
73392 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73393
73394 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73395
73396 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73397 variable LX with __attribute__ ((unused)).
73398 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73399 Likewise.
73400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73402 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73403 with __attribute__ ((unused)).
73404
73405 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
73406
73407 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73408
73409 2012-12-04 Joseph Myers <joseph@codesourcery.com>
73410
73411 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73412 (CFLAGS-nldbl-acos.c): New variable.
73413 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73414 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73415 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73416 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73417 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73418 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73419 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73420 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73421 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73422 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73423 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73424 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73425 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73426 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73427 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73428 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73429 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73430 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73431 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73432 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73433 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73434 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73435 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73436 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73437 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73438 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73439 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73440 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73441 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73442 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73443 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73444 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73445 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73446 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73447 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73448 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73449 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73450 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73451 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73452 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73453 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73454 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73455 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73456 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73457 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73458 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73459 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73460 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73461 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73462 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73463 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73464 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73465 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73466 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73467 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73468 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73469 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73470 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73471 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73472 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73473 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73474 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73475 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73476 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73477 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73478 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73479 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73480 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73481 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73482 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73483 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73484 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73485 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73486 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73487 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73488 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73489 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73490 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73491 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73492 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73493 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73494 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73495 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73496 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73497 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73498 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73499 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73500 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73501 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73502 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73503 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73504 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73505 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73506 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73507 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73508 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73509 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73510
73511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73512 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73513
73514 [BZ #14914]
73515 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73516 whole low double instead of just low 47 bits when splitting values
73517 into two parts.
73518
73519 2012-12-03 Allan McRae <allan@archlinux.org>
73520
73521 * manual/stdio.texi (Predefined Printf Handlers): Remove
73522 @hsep and @vsep usage.
73523
73524 2012-12-03 Mike Frysinger <vapier@gentoo.org>
73525
73526 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73527 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73528
73529 2012-12-03 Jeff Law <law@redhat.com>
73530
73531 * time/sys/time.h (settimeofday): Do not mark TV argument
73532 as __nonnull.
73533
73534 2012-12-01 Mike Frysinger <vapier@gentoo.org>
73535
73536 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73537 when currently writing and seek to current position when not.
73538 * libio/Makefile (tests): Remove bug-fclose1.
73539 * libio/bug-fclose1.c: Delete.
73540
73541 2012-12-01 Joseph Myers <joseph@codesourcery.com>
73542
73543 * manual/arith.texi (feenableexcept): Fix typo.
73544 (fedisableexcept): Likewise.
73545
73546 2012-11-30 Roland McGrath <roland@hack.frob.com>
73547
73548 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73549 second, differently-typed declaration, rather than a cast.
73550
73551 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73552
73553 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73554 * include/rpc/svc.h: ... here.
73555
73556 2012-11-30 Aurelien Jarno <aurel32@debian.org>
73557
73558 [BZ #13013]
73559 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73560 depending n and resplen2 to catch cases where answer
73561 equals answerp2.
73562
73563 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
73564
73565 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73566 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73567
73568 2012-11-29 Mike Frysinger <vapier@gentoo.org>
73569
73570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73571
73572 2012-11-29 Roland McGrath <roland@hack.frob.com>
73573
73574 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73575
73576 2012-11-28 Jeff Law <law@redhat.com>
73577
73578 [BZ #13761]
73579 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73580 dataset_temporary. Track alloca usage into alloca_used.
73581 If dataset is large allocate and release it via malloc/free.
73582
73583 2012-06-04 Florian Weimer <fweimer@redhat.com>
73584
73585 [BZ #14197]
73586 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73587
73588 2012-11-28 David S. Miller <davem@davemloft.net>
73589
73590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73591
73592 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73593
73594 [BZ #14803]
73595 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73596 of pi/2 rounded to nearest to 64 bits.
73597 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73598 nearest to 64 bits.
73599 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73600 bits.
73601
73602 2012-11-28 Jeff Law <law@redhat.com>
73603 Martin Osvald <mosvald@redhat.com>
73604
73605 [BZ #14889]
73606 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73607 * sunrpc/svc.c: Include time.h.
73608 (__svc_accept_failed): New function.
73609 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73610 any reason other than EINTR, call __svc_accept_failed.
73611 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73612 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73613
73614 2012-11-28 Andreas Schwab <schwab@suse.de>
73615
73616 * scripts/abilist.awk: Also handle indirect functions in .opd
73617 section.
73618
73619 2012-11-28 Joseph Myers <joseph@codesourcery.com>
73620
73621 [BZ #13881]
73622 * sysdeps/x86/fpu/powl_helper.c: New file.
73623 * sysdeps/x86/fpu/Makefile: Likewise.
73624 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73625 (p3): New object.
73626 (__ieee754_powl): Use __powl_helper for finite arguments except
73627 integer exponents below 8.
73628 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73629 (p3): New object.
73630 (__ieee754_powl): Use __powl_helper for finite arguments except
73631 integer exponents below 8.
73632 * math/libm-test.inc (pow_test): Add more tests and enable some
73633 previously disabled tests.
73634 * sysdeps/i386/fpu/libm-test-ulps: Update.
73635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73636
73637 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
73638 Carlos O'Donell <carlos_odonell@mentor.com>
73639
73640 * nss/makedb.c (is_prime): Assert that input is odd and greater
73641 than 4. Note that fact in a comment too.
73642 (next_prime): Add 4 to input.
73643
73644 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
73645
73646 [BZ #11741]
73647 * libio/Makefile (tests): Add test case tst-fwrite-error.
73648 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73649 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73650 * libio/tst-fwrite-error.c: New test case.
73651
73652 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
73653
73654 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73655 before casting to void *.
73656 * include/libc-internal.h (__pointer_type): New macro.
73657 (__integer_if_pointer_type_sub): Likewise.
73658 (__integer_if_pointer_type): Likewise.
73659 (cast_to_integer): Likewise.
73660 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73661 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73662 before casting to atomic64_t.
73663 (atomic_exchange_acq): Likewise.
73664 (__arch_exchange_and_add_body): Likewise.
73665 (__arch_add_body): Likewise.
73666 (atomic_add_negative): Likewise.
73667 (atomic_add_zero): Likewise.
73668
73669 2012-11-26 Joseph Myers <joseph@codesourcery.com>
73670
73671 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73672 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73673 (add_fdes): Likewise.
73674 (linear_search_fdes): Likewise.
73675 (binary_search_unencoded_fdes): Likewise.
73676
73677 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
73678
73679 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73680
73681 2012-11-24 Adam Conrad <adconrad@0c3.net>
73682
73683 * configure.in: Autodetect C++ header directories.
73684 * configure: Regenerated.
73685
73686 2012-11-23 Mike Frysinger <vapier@gentoo.org>
73687
73688 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73689
73690 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
73691
73692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73693
73694 2012-11-22 Joseph Myers <joseph@codesourcery.com>
73695
73696 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73697 LDBL_MANT_DIG == 106]: Disable some tests.
73698 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73699 Likewise.
73700 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73701 Likewise.
73702
73703 [BZ #14871]
73704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73705 input for small inputs. Return +/- pi/2 for large inputs.
73706 * math/libm-test.inc (atan_test): Add more tests.
73707
73708 * sysdeps/generic/unwind-dw2-fde-glibc.c
73709 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73710 __attribute__ ((unused)).
73711
73712 [BZ #14645]
73713 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73714 x * y if x and y are nonzero and z is zero.
73715
73716 [BZ #14811]
73717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73718 nonzero exponents with absolute value below 0x1p-117 to +/-
73719 0x1p-117.
73720
73721 [BZ #14869]
73722 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73723 up arguments below 2**-450, not just those below 2**-500.
73724 * math/libm-test.inc (hypot_test): Add another test.
73725
73726 [BZ #14868]
73727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73728 Return a+b for ratio over 2**120, not 2**60.
73729 * math/libm-test.inc (hypot_test): Add another test.
73730
73731 * math/libm-test.inc (clog_test): Use
73732 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73733 (clog10_test): Likewise.
73734
73735 [BZ #6778]
73736 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73737
73738 2012-11-22 Andreas Schwab <schwab@suse.de>
73739
73740 * sysdeps/i386/fpu/libm-test-ulps: Update.
73741
73742 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73743
73744 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73745 printf output with newline.
73746
73747 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73748
73749 [BZ #14865]
73750 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73751 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73752 -z nodlopen, -z initfirst and -z execstack support.
73753 * configure: Regenerated.
73754
73755 * elf/elf.h (DF_1_NODIRECT): New macro.
73756 (DF_1_IGNMULDEF): Likewise.
73757 (DF_1_NOKSYMS): Likewise.
73758 (DF_1_NOHDR): Likewise.
73759 (DF_1_EDITED): Likewise.
73760 (DF_1_NORELOC): Likewise.
73761 (DF_1_SYMINTPOSE): Likewise.
73762 (DF_1_GLOBAUDIT): Likewise.
73763 (DF_1_SINGLETON): Likewise.
73764 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73765 DT_1_SUPPORTED_MASK bits.
73766 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73767
73768 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73769
73770 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73771
73772 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73773
73774 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73775 macro.
73776
73777 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73778 (sendmmsg): Move declarations...
73779 * socket/sys/socket.h: ... here.
73780 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73781 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73782 include it from...
73783 * socket/recvmmsg.c: ... this new file.
73784 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73785 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73786 definition of __sendmmsg hidden.
73787 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73788 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73789 Move ENOSYS stub into and include it from...
73790 * socket/sendmmsg.c: ... this new file.
73791 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73792 (sysdep_routines): Move recvmmsg and sendmmsg...
73793 * socket/Makefile (routines): ... here.
73794 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73795 (GLIBC_PRIVATE): Add __sendmmsg.
73796 * include/sys/socket.h (__sendmmsg): Add declarations.
73797 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73798 sendmmsg.
73799
73800 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73801
73802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73803 variable I1 with __attribute__ ((unused)).
73804 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73805
73806 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73807
73808 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73809 DUMMY variables with __attribute__ ((unused)).
73810
73811 * bits/byteswap.h: Include <bits/types.h>.
73812 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73813
73814 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73815
73816 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73817 string_t. Do not manually set errno.
73818 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73819 length with __strnlen. Make sure to both set errno and return it on
73820 failure.
73821
73822 2012-11-19 David S. Miller <davem@davemloft.net>
73823
73824 With help from Joseph Myers.
73825 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73826 very large arguments properly.
73827 * math/libm-test.inc (atan_test): New tests.
73828 (atan2_test): New tests.
73829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73831
73832 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73833
73834 [BZ #14856]
73835 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73836 Define to 3.
73837
73838 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73839 [POSIX] (EADDRNOTAVAIL): Likewise.
73840 [POSIX] (EAFNOSUPPORT): Likewise.
73841 [POSIX] (EALREADY): Likewise.
73842 [POSIX] (ECONNABORTED): Likewise.
73843 [POSIX] (ECONNREFUSED): Likewise.
73844 [POSIX] (ECONNRESET): Likewise.
73845 [POSIX] (EDESTADDRREQ): Likewise.
73846 [POSIX] (EDQUOT): Likewise.
73847 [POSIX] (EHOSTUNREACH): Likewise.
73848 [POSIX] (EIDRM): Likewise.
73849 [POSIX] (EISCONN): Likewise.
73850 [POSIX] (ELOOP): Likewise.
73851 [POSIX] (EMULTIHOP): Likewise.
73852 [POSIX] (ENETDOWN): Likewise.
73853 [POSIX] (ENETUNREACH): Likewise.
73854 [POSIX] (ENOBUFS): Likewise.
73855 [POSIX] (ENODATA): Likewise.
73856 [POSIX] (ENOLINK): Likewise.
73857 [POSIX] (ENOMSG): Likewise.
73858 [POSIX] (ENOPROTOOPT): Likewise.
73859 [POSIX] (ENOSR): Likewise.
73860 [POSIX] (ENOSTR): Likewise.
73861 [POSIX] (ENOTCONN): Likewise.
73862 [POSIX] (ENOTSOCK): Likewise.
73863 [POSIX] (EOPNOTSUPP): Likewise.
73864 [POSIX] (EOVERFLOW): Likewise.
73865 [POSIX] (EPROTO): Likewise.
73866 [POSIX] (EPROTONOSUPPORT): Likewise.
73867 [POSIX] (EPROTOTYPE): Likewise.
73868 [POSIX] (ESTALE): Likewise.
73869 [POSIX] (ETIME): Likewise.
73870 [POSIX] (ETXTBSY): Likewise.
73871 [POSIX] (EWOULDBLOCK): Likewise.
73872 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73873 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73874 [POSIX] (SEEK_CUR): Likewise.
73875 [POSIX] (SEEK_END): Likewise.
73876 [POSIX || UNIX98] (mode_t): Do not require.
73877 [POSIX] (off_t): Likewise.
73878 [POSIX] (pid_t): Likewise.
73879 [POSIX] (sys/stat.h): Do not allow header.
73880 [POSIX] (unistd.h): Likewise.
73881 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73882 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73883 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73884 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73885 require.
73886 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73887 sigevent): Specify elements.
73888 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73889 entry.
73890 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73891 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73892
73893 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73894 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73895 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73896 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73897 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73898 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73899 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73900 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73901 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73902 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73903 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73904 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73905 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73907 Likewise.
73908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73909 Likewise.
73910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73911 Likewise.
73912 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73913 Likewise.
73914 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73916 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73917 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73918 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73919 Specify lower bound on value.
73920 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73921 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73922 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73923 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73924 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73925 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73926 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73927 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73928 value.
73929 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73930 as optional.
73931 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73932 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73933 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73934 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73935 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73936 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73937 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73938 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73939 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73940 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73941 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73942 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73943 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73944 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73945 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73946 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73947 entry.
73948 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73949 optional.
73950 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73951 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73952 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73953 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73954 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73956 Likewise.
73957 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73958 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73959 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73960 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73961 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73962 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73964 as optional.
73965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73967 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73968 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73969 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73970 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73971 specify as optional.
73972 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73973 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73974 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73975 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73976 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73977 [XPG3] (NL_LANGMAX): Likewise.
73978 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73979 [POSIX || XPG3] (NL_NMAX): Likewise.
73980 [POSIX || XPG3] (NL_SETMAX): Likewise.
73981 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73982 [XPG3] (NZERO): Likewise.
73983 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73984 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73985 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73986 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73987 (REG_ERANGE): Expect.
73988 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73989 optional-constant.
73990 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73991 Use (void) in prototype.
73992 [POSIX] (*_t): Allow.
73993 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73994 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73995 (WRDE_BADVAL): Expect.
73996
73997 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73998 expect.
73999 [XPG3 || XPG4] (O_RSYNC): Likewise.
74000 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74001 Likewise.
74002 [XPG3 || XPG4] (pthread_sigmask): Likewise.
74003 [XPG3 || XPG4] (sigqueue): Likewise.
74004 [XPG3 || XPG4] (sigtimedwait): Likewise.
74005 [XPG3 || XPG4] (sigwaitinfo): Likewise.
74006 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74007 [XPG3 || XPG4] (vsnprintf): Likewise.
74008 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74009 Likewise.
74010 [XPG3 || XPG4] (blksize_t): Likewise.
74011 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74012 Likewise.
74013 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74014 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74015 [XPG3 || XPG4] (struct itimerspec): Likewise.
74016 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74017 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74018 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74019 [XPG3 || XPG4] (clockid_t): Likewise.
74020 [XPG3 || XPG4] (timer_t): Likewise.
74021 [XPG3 || XPG4] (clock_getres): Likewise.
74022 [XPG3 || XPG4] (clock_gettime): Likewise.
74023 [XPG3 || XPG4] (clock_settime): Likewise.
74024 [XPG3 || XPG4] (nanosleep): Likewise.
74025 [XPG3 || XPG4] (timer_create): Likewise.
74026 [XPG3 || XPG4] (timer_delete): Likewise.
74027 [XPG3 || XPG4] (timer_gettime): Likewise.
74028 [XPG3 || XPG4] (timer_getoverrun): Likewise.
74029 [XPG3 || XPG4] (timer_settime): Likewise.
74030 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74031 [XPG3 || XPG4] (getlogin_r): Likewise.
74032 [XPG3 || XPG4] (pread): Likewise.
74033 [XPG3 || XPG4] (pthread_atfork): Likewise.
74034 [XPG3 || XPG4] (pwrite): Likewise.
74035
74036 [BZ #14835]
74037 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74038 <bits/siginfo.h>.
74039
74040 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
74041
74042 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74043 finalizing MALLSTREAM.
74044
74045 * sysdeps/mach/hurd/syncfs.c: New file.
74046
74047 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
74048
74049 [BZ #14719]
74050 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74051 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74052 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74053 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74054 (_nss_dns_gethostbyname4_r): Likewise.
74055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74056 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74057
74058 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
74059
74060 [BZ #13763]
74061 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74062
74063 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
74064
74065 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74066 * elf/cache.c (print_entry): Print ",AArch64" for
74067 FLAG_AARCH64_LIB64
74068
74069 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74070 * elf/cache.c (print_entry): Print ",hard-float" for
74071 FLAG_ARM_LIBHF.
74072
74073 2012-11-18 David S. Miller <davem@davemloft.net>
74074
74075 With help from Joseph Myers.
74076 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74077 cutoff to 2**-13.
74078 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74079 cutoff to 2**-25.
74080 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74081 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74082 small.
74083 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74084 * math/libm-test.inc (y0_test): New tests.
74085 (y1_test): New tests.
74086 * sysdeps/i386/fpu/libm-test-ulps: Update.
74087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74089
74090 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
74091
74092 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74093 64-bit targets.
74094 * configure: Regenerated.
74095
74096 2012-11-17 David S. Miller <davem@davemloft.net>
74097
74098 [BZ #14811]
74099 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74100 nonzero exponents with absolute value below 0x1p-128 to +/-
74101 0x1p-128.
74102
74103 2012-11-17 Joseph Myers <joseph@codesourcery.com>
74104
74105 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74106
74107 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74108
74109 * posix/getconf-speclist.c: New file.
74110 * posix/posix-envs.def: Likewise.
74111 * posix/confstr.c (START_ENV_GROUP): New macro.
74112 (END_ENV_GROUP): Likewise.
74113 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74114 (KNOWN_PRESENT_ENV_STRING): Likewise.
74115 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74116 (UNKNOWN_ENVIRONMENT): Likewise.
74117 (confstr): Include posix-envs.def instead of handling
74118 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74119 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74120 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74121 (END_ENV_GROUP): Likewise.
74122 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74123 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74124 (UNKNOWN_ENVIRONMENT): Likewise.
74125 (__sysconf): Include posix-envs.def instead of handling associated
74126 cases directly here.
74127 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74128 preprocessing getconf-speclist.c rather than running getconf or
74129 generating empty file.
74130
74131 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
74132
74133 * scripts/check-local-headers.sh: Ignore 'mach' headers.
74134
74135 2012-11-16 Andrej Lajovic <natrij@gmail.com>
74136
74137 [BZ #14672]
74138 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74139
74140 2012-11-16 David S. Miller <davem@davemloft.net>
74141
74142 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74143 smaller than LDBL_EPSILON/2.0L, just return xm1.
74144
74145 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
74146
74147 * elf/tst-array1.c (init): Set constructor priority to 1000.
74148 (fini): Set destructor priority to 1000.
74149 * elf/tst-array2dep.c: Likewise.
74150
74151 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74152
74153 [BZ #11741]
74154 * libio/fileops.c (_IO_new_file_write): Correctly return error.
74155 (_IO_new_file_xsputn): Also return EOF if none of the input
74156 data was written when overflow failed.
74157 * libio/iopadn.c (_IO_padn): Likewise.
74158 * libio/iowpadn.c (_IO_wpadn): Likewise.
74159 * stdio-common/tst-put-error.c: Add copyright notice.
74160 (do_test): Add case for printing padded string.
74161 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74162 _IO_padn returned error.
74163 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74164 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74165 return EOF.
74166
74167 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
74168
74169 * libio/libioP.h: Add comment note that the references to C++
74170 bits are now obsolete.
74171
74172 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74173
74174 * math/libm-test.inc (check_complex): Use asprintf.
74175
74176 2012-11-14 Joseph Myers <joseph@codesourcery.com>
74177
74178 * debug/pcprofiledump.c (print_version): Update copyright year.
74179 * malloc/memusagestat.c (print_version): Likewise.
74180
74181 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
74182
74183 [BZ #14831]
74184 * elf/Makefile (tests): Add tst-audit8.
74185 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74186 ($(objpfx)tst-audit8.out): New target.
74187 (tst-audit8-ENV): New variable.
74188 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74189 audit if l_reloc_result is NULL.
74190 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74191 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74192 * elf/tst-audit8.c: New file.
74193
74194 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74195
74196 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74197 * misc/Makefile (CFLAGS-select.c): Define.
74198 * posix/Makefile (CFLAGS-pause.c): Define.
74199
74200 2012-11-13 David S. Miller <davem@davemloft.net>
74201
74202 * crypt/Makefile: Move test targets after toplevel Rules
74203 inclusion. Grab any necessary sysdep routines when linking.
74204 * crypt/md5.c (md5_process_block): Remove define, we will always
74205 name it __md5_process_block.
74206 (md5_finish_ctx): Update md5_process_block call.
74207 (md5_stream): Likewise.
74208 (md5_process_bytes): Likewise.
74209 (md5_process_block): Rename to __md5_process_block and move to ...
74210 * crypt/md5-block.c: ... here.
74211 * crypt/sha256.c (sha256_process_block): Move to ...
74212 * crypt/sha256-block.c: ... here.
74213 * crypt/sha512.c (sha512_process_block): Move to ...
74214 * crypt/sha512-block.c: ... here.
74215 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74216 path.
74217 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74218 * sysdeps/sparc/sparc64/multiarch/Makefile
74219 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74220 crypt subdir.
74221 (localedef-aux): Add md5 crypto assembler when in locale subdir.
74222 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74223 multiarch changes.
74224 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74225 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74226 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74227 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74228 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74229 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74230 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74231 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74233 file.
74234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74236 file.
74237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74238
74239 2012-11-13 Joseph Myers <joseph@codesourcery.com>
74240
74241 * timezone/tzselect.ksh: Update from tzcode git revision
74242 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74243 * timezone/zdump.c: Likewise.
74244 * timezone/zic.c: Likewise.
74245 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74246 in TZVERSION setting, not $(PKGVERSION).
74247 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
74248 REPORT_BUGS_TO settings.
74249
74250 [BZ #14838]
74251 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74252 macro.
74253
74254 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74255
74256 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74257 detection to immediately after _FP_ROUND().
74258 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74259 bits are 0.
74260
74261 2012-11-11 David S. Miller <davem@davemloft.net>
74262
74263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74264 inttypes.h
74265 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74266 __close rather than their public counterparts.
74267
74268 2012-11-10 Joseph Myers <joseph@codesourcery.com>
74269
74270 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74271 file.
74272 [UNIX98] (sem_timedwait): Do not expect.
74273 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74274 [XPG4 || UNIX98] (sockatmark): Do not expect.
74275 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74276 (clock_getcpuclockid): Do not expect.
74277 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74278 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74279 Do not expect.
74280 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74281 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74282 [UNIX98] (vwscanf): Likewise.
74283 [UNIX98] (vswscanf): Likewise.
74284
74285 2012-11-09 Joseph Myers <joseph@codesourcery.com>
74286
74287 * timezone/version.h: Remove file.
74288 * timezone/README: Do not refer to version.h.
74289 * timezone/Makefile ($(objpfx)zic.o): New dependency on
74290 $(objpfx)version.h.
74291 ($(objpfx)zdump.o): Likewise.
74292 ($(objpfx)version.h): New target.
74293
74294 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74295 2012i.
74296 * timezone/README: Don't mention modification to tzselect.ksh.
74297 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74298 work on unmodified tzselect.ksh. Substitute version numbers in
74299 tzselect.ksh.
74300
74301 * Makefile (format-me): Remove.
74302 (INSTALL): Adjust indentation. Use commands directly instead of
74303 using $(format-me).
74304
74305 * aclocal.m4 (ACX_PKGVERSION): New macro.
74306 (ACX_BUGURL): Likewise.
74307 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74308 (PKGVERSION): New AC_DEFINE_UNQUOTED.
74309 (REPORT_BUGS_TO): Likewise.
74310 * configure: Regenerated.
74311 * config.h.in (PKGVERSION): New macro.
74312 (REPORT_BUGS_TO): Likewise.
74313 * config.make.in (PKGVERSION): New variable.
74314 (PKGVERSION_TEXI): Likewise.
74315 (REPORT_BUGS_TO): Likewise.
74316 (REPORT_BUGS_TEXI): Likewise.
74317 * Makefile (format-me): Use -I$(common-objpfx)manual.
74318 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74319 ($(common-objpfx)manual/%): New target.
74320 (manual/%): Remove target.
74321 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74322 (print_version): Use PKGVERSION.
74323 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74324 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74325 and REPORT_BUGS_TO.
74326 ($(objpfx)xtrace): Likewise.
74327 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74328 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74329 (print_version): Use PKGVERSION.
74330 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74331 (do_version): Use PKGVERSION.
74332 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74333 REPORT_BUGS_TO.
74334 (common-ldd-rewrite): Likewise.
74335 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74336 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74337 (print_version): Use PKGVERSION.
74338 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74339 * elf/pldd.c (argp_program_bug_address): Remove variable.
74340 (more_help): New function.
74341 (argp): Use more_help.
74342 (print_version): Use PKGVERSION.
74343 * elf/sln.c (main): Use PKGVERSION.
74344 (usage): Use REPORT_BUGS_TO.
74345 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74346 (top level): Use PKGVERSION.
74347 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74348 (print_version): Use PKGVERSION.
74349 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74350 (print_version): Use PKGVERSION.
74351 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74352 (print_version): Use PKGVERSION.
74353 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74354 (print_version): Use PKGVERSION.
74355 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74356 (print_version): Use PKGVERSION.
74357 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74358 (print_version): Use PKGVERSION.
74359 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74360 and BUGURL.
74361 ($(objpfx)memusage): Likewise.
74362 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74363 (do_version): Use PKGVERSION.
74364 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74365 (print_version): Use PKGVERSION.
74366 * malloc/mtrace.pl ($PACKAGE): Remove variable.
74367 ($PKGVERSION): New variable.
74368 ($REPORT_BUGS_TO): Likewise.
74369 (usage): Use $REPORT_BUGS_TO.
74370 (top level): Use $PKGVERSION.
74371 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74372 ($(objpfx)pkgvers.texi): New rule.
74373 ($(objpfx)stamp-pkgvers): Likewise.
74374 * manual/install.texi: Include pkgvers.texi.
74375 (--with-pkgversion): Document new configure option.
74376 (--with-bugurl): Likewise.
74377 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74378 than necessarily for this particular distribution. Use
74379 REPORT_BUGS_TO for where to report bugs.
74380 * INSTALL: Regenerated.
74381 * manual/libc.texinfo: Include pkgvers.texi.
74382 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74383 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74384 (print_version): Use PKGVERSION.
74385 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74386 (print_version): Use PKGVERSION.
74387 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74388 (print_version): Use PKGVERSION.
74389 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74390 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74391 macro.
74392 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74393 (print_version): Use PKGVERSION.
74394 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74395 (print_version): Use PKGVERSION.
74396 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74397 and PKGVERSION.
74398
74399 * timezone/checktab.awk: Update from tzcode 2012i.
74400 * timezone/ialloc.c: Likewise.
74401 * timezone/private.h: Likewise.
74402 * timezone/scheck.c: Likewise.
74403 * timezone/tzfile.h: Likewise.
74404 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74405 (TZVERSION): Hardcode tzcode version number.
74406 * timezone/zdump.c: Update from tzcode 2012i.
74407 * timezone/zic.c: Likewise.
74408 * timezone/version.h: New file.
74409 * timezone/README: Describe version.h. Update upstream location.
74410
74411 [BZ #14824]
74412 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74413 (mktemp): Enable declaration.
74414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74418 Likewise.
74419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74420 Likewise.
74421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74422 Likewise.
74423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74424 Likewise.
74425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74426 Likewise.
74427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74428 Likewise.
74429
74430 [BZ #14821]
74431 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74432 offset in buffer as u_int32_t not u_long. Consistently use memcpy
74433 for copies of such integer values.
74434 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74435 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74436
74437 2012-11-09 Andreas Jaeger <aj@suse.de>
74438
74439 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74440 definitions and declarations that are provided by
74441 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74442
74443 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74444
74445 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74446 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74447 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74448 definition.
74449
74450 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74451
74452 * elf/elf.h: Update comment before AArch64 relocations.
74453
74454 2012-11-07 David S. Miller <davem@davemloft.net>
74455
74456 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74457 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74458 (__start_context): Declare.
74459 (__makecontext_ret): Delete.
74460 (__makecontext): Hook up __start_context instead of
74461 __makecontext_ret.
74462 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74463 (sysdep_routines): Add __start_context when in stdlib.
74464
74465 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74466
74467 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74468 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74469 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
74470 hardcoded "nm".
74471 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
74472 (READELF): New variable. Use it instead of hardcoded "readelf".
74473
74474 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
74475
74476 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74477 * sysdeps/x86/Makefile: Here.
74478 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74479 * sysdeps/x86/tst-xmmymm.sh: This.
74480
74481 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74482
74483 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74484 expectations.
74485 [UNIX98] (pthread_barrier_t): Do not expect.
74486 [UNIX98] (pthread_barrierattr_t): Likewise.
74487 [UNIX98] (pthread_spinlock_t): Likewise.
74488 [UNIX98] (pthread_barrier_destroy): Likewise.
74489 [UNIX98] (pthread_barrier_init): Likewise.
74490 [UNIX98] (pthread_barrier_wait): Likewise.
74491 [UNIX98] (pthread_barrierattr_destroy): Likewise.
74492 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74493 [UNIX98] (pthread_barrierattr_init): Likewise.
74494 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74495 [UNIX98] (pthread_getcpuclockid): Likewise.
74496 [UNIX98] (pthread_mutex_timedlock): Likewise.
74497 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74498 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74499 [UNIX98] (pthread_sigmask): Likewise.
74500 [UNIX98] (pthread_spin_destroy): Likewise.
74501 [UNIX98] (pthread_spin_init): Likewise.
74502 [UNIX98] (pthread_spin_lock): Likewise.
74503 [UNIX98] (pthread_spin_trylock): Likewise.
74504 [UNIX98] (pthread_spin_unlock): Likewise.
74505 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74506 Do not expect.
74507 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74508 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74509 [XPG3 || XPG4] (pthread_cond_t): Likewise.
74510 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74511 [XPG3 || XPG4] (pthread_key_t): Likewise.
74512 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74513 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74514 [XPG3 || XPG4] (pthread_once_t): Likewise.
74515 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74516 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74517 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74518 [XPG3 || XPG4] (pthread_t): Likewise.
74519
74520 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74521 not expect.
74522 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74523
74524 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74525 Change function return type to int.
74526
74527 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74528 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74529 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74530 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74531 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74532 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74533 [!POSIX] (posix_madvise): Likewise.
74534 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74535 && !UNIX98].
74536 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74537 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74538 (mode_t): Likewise.
74539 (posix_mem_offset): Likewise.
74540 (posix_typed_mem_get_info): Likewise.
74541 (posix_typed_mem_open): Likewise.
74542
74543 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74544 Change condition to [XOPEN2K8].
74545
74546 * conform/conformtest.pl: Preprocess allow-header data with -x c
74547 instead of from stdin.
74548 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74549 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74550 [C99-based standards] (cerfc): Likewise.
74551 [C99-based standards] (cexp2): Likewise.
74552 [C99-based standards] (cexpm1): Likewise.
74553 [C99-based standards] (clog10): Likewise.
74554 [C99-based standards] (clog1p): Likewise.
74555 [C99-based standards] (clog2): Likewise.
74556 [C99-based standards] (clgamma): Likewise.
74557 [C99-based standards] (ctgamma): Likewise.
74558 [C99-based standards] (cerff): Likewise.
74559 [C99-based standards] (cerfcf): Likewise.
74560 [C99-based standards] (cexp2f): Likewise.
74561 [C99-based standards] (cexpm1f): Likewise.
74562 [C99-based standards] (clog10f): Likewise.
74563 [C99-based standards] (clog1pf): Likewise.
74564 [C99-based standards] (clog2f): Likewise.
74565 [C99-based standards] (clgammaf): Likewise.
74566 [C99-based standards] (ctgammaf): Likewise.
74567 [C99-based standards] (cerfl): Likewise.
74568 [C99-based standards] (cerfcl): Likewise.
74569 [C99-based standards] (cexp2l): Likewise.
74570 [C99-based standards] (cexpm1l): Likewise.
74571 [C99-based standards] (clog10l): Likewise.
74572 [C99-based standards] (clog1pl): Likewise.
74573 [C99-based standards] (clog2l): Likewise.
74574 [C99-based standards] (clgammal): Likewise.
74575 [C99-based standards] (ctgammal): Likewise.
74576 * conform/data/inttypes.h-data [C99-based standards]: Include
74577 stdint.h-data. Remove all expectations for stdint.h contents.
74578 [C99-based standards] (PRI*): Do not allow.
74579 [C99-based standards] (SCN*): Likewise.
74580 [C99-based standards] (*_t): Likewise.
74581 [C99-based-standards] (PRId8): Expect macro.
74582 [C99-based-standards] (PRIi8): Likewise.
74583 [C99-based-standards] (PRIo8): Likewise.
74584 [C99-based-standards] (PRIu8): Likewise.
74585 [C99-based-standards] (PRIx8): Likewise.
74586 [C99-based-standards] (PRIX8): Likewise.
74587 [C99-based-standards] (SCNd8): Likewise.
74588 [C99-based-standards] (SCNi8): Likewise.
74589 [C99-based-standards] (SCNo8): Likewise.
74590 [C99-based-standards] (SCNu8): Likewise.
74591 [C99-based-standards] (SCNx8): Likewise.
74592 [C99-based-standards] (PRIdLEAST8): Likewise.
74593 [C99-based-standards] (PRIiLEAST8): Likewise.
74594 [C99-based-standards] (PRIoLEAST8): Likewise.
74595 [C99-based-standards] (PRIuLEAST8): Likewise.
74596 [C99-based-standards] (PRIxLEAST8): Likewise.
74597 [C99-based-standards] (PRIXLEAST8): Likewise.
74598 [C99-based-standards] (SCNdLEAST8): Likewise.
74599 [C99-based-standards] (SCNiLEAST8): Likewise.
74600 [C99-based-standards] (SCNoLEAST8): Likewise.
74601 [C99-based-standards] (SCNuLEAST8): Likewise.
74602 [C99-based-standards] (SCNxLEAST8): Likewise.
74603 [C99-based-standards] (PRIdFAST8): Likewise.
74604 [C99-based-standards] (PRIiFAST8): Likewise.
74605 [C99-based-standards] (PRIoFAST8): Likewise.
74606 [C99-based-standards] (PRIuFAST8): Likewise.
74607 [C99-based-standards] (PRIxFAST8): Likewise.
74608 [C99-based-standards] (PRIXFAST8): Likewise.
74609 [C99-based-standards] (SCNdFAST8): Likewise.
74610 [C99-based-standards] (SCNiFAST8): Likewise.
74611 [C99-based-standards] (SCNoFAST8): Likewise.
74612 [C99-based-standards] (SCNuFAST8): Likewise.
74613 [C99-based-standards] (SCNxFAST8): Likewise.
74614 [C99-based-standards] (PRId16): Likewise.
74615 [C99-based-standards] (PRIi16): Likewise.
74616 [C99-based-standards] (PRIo16): Likewise.
74617 [C99-based-standards] (PRIu16): Likewise.
74618 [C99-based-standards] (PRIx16): Likewise.
74619 [C99-based-standards] (PRIX16): Likewise.
74620 [C99-based-standards] (SCNd16): Likewise.
74621 [C99-based-standards] (SCNi16): Likewise.
74622 [C99-based-standards] (SCNo16): Likewise.
74623 [C99-based-standards] (SCNu16): Likewise.
74624 [C99-based-standards] (SCNx16): Likewise.
74625 [C99-based-standards] (PRIdLEAST16): Likewise.
74626 [C99-based-standards] (PRIiLEAST16): Likewise.
74627 [C99-based-standards] (PRIoLEAST16): Likewise.
74628 [C99-based-standards] (PRIuLEAST16): Likewise.
74629 [C99-based-standards] (PRIxLEAST16): Likewise.
74630 [C99-based-standards] (PRIXLEAST16): Likewise.
74631 [C99-based-standards] (SCNdLEAST16): Likewise.
74632 [C99-based-standards] (SCNiLEAST16): Likewise.
74633 [C99-based-standards] (SCNoLEAST16): Likewise.
74634 [C99-based-standards] (SCNuLEAST16): Likewise.
74635 [C99-based-standards] (SCNxLEAST16): Likewise.
74636 [C99-based-standards] (PRIdFAST16): Likewise.
74637 [C99-based-standards] (PRIiFAST16): Likewise.
74638 [C99-based-standards] (PRIoFAST16): Likewise.
74639 [C99-based-standards] (PRIuFAST16): Likewise.
74640 [C99-based-standards] (PRIxFAST16): Likewise.
74641 [C99-based-standards] (PRIXFAST16): Likewise.
74642 [C99-based-standards] (SCNdFAST16): Likewise.
74643 [C99-based-standards] (SCNiFAST16): Likewise.
74644 [C99-based-standards] (SCNoFAST16): Likewise.
74645 [C99-based-standards] (SCNuFAST16): Likewise.
74646 [C99-based-standards] (SCNxFAST16): Likewise.
74647 [C99-based-standards] (PRId32): Likewise.
74648 [C99-based-standards] (PRIi32): Likewise.
74649 [C99-based-standards] (PRIo32): Likewise.
74650 [C99-based-standards] (PRIu32): Likewise.
74651 [C99-based-standards] (PRIx32): Likewise.
74652 [C99-based-standards] (PRIX32): Likewise.
74653 [C99-based-standards] (SCNd32): Likewise.
74654 [C99-based-standards] (SCNi32): Likewise.
74655 [C99-based-standards] (SCNo32): Likewise.
74656 [C99-based-standards] (SCNu32): Likewise.
74657 [C99-based-standards] (SCNx32): Likewise.
74658 [C99-based-standards] (PRIdLEAST32): Likewise.
74659 [C99-based-standards] (PRIiLEAST32): Likewise.
74660 [C99-based-standards] (PRIoLEAST32): Likewise.
74661 [C99-based-standards] (PRIuLEAST32): Likewise.
74662 [C99-based-standards] (PRIxLEAST32): Likewise.
74663 [C99-based-standards] (PRIXLEAST32): Likewise.
74664 [C99-based-standards] (SCNdLEAST32): Likewise.
74665 [C99-based-standards] (SCNiLEAST32): Likewise.
74666 [C99-based-standards] (SCNoLEAST32): Likewise.
74667 [C99-based-standards] (SCNuLEAST32): Likewise.
74668 [C99-based-standards] (SCNxLEAST32): Likewise.
74669 [C99-based-standards] (PRIdFAST32): Likewise.
74670 [C99-based-standards] (PRIiFAST32): Likewise.
74671 [C99-based-standards] (PRIoFAST32): Likewise.
74672 [C99-based-standards] (PRIuFAST32): Likewise.
74673 [C99-based-standards] (PRIxFAST32): Likewise.
74674 [C99-based-standards] (PRIXFAST32): Likewise.
74675 [C99-based-standards] (SCNdFAST32): Likewise.
74676 [C99-based-standards] (SCNiFAST32): Likewise.
74677 [C99-based-standards] (SCNoFAST32): Likewise.
74678 [C99-based-standards] (SCNuFAST32): Likewise.
74679 [C99-based-standards] (SCNxFAST32): Likewise.
74680 [C99-based-standards] (PRId64): Likewise.
74681 [C99-based-standards] (PRIi64): Likewise.
74682 [C99-based-standards] (PRIo64): Likewise.
74683 [C99-based-standards] (PRIu64): Likewise.
74684 [C99-based-standards] (PRIx64): Likewise.
74685 [C99-based-standards] (PRIX64): Likewise.
74686 [C99-based-standards] (SCNd64): Likewise.
74687 [C99-based-standards] (SCNi64): Likewise.
74688 [C99-based-standards] (SCNo64): Likewise.
74689 [C99-based-standards] (SCNu64): Likewise.
74690 [C99-based-standards] (SCNx64): Likewise.
74691 [C99-based-standards] (PRIdLEAST64): Likewise.
74692 [C99-based-standards] (PRIiLEAST64): Likewise.
74693 [C99-based-standards] (PRIoLEAST64): Likewise.
74694 [C99-based-standards] (PRIuLEAST64): Likewise.
74695 [C99-based-standards] (PRIxLEAST64): Likewise.
74696 [C99-based-standards] (PRIXLEAST64): Likewise.
74697 [C99-based-standards] (SCNdLEAST64): Likewise.
74698 [C99-based-standards] (SCNiLEAST64): Likewise.
74699 [C99-based-standards] (SCNoLEAST64): Likewise.
74700 [C99-based-standards] (SCNuLEAST64): Likewise.
74701 [C99-based-standards] (SCNxLEAST64): Likewise.
74702 [C99-based-standards] (PRIdFAST64): Likewise.
74703 [C99-based-standards] (PRIiFAST64): Likewise.
74704 [C99-based-standards] (PRIoFAST64): Likewise.
74705 [C99-based-standards] (PRIuFAST64): Likewise.
74706 [C99-based-standards] (PRIxFAST64): Likewise.
74707 [C99-based-standards] (PRIXFAST64): Likewise.
74708 [C99-based-standards] (SCNdFAST64): Likewise.
74709 [C99-based-standards] (SCNiFAST64): Likewise.
74710 [C99-based-standards] (SCNoFAST64): Likewise.
74711 [C99-based-standards] (SCNuFAST64): Likewise.
74712 [C99-based-standards] (SCNxFAST64): Likewise.
74713 [C99-based-standards] (PRIdMAX): Likewise.
74714 [C99-based-standards] (PRIiMAX): Likewise.
74715 [C99-based-standards] (PRIoMAX): Likewise.
74716 [C99-based-standards] (PRIuMAX): Likewise.
74717 [C99-based-standards] (PRIxMAX): Likewise.
74718 [C99-based-standards] (PRIXMAX): Likewise.
74719 [C99-based-standards] (SCNdMAX): Likewise.
74720 [C99-based-standards] (SCNiMAX): Likewise.
74721 [C99-based-standards] (SCNoMAX): Likewise.
74722 [C99-based-standards] (SCNuMAX): Likewise.
74723 [C99-based-standards] (SCNxMAX): Likewise.
74724 [C99-based-standards] (PRIdPTR): Likewise.
74725 [C99-based-standards] (PRIiPTR): Likewise.
74726 [C99-based-standards] (PRIoPTR): Likewise.
74727 [C99-based-standards] (PRIuPTR): Likewise.
74728 [C99-based-standards] (PRIxPTR): Likewise.
74729 [C99-based-standards] (PRIXPTR): Likewise.
74730 [C99-based-standards] (SCNdPTR): Likewise.
74731 [C99-based-standards] (SCNiPTR): Likewise.
74732 [C99-based-standards] (SCNoPTR): Likewise.
74733 [C99-based-standards] (SCNuPTR): Likewise.
74734 [C99-based-standards] (SCNxPTR): Likewise.
74735 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74736 allow.
74737 * conform/data/stdint.h-data: Update comments to clarify
74738 requirements.
74739 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74740 type.
74741 [C99-based standards] (INT8_MAX): Likewise.
74742 [C99-based standards] (INT16_MIN): Likewise.
74743 [C99-based standards] (INT16_MAX): Likewise.
74744 [C99-based standards] (INT32_MIN): Likewise.
74745 [C99-based standards] (INT32_MAX): Likewise.
74746 [C99-based standards] (INT64_MIN): Likewise.
74747 [C99-based standards] (INT64_MAX): Likewise.
74748 [C99-based standards] (UINT8_MAX): Likewise.
74749 [C99-based standards] (UINT16_MAX): Likewise.
74750 [C99-based standards] (UINT32_MAX): Likewise.
74751 [C99-based standards] (UINT64_MAX): Likewise.
74752 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74753 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74754 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74755 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74756 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74757 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74758 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74759 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74760 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74761 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74762 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74763 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74764 [C99-based standards] (INT_FAST8_MIN): Likewise.
74765 [C99-based standards] (INT_FAST8_MAX): Likewise.
74766 [C99-based standards] (INT_FAST16_MIN): Likewise.
74767 [C99-based standards] (INT_FAST16_MAX): Likewise.
74768 [C99-based standards] (INT_FAST32_MIN): Likewise.
74769 [C99-based standards] (INT_FAST32_MAX): Likewise.
74770 [C99-based standards] (INT_FAST64_MIN): Likewise.
74771 [C99-based standards] (INT_FAST64_MAX): Likewise.
74772 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74773 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74774 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74775 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74776 [C99-based standards] (INTPTR_MIN): Likewise.
74777 [C99-based standards] (INTPTR_MAX): Likewise.
74778 [C99-based standards] (UINTPTR_MAX): Likewise.
74779 [C99-based standards] (INTMAX_MIN): Likewise.
74780 [C99-based standards] (INTMAX_MAX): Likewise.
74781 [C99-based standards] (UINTMAX_MAX): Likewise.
74782 [C99-based standards] (PTRDIFF_MIN): Likewise.
74783 [C99-based standards] (PTRDIFF_MAX): Likewise.
74784 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74785 [C99-based standards] (SIZE_MAX): Likewise.
74786 [C99-based standards] (WCHAR_MAX): Likewise.
74787 [C99-based standards] (WINT_MAX): Likewise.
74788 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74789 constraint on value.
74790 [C99-based standards] (WCHAR_MIN): Likewise.
74791 [C99-based standards] (WINT_MIN): Likewise.
74792 [C99-based standards] (*_t): Allow.
74793 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74794 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74795 Include math.h-data and complex.h-data. Remove all expectations
74796 of math.h and complex.h contents.
74797 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74798 at end of line.
74799 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74800 (struct tm): Expect tag.
74801 [C99-based-standards] (wcstof): Expect function.
74802 [C99-based-standards] (wcstold): Likewise.
74803 [C99-based-standards] (wcstoll): Likewise.
74804 [C99-based-standards] (wcstoull): Likewise.
74805 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74806 macro-int-constant. Specify type.
74807 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74808 constraint on value.
74809 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74810 Specify type.
74811 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74812 Specify value.
74813 [ISO C standards]: Do not allow headers.
74814 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74815 wcs[abcdefghijklmnopqrstuvwxyz]*.
74816 [ISO C standards] (*_t): Do not allow.
74817 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74818 Expect function.
74819 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74820 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74821 Specify type.
74822 [ISO C standards]: Do not allow headers.
74823 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74824 is[abcdefghijklmnopqrstuvwxyz]*.
74825 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74826 to[abcdefghijklmnopqrstuvwxyz]*.
74827 [ISO C standards] (*_t): Do not allow.
74828 * conform/data/stdalign.h-data: New file.
74829 * conform/data/stdbool.h-data: Likewise.
74830 * conform/data/stdnoreturn.h-data: Likewise.
74831
74832 2012-11-07 Roland McGrath <roland@hack.frob.com>
74833
74834 [BZ #14815]
74835 * manual/filesys.texi (Directory Entries): Typo fix.
74836 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74837
74838 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74839
74840 * elf/elf.h (EM_AARCH64): New macro.
74841 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74842 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74843 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74844 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74845 (R_AARCH64_TLSDESC): Likewise.
74846 (NT_ARM_TLS): Likewise.
74847 (NT_ARM_HW_BREAK): Likewise.
74848 (NT_ARM_HW_WATCH): Likewise.
74849
74850 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74851
74852 [BZ #14811]
74853 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74854 (__ieee754_powl): Saturate nonzero exponents with absolute value
74855 below 0x1p-79 to +/- 0x1p-79.
74856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74857 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74858 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74859 nonzero exponents with absolute value below 0x1p-32 to +/-
74860 0x1p-32.
74861 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74862 (__ieee754_powl): Saturate nonzero exponents with absolute value
74863 below 0x1p-79 to +/- 0x1p-79.
74864 * math/libm-test.inc (pow_test): Add more tests.
74865
74866 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74867
74868 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74869 _dl_s390_cap_flags with kernel. Increase string length.
74870 (_dl_s390_platforms): Add z196 and zEC12.
74871
74872 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74873
74874 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74875 Change XOPEN21K to XOPEN2K.
74876
74877 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74878
74879 * string/memmove.c: Use memcpy when possible.
74880
74881 2012-11-06 Andreas Jaeger <aj@suse.de>
74882
74883 * po/eo.po: Update from translation team.
74884
74885 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74886
74887 [BZ #14793]
74888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74889 exponent and small x and y exponents, scale x or y up. Increase
74890 by 2 the exponent used in scaling up.
74891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74893 * math/libm-test.inc (fma_test): Add more tests.
74894 (fma_test_towardzero): Likewise.
74895 (fma_test_downward): Likewise.
74896 (fma_test_upward): Likewise.
74897
74898 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74899
74900 [BZ #14805]
74901 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74902 fenv_t *.
74903
74904 [BZ #14801]
74905 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74906 namespace for names of struct fields.
74907 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74908 fenv_t fields.
74909 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74910 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74911
74912 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74913
74914 [BZ #3665]
74915 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74916
74917 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74918
74919 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74920 PTR_DEMANGLE.
74921
74922 [BZ #5246]
74923 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74924 PTR_DEMANGLE.
74925
74926 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74927
74928 [BZ #14797]
74929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74930 definitely overflow as x * y not x * y + z.
74931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74933 * math/libm-test.inc (fma_test): Add more tests.
74934 (fma_test_towardzero): Likewise.
74935 (fma_test_downward): Likewise.
74936 (fma_test_upward): Likewise.
74937
74938 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74939
74940 [BZ #157]
74941
74942 * include/stub-tag.h: Remove file.
74943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74944 '#include' of it.
74945 * manual/maint.texi (Porting): Don't reference it.
74946 * Makerules ($(objpfx)stubs): Likewise.
74947 * dirent/closedir.c: Don't include <stub-tag.h>.
74948 * dirent/dirfd.c: Likewise.
74949 * dirent/fdopendir.c: Likewise.
74950 * dirent/getdents.c: Likewise.
74951 * dirent/getdents64.c: Likewise.
74952 * dirent/opendir.c: Likewise.
74953 * dirent/readdir.c: Likewise.
74954 * dirent/readdir64.c: Likewise.
74955 * dirent/readdir64_r.c: Likewise.
74956 * dirent/readdir_r.c: Likewise.
74957 * dirent/rewinddir.c: Likewise.
74958 * dirent/seekdir.c: Likewise.
74959 * dirent/telldir.c: Likewise.
74960 * gmon/profil.c: Likewise.
74961 * grp/setgroups.c: Likewise.
74962 * inet/if_index.c: Likewise.
74963 * io/access.c: Likewise.
74964 * io/chdir.c: Likewise.
74965 * io/chmod.c: Likewise.
74966 * io/chown.c: Likewise.
74967 * io/close.c: Likewise.
74968 * io/dup.c: Likewise.
74969 * io/dup2.c: Likewise.
74970 * io/dup3.c: Likewise.
74971 * io/euidaccess.c: Likewise.
74972 * io/faccessat.c: Likewise.
74973 * io/fchdir.c: Likewise.
74974 * io/fchmod.c: Likewise.
74975 * io/fchmodat.c: Likewise.
74976 * io/fchown.c: Likewise.
74977 * io/fchownat.c: Likewise.
74978 * io/fcntl.c: Likewise.
74979 * io/flock.c: Likewise.
74980 * io/fstatfs.c: Likewise.
74981 * io/fstatfs64.c: Likewise.
74982 * io/fstatvfs.c: Likewise.
74983 * io/fstatvfs64.c: Likewise.
74984 * io/futimens.c: Likewise.
74985 * io/fxstat.c: Likewise.
74986 * io/fxstat64.c: Likewise.
74987 * io/fxstatat.c: Likewise.
74988 * io/fxstatat64.c: Likewise.
74989 * io/getcwd.c: Likewise.
74990 * io/isatty.c: Likewise.
74991 * io/lchmod.c: Likewise.
74992 * io/lchown.c: Likewise.
74993 * io/link.c: Likewise.
74994 * io/linkat.c: Likewise.
74995 * io/lseek.c: Likewise.
74996 * io/lseek64.c: Likewise.
74997 * io/lxstat64.c: Likewise.
74998 * io/mkdir.c: Likewise.
74999 * io/mkdirat.c: Likewise.
75000 * io/mkfifo.c: Likewise.
75001 * io/mkfifoat.c: Likewise.
75002 * io/open.c: Likewise.
75003 * io/open64.c: Likewise.
75004 * io/openat.c: Likewise.
75005 * io/openat64.c: Likewise.
75006 * io/pipe.c: Likewise.
75007 * io/pipe2.c: Likewise.
75008 * io/poll.c: Likewise.
75009 * io/posix_fadvise.c: Likewise.
75010 * io/posix_fadvise64.c: Likewise.
75011 * io/posix_fallocate.c: Likewise.
75012 * io/posix_fallocate64.c: Likewise.
75013 * io/read.c: Likewise.
75014 * io/readlink.c: Likewise.
75015 * io/readlinkat.c: Likewise.
75016 * io/rmdir.c: Likewise.
75017 * io/sendfile.c: Likewise.
75018 * io/sendfile64.c: Likewise.
75019 * io/statfs.c: Likewise.
75020 * io/statfs64.c: Likewise.
75021 * io/statvfs.c: Likewise.
75022 * io/statvfs64.c: Likewise.
75023 * io/symlink.c: Likewise.
75024 * io/symlinkat.c: Likewise.
75025 * io/ttyname.c: Likewise.
75026 * io/ttyname_r.c: Likewise.
75027 * io/umask.c: Likewise.
75028 * io/unlink.c: Likewise.
75029 * io/unlinkat.c: Likewise.
75030 * io/utime.c: Likewise.
75031 * io/utimensat.c: Likewise.
75032 * io/write.c: Likewise.
75033 * io/xmknod.c: Likewise.
75034 * io/xmknodat.c: Likewise.
75035 * io/xstat.c: Likewise.
75036 * io/xstat64.c: Likewise.
75037 * login/getpt.c: Likewise.
75038 * login/grantpt.c: Likewise.
75039 * login/unlockpt.c: Likewise.
75040 * math/e_acoshl.c: Likewise.
75041 * math/e_acosl.c: Likewise.
75042 * math/e_asinl.c: Likewise.
75043 * math/e_atan2l.c: Likewise.
75044 * math/e_atanhl.c: Likewise.
75045 * math/e_coshl.c: Likewise.
75046 * math/e_expl.c: Likewise.
75047 * math/e_fmodl.c: Likewise.
75048 * math/e_gammal_r.c: Likewise.
75049 * math/e_hypotl.c: Likewise.
75050 * math/e_j0l.c: Likewise.
75051 * math/e_j1l.c: Likewise.
75052 * math/e_jnl.c: Likewise.
75053 * math/e_lgammal_r.c: Likewise.
75054 * math/e_log10l.c: Likewise.
75055 * math/e_log2l.c: Likewise.
75056 * math/e_logl.c: Likewise.
75057 * math/e_powl.c: Likewise.
75058 * math/e_rem_pio2l.c: Likewise.
75059 * math/e_sinhl.c: Likewise.
75060 * math/e_sqrtl.c: Likewise.
75061 * math/fclrexcpt.c: Likewise.
75062 * math/fedisblxcpt.c: Likewise.
75063 * math/feenablxcpt.c: Likewise.
75064 * math/fegetenv.c: Likewise.
75065 * math/fegetexcept.c: Likewise.
75066 * math/fegetround.c: Likewise.
75067 * math/feholdexcpt.c: Likewise.
75068 * math/fesetenv.c: Likewise.
75069 * math/fesetround.c: Likewise.
75070 * math/feupdateenv.c: Likewise.
75071 * math/fgetexcptflg.c: Likewise.
75072 * math/fraiseexcpt.c: Likewise.
75073 * math/fsetexcptflg.c: Likewise.
75074 * math/ftestexcept.c: Likewise.
75075 * math/k_cosl.c: Likewise.
75076 * math/k_rem_pio2l.c: Likewise.
75077 * math/k_sinl.c: Likewise.
75078 * math/k_tanl.c: Likewise.
75079 * math/s_asinhl.c: Likewise.
75080 * math/s_atanl.c: Likewise.
75081 * math/s_cbrtl.c: Likewise.
75082 * math/s_erfl.c: Likewise.
75083 * math/s_expm1l.c: Likewise.
75084 * math/s_log1pl.c: Likewise.
75085 * math/s_tanhl.c: Likewise.
75086 * misc/acct.c: Likewise.
75087 * misc/brk.c: Likewise.
75088 * misc/chflags.c: Likewise.
75089 * misc/chroot.c: Likewise.
75090 * misc/fchflags.c: Likewise.
75091 * misc/fgetxattr.c: Likewise.
75092 * misc/flistxattr.c: Likewise.
75093 * misc/fremovexattr.c: Likewise.
75094 * misc/fsetxattr.c: Likewise.
75095 * misc/fsync.c: Likewise.
75096 * misc/ftruncate.c: Likewise.
75097 * misc/futimes.c: Likewise.
75098 * misc/futimesat.c: Likewise.
75099 * misc/getdomain.c: Likewise.
75100 * misc/getdtsz.c: Likewise.
75101 * misc/gethostid.c: Likewise.
75102 * misc/gethostname.c: Likewise.
75103 * misc/getloadavg.c: Likewise.
75104 * misc/getpagesize.c: Likewise.
75105 * misc/getsysstats.c: Likewise.
75106 * misc/getxattr.c: Likewise.
75107 * misc/gtty.c: Likewise.
75108 * misc/ioctl.c: Likewise.
75109 * misc/lgetxattr.c: Likewise.
75110 * misc/listxattr.c: Likewise.
75111 * misc/llistxattr.c: Likewise.
75112 * misc/lremovexattr.c: Likewise.
75113 * misc/lsetxattr.c: Likewise.
75114 * misc/lutimes.c: Likewise.
75115 * misc/madvise.c: Likewise.
75116 * misc/mincore.c: Likewise.
75117 * misc/mlock.c: Likewise.
75118 * misc/mlockall.c: Likewise.
75119 * misc/mmap.c: Likewise.
75120 * misc/mprotect.c: Likewise.
75121 * misc/msync.c: Likewise.
75122 * misc/munlock.c: Likewise.
75123 * misc/munlockall.c: Likewise.
75124 * misc/munmap.c: Likewise.
75125 * misc/preadv.c: Likewise.
75126 * misc/preadv64.c: Likewise.
75127 * misc/ptrace.c: Likewise.
75128 * misc/pwritev.c: Likewise.
75129 * misc/pwritev64.c: Likewise.
75130 * misc/readv.c: Likewise.
75131 * misc/reboot.c: Likewise.
75132 * misc/remap_file_pages.c: Likewise.
75133 * misc/removexattr.c: Likewise.
75134 * misc/revoke.c: Likewise.
75135 * misc/select.c: Likewise.
75136 * misc/setdomain.c: Likewise.
75137 * misc/setegid.c: Likewise.
75138 * misc/seteuid.c: Likewise.
75139 * misc/sethostid.c: Likewise.
75140 * misc/sethostname.c: Likewise.
75141 * misc/setregid.c: Likewise.
75142 * misc/setreuid.c: Likewise.
75143 * misc/setxattr.c: Likewise.
75144 * misc/sstk.c: Likewise.
75145 * misc/stty.c: Likewise.
75146 * misc/swapoff.c: Likewise.
75147 * misc/swapon.c: Likewise.
75148 * misc/sync.c: Likewise.
75149 * misc/syncfs.c: Likewise.
75150 * misc/syscall.c: Likewise.
75151 * misc/truncate.c: Likewise.
75152 * misc/ualarm.c: Likewise.
75153 * misc/usleep.c: Likewise.
75154 * misc/ustat.c: Likewise.
75155 * misc/utimes.c: Likewise.
75156 * misc/vhangup.c: Likewise.
75157 * misc/writev.c: Likewise.
75158 * posix/_exit.c: Likewise.
75159 * posix/alarm.c: Likewise.
75160 * posix/execve.c: Likewise.
75161 * posix/fexecve.c: Likewise.
75162 * posix/fork.c: Likewise.
75163 * posix/fpathconf.c: Likewise.
75164 * posix/getaddrinfo.c: Likewise.
75165 * posix/getegid.c: Likewise.
75166 * posix/geteuid.c: Likewise.
75167 * posix/getgid.c: Likewise.
75168 * posix/getgroups.c: Likewise.
75169 * posix/getlogin.c: Likewise.
75170 * posix/getlogin_r.c: Likewise.
75171 * posix/getpgid.c: Likewise.
75172 * posix/getpid.c: Likewise.
75173 * posix/getppid.c: Likewise.
75174 * posix/getresgid.c: Likewise.
75175 * posix/getresuid.c: Likewise.
75176 * posix/getsid.c: Likewise.
75177 * posix/getuid.c: Likewise.
75178 * posix/glob64.c: Likewise.
75179 * posix/nanosleep.c: Likewise.
75180 * posix/pathconf.c: Likewise.
75181 * posix/pause.c: Likewise.
75182 * posix/posix_madvise.c: Likewise.
75183 * posix/pread.c: Likewise.
75184 * posix/pread64.c: Likewise.
75185 * posix/pwrite.c: Likewise.
75186 * posix/pwrite64.c: Likewise.
75187 * posix/sched_getaffinity.c: Likewise.
75188 * posix/sched_getp.c: Likewise.
75189 * posix/sched_gets.c: Likewise.
75190 * posix/sched_primax.c: Likewise.
75191 * posix/sched_primin.c: Likewise.
75192 * posix/sched_rr_gi.c: Likewise.
75193 * posix/sched_setaffinity.c: Likewise.
75194 * posix/sched_setp.c: Likewise.
75195 * posix/sched_sets.c: Likewise.
75196 * posix/sched_yield.c: Likewise.
75197 * posix/setgid.c: Likewise.
75198 * posix/setlogin.c: Likewise.
75199 * posix/setpgid.c: Likewise.
75200 * posix/setresgid.c: Likewise.
75201 * posix/setresuid.c: Likewise.
75202 * posix/setsid.c: Likewise.
75203 * posix/setuid.c: Likewise.
75204 * posix/sleep.c: Likewise.
75205 * posix/spawni.c: Likewise.
75206 * posix/sysconf.c: Likewise.
75207 * posix/times.c: Likewise.
75208 * posix/wait.c: Likewise.
75209 * posix/wait3.c: Likewise.
75210 * posix/wait4.c: Likewise.
75211 * posix/waitpid.c: Likewise.
75212 * resolv/gai_sigqueue.c: Likewise.
75213 * resource/getpriority.c: Likewise.
75214 * resource/getrlimit.c: Likewise.
75215 * resource/getrusage.c: Likewise.
75216 * resource/nice.c: Likewise.
75217 * resource/setpriority.c: Likewise.
75218 * resource/setrlimit.c: Likewise.
75219 * resource/ulimit.c: Likewise.
75220 * rt/aio_cancel.c: Likewise.
75221 * rt/aio_fsync.c: Likewise.
75222 * rt/aio_read.c: Likewise.
75223 * rt/aio_sigqueue.c: Likewise.
75224 * rt/aio_suspend.c: Likewise.
75225 * rt/aio_write.c: Likewise.
75226 * rt/clock_getres.c: Likewise.
75227 * rt/clock_gettime.c: Likewise.
75228 * rt/clock_nanosleep.c: Likewise.
75229 * rt/clock_settime.c: Likewise.
75230 * rt/lio_listio.c: Likewise.
75231 * rt/mq_close.c: Likewise.
75232 * rt/mq_getattr.c: Likewise.
75233 * rt/mq_notify.c: Likewise.
75234 * rt/mq_open.c: Likewise.
75235 * rt/mq_receive.c: Likewise.
75236 * rt/mq_send.c: Likewise.
75237 * rt/mq_setattr.c: Likewise.
75238 * rt/mq_timedreceive.c: Likewise.
75239 * rt/mq_timedsend.c: Likewise.
75240 * rt/mq_unlink.c: Likewise.
75241 * rt/shm_open.c: Likewise.
75242 * rt/shm_unlink.c: Likewise.
75243 * rt/timer_create.c: Likewise.
75244 * rt/timer_delete.c: Likewise.
75245 * rt/timer_getoverr.c: Likewise.
75246 * rt/timer_gettime.c: Likewise.
75247 * rt/timer_settime.c: Likewise.
75248 * setjmp/__longjmp.c: Likewise.
75249 * setjmp/setjmp.c: Likewise.
75250 * signal/kill.c: Likewise.
75251 * signal/killpg.c: Likewise.
75252 * signal/raise.c: Likewise.
75253 * signal/sigaction.c: Likewise.
75254 * signal/sigaltstack.c: Likewise.
75255 * signal/sigblock.c: Likewise.
75256 * signal/sigignore.c: Likewise.
75257 * signal/sigintr.c: Likewise.
75258 * signal/signal.c: Likewise.
75259 * signal/sigpause.c: Likewise.
75260 * signal/sigpending.c: Likewise.
75261 * signal/sigqueue.c: Likewise.
75262 * signal/sigreturn.c: Likewise.
75263 * signal/sigset.c: Likewise.
75264 * signal/sigsetmask.c: Likewise.
75265 * signal/sigstack.c: Likewise.
75266 * signal/sigsuspend.c: Likewise.
75267 * signal/sigtimedwait.c: Likewise.
75268 * signal/sigvec.c: Likewise.
75269 * signal/sigwait.c: Likewise.
75270 * signal/sigwaitinfo.c: Likewise.
75271 * signal/sysv_signal.c: Likewise.
75272 * socket/accept.c: Likewise.
75273 * socket/accept4.c: Likewise.
75274 * socket/bind.c: Likewise.
75275 * socket/connect.c: Likewise.
75276 * socket/getpeername.c: Likewise.
75277 * socket/getsockname.c: Likewise.
75278 * socket/getsockopt.c: Likewise.
75279 * socket/isfdtype.c: Likewise.
75280 * socket/listen.c: Likewise.
75281 * socket/recv.c: Likewise.
75282 * socket/recvfrom.c: Likewise.
75283 * socket/recvmsg.c: Likewise.
75284 * socket/send.c: Likewise.
75285 * socket/sendmsg.c: Likewise.
75286 * socket/sendto.c: Likewise.
75287 * socket/setsockopt.c: Likewise.
75288 * socket/shutdown.c: Likewise.
75289 * socket/sockatmark.c: Likewise.
75290 * socket/socket.c: Likewise.
75291 * socket/socketpair.c: Likewise.
75292 * stdio-common/ctermid.c: Likewise.
75293 * stdio-common/cuserid.c: Likewise.
75294 * stdio-common/remove.c: Likewise.
75295 * stdio-common/rename.c: Likewise.
75296 * stdio-common/renameat.c: Likewise.
75297 * stdio-common/tempname.c: Likewise.
75298 * stdlib/getcontext.c: Likewise.
75299 * stdlib/makecontext.c: Likewise.
75300 * stdlib/setcontext.c: Likewise.
75301 * stdlib/swapcontext.c: Likewise.
75302 * stdlib/system.c: Likewise.
75303 * streams/fattach.c: Likewise.
75304 * streams/fdetach.c: Likewise.
75305 * streams/getmsg.c: Likewise.
75306 * streams/getpmsg.c: Likewise.
75307 * streams/putmsg.c: Likewise.
75308 * streams/putpmsg.c: Likewise.
75309 * sysdeps/unix/bsd/getpt.c: Likewise.
75310 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75311 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75312 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75314 Likewise.
75315 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75317 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75318 * sysvipc/msgctl.c: Likewise.
75319 * sysvipc/msgget.c: Likewise.
75320 * sysvipc/msgrcv.c: Likewise.
75321 * sysvipc/msgsnd.c: Likewise.
75322 * sysvipc/semctl.c: Likewise.
75323 * sysvipc/semget.c: Likewise.
75324 * sysvipc/semop.c: Likewise.
75325 * sysvipc/semtimedop.c: Likewise.
75326 * sysvipc/shmat.c: Likewise.
75327 * sysvipc/shmctl.c: Likewise.
75328 * sysvipc/shmdt.c: Likewise.
75329 * sysvipc/shmget.c: Likewise.
75330 * termios/tcdrain.c: Likewise.
75331 * termios/tcflow.c: Likewise.
75332 * termios/tcflush.c: Likewise.
75333 * termios/tcgetattr.c: Likewise.
75334 * termios/tcgetpgrp.c: Likewise.
75335 * termios/tcsendbrk.c: Likewise.
75336 * termios/tcsetattr.c: Likewise.
75337 * termios/tcsetpgrp.c: Likewise.
75338 * time/adjtime.c: Likewise.
75339 * time/clock.c: Likewise.
75340 * time/getitimer.c: Likewise.
75341 * time/gettimeofday.c: Likewise.
75342 * time/setitimer.c: Likewise.
75343 * time/settimeofday.c: Likewise.
75344 * time/stime.c: Likewise.
75345 * time/time.c: Likewise.
75346
75347 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
75348
75349 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75350 /usr/old/bin.
75351
75352 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75353 instead of spaces.
75354 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75355
75356 2012-11-03 Joseph Myers <joseph@codesourcery.com>
75357
75358 [BZ #14796]
75359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75360 FE_TONEAREST before applying Dekker multiplication and Knuth
75361 addition. Clear inexact exceptions and check for exact zero
75362 results afterwards.
75363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75364 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75366 * math/libm-test.inc (fma_test): Add more tests.
75367 (fma_test_towardzero): Likewise.
75368 (fma_test_downward): Likewise.
75369 (fma_test_upward): Likewise.
75370 * sysdeps/generic/math_private.h (default_libc_fesetround): New
75371 function.
75372 (libc_fesetround): New macro.
75373 (libc_fesetroundf): Likewise.
75374 (libc_fesetroundl): Likewise.
75375 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75376 function.
75377 (libc_fesetround_387): Likewise.
75378 (libc_fesetroundf): New macro.
75379 (libc_fesetround): Likewise.
75380 (libc_fesetroundl): Likewise.
75381 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75382 function.
75383 (libc_fesetroundf): New macro.
75384 (libc_fesetround): Likewise.
75385 (libc_fesetroundl): Likewise.
75386 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75387 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75388 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75389 libm_hidden_ver.
75390 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75391 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75392 libm_hidden_def.
75393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75394 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75395 libm_hidden_ver.
75396 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75397 libm_hidden_def.
75398
75399 [BZ #3439]
75400 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75401 integer constant usable in #if and use that to give value to enum
75402 constant.
75403 (FE_DIVBYZERO): Likewise.
75404 (FE_UNDERFLOW): Likewise.
75405 (FE_OVERFLOW): Likewise.
75406 (FE_INVALID): Likewise.
75407 (FE_INVALID_SNAN): Likewise.
75408 (FE_INVALID_ISI): Likewise.
75409 (FE_INVALID_IDI): Likewise.
75410 (FE_INVALID_ZDZ): Likewise.
75411 (FE_INVALID_IMZ): Likewise.
75412 (FE_INVALID_COMPARE): Likewise.
75413 (FE_INVALID_SOFTWARE): Likewise.
75414 (FE_INVALID_SQRT): Likewise.
75415 (FE_INVALID_INTEGER_CONVERSION): Likewise.
75416 (FE_TONEAREST): Likewise.
75417 (FE_TOWARDZERO): Likewise.
75418 (FE_UPWARD): Likewise.
75419 (FE_DOWNWARD): Likewise.
75420 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75421 (FE_DIVBYZERO): Likewise.
75422 (FE_OVERFLOW): Likewise.
75423 (FE_UNDERFLOW): Likewise.
75424 (FE_INEXACT): Likewise.
75425 (FE_TONEAREST): Likewise.
75426 (FE_DOWNWARD): Likewise.
75427 (FE_UPWARD): Likewise.
75428 (FE_TOWARDZERO): Likewise.
75429 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75430 (FE_UNDERFLOW): Likewise.
75431 (FE_OVERFLOW): Likewise.
75432 (FE_DIVBYZERO): Likewise.
75433 (FE_INVALID): Likewise.
75434 (FE_TONEAREST): Likewise.
75435 (FE_TOWARDZERO): Likewise.
75436 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75437 (FE_OVERFLOW): Likewise.
75438 (FE_UNDERFLOW): Likewise.
75439 (FE_DIVBYZERO): Likewise.
75440 (FE_INEXACT): Likewise.
75441 (FE_TONEAREST): Likewise.
75442 (FE_TOWARDZERO): Likewise.
75443 (FE_UPWARD): Likewise.
75444 (FE_DOWNWARD): Likewise.
75445 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75446 (FE_DIVBYZERO): Likewise.
75447 (FE_OVERFLOW): Likewise.
75448 (FE_UNDERFLOW): Likewise.
75449 (FE_INEXACT): Likewise.
75450 (FE_TONEAREST): Likewise.
75451 (FE_DOWNWARD): Likewise.
75452 (FE_UPWARD): Likewise.
75453 (FE_TOWARDZERO): Likewise.
75454
75455 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
75456
75457 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75458
75459 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
75460
75461 * scripts/cross-test-ssh.sh (command): Use newlines to separate
75462 commands. Quote $PWD.
75463 (blacklist_exports): Don't use remove_newlines. Replace "declare
75464 -x" by "export".
75465 (remove_newlines): Remove.
75466
75467 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
75468
75469 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75470 * stdlib/stdlib.h (atof): Moved to ...
75471 * include/bits/stdlib-float.h: Here. New file.
75472 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75473 * stdlib/bits/stdlib-float.h: New file.
75474 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75475 -mno-sse -mno-mmx.
75476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75477 <xmmintrin.h>.
75478
75479 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75480
75481 * conform/conformtest.pl (@headers): Add fenv.h.
75482 * conform/data/fenv.h-data: New file.
75483 * include/fenv.h [_ISOMAC]: Disable all contents of file except
75484 include of <math/fenv.h>.
75485
75486 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75487 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75488 && !UNIX98]. Enables tests for XOPEN2K8.
75489 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75490 POSIX2008]: Likewise.
75491
75492 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75493 (struct rusage): Do not expect type or its members.
75494
75495 [BZ #3439]
75496 * math/math.h (FP_NAN): Define macro to integer constant usable in
75497 #if and use that to give value to enum constant.
75498 (FP_INFINITE): Likewise.
75499 (FP_ZERO): Likewise.
75500 (FP_SUBNORMAL): Likewise.
75501 (FP_NORMAL): Likewise.
75502
75503 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
75504
75505 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75506 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75507 arguments.
75508
75509 2012-11-02 Roland McGrath <roland@hack.frob.com>
75510
75511 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75512 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75513 autoconf-time if not.
75514 * configure.in: Remove AC_PREREQ.
75515
75516 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75517
75518 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75519 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75520 of the internal implementation.
75521
75522 2012-11-02 Joseph Myers <joseph@codesourcery.com>
75523
75524 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75525 except include of <misc/sys/syslog.h>.
75526
75527 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75528
75529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75530 function returns with a NULL context exit with zero.
75531
75532 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75533
75534 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75535
75536 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
75537
75538 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75539 (run_program_cmd): This.
75540 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75541 (tst_langinfo): New variable. Use it.
75542
75543 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
75544
75545 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75546 floating point opcodes.
75547
75548 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75549
75550 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75551 variable.
75552
75553 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75554
75555 * sysdeps/mach/hurd/powerpc: Remove directory.
75556 * sysdeps/mach/powerpc: Likewise.
75557
75558 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
75559
75560 * scripts/check-local-headers.sh: Ignore c++ headers.
75561
75562 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75563
75564 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75565 __libc_cleanup_region_start argument.
75566
75567 2012-11-01 Joseph Myers <joseph@codesourcery.com>
75568
75569 [BZ #14784]
75570 [BZ #14785]
75571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75572 x * y using scaling, not as x * y + z.
75573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75575 * math/libm-test.inc (fma_test): Add more tests.
75576 (fma_test_towardzero): Likewise.
75577 (fma_test_downward): Likewise.
75578 (fma_test_upward): Likewise.
75579
75580 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
75581
75582 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75583
75584 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75585
75586 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75587 New variable.
75588
75589 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
75590
75591 * rt/tst-shm.c (worker): Correct checking for mmap failure.
75592
75593 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75594
75595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75596 Fix sort order.
75597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75598 Likewise.
75599
75600 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75601
75602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75603 Fix the order of the list for glibc 2.17.
75604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75605 Likewise.
75606
75607 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
75608
75609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75610
75611 2012-10-31 Joseph Myers <joseph@codesourcery.com>
75612
75613 [BZ #14610]
75614 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75615 for low part of x being zero before using __atanl (y).
75616 * math/libm-test.inc (atan2_test): Add another test.
75617
75618 * manual/install.texi (Configuring and compiling): Document
75619 general use of test-wrapper and test-wrapper-env.
75620 * INSTALL: Regenerated.
75621
75622 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75623 (__fma): Do not extract and scale down low bits on after-rounding
75624 systems when result rounded to normal precision would have normal
75625 exponent.
75626 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75627 (__fmal): Do not extract and scale down low bits on after-rounding
75628 systems when result rounded to normal precision would have normal
75629 exponent.
75630 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75631 (__fmal): Do not extract and scale down low bits on after-rounding
75632 systems when result rounded to normal precision would have normal
75633 exponent.
75634 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75635 macro.
75636 (fma_test): Add more tests.
75637 (fma_test_towardzero): Likewise.
75638 (fma_test_downward): Likewise.
75639 (fma_test_upward): Likewise.
75640
75641 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
75642
75643 * sysdeps/i386/tininess.h: Renamed to ...
75644 * sysdeps/x86/tininess.h: This.
75645 * sysdeps/x86_64/tininess.h: Removed.
75646
75647 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75648
75649 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75650 input. Use $(build-program-cmd).
75651 ($(objpfx)tst-array1-static.out): Likewise.
75652 ($(objpfx)tst-array2.out): Likewise.
75653 ($(objpfx)tst-array3.out): Likewise.
75654 ($(objpfx)tst-array4.out): Likewise.
75655 ($(objpfx)tst-array5.out): Likewise.
75656 ($(objpfx)tst-array5-static.out): Likewise.
75657
75658 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
75659
75660 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75661 if defined.
75662
75663 * nss/nsswitch.h (nss_interface_function): Provide new
75664 macro for use with NSS functions.
75665 * grp/initgroups.c: Use new macro.
75666 * nss/getXXbyYY.c: Likewise.
75667 * nss/getXXbyYY_r.c: Likewise.
75668 * nss/getXXent.c: Likewise.
75669 * nss/getXXent_r.c: Likewise.
75670 * sysdeps/posix/getaddrinfo.c: Likewise.
75671
75672 2012-10-30 Andreas Jaeger <aj@suse.de>
75673
75674 * po/ru.po: Update Russion translation from translation project.
75675
75676 2012-10-30 Joseph Myers <joseph@codesourcery.com>
75677
75678 [BZ #14152]
75679 [BZ #14783]
75680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75681 result and shift together with sticky bit instead of replicating
75682 round-to-nearest rounding.
75683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75685 * math/libm-test.inc (fma_test): Add more tests. Do not permit
75686 missing underflow exceptions.
75687 (fma_test_towardzero): Add more tests.
75688 (fma_test_downward): Likewise.
75689 (fma_test_upward): Likewise.
75690
75691 [BZ #14047]
75692 * sysdeps/generic/tininess.h: New file.
75693 * sysdeps/i386/tininess.h: Likewise.
75694 * sysdeps/sh/tininess.h: Likewise.
75695 * sysdeps/x86_64/tininess.h: Likewise.
75696 * stdlib/tst-strtod-underflow.c: Likewise.
75697 * stdlib/tst-tininess.c: Likewise.
75698 * stdlib/strtod_l.c: Include <tininess.h>.
75699 (round_and_return): Do not set errno for exact underflow cases.
75700 Force an underflow exception when setting errno for underflow.
75701 Determine underflow based on rounding to normal precision if
75702 TININESS_AFTER_ROUNDING.
75703 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75704 ERANGE for exact underflow cases.
75705 * stdlib/Makefile (tests): Add tst-tininess and
75706 tst-strtod-underflow.
75707 ($(objpfx)tst-tininess): Use $(link-libm).
75708 ($(objpfx)tst-strtod-underflow): Likewise.
75709
75710 2012-10-30 Andreas Jaeger <aj@suse.de>
75711
75712 [BZ #14767]
75713 * elf/Makefile (tests): Remove conditional for have-initfini-array
75714 since this is now always required and the variable does not exist
75715 anymore.
75716 (tests-static): Likewise.
75717 (modules-names): Likewise.
75718
75719 * po/eo.po: Add Esperanto translation from translation project.
75720
75721 * elf/tst-array1.c (fini_array): Make writeable so that it can be
75722 merged with constructor/destructor.
75723 (init_array): Likewise.
75724 * elf/tst-array2dep.c (fini_array): Likewise.
75725 (init_array): Likewise.
75726
75727 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75728
75729 * manual/message.texi: Delete @cartouche tags.
75730
75731 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75732
75733 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75734 EOPNOTSUPP.
75735 * sysdeps/mach/hurd/fsync.c: Likewise.
75736
75737 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75738 [_POSIX_REALTIME_SIGNALS]: Change condition to
75739 [_POSIX_REALTIME_SIGNALS > 0].
75740
75741 2012-10-27 Andreas Jaeger <aj@suse.de>
75742
75743 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75744 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75745 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75746 [__WORDSIZE != 64]: Likewise.
75747
75748 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75749
75750 * iconvdata/tst-table.sh: Remove ${SHELL}.
75751 * iconvdata/tst-tables.sh: Likewise.
75752
75753 2012-10-25 David S. Miller <davem@davemloft.net>
75754
75755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75756 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75757 of strtoull.
75758
75759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75760 ifunc-impl-list.c
75761 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75762 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75763 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75764 file.
75765
75766 2012-10-25 Roland McGrath <roland@hack.frob.com>
75767
75768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75769 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75770 __getdirentries.
75771
75772 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75773 Jim Blandy <jimb@codesourcery.com>
75774
75775 * scripts/cross-test-ssh.sh: New file.
75776 * manual/install.texi (Configuring and compiling): Document use of
75777 cross-test-ssh.sh.
75778 * INSTALL: Regenerated.
75779
75780 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75781
75782 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75783 EOPNOTSUPP.
75784
75785 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75786
75787 * Makeconfig (run-program-prefix): Fix comment.
75788
75789 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75790 Jim Blandy <jimb@codesourcery.com>
75791
75792 * Makeconfig (test-wrapper): New variable,
75793 (test-wrapper-env): Likewise.
75794 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75795 (run-built-tests): Define to yes.
75796 (run-program-prefix): Use $(test-wrapper).
75797 (built-program-cmd): Likewise.
75798 * Rules (make-test-out): Use $(test-wrapper-env) and
75799 $(host-built-program-cmd).
75800 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75801 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75802 tst-pathopt.sh.
75803 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75804 $(test-wrapper-env) to tst-rtld-load-self.sh.
75805 ($(objpfx)order2.out): Use $(test-wrapper).
75806 ($(objpfx)tst-initorder.out): Likewise.
75807 ($(objpfx)tst-initorder2.out): Likewise.
75808 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75809 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75810 (test_wrapper_env): New variable. Use it to run ld.so.
75811 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75812 Use it to run ld.so.
75813 (test_wrapper_env): Likewise.
75814 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75815 $(test-wrapper) to run-iconv-test.sh.
75816 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75817 (ICONV): Use $test_wrapper.
75818 * posix/Makefile ($(objpfx)globtest.out): Pass
75819 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75820 globtest.sh, not $(run-program-prefix).
75821 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75822 (test_wrapper): Likewise.
75823 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75824 set together with run_via_rtld_prefix.
75825 (run_program_prefix): Define in terms of test_wrapper and
75826 run_via_rtld_prefix.
75827
75828 2012-10-24 Roland McGrath <roland@hack.frob.com>
75829
75830 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75831 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75832 Targets removed.
75833
75834 [BZ #14743]
75835 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75836 Declare __clock_getres, __clock_gettime, __clock_settime,
75837 __clock_nanosleep, and __clock_getcpuclockid.
75838 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75839 Remove librt_hidden_def (clock_gettime).
75840 * sysdeps/unix/clock_gettime.c: Likewise.
75841 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75842 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75843 * rt/clock_getres.c: Define __clock_getres as an alias.
75844 * sysdeps/posix/clock_getres.c: Likewise.
75845 * rt/clock_settime.c: Define __clock_settime as an alias.
75846 * sysdeps/unix/clock_settime.c: Likewise.
75847 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75848 * sysdeps/unix/clock_nanosleep.c: Likewise.
75849 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75850 * rt/clock-compat.c: New file.
75851 * rt/Makefile (librt-routines): Add clock-compat and move
75852 $(clock-routines) to ...
75853 (routines): ... here, new variable.
75854 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75855 Don't add get_clockfreq here.
75856 * rt/Versions (libc: GLIBC_2.17): New version set.
75857 Add clock_* symbols here.
75858 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75860 (GLIBC_2.17): Add clock_* symbols.
75861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75865 Likewise.
75866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75867 Likewise.
75868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75872 * NEWS: Mention the move.
75873
75874 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75875 Use __open, __read, __close rather than their public counterparts.
75876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75877 (__get_clockfreq_via_cpuinfo): Likewise.
75878 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75879 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75880
75881 * config.h.in (HAVE_IFUNC): New #undef.
75882 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75883 was successful.
75884 * configure: Regenerated.
75885
75886 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75887
75888 * configure.in: Move READELF check to start of file.
75889 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75890 libc_cv_asm_gnu_indirect_function in the process.
75891 * configure: Regenerated.
75892
75893 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75894
75895 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75896 send the output to /dev/null.
75897 (libc_cv_cc_with_libunwind): Likewise.
75898 (libc_cv_as_noexecstack): Likewise.
75899 * configure: Regenerate.
75900
75901 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75902
75903 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75904
75905 * posix/globtest.sh (TMPDIR): Do not set.
75906 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75907 (testout): Likewise.
75908
75909 2012-10-24 Andreas Jaeger <aj@suse.de>
75910
75911 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75912 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75913 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75914 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75915 posix_fadvise64, posix_fallocate64.
75916
75917 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75918 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75919 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75920 Likewise.
75921 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75922 Likewise.
75923 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75924
75925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75926 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75927 <bits/fcntl-linux.h>.
75928 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75929
75930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75931 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75932 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75933 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75934 [__WORDSIZE != 64]: Likewise.
75935
75936 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75937
75938 * Makeconfig (run-built-tests): New variable.
75939 * Rules [$(cross-compiling) = yes]: Change condition to
75940 [$(run-built-tests) = no].
75941 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75942 to [$(run-built-tests) = yes].
75943 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75944 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75945 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75946 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75947 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75948 * io/Makefile [$(cross-compiling) = no]: Likewise.
75949 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75950 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75951 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75952 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75953 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75954 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75955 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75956 * string/Makefile [$(cross-compiling) = no]: Likewise.
75957
75958 * posix/Makefile ($(objpfx)globtest.out): Pass
75959 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75960 $(rtld-installed-name).
75961 * posix/globtest.sh (elf_objpfx): Remove variable.
75962 (rtld_installed_name): Likewise.
75963 (library_path): Likewise.
75964 (run_program_prefix): New variable. Use for running globtest
75965 binary.
75966
75967 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75968 Joseph Myers <joseph@codesourcery.com>
75969
75970 * Makeconfig (host-built-program-cmd): New variable.
75971 * elf/Makefile (tst-stackguard1-ARGS): Use
75972 $(host-built-program-cmd).
75973 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75974 (tst-spawn-ARGS): Likewise.
75975 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75976
75977 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75978 Jim Blandy <jimb@codesourcery.com>
75979
75980 * Makeconfig (run-via-rtld-prefix): New variable.
75981 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75982 (built-program-cmd): Likewise.
75983
75984 2012-10-22 Andreas Jaeger <aj@suse.de>
75985
75986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75987 __O_RSYNC if it exists, otherwise to O_SYNC.
75988
75989 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75990 Joseph Myers <joseph@codesourcery.com>
75991
75992 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75993 /dev/null.
75994 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75995 from /dev/null
75996 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75997 /dev/null.
75998
75999 2012-10-22 Andreas Jaeger <aj@suse.de>
76000
76001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76002 Define always.
76003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76004
76005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76006 bits/fcntl-linux.h.
76007
76008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76009 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76010
76011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76012 to __O_LARGEFILE.
76013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76014 to __O_LARGEFILE.
76015
76016 2012-10-21 Jim Blandy <jimb@codesourcery.com>
76017 Joseph Myers <joseph@codesourcery.com>
76018
76019 * config.make.in (NM): New variable.
76020
76021 2012-10-21 Andreas Jaeger <aj@suse.de>
76022
76023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76024 definitions and declarations that are provided by
76025 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76026
76027 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76028
76029 [BZ #14683]
76030 * elf/Makefile (tests-static): Add tst-leaks1-static.
76031 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76032 ($(objpfx)tst-leaks1-static): New rule.
76033 ($(objpfx)tst-leaks1-static-mem): Likewise.
76034 (tst-leaks1-static-ENV): New macro.
76035 * elf/dl-open.c (dl_open_worker): Check the main application
76036 only if SHARED is defined.
76037 * elf/tst-leaks1-static.c: New file.
76038
76039 2012-10-20 Andreas Jaeger <aj@suse.de>
76040
76041 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76042 generic values for Linux.
76043 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76044 and declarations that are provided by <bits/fcntl-linux.h> and
76045 include <bits/fcntl-linux.h>.
76046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76048
76049 2012-10-20 Roland McGrath <roland@hack.frob.com>
76050
76051 * io/fcntl.h: Move include of <bits/types.h> to the top and
76052 include it unconditionally.
76053
76054 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
76055
76056 * wcsmbs/Makefile (tests-ifunc): New variable.
76057 (tests): Add $(tests-ifunc).
76058 * wcsmbs/test-wcschr-ifunc.c: New file.
76059 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76060 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76061 * wcsmbs/test-wcslen-ifunc.c: Likewise.
76062 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76063 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76064
76065 * string/Makefile (tests-ifunc): New variable.
76066 (tests): Add $(tests-ifunc).
76067 * string/test-memccpy.c (TEST_NAME): New macro.
76068 * string/test-memchr.c (TEST_NAME): Likewise.
76069 * string/test-memcmp.c (TEST_NAME): Likewise.
76070 * string/test-memcpy.c (TEST_NAME): Likewise.
76071 * string/test-memmem.c (TEST_NAME): Likewise.
76072 * string/test-memmove.c (TEST_NAME): Likewise.
76073 * string/test-memset.c (TEST_NAME): Likewise.
76074 * string/test-rawmemchr.c (TEST_NAME): Likewise.
76075 * string/test-stpcpy.c (TEST_NAME): Likewise.
76076 * string/test-stpncpy.c (TEST_NAME): Likewise.
76077 * string/test-strcasecmp.c (TEST_NAME): Likewise.
76078 * string/test-strcasestr.c (TEST_NAME): Likewise.
76079 * string/test-strcat.c (TEST_NAME): Likewise.
76080 * string/test-strchr.c (TEST_NAME): Likewise.
76081 * string/test-strcmp.c(TEST_NAME): Likewise.
76082 * string/test-strcpy.c (TEST_NAME): Likewise.
76083 * string/test-strcspn.c (TEST_NAME): Likewise.
76084 * string/test-strlen.c (TEST_NAME): Likewise.
76085 * string/test-strncasecmp.c (TEST_NAME): Likewise.
76086 * string/test-strncmp.c (TEST_NAME): Likewise.
76087 * string/test-strncpy.c (TEST_NAME): Likewise.
76088 * string/test-strnlen.c (TEST_NAME): Likewise.
76089 * string/test-strpbrk.c (TEST_NAME): Likewise.
76090 * string/test-strrchr.c (TEST_NAME): Likewise.
76091 * string/test-strspn.c (TEST_NAME): Likewise.
76092 * string/test-strstr.c (TEST_NAME): Likewise.
76093 * string/test-bcopy-ifunc.c: New file.
76094 * string/test-bzero-ifunc.c: Likewise.
76095 * string/test-memccpy-ifunc.c: Likewise.
76096 * string/test-memchr-ifunc.c: Likewise.
76097 * string/test-memcmp-ifunc.c: Likewise.
76098 * string/test-memcpy-ifunc.c: Likewise.
76099 * string/test-memmem-ifunc.c: Likewise.
76100 * string/test-memmove-ifunc.c: Likewise.
76101 * string/test-mempcpy-ifunc.c: Likewise.
76102 * string/test-memset-ifunc.c: Likewise.
76103 * string/test-rawmemchr-ifunc.c: Likewise.
76104 * string/test-stpcpy-ifunc.c: Likewise.
76105 * string/test-stpncpy-ifunc.c: Likewise.
76106 * string/test-strcasecmp-ifunc.c: Likewise.
76107 * string/test-strcasestr-ifunc.c: Likewise.
76108 * string/test-strcat-ifunc.c: Likewise.
76109 * string/test-strchr-ifunc.c: Likewise.
76110 * string/test-strchrnul-ifunc.c: Likewise.
76111 * string/test-strcmp-ifunc.c: Likewise.
76112 * string/test-strcpy-ifunc.c: Likewise.
76113 * string/test-strcspn-ifunc.c: Likewise.
76114 * string/test-strlen-ifunc.c: Likewise.
76115 * string/test-strncasecmp-ifunc.c: Likewise.
76116 * string/test-strncat-ifunc.c: Likewise.
76117 * string/test-strncmp-ifunc.c: Likewise.
76118 * string/test-strncpy-ifunc.c: Likewise.
76119 * string/test-strnlen-ifunc.c: Likewise.
76120 * string/test-strpbrk-ifunc.c: Likewise.
76121 * string/test-strrchr-ifunc.c: Likewise.
76122 * string/test-strspn-ifunc.c: Likewise.
76123 * string/test-strstr-ifunc.c: Likewise.
76124
76125 * debug/Makefile (tests-ifunc): New variable.
76126 (tests): Add $(tests-ifunc).
76127 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76128 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76129 * debug/test-stpcpy_chk-ifunc.c: New file.
76130 * debug/test-strcpy_chk-ifunc.c: Likewise.
76131
76132 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
76133
76134 [BZ #13601]
76135 * elf/dl-load.c (open_verify): Retry read if the entire ELF
76136 header is not read in.
76137
76138 2012-10-19 Joseph Myers <joseph@codesourcery.com>
76139
76140 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
76141 script to $(SHELL) as $<. Pass $(common-objpfx) to script
76142 directly. Pass built executable to script as
76143 $(built-program-cmd).
76144 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
76145 $testprogram without using LD_LIBRARY_PATH and $ldso.
76146
76147 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76148 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76149 $(rtld-installed-name).
76150 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76151 (rtld_installed_name): Likewise.
76152 (library_path): Likewise.
76153 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
76154 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76155 $(run-program-prefix) to tst-tables.sh.
76156 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
76157 it to run tst-table-from and tst-table-to.
76158 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76159 Pass it to tst-table.sh.
76160 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76161 $(run-program-prefix) to tst-gettext.sh.
76162 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76163 tst-translit.sh.
76164 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76165 tst-gettext2.sh.
76166 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
76167 to run tst-gettext.
76168 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
76169 to run tst-gettext2.
76170 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
76171 to run tst-translit.
76172 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76173 $(run-program-prefix) to tst-mtrace.sh.
76174 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
76175 to run tst-mtrace.
76176 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76177 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76178 $(rtld-installed-name).
76179 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76180 (rtld_installed_name): Likewise.
76181 (run_program_prefix): New variable. Use it to run wordexp-test.
76182
76183 * Makeconfig (ARCH): Remove all definitions.
76184 (machine): Likewise.
76185 [ARCH]: Remove conditional code.
76186 [!objdir]: Give error.
76187 [!objdir] (objpfx): Remove.
76188 [!objdir] (common-objpfx): Likewise.
76189 [!objdir] (common-objdir): Likewise.
76190 * configure.in (config_makefile): Remove. Hardcode Makefile in
76191 AC_CONFIG_FILES call.
76192 * configure: Regenerated.
76193
76194 [BZ #13888]
76195 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76196 or TMPDIR.
76197 (testout): Likewise.
76198
76199 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76200 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76201 $(rtld-installed-name).
76202 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76203 (rtld_installed_name): Likewise.
76204 (runit): Remove function.
76205 (run_getconf): New variable, Use it for running getconf binary.
76206
76207 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
76208
76209 [BZ #14716]
76210 * string/test-memmem.c (check_result): New function.
76211 (do_one_test): Use it.
76212 (check1): New function.
76213 (test_main): Use it.
76214
76215 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
76216
76217 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76218
76219 2012-10-18 Joseph Myers <joseph@codesourcery.com>
76220
76221 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76222 (_G_LSEEK64): Likewise.
76223 (_G_MMAP64): Likewise.
76224 (_G_FSTAT64): Likewise.
76225 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76226 (_G_LSEEK64): Likewise.
76227 (_G_MMAP64): Likewise.
76228 (_G_FSTAT64): Likewise.
76229 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76230 unconditional. Call __mmap64 directly.
76231 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76232 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
76233 __lseek64 directly.
76234 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76235 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
76236 __mmap64 directly.
76237 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76238 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
76239 __lseek64 directly.
76240 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76241 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
76242 __lseek64 directly.
76243 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76244 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
76245 __lseek64 directly.
76246 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76247 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
76248 __fxstat64 directly.
76249 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76250 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76251 unconditional.
76252 (freopen64) [!_G_OPEN64]: Remove conditional code.
76253 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76254 unconditional.
76255 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76256 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76257 unconditional.
76258 (ftello64) [!_G_LSEEK64]: Remove conditional code.
76259 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76260 unconditional.
76261 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76262 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76263 unconditional.
76264 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76265 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76266 unconditional.
76267 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76268 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76269 unconditional.
76270 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76271 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76272 unconditional.
76273 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76274
76275 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
76276
76277 [BZ #12140]
76278 * manual/memory.texi (Malloc Tunable Parameters): Add note
76279 about free list pointers overwriting some perturb bytes.
76280 Wording suggested by Roland McGrath.
76281
76282 2012-10-17 Joseph Myers <joseph@codesourcery.com>
76283
76284 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76285 (lgamma_test): Likewise.
76286 (tgamma_test): Likewise.
76287
76288 2012-10-16 Florian Weimer <fweimer@redhat.com>
76289
76290 [BZ #14700]
76291 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76292 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76293
76294 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
76295
76296 * NEWS: Mention BZ #14716.
76297 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76298 when removing AVAILABLE1_USES_J macro.
76299
76300 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
76301
76302 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76303 (__bswap_64): __uint64_t for unsigned 64-bit int.
76304
76305 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
76306
76307 * include/string.h (memmem): Declare libc hidden alias.
76308 * string/memmem.c (memmem): Define libc hidden alias.
76309 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76310 __read, __close instead of open, read, close.
76311
76312 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
76313
76314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76315 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76316 global and hidden.
76317 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76318 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76319 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76320 Likewise.
76321 (__rawmemchr_sse2): Likewise.
76322 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76323 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76324 (__strchr_sse2): Likewise.
76325 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76326 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76327 (__strcasecmp_sse2): Likewise.
76328 (__strncasecmp_sse2): Likewise.
76329 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76330 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76331 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76332 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76333 (__strrchr_sse2): Likewise.
76334 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76335 ifunc-impl-list.c.
76336 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76337 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76338 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76339 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76340 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76341 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76342 * sysdeps/x86_64/multiarch/memset.S: Likewise.
76343 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76344 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76345 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76346 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76347 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76348 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76349 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76350 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76351 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76352 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76353 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76354 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76355 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76356 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76357 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76358 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76359 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76360 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76361 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76362 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76363 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76364 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76365 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76366
76367 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76368 global and hidden.
76369 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76370 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76371 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76372 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76373 Likewise.
76374 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76375 Likewise.
76376 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76377 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76378 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76379 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76380 ifunc-impl-list.c.
76381 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76382 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76383 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76384 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76385 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76386 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76387 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76388 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76389 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76390 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76391 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76392 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76393 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76394 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76395 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76396 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76397 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76398 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76399 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76400 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76401 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76402 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76403 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76404 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76406 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76407 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76408 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76409 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76410 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76411 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76412 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76413 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76414 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76415 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76416 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76417 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76418 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76419 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76420 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76421 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76422
76423 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76424 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76425 * include/ifunc-impl-list.h: New file.
76426 * misc/ifunc-impl-list.c: Likewise.
76427 * misc/Makefile (routines): Add ifunc-impl-list.
76428 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76429 * string/test-string.h: Include <ifunc-impl-list.h>.
76430 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76431 TEST_NAME]: New variables.
76432 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76433 are defined.
76434 (test_init): Call __libc_ifunc_impl_list to initialize
76435 func_list if TEST_IFUNC and TEST_NAME are defined.
76436
76437 * string/Makefile (strop-tests): Add bcopy and bzero.
76438 * string/test-bcopy.c: New file.
76439 * string/test-bzero.c: Likewise.
76440 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76441 defined.
76442 * string/test-memset.c: Support bzero test if TEST_BZERO is
76443 defined.
76444 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76445 __libc_memmove.
76446 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76447 __libc_memset.
76448 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76449 of memset.
76450
76451 2012-10-10 Joseph Myers <joseph@codesourcery.com>
76452
76453 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76454 * configure: Regenerated.
76455
76456 * Makeconfig (+link-static-before-libc): Don't include
76457 $(link-static-libc).
76458
76459 * libio/libio.h (_IO_pos_t): Remove.
76460
76461 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76462
76463 * NEWS: Add note about FIPS mode. Wording suggested by Roland
76464 McGrath.
76465
76466 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76467
76468 * crypt/crypt-entry.c: Include fips-private.h.
76469 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76470 * crypt/md5c-test.c (main): Tolerate disabled MD5.
76471 * sysdeps/unix/sysv/linux/fips-private.h: New file.
76472 * sysdeps/generic/fips-private.h: New file, dummy fallback.
76473
76474 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
76475
76476 * crypt/crypt-private.h: Include stdbool.h.
76477 (_ufc_setup_salt_r): Return bool.
76478 * crypt/crypt-entry.c: Include errno.h.
76479 (__crypt_r): Return NULL with EINVAL for bad salt.
76480 * crypt/crypt_util.c (bad_for_salt): New.
76481 (_ufc_setup_salt_r): Check that salt is long enough and within
76482 the specified alphabet.
76483 * crypt/badsalttest.c: New file.
76484 * crypt/Makefile (tests): Add it.
76485 ($(objpfx)badsalttest): New.
76486
76487 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
76488
76489 * NEWS: Add entry for BZ #14602.
76490
76491 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76492
76493 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76494 type-generic.
76495 * math/libm-test.inc: Update comment listing what functions and
76496 macros are tested.
76497 (isgreater_test): New function.
76498 (isgreaterequal_test): Likewise.
76499 (isless_test): Likewise.
76500 (islessequal_test): Likewise.
76501 (islessgreater_test): Likewise.
76502 (isunordered_test): Likewise.
76503 (main): Call the new functions.
76504
76505 2012-10-09 Roland McGrath <roland@hack.frob.com>
76506
76507 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76508 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76509 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76510 * sysdeps/i386/configure: Regenerated.
76511 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76512 * sysdeps/mach/configure: Regenerated.
76513 * sysdeps/mach/hurd/configure: Regenerated.
76514 * sysdeps/powerpc/configure: Regenerated.
76515 * sysdeps/powerpc/powerpc32/configure: Regenerated.
76516 * sysdeps/powerpc/powerpc64/configure: Regenerated.
76517 * sysdeps/s390/s390-32/configure: Regenerated.
76518 * sysdeps/s390/s390-64/configure: Regenerated.
76519 * sysdeps/sh/configure: Regenerated.
76520 * sysdeps/sparc/configure: Regenerated.
76521 * sysdeps/unix/sysv/linux/configure: Regenerated.
76522 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76523 * sysdeps/x86_64/configure: Regenerated.
76524
76525 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76526 defined. Don't check if MAP is NULL.
76527
76528 2012-10-09 Joseph Myers <joseph@codesourcery.com>
76529
76530 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76531 (_G_stat64): Likewise.
76532 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76533 (_G_stat64): Likewise.
76534 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76535 instead of struct _G_stat64.
76536 * libio/fileops.c (mmap_remap_check): Likewise.
76537 (decide_maybe_mmap): Likewise.
76538 (_IO_new_file_seekoff): Likewise.
76539 (_IO_file_stat): Likewise.
76540 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76541 _G_off64_t.
76542 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76543 instead of struct _G_stat64.
76544 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76545
76546 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
76547
76548 [BZ #14602]
76549 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76550 Replace with ...
76551 (CHECK_EOL): New macro.
76552 (two_way_short_needle): Check beginning of haystack for EOL. Use
76553 CHECK_EOL.
76554 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76555 Replace with CHECK_EOL.
76556 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76557 Replace with CHECK_EOL.
76558
76559 2012-10-08 Joseph Myers <joseph@codesourcery.com>
76560
76561 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76562 type-generic.
76563 * math/libm-test.inc: Update comment listing what functions and
76564 macros are tested.
76565 (finite_test): New function.
76566 (isinf_test): Likewise.
76567 (isnan_test): Likewise.
76568 (fpclassify_test): Test subnormal input.
76569 (isfinite_test): Likewise.
76570 (isnormal_test): Likewise.
76571 (main): Call the new functions.
76572
76573 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
76574
76575 [BZ #14660]
76576 * Makerules (%.dynsym): Force C locale when running
76577 $(OBJDUMP) --dynamic-syms.
76578
76579 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
76580
76581 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76582 <stdint.h>.
76583
76584 2012-10-06 David S. Miller <davem@davemloft.net>
76585
76586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76587 upper 32-bits of the length value in %o2 since we use branch-on-register
76588 tests which consider the entire 64-bit register.
76589
76590 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
76591
76592 * string/test-strstr.c (check2): Add a test for page boundary.
76593
76594 2012-10-05 David S. Miller <davem@davemloft.net>
76595
76596 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76598 file.
76599 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76600 sysdep_routines.
76601 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76602 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76603 and bzero when HWCAP_SPARC_CRYPTO is present.
76604
76605 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
76606
76607 [BZ #14602]
76608 * string/test-strstr.c (check2): New function.
76609 (test_main): Call check2.
76610
76611 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76612 and bug-strchr1.
76613 * string/bug-strcasestr1.c (do_test): Moved to ...
76614 * string/test-strcasestr.c (check1): Here. New function.
76615 (do_one_test): Break out result checking code into ...
76616 (check_result): This. New function.
76617 (do_one_test): Call check_result.
76618 (test_main): Call check1.
76619 * string/bug-strchr1.c (do_test): Moved to ...
76620 * string/test-strchr.c (check1): Here. New function.
76621 (do_one_test): Break out result checking code into ...
76622 (check_result): This. New function.
76623 (do_one_test): Call check_result.
76624 (test_main): Call check1.
76625 * string/bug-strstr1.c (main): Moved to ...
76626 * string/test-strstr.c (check1): Here. New function.
76627 (do_one_test): Break out result checking code into ...
76628 (check_result): This. New function.
76629 (do_one_test): Call check_result.
76630 (test_main): Call check1.
76631 * string/bug-strcasestr1.c: Removed.
76632 * string/bug-strchr1.c: Likewise.
76633 * string/bug-strstr1.c: Likewise.
76634
76635 * elf/Makefile (dl-routines): Add hwcaps.
76636 * elf/dl-support.c (_dl_important_hwcaps): Removed.
76637 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76638 (_dl_important_hwcaps): Moved to ...
76639 * elf/dl-hwcaps.c: Here. New file.
76640 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76641
76642 [BZ #14557]
76643 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76644 if IS_IN_rtld isn't defined.
76645
76646 * elf/dl-support.c (_dl_sysinfo_map): New.
76647 Include "get-dynamic-info.h" and "setup-vdso.h".
76648 (_dl_non_dynamic_init): Call setup_vdso.
76649 * elf/dynamic-link.h: Don't include <assert.h>.
76650 (elf_get_dynamic_info): Moved to ...
76651 * elf/get-dynamic-info.h: Here. New file.
76652 * elf/dynamic-link.h: Include "get-dynamic-info.h".
76653 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76654 * elf/setup-vdso.h: Here. New file.
76655 * elf/rtld.c: Include "setup-vdso.h".
76656 (dl_main): Call setup_vdso.
76657
76658 2012-10-05 Joseph Myers <joseph@codesourcery.com>
76659
76660 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76661 creal in comment listing functions tested. List finite, isinf,
76662 isnan, isless, islessequal, isgreater, isgreaterequal,
76663 islessgreater, isunordered, lgamma_r and pow10 as functions and
76664 macros not tested. Mention which functions not tested are aliases
76665 for other functions. Fix typo. Note that signs of NaNs are not
76666 tested.
76667
76668 * scripts/config.guess: Update from config.git.
76669 * scripts/config.sub: Likewise.
76670
76671 2012-10-04 Roland McGrath <roland@hack.frob.com>
76672
76673 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76674 * misc/madvise.c (madvise): Renamed to __madvise.
76675 Make madvise a weak alias.
76676 * include/sys/mman.h: Declare __madvise.
76677 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76678 * sysdeps/unix/syscalls.list
76679 (madvise): Make __madvise the strong name, and madvise a weak alias.
76680 * sysdeps/unix/sysv/linux/syscalls.list
76681 (madvise, mmap): Remove redundant entries.
76682 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76683 * malloc/malloc.c (mtrim): Likewise.
76684 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76685
76686 2012-10-03 Roland McGrath <roland@hack.frob.com>
76687
76688 * sysdeps/mach/hurd/dl-cache.c: File removed.
76689 * config.h.in (USE_LDCONFIG): New #undef.
76690 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76691 * configure: Regenerated.
76692 * elf/Makefile (dl-routines): Add dl-cache only under
76693 [$(use-ldconfig) = yes].
76694 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76695 cache on [USE_LDCONFIG].
76696 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76697 [USE_LDCONFIG].
76698 * elf/rtld.c (dl_main): Likewise.
76699
76700 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
76701
76702 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76703 _SC_LEVEL4_CACHE_LINESIZE.
76704
76705 2012-10-03 Roland McGrath <roland@hack.frob.com>
76706
76707 * sysdeps/unix/bsd/confstr.h: File removed.
76708
76709 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
76710
76711 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76712 sys/sdt-config.h.
76713
76714 2012-10-02 Roland McGrath <roland@hack.frob.com>
76715
76716 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76717 Make 'mapoff' field ElfW(Off) rather than off_t.
76718
76719 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
76720
76721 * nscd/Makefile: Remove nscd-cflags and all its users.
76722 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76723 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76724
76725 [BZ #10631]
76726 * malloc.c (malloc_printerr): Clarify error message.
76727
76728 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76729
76730 [BZ #14648]
76731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76732 Set bit_FMA_Usable if FMA is supported.
76733 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76734 macro.
76735 (bit_FMA4_Usable): Updated.
76736 (index_FMA_Usable): New macro.
76737 (CPUID_FMA): Likewise.
76738 (HAS_FMA): Defined with bit_FMA_Usable.
76739
76740 2012-10-01 Roland McGrath <roland@hack.frob.com>
76741
76742 * bits/types.h (__swblk_t): Type removed.
76743 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76744 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76746 (__SWBLK_T_TYPE): Likewise.
76747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76748 (__SWBLK_T_TYPE): Likewise.
76749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76750 (__SWBLK_T_TYPE): Likewise.
76751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76752 (__SWBLK_T_TYPE): Likewise.
76753
76754 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76755 Honza Horak <hhorak@redhat.com>
76756
76757 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76758 (xdr_mapname): Use YPMAXMAP as maxsize.
76759 (xdr_peername): Use YPMAXPEER as maxsize.
76760 (xdr_keydat): Use YPAXRECORD as maxsize.
76761 (xdr_valdat): Use YPMAXRECORD as maxsize.
76762
76763 2012-10-01 Roland McGrath <roland@hack.frob.com>
76764
76765 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76766
76767 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76768 * csu/init-first.c: ... here.
76769 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76770 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76771 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76772 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76773 * sysdeps/i386/init-first.c: File removed.
76774 * sysdeps/sh/init-first.c: File removed.
76775
76776 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76777
76778 [BZ #14645]
76779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76780 if x * y might underflow to zero and z is zero.
76781 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76783 * math/libm-test.inc (min_subnorm_value): New variable.
76784 (fma_test): Add more tests.
76785 (fma_test_towardzero): Likewise.
76786 (fma_test_downward): Likewise.
76787 (fma_test_upward): Likewise.
76788 (initialize): Set min_subnorm_value.
76789
76790 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76791
76792 [BZ #14638]
76793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76794 0 + 0.
76795 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76796 mode for addition resulting in exact zero.
76797 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76799 exact 0 + 0.
76800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76802 * math/libm-test.inc (fma_test): Add more tests.
76803 (fma_test_towardzero): New function.
76804 (fma_test_downward): Likewise.
76805 (fma_test_upward): Likewise.
76806 (main): Call the new functions.
76807
76808 2012-09-28 David S. Miller <davem@davemloft.net>
76809
76810 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76811
76812 2012-09-28 Roland McGrath <roland@hack.frob.com>
76813
76814 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76815 instead of SIGALRM.
76816
76817 * sysdeps/gnu/_G_config.h: Moved to ...
76818 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76819 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76820 * sysdeps/generic/_G_config.h: ... here.
76821
76822 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76823
76824 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76825
76826 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76827 Conditionalize target on [libnss_test1.so-version].
76828
76829 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76830
76831 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76832 (elfobjdir): Move out of conditionals.
76833
76834 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76835 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76836 (__nss_lookup_function): Conditionalize label remove_from_tree on
76837 [!DO_STATIC_NSS || SHARED], matching its only use.
76838
76839 2012-09-28 David S. Miller <davem@davemloft.net>
76840
76841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76842 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76843 file.
76844 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76845 sysdep_routines.
76846 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76848 when HWCAP_SPARC_CRYPTO is present.
76849
76850 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76851
76852 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76853
76854 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76855
76856 [BZ #6530]
76857 * stdio-common/vfprintf.c (process_string_arg): Revert
76858 2000-07-22 change.
76859
76860 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76861
76862 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76863 for testcase.
76864 * stdio-common/tst-sprintf.c: Include <locale.h>
76865 (main): Test sprintf's handling of incomplete multibyte
76866 characters.
76867
76868 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76869
76870 * elf/dl-runtime.c (VERSYMIDX): Removed.
76871 * elf/dl-version.c (VERSYMIDX): Likewise.
76872 * elf/do-rel.h (VERSYMIDX): Likewise.
76873 (VALIDX): Likewise.
76874 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76875 * elf/rtld.c (VALIDX): Likewise.
76876 (ADDRIDX): Likewise.
76877 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76878 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76879 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76880 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76881 (VALIDX): Likewise.
76882 (ADDRIDX): Likewise.
76883
76884 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76885
76886 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76887
76888 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76889
76890 [BZ #11438]
76891 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76892 to global scope.
76893 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76894 addresses are in the same scope as 192.0.2/24.
76895 * posix/gai.conf: Document new scope table defaults.
76896
76897 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76898
76899 [BZ #5298]
76900 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76901 for ftell. Compute offsets from write pointers instead.
76902 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76903
76904 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76905
76906 [BZ #14543]
76907 * libio/Makefile (tests): New test case tst-fseek.
76908 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76909 combination works in wide mode.
76910 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76911 state when the external buffer state changes.
76912
76913 2012-09-27 David S. Miller <davem@davemloft.net>
76914
76915 [BZ #14376]
76916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76917 pass reloc->r_addend in as the 'high' argument to
76918 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76919
76920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76921
76922 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76923
76924 * rt/tst-aio2.c: Include <pthread.h>.
76925 * rt/tst-aio3.c: Likewise.
76926
76927 2012-09-27 Steve Ellcey <sellcey@mips.com>
76928
76929 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76930
76931 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76932
76933 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76934 contents on [SHARED].
76935
76936 2012-09-26 Marek Polacek <polacek@redhat.com>
76937
76938 [BZ #14530]
76939 [BZ #13741]
76940 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76941 for C++ and GCC <4.3 as well as for non GCC compilers.
76942
76943 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76944
76945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76946
76947 2012-09-25 Roland McGrath <roland@hack.frob.com>
76948
76949 * Makefile.in (all, install): Declare with .PHONY.
76950 Reported by Michael Hope <michael.hope@linaro.org>.
76951
76952 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76953
76954 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76955 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76956 system header.
76957 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76958 Likewise.
76959 (sydep_routines): Add the new and the internal functions.
76960 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76961 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76963 (GLIBC_2.17): Add the new function.
76964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76965 (GLIBC_2.17): Likewise.
76966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76967 (GLIBC_2.17): Likewise.
76968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76969 (GLIBC_2.17): Likewise.
76970 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76971
76972 2012-09-25 Alan Modra <amodra@gmail.com>
76973
76974 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76975 Add release barrier before setting once_control to say
76976 initialisation is done. Add hints on lwarx. Use macro in
76977 place of isync.
76978 (clear_once_control): Add release barrier.
76979
76980 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76981
76982 [BZ #13629]
76983 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76984 specially.
76985 * math/s_clog10.c (__clog10): Likewise.
76986 * math/s_clog10f.c (__clog10f): Likewise.
76987 * math/s_clog10l.c (__clog10l): Likewise.
76988 * math/s_clogf.c (__clogf): Likewise.
76989 * math/s_clogl.c (__clogl): Likewise.
76990 * math/Makefile (libm-calls): Add x2y2m1.
76991 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76992 (__x2y2m1): Likewise.
76993 (__x2y2m1l): Likewise.
76994 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76995 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76996 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76997 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76998 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76999 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77000 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77001 * sysdeps/i386/fpu/libm-test-ulps: Update.
77002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77003
77004 [BZ #14621]
77005 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77006 int as type of variable DEPTH.
77007 (glob): Use size_t instead of int as type of variables NEWCOUNT
77008 and OLD_PATHC.
77009
77010 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77011
77012 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77013 Add s_sincosf-sse2.
77014 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77015 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77016 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77017 macros for using routine as __sincosf_ia32.
77018 Use macro for function declaration and weak_alias.
77019 * sysdeps/i386/fpu/libm-test-ulps: Update.
77020
77021 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77023
77024 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77025 subnormal argument.
77026 * math/s_cexpf.c (__cexpf): Likewise.
77027 * math/s_csinf.c (__csinf): Likewise.
77028 * math/s_csinhf.c (__csinhf): Likewise.
77029 * math/s_ctanf.c (__ctanf): Likewise.
77030 * math/s_ctanhf.c (__ctanhf): Likewise.
77031 * math/s_ccosh.c (__ccoshf): Likewise.
77032 * math/s_cexp.c (__cexpl): Likewise.
77033 * math/s_csin.c (__csin): Likewise.
77034 * math/s_csinh.c (__csinh): Likewise.
77035 * math/s_ctan.c (__ctan): Likewise.
77036 * math/s_ctanh.c (ctanh): Likewise.
77037 * math/s_ccoshl.c (__ccoshl): Likewise.
77038 * math/s_cexpl.c (__cexpl): Likewise.
77039 * math/s_csinl.c (__csinl): Likewise.
77040 * math/s_csinhl.c (__csinhl): Likewise.
77041 * math/s_ctanl.c (__ctanl): Likewise.
77042 * math/s_ctanhl.c (__ctanhl): Likewise.
77043
77044 2012-09-25 Joseph Myers <joseph@codesourcery.com>
77045
77046 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77047 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77048 (_IO_off_t): Define to __off_t, not _G_off_t.
77049 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77050 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77051 (_IO_wint_t): Define to wint_t, not _G_wint_t.
77052 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77053 type of __dummy and __dummy2 fields.
77054 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77055 (_G_ssize_t): Likewise.
77056 (_G_off_t): Likewise.
77057 (_G_pid_t): Likewise.
77058 (_G_uid_t): Likewise.
77059 (_G_wchar_t): Likewise.
77060 (_G_wint_t): Likewise.
77061 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77062 (_G_ssize_t): Likewise.
77063 (_G_off_t): Likewise.
77064 (_G_pid_t): Likewise.
77065 (_G_uid_t): Likewise.
77066 (_G_wchar_t): Likewise.
77067 (_G_wint_t): Likewise.
77068 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77069 (_G_ssize_t): Likewise.
77070 (_G_off_t): Likewise.
77071 (_G_pid_t): Likewise.
77072 (_G_uid_t): Likewise.
77073 (_G_wchar_t): Likewise.
77074 (_G_wint_t): Likewise.
77075
77076 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77077
77078 * malloc/arena.c: Include malloc-sysdep.h.
77079 (shrink_heap): Use check_may_shrink_heap to decide if madvise
77080 is sufficient to shrink the heap or an unmap is needed.
77081 * sysdeps/generic/malloc-sysdep.h: New file. Define
77082 new function check_may_shrink_heap.
77083 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
77084 new function check_may_shrink_heap.
77085
77086 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77087
77088 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77089 comments.
77090
77091 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
77092
77093 * catgets/test-gencat.sh: Add "set -e".
77094 * elf/tst-pathopt.sh: Likewise.
77095 * grp/tst_fgetgrent.sh: Likewise.
77096 * iconvdata/run-iconv-test.sh: Likewise.
77097 * intl/tst-gettext.sh: Likewise.
77098 * intl/tst-gettext2.sh: Likewise.
77099 * intl/tst-gettext4.sh: Likewise.
77100 * intl/tst-gettext6.sh: Likewise.
77101 * intl/tst-translit.sh: Likewise.
77102 * io/ftwtest-sh: Likewise.
77103 * libio/test-freopen.sh: Likewise.
77104 * malloc/tst-mtrace.sh: Likewise.
77105 * posix/globtest.sh: Likewise.
77106 * posix/tst-getconf.sh: Likewise.
77107 * posix/wordexp-tst.sh: Likewise.
77108 * stdio-common/tst-printf.sh: Likewise.
77109 * stdio-common/tst-unbputc.sh: Likewise.
77110 * stdlib/tst-fmtmsg.sh: Likewise.
77111 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77112 * catgets/Makefile: Do not specify -e option when running
77113 testsuite shell scripts.
77114 * elf/Makefile: Likewise.
77115 * grp/Makefile: Likewise.
77116 * iconvdata/Makefile: Likewise.
77117 * intl/Makefile: Likewise.
77118 * io/Makefile: Likewise.
77119 * libio/Makefile: Likewise.
77120 * malloc/Makefile: Likewise.
77121 * posix/Makefile: Likewise.
77122 * stdio-common/Makefile: Likewise.
77123 * stdlib/Makefile: Likewise.
77124 * sysdeps/x86_64/Makefile: Likewise.
77125
77126 * io/ftwtest-sh: Add copyright header.
77127 * posix/globtest.sh: Likewise.
77128 * posix/tst-getconf.sh: Likewise.
77129 * posix/wordexp-tst.sh: Likewise.
77130 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77131
77132 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
77133
77134 [BZ #13679]
77135 * Makeconfig (+link): Defined as $(+link-static) if
77136 $(build-shared) isn't yes.
77137 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77138 isn't yes.
77139 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77140
77141 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77142
77143 [BZ #14562]
77144 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77145 new chunk size with MALLOC_ALIGN_MASK.
77146
77147 2012-09-24 Joseph Myers <joseph@codesourcery.com>
77148
77149 [BZ #5044]
77150 * stdio-common/printf_fphex.c: Include <stdbool.h> and
77151 <rounding-mode.h>.
77152 (__printf_fphex): Determine rounding using get_rounding_mode and
77153 round_away.
77154 * stdio-common/tst-printf-round.c (struct hex_test): New
77155 structure.
77156 (hex_tests): New variable.
77157 (test_hex_in_one_mode): New function.
77158 (do_test): Also run tests for hex float output.
77159
77160 2012-09-21 Joseph Myers <joseph@codesourcery.com>
77161
77162 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77163 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77164 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77165 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77166 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77167 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77168 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77169 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77170
77171 2012-09-20 Joseph Myers <joseph@codesourcery.com>
77172
77173 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77174 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77175 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77176 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77177
77178 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
77179
77180 [BZ #14579]
77181 * elf/rtld.c (dl_main): Limit the check for self loading to normal
77182 mode only.
77183 * elf/tst-rtld-load-self.sh: New test.
77184 * elf/Makefile: Run it.
77185
77186 2012-09-18 Joseph Myers <joseph@codesourcery.com>
77187
77188 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77189 (tst-writev-ENV): Remove.
77190 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77191
77192 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
77193
77194 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77195
77196 2012-09-17 Joseph Myers <joseph@codesourcery.com>
77197
77198 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77199 unconditional.
77200 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77201 Likewise.
77202 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77203 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77204 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77205 Likewise.
77206
77207 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
77208
77209 [BZ #14587]
77210 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77211 * config.make.in (have-cpp-asm-debuginfo): Removed.
77212 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77213 * configure: Regenerated.
77214
77215 2012-09-14 Joseph Myers <joseph@codesourcery.com>
77216
77217 [BZ #5044]
77218 * stdio-common/printf_fp.c: Include <stdbool.h> and
77219 <rounding-mode.h>.
77220 (___printf_fp): Determine rounding using get_rounding_mode and
77221 round_away.
77222 * stdio-common/tst-printf-round.c: New file.
77223 * stdio-common/Makefile (tests): Add tst-printf-round.
77224 (link-libm): New variable.
77225 ($(objpfx)tst-printf-round): Depend in $(link-libm).
77226
77227 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
77228
77229 [BZ #14576]
77230 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77231 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77232 Likewise.
77233 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77234 Likewise.
77235
77236 2012-09-13 Joseph Myers <joseph@codesourcery.com>
77237
77238 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77239 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77240 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77241 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77242
77243 2012-09-12 Joseph Myers <joseph@codesourcery.com>
77244
77245 [BZ #14518]
77246 * include/rounding-mode.h: New file.
77247 * sysdeps/generic/get-rounding-mode.h: Likewise.
77248 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77249 * stdlib/strtod_l.c: Include <rounding-mode.h>.
77250 (MAX_VALUE): New macro.
77251 (MIN_VALUE): Likewise.
77252 (overflow_value): New function.
77253 (underflow_value): Likewise.
77254 (round_and_return): Use overflow_value and underflow_value to
77255 determine return values in overflow and underflow cases. Use
77256 round_away to determine rounding depending on rounding mode.
77257 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77258 determine return values in overflow and underflow cases.
77259 * stdlib/tst-strtod-round.c: Include <fenv.h>.
77260 (struct test_results): New structure.
77261 (struct test): Use struct test_results to store expected results
77262 for all rounding modes.
77263 (TEST): Include expected results for all rounding modes.
77264 (test_in_one_mode): New function.
77265 (do_test): Use test_in_one_mode to compute and check results.
77266 Check results for all rounding modes.
77267 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77268 $(link-libm).
77269
77270 2012-12-09 Allan McRae <allan@archlinux.org>
77271
77272 * sysdeps/i386/fpu/libm-test-ulps: Update
77273
77274 2012-09-11 Joseph Myers <joseph@codesourcery.com>
77275
77276 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77277 (_G_int32_t): Likewise.
77278 (_G_uint16_t): Likewise.
77279 (_G_uint32_t): Likewise.
77280 (_G_HAVE_BOOL): Likewise.
77281 (_G_HAVE_ATEXIT): Likewise.
77282 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77283 (_G_HAVE_IO_FILE_OPEN): Likewise.
77284 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77285 (_G_int32_t): Likewise.
77286 (_G_uint16_t): Likewise.
77287 (_G_uint32_t): Likewise.
77288 (_G_HAVE_BOOL): Likewise.
77289 (_G_HAVE_ATEXIT): Likewise.
77290 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77291 (_G_HAVE_IO_FILE_OPEN): Likewise.
77292 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77293 (_G_int32_t): Likewise.
77294 (_G_uint16_t): Likewise.
77295 (_G_uint32_t): Likewise.
77296 (_G_HAVE_BOOL): Likewise.
77297 (_G_HAVE_ATEXIT): Likewise.
77298 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77299 (_G_HAVE_IO_FILE_OPEN): Likewise.
77300
77301 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
77302
77303 * csu/libc-tls.c: Update copyright years.
77304
77305 2012-09-10 Joseph Myers <joseph@codesourcery.com>
77306
77307 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77308 [!_G_USING_THUNKS]: Remove conditional code.
77309 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77310 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77311
77312 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77313 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77314 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77315 (_G_VTABLE_LABEL_PREFIX): Likewise.
77316 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77317 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77318 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77319 (_G_VTABLE_LABEL_PREFIX): Likewise.
77320 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77321 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77322 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77323 (_G_VTABLE_LABEL_PREFIX): Likewise.
77324 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77325
77326 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
77327
77328 * libio/Makefile: Include ../Makeconfig before tests.
77329 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77330 only if $(build-shared) is yes.
77331
77332 * iconv/gconv_db.c: Update copyright years.
77333
77334 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77335
77336 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77337 unwind info if defined PIC. Fix special cases description.
77338 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77339
77340 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77341 DP_HI_MASK entry.
77342 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77343
77344 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
77345
77346 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77347
77348 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77349 is NULL.
77350
77351 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77352 (LDLIBS-tst-chk4): This.
77353 (LDFLAGS-tst-chk5): Renamed to ...
77354 (LDLIBS-tst-chk5): This.
77355 (LDFLAGS-tst-chk6): Renamed to ...
77356 (LDLIBS-tst-chk6): This.
77357 (LDFLAGS-tst-lfschk4): Renamed to ...
77358 (LDLIBS-tst-lfschk4): This.
77359 (LDFLAGS-tst-lfschk5): Renamed to ...
77360 (LDLIBS-tst-lfschk5): This.
77361 (LDFLAGS-tst-lfschk6): Renamed to ...
77362 (LDLIBS-tst-lfschk6): This.
77363
77364 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77365 on $(common-objpfx)soversions.mk.
77366
77367 2012-09-07 Joseph Myers <joseph@codesourcery.com>
77368
77369 [BZ #10014]
77370 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77371 example host name.
77372
77373 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
77374
77375 * malloc/arena.c (arena_get_retry): New function that gets
77376 another arena for the caller to try its request on.
77377 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77378 current arena cannot fulfill the request.
77379 (__libc_memalign): Likewise.
77380 (__libc_memalign): Likewise.
77381 (__libc_pvalloc): Likewise.
77382 (__libc_calloc): Likewise.
77383
77384 2012-09-05 John Tobey <john.tobey@gmail.com>
77385
77386 [BZ #13542]
77387 * manual/arith.texi (Operations on Complex): Fix description
77388 of carg branch cut.
77389
77390 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77391
77392 [BZ #10014]
77393 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77394 host name.
77395
77396 [BZ #10038]
77397 * manual/memory.texi (Memory): Make order of menu items match
77398 order of sections.
77399
77400 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77401
77402 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77403 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
77404 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77405
77406 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77407
77408 * csu/libc-tls.c (static_dtv): Renamed to ...
77409 (_dl_static_dtv): This. Make it global.
77410 (_dl_initial_dtv): Removed.
77411 (__libc_setup_tls): Updated.
77412 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77413 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77414 DL_INITIAL_DTV.
77415
77416 2012-09-06 Petr Machata <pmachata@redhat.com>
77417
77418 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77419 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77420 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77421 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77422
77423 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77424
77425 [BZ #14545]
77426 * csu/libc-tls.c (_dl_initial_dtv): New variable.
77427 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77428 freeing dtv[-1].
77429
77430 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
77431
77432 [BZ #14544]
77433 * Makeconfig (link-static-before-libc): Replace $(+prector)
77434 with $(+prectorT).
77435 (link-static-after-libc): Replace $(+postctor) with
77436 $(+postctorT).
77437 (link-bounded): Replace $(+prector)/$(+postctor) with
77438 $(+prectorT)/$(+postctorT).
77439 (+prectorT): New macro.
77440 (+postctorT): Likewise.
77441
77442 2012-09-06 Joseph Myers <joseph@codesourcery.com>
77443
77444 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77445 (round_str): Handle values above the maximum for IBM long double
77446 as inexact.
77447 * stdlib/tst-strtod-round.c (tests): Regenerated.
77448
77449 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77450
77451 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77452 assembler flag.
77453 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77454 zarch_nohighgprs around the zarch optimized routines.
77455 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77456 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77457 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77458 for zarch.
77459
77460 2012-09-05 David S. Miller <davem@davemloft.net>
77461
77462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77463
77464 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77465 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77466 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77467 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77468 entries.
77469
77470 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77471
77472 * malloc/arena.c: Fold copyright years.
77473 * malloc/mcheck.c, malloc/memusage.c: Likewise.
77474
77475 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77476
77477 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77478
77479 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77480
77481 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77482
77483 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77484
77485 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77486 change internal state upon failure.
77487
77488 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
77489
77490 * malloc/mcheck.c (mcheck_check_all): Fix typo.
77491 * malloc/memusage.c (mmap): Likewise.
77492 (mmap64, mremap): Likewise. Adjust name in comment.
77493
77494 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77495
77496 * libio/fileops.c: Fix typos in comments.
77497 * libio/oldfileops.c: Likewise.
77498 * libio/wfileops.c: Likewise.
77499
77500 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
77501
77502 [BZ #1349]
77503 * malloc/Makefile (tests): Add tst-malloc-usable test case.
77504 (tst-malloc-usable-ENV): Set environment for test case.
77505 * malloc/hooks.c (malloc_check_get_size): New function to get
77506 requested size.
77507 * malloc/malloc.c (musable): Use malloc_check_get_size.
77508 * malloc/tst-malloc-usable.c: New test case.
77509
77510 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77511
77512 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77513
77514 2012-09-05 Allan McRae <allan@archlinux.org>
77515
77516 [BZ #13966]
77517 * configure.in (CXX_SYSINCLUDES): Use compiler output to
77518 determine header location.
77519 * configure: Regenerated.
77520
77521 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
77522
77523 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77524 float format.
77525 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77526 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77527 format.
77528 (test): Regenerate.
77529
77530 2012-09-04 David S. Miller <davem@davemloft.net>
77531
77532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77535
77536 2012-09-04 Florian Weimer <fweimer@redhat.com>
77537
77538 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77539 failures.
77540
77541 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77542
77543 2012-09-04 Joseph Myers <joseph@codesourcery.com>
77544
77545 [BZ #9914]
77546 * libio/iogetdelim.c: Include <limits.h>.
77547 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77548 + len + 1 would overflow.
77549
77550 2012-09-03 Andreas Jaeger <aj@suse.de>
77551
77552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77553 * sysdeps/i386/fpu/libm-test-ulps: Update.
77554
77555 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77556
77557 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77558 Add s_sinf-sse2, s_conf-sse2.
77559
77560 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77561 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77562 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77563 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77564
77565 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77566 for using routine as __sinf_ia32.
77567 Use macro for function declaration and weak_alias.
77568 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77569 for using routine as __cosf_ia32.
77570 Use macro for function declaration and weak_alias.
77571
77572 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77573 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77574
77575 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77576 * sysdeps/x86_64/fpu/s_cosf.S: New file.
77577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77578
77579 * math/libm-test.inc (cos_test): Add more test cases.
77580 (sin_test): Likewise.
77581 (sincos_test): Likewise.
77582
77583 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77584
77585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77586 (IFUNC_RESOLVE): Make pointers to the specialized implementations
77587 hidden.
77588 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77589
77590 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
77591
77592 [BZ #14538]
77593 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77594 first element of the GOT.
77595 (elf_machine_load_address): Return the difference between
77596 the runtime address of _DYNAMIC and elf_machine_dynamic ().
77597
77598 2012-09-01 Allan McRae <allan@archlinux.org>
77599
77600 [BZ #13412]
77601 * configure.in (AWK): Require gawk version 3.0 or later.
77602 * configure: Regenerated.
77603
77604 2012-09-01 Joseph Myers <joseph@codesourcery.com>
77605
77606 * sysdeps/unix/sysv/linux/kernel-features.h
77607 (__ASSUME_POSIX_CPU_TIMERS): Remove.
77608 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77609 [__NR_clock_getres]: Make code unconditional.
77610 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77611 (clock_getcpuclockid): Remove code left unreachable by removal of
77612 conditionals.
77613 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77614 code unconditional.
77615 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77616 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77617 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77618 Make code unconditional.
77619 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77620 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77621 * sysdeps/unix/sysv/linux/clock_settime.c
77622 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77623 conditional code.
77624 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77625 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77626
77627 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
77628
77629 [BZ #14476]
77630 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77631 scripts/test-installation.pl.
77632
77633 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77634 and $ld_so_version if it is set.
77635
77636 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
77637
77638 [BZ #14516]
77639 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77640 failure if reading from procfs failed.
77641 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77642
77643 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77644
77645 * sysdeps/unix/sysv/linux/kernel-features.h
77646 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77647 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77648 Remove conditional code.
77649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77650 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77651 Remove conditional code.
77652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77653 * sysdeps/unix/sysv/linux/i386/fxstat.c
77654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77656 * sysdeps/unix/sysv/linux/i386/fxstatat.c
77657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77659 * sysdeps/unix/sysv/linux/i386/lxstat.c
77660 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77662 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77663 Remove conditional code.
77664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77665 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77666 Remove conditional code.
77667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77668 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77669 <kernel-features.h>.
77670 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77671 Remove.
77672 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77673 Remove conditional code.
77674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77675 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77676 Remove conditional.
77677
77678 2012-08-27 Mike Frysinger <vapier@gentoo.org>
77679
77680 [BZ #5400]
77681 * NEWS: Add fixed bug number.
77682
77683 2012-08-27 Joseph Myers <joseph@codesourcery.com>
77684
77685 [BZ #14519]
77686 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77687 underflowing exponent in case of negative sign.
77688 * stdlib/tst-strtod-round-data: Add more tests.
77689 * stdlib/tst-strtod-round.c (tests): Regenerated.
77690
77691 [BZ #3479]
77692 * stdlib/strtod_l.c (NDIG): Remove.
77693 (HEXNDIG): Likewise.
77694 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77695 smallest representable value.
77696 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77697 lie within an exact representation of 1/2 ulp of the result.
77698 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77699 unconditionally.
77700 (TENS_P9_IDX): Define unconditionally.
77701 (TENS_P9_SIZE): Likewise.
77702 (TENS_P10_IDX): Likewise.
77703 (TENS_P10_SIZE): Likewise.
77704 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77705 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77706 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77707 entries for 10^2^13 and 10^2^14.
77708 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77709 (TENS_P13_IDX): Define.
77710 (TENS_P13_SIZE): Likewise.
77711 (TENS_P14_IDX): Likewise.
77712 (TENS_P14_SIZE): Likewise.
77713 (_fpioconst_pow10): Change array size to
77714 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
77715 unconditional.
77716 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77717 1024]: Add entries for 10^2^13 and 10^2^14.
77718 [LAST_POW10 > _LAST_POW10]: Remove #error.
77719 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77720 (_fpioconst_pow10): Change array size to
77721 FPIOCONST_POW10_ARRAY_SIZE.
77722 * stdlib/gen-fpioconst.c: New file.
77723 * stdlib/gen-tst-strtod-round.c: Likewise.
77724 * stdlib/tst-strtod-round-data: Likewise.
77725 * stdlib/tst-strtod-round.c: Likewise.
77726 * stdlib/Makefile (tests): Add tst-strtod-round.
77727
77728 [BZ #14459]
77729 * stdlib/strtod_l.c: Include <stdint.h>.
77730 (NDEBUG): Do not define.
77731 (round_and_return): Change EXPONENT parameter to type intmax_t.
77732 Rearrange calculations to avoid internal overflow possibilities.
77733 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77734 Rearrange calculations to avoid internal overflow possibilities.
77735 Assert that number fits inside MPNSIZE limbs.
77736 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77737 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77738 calculations and add assertions to avoid internal overflow
77739 possibilities. Add casts to avoid signed/unsigned operations.
77740 * stdlib/tst-strtod-overflow.c: New file.
77741 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77742
77743 2012-08-25 Marek Polacek <polacek@redhat.com>
77744
77745 * time/time.h: Fix some typos in comments.
77746
77747 2012-08-23 Roland McGrath <roland@hack.frob.com>
77748
77749 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77750 * posix/tst-rfc3484-2.c: Likewise.
77751 * posix/tst-rfc3484-3.c: Likewise.
77752
77753 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77754
77755 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77756 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77757
77758 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77759
77760 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77761 #include of fxstatat64.c.
77762
77763 2012-08-22 Roland McGrath <roland@hack.frob.com>
77764
77765 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77766 * shadow/getspent_r.c: Likewise.
77767 * shadow/getspnam.c: Likewise.
77768 * shadow/getspnam_r.c: Likewise.
77769 * gshadow/getsgent.c: Likewise.
77770 * gshadow/getsgent_r.c: Likewise.
77771 * gshadow/getsgnam.c: Likewise.
77772 * gshadow/getsgnam_r.c: Likewise.
77773 * inet/getnetbyad.c: Likewise.
77774 * inet/getnetbyad_r.c: Likewise.
77775 * inet/getnetbynm.c: Likewise.
77776 * inet/getnetbynm_r.c: Likewise.
77777 * inet/getnetent.c: Likewise.
77778 * inet/getnetent_r.c: Likewise.
77779 * inet/getproto.c: Likewise.
77780 * inet/getproto_r.c: Likewise.
77781 * inet/getprtent.c: Likewise.
77782 * inet/getprtent_r.c: Likewise.
77783 * inet/getprtname.c: Likewise.
77784 * inet/getprtname_r.c: Likewise.
77785 * inet/getrpcbyname.c: Likewise.
77786 * inet/getrpcbyname_r.c: Likewise.
77787 * inet/getrpcbynumber.c: Likewise.
77788 * inet/getrpcbynumber_r.c: Likewise.
77789 * inet/getrpcent.c: Likewise.
77790 * inet/getrpcent_r.c: Likewise.
77791 * inet/getaliasent.c: Likewise.
77792 * inet/getaliasent_r.c: Likewise.
77793 * inet/getaliasname.c: Likewise.
77794 * inet/getaliasname_r.c: Likewise.
77795 * nscd/getgrgid_r.c: Likewise.
77796 * nscd/getgrnam_r.c: Likewise.
77797 * nscd/gethstbyad_r.c: Likewise.
77798 * nscd/gethstbynm3_r.c: Likewise.
77799 * nscd/getpwnam_r.c: Likewise.
77800 * nscd/getpwuid_r.c: Likewise.
77801 * nscd/getsrvbynm_r.c: Likewise.
77802 * nscd/getsrvbypt_r.c: Likewise.
77803 * nscd/gai.c: Likewise.
77804
77805 * configure.in (build_nscd): New substituted variable, set
77806 by --disable-build-nscd and defaults to $use_nscd.
77807 * configure: Regenerated.
77808 * config.make.in (build-nscd): New substituted variable.
77809 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77810 Change conditional to require [$(build-nscd) = yes] as well.
77811 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77812
77813 [BZ #13696]
77814 * configure.in (use_nscd): New substituted variable, set by
77815 --disable-nscd. If enabled, define USE_NSCD.
77816 * configure: Regenerated.
77817 * config.h.in: Add USE_NSCD.
77818 * config.make.in (use-nscd): New substituted variable.
77819 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77820 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77821 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77822 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77823 (CFLAGS-getgrnam_r.c): Likewise.
77824 (CFLAGS-initgroups.c): Likewise.
77825 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77826 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77827 Variables removed.
77828 * inet/getnetgrent_r.c
77829 (nscd_setnetgrent): New function, broken out of ...
77830 (setnetgrent): ... here. Call it.
77831 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77832 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77833 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77834 * nscd/Makefile (routines, aux): Move definitions after include of
77835 Makeconfig. Conditionalize on [$(use-nscd) != no].
77836 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77837 Conditionalize on [USE_NSCD].
77838 (is_nscd, nscd_init_cb): Likewise.
77839 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77840 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77841 * nss/nss_db/db-init.c: Likewise.
77842 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77843 [USE_NSCD].
77844 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77845 (make_request): Use it.
77846 (cache_valid_p): New function.
77847 (__check_pf): Use it.
77848 * NEWS: Add item for --disable-nscd.
77849
77850 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77851
77852 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77853 to support sed >= 4.2.1-20-ga9bf076.
77854 * configure: Regenerated.
77855
77856 2012-08-22 Roland McGrath <roland@hack.frob.com>
77857
77858 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77859 Conditionalize whole body on [IREL].
77860
77861 2012-08-22 Jeff Law <law@redhat.com>
77862
77863 [BZ #14505]
77864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77865 if the family is PF_UNSPEC.
77866
77867 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77868
77869 * Makerules (lib-version): Rename from V.
77870 (install-lib-nosubdir): Change V to lib-version.
77871
77872 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77873
77874 [BZ #14252]
77875 * powerpc32/power6/wcschr.c: New file.
77876 * powerpc32/power6/wcscpy.c: New file.
77877 * powerpc32/power6/wcsrchr.c: New file.
77878 * powerpc64/power6/wcschr.c: New file.
77879 * powerpc64/power6/wcscpy.c: New file.
77880 * powerpc64/power6/wcsrchr.c: New file.
77881
77882 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77883
77884 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77885 (two_way_short_needle): Use it.
77886 * string/strstr.c (AVAILABLE1_USES_J): Define.
77887 * string/strcasestr.c: Likewise.
77888
77889 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77890 array references.
77891 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77892
77893 [BZ #11607]
77894 * NEWS: Add an entry.
77895 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77896 define their defaults.
77897 (two_way_short_needle): Detect end-of-string on-the-fly.
77898 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77899 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77900 * string/bug-strcasestr1.c: New test.
77901 * string/Makefile: Run it.
77902
77903 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77904
77905 [BZ #11607]
77906 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77907 the first character.
77908
77909 2012-08-21 Roland McGrath <roland@hack.frob.com>
77910
77911 * csu/elf-init.c (__libc_csu_irel): Function removed.
77912 * csu/libc-start.c (apply_irel): New function.
77913 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77914
77915 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77916
77917 * sysdeps/unix/sysv/linux/kernel-features.h
77918 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77919 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77920 <kernel-features.h>.
77921 [__NR_fadvise64_64]: Make code unconditional.
77922 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77923 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77924 !__NR_fadvise64_64)]: Likewise.
77925 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77926 !__NR_fadvise64_64))]: Likewise.
77927 [__NR_fadvise64]: Make code unconditional.
77928 [!__NR_fadvise64]: Remove conditional code.
77929 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77930 <kernel-features.h>.
77931 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77932 unconditional.
77933 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77934 conditional code.
77935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77936 not include <kernel-features.h>.
77937 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77938 unconditional.
77939 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77940 conditional code.
77941 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77942 include <kernel-features.h>.
77943 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77944 unconditional.
77945 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77946 conditional code.
77947
77948 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77949
77950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77951 slight instruction rearrangements per scrollpipe analysis.
77952 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77953
77954 2012-08-20 Roland McGrath <roland@hack.frob.com>
77955
77956 * manual/syslog.texi (syslog; vsyslog, closelog):
77957 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77958 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77959
77960 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77961 DSOCAPS to match condition on defining it.
77962
77963 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77964
77965 * sysdeps/unix/sysv/linux/kernel-features.h
77966 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77974 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77975 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77976
77977 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77978 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77979
77980 * sysdeps/unix/sysv/linux/kernel-features.h
77981 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77982 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77983 unconditional.
77984 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77985 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77986 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77987 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77988 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77989 Make code unconditional.
77990 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77991 (__mmap64) [!__NR_mmap2]: Likewise.
77992 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77993 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77994 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77995 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77996 [__NR_mmap2]: Make code unconditional.
77997 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77998 (__mmap64) [!__NR_mmap2]: Likewise.
77999
78000 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78001
78002 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
78003
78004 2012-08-18 Andreas Jaeger <aj@suse.de>
78005
78006 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
78007
78008 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78009
78010 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78011 * include/unistd.h (__have_sock_cloexec): Likewise.
78012 (__have_pipe2): Likewise.
78013 (__have_dup3): Likewise.
78014
78015 2012-08-18 Mike Frysinger <vapier@gentoo.org>
78016
78017 [BZ #9685]
78018 * include/unistd.h (__have_pipe2): Change define into an extern int.
78019 (__have_dup3): Likewise.
78020 * socket/have_sock_cloexec.c: Include fcntl.h.
78021 (__have_pipe2): New variable.
78022 (__have_dup3): Likewise.
78023
78024 2012-08-17 Mike Frysinger <vapier@gentoo.org>
78025
78026 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78027
78028 2012-08-17 Marek Polacek <polacek@redhat.com>
78029
78030 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78031 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78032
78033 2012-08-17 Roland McGrath <roland@hack.frob.com>
78034
78035 * configure.in: Add AC_SUBST for sysheaders.
78036 * configure: Regenerated.
78037 * config.make.in (sysheaders): New substituted variable.
78038
78039 * sysdeps/unix/mkfifo.c: Moved ...
78040 * sysdeps/posix/mkfifo.c: ... here.
78041 * sysdeps/unix/mkfifoat.c: Moved ...
78042 * sysdeps/posix/mkfifoat.c: ... here.
78043
78044 * sysdeps/unix/utime.c: Moved ...
78045 * sysdeps/posix/utime.c: ... here.
78046
78047 * sysdeps/unix/time.c: Moved ...
78048 * sysdeps/posix/time.c: ... here.
78049 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78050 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78051
78052 * sysdeps/unix/nice.c: Moved ...
78053 * sysdeps/posix/nice.c: ... here.
78054
78055 * sysdeps/unix/alarm.c: Moved ...
78056 * sysdeps/posix/alarm.c: ... here.
78057
78058 * intl/Makefile ($(codeset_mo)): Depend on the input file.
78059
78060 2012-08-17 Jeff Law <law@redhat.com>
78061
78062 * intl/Makefile (codeset_mo): New variable.
78063 ($(codeset_mo)): New target.
78064 (tst-codeset.out): Depend on that. Remove explicit rule.
78065 (tst-gettext3.out, tst-gettext5.out): Likewise.
78066 (LOCPATH-ENV, tst-codeset-ENV): New variables.
78067 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78068 * intl/tst-codeset.sh: Remove.
78069 * intl/tst-gettext3.sh: Likewise.
78070 * intl/tst-gettext5.sh: Likewise.
78071
78072 2012-08-17 Roland McGrath <roland@hack.frob.com>
78073
78074 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
78075 * sysdeps/unix/syscalls.list: ... here.
78076
78077 * sysdeps/posix/getaddrinfo.c
78078 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78079 (gaiconf_init, gaiconf_reload): Use them.
78080 [!_STATBUF_ST_NSEC]
78081 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78082 Define using time_t rather than struct timespec.
78083
78084 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78085 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78086 Macros removed.
78087 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78088 [!NO_THREADS].
78089 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78090 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78091 Likewise.
78092
78093 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78094 __libc_cleanup_push argument.
78095
78096 * bits/param.h: New file.
78097 * misc/sys/param.h: New file.
78098 * include/sys/param.h: New file.
78099 * misc/Makefile (headers): Add bits/param.h.
78100 * sysdeps/generic/sys/param.h: File removed.
78101 * sysdeps/unix/sysv/linux/bits/param.h: New file.
78102 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78103 * sysdeps/mach/hurd/bits/param.h: New file.
78104 * sysdeps/mach/hurd/sys/param.h: File removed.
78105
78106 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78107 last change.
78108
78109 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78110 [_IO_MTSAFE_IO].
78111 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78112 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78113 New macros.
78114
78115 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78116 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78117 rather than -D_IO_MTSAFE_IO conditionally.
78118 * stdio-common/Makefile (CPPFLAGS): Likewise.
78119 * wcsmbs/Makefile (CPPFLAGS): Likewise.
78120 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78121 Use $(libio-mtsafe).
78122 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78123 of -D_IO_MTSAFE_IO.
78124 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78125 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78126 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78127 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78128 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78129 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78130 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78131 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78132 (CFLAGS-fread_u_chk.c): Likewise.
78133 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78134 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78135 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78136 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78137 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78138 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78139 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78140 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78141 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78142
78143 * libio/Makefile: Test [$(libc-reentrant) = yes]
78144 instead of [$(filter %REENTRANT, $(defines)) nonempty].
78145
78146 * Makeconfig
78147 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78148 * sysdeps/pthread/configure: File removed.
78149 * sysdeps/pthread/Makeconfig: New file.
78150 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78151 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78152
78153 2012-08-16 Gary Benson <gbenson@redhat.com>
78154
78155 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78156 unmapping the first object in a namespace.
78157
78158 2012-08-16 Roland McGrath <roland@hack.frob.com>
78159
78160 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78161 (__internal_setnetgrent): ... this. Add internal_function to
78162 definition. Add libc_hidden_def.
78163 (setnetgrent): Update caller.
78164 (internal_endnetgrent): Renamed to ...
78165 (__internal_endnetgrent): ... this. Add internal_function to
78166 definition. Add libc_hidden_def.
78167 (endnetgrent): Update caller.
78168 (internal_getnetgrent_r): Renamed to ...
78169 (__internal_getnetgrent_r): ... this. Add internal_function to
78170 definition. Add libc_hidden_def.
78171 (__getnetgrent_r): Update caller.
78172 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
78173
78174 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78175
78176 * stdlib/longlong.h: Update from GCC.
78177
78178 2012-08-16 Roland McGrath <roland@hack.frob.com>
78179
78180 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78181 on _QL, which is set by umul_ppmm but never used.
78182 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78183 variables, which are set by GMP macros but never used.
78184 * stdio-common/_itowa.c (_itowa): Likewise.
78185 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78186 * stdlib/mod_1.c (mpn_mod_1): Likewise.
78187
78188 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
78189
78190 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78191 struct La_sh_regs is not constant.
78192 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78193 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78194 and struct La_sparc64_regs are not constant.
78195
78196 2012-08-16 Joseph Myers <joseph@codesourcery.com>
78197
78198 * sysdeps/unix/sysv/linux/kernel-features.h
78199 (__ASSUME_POSIX_TIMERS): Remove.
78200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78202 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78203 Make code unconditional.
78204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78205 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78206 Make code unconditional.
78207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78208 * sysdeps/unix/sysv/linux/clock_nanosleep.c
78209 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78211 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78212 Make code unconditional.
78213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78214 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78215 (__libc_missing_posix_timers): Remove.
78216
78217 2012-08-15 Roland McGrath <roland@hack.frob.com>
78218
78219 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78220 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78221
78222 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78223
78224 * elf/dl-sym.c: Include <stdlib.h>.
78225
78226 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78227 constants, which avoids warnings in 32-bit builds.
78228
78229 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78230 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78231
78232 * misc/lseek.c: File moved to ...
78233 * io/lseek.c: ... here.
78234
78235 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78236
78237 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78238 shifting LEN more than 31 bits at once.
78239
78240 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78241
78242 [BZ #14195]
78243 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78244 segmentation fault for a case of two empty input strings.
78245 * string/test-strncasecmp.c (check1): Renamed to...
78246 (bz12205): ...this.
78247 (bz14195): Add new testcase for two empty input strings and N > 0.
78248 (test_main): Call new testcase, adapt for renamed function.
78249
78250 2012-08-15 Andreas Jaeger <aj@suse.de>
78251
78252 [BZ #14090]
78253 * crypt/md5test2.c: New test, based on test supplied by Serge
78254 Belyshev <belyshev@depni.sinp.msu.ru>.
78255 * crypt/Makefile (xtests): Add md5test-giant..
78256 * crypt/Makefile ($(objpfx)md5test-giant): Add.
78257
78258 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
78259
78260 [BZ #14090]
78261 * crypt/md5.c (md5_process_block): Don't assume the buffer
78262 length is less than 2**32.
78263 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78264 length is less than 2**64.
78265
78266 2012-08-15 Roland McGrath <roland@hack.frob.com>
78267
78268 * string/str-two-way.h: Include <sys/param.h>.
78269 (MAX): Macro removed.
78270
78271 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78272 Move #define and #undef of memmove to just before and after
78273 including <string.h>.
78274
78275 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78276 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78277 and after including <string.h>. Move declarations of
78278 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78279 to before #include "string/memmove.c".
78280
78281 * include/dirent.h: Declare __getdirentries.
78282
78283 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78284 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78285
78286 2012-08-14 Mike Frysinger <vapier@gentoo.org>
78287
78288 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78289 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78290 * sysdeps/i386/configure: Regenerated.
78291 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78292 STABS_CURRENT_FILE, and STABS_FUN.
78293 (END): Remove call to STABS_FUN_END.
78294 (STABS_CURRENT_FILE1): Delete.
78295 (STABS_CURRENT_FILE): Likewise.
78296 (STABS_FUN): Likewise.
78297 (STABS_FUN_END): Likewise.
78298 (STABS_FUN2): Likewise.
78299 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78300 * sysdeps/x86_64/configure: Regenerated.
78301
78302 2012-08-14 Roland McGrath <roland@hack.frob.com>
78303
78304 * elf/dl-open.c: Include <atomic.h>.
78305 * elf/dl-lookup.c: Likewise.
78306
78307 2012-08-14 Joseph Myers <joseph@codesourcery.com>
78308
78309 * sysdeps/unix/sysv/linux/kernel-features.h
78310 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78311 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78312 unconditionally.
78313 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78314 unconditionally.
78315 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78316 condition on __ASSUME_CLONE_THREAD_FLAGS.
78317
78318 2012-08-14 Andreas Jaeger <aj@suse.de>
78319
78320 * sysdeps/i386/fpu/libm-test-ulps: Update.
78321
78322 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
78323
78324 * include/atomic.h (atomic_exchange_and_add): Split into ...
78325 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78326 New atomic macros.
78327
78328 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
78329
78330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78331
78332 2012-08-13 Jeff Law <law@redhat.com>
78333
78334 * manual/stdio.texi (snprintf): Clarify handling of the trailing
78335 null byte in the output string.
78336
78337 2012-08-10 Joseph Myers <joseph@codesourcery.com>
78338
78339 * sysdeps/unix/sysv/linux/kernel-features.h
78340 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78341 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78342 (__ASSUME_ARG_MAX_STACK_BASED): Define.
78343 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78344 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78345 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
78346 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78347
78348 2012-08-09 Jeff Law <law@redhat.com>
78349
78350 [BZ #13939]
78351 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78352 When avoid_arena is set, don't retry in the that arena. Pick the
78353 next one, whatever it might be.
78354 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78355 (arena_lock): Pass in new parameter to arena_get2.
78356 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78357 arena_get2.
78358 (__libc_malloc): Unify retrying after main arena failure with
78359 __libc_memalign version.
78360 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78361
78362 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
78363
78364 [BZ #14166]
78365 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78366 to __redirect_strstr.
78367 (__strstr_sse42): Use typeof __redirect_strstr.
78368 (__strstr_ia32): Likewise.
78369 (__libc_strstr): New prototype.
78370 (strstr): Renamed to ...
78371 (__libc_strstr): This.
78372 (strstr): New strong alias of __libc_strstr.
78373 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78374 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78375 __redirect_time.
78376 Include <time.h>.
78377 (__libc_time): New prototype.
78378 (time_ifunc): Replace time with __libc_time.
78379 (time): New strong alias and hidden definition of __libc_time.
78380 (__GI_time): Remove strong alias.
78381 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78382 Include <stddef.h>.
78383 (memmove): Redefined to __redirect_memmove.
78384 (__memmove_sse2): Use typeof __redirect_memmove.
78385 (__memmove_ssse3): Likewise.
78386 (__memmove_ssse3_back): Likewise.
78387 (__libc_memmove): New prototype.
78388 (memmove): Renamed to ...
78389 (__libc_memmove): This.
78390 (memmove): New strong alias of __libc_memmove.
78391
78392 2012-08-08 Mark Salter <msalter@redhat.com>
78393
78394 * elf/elf.h
78395 (R_MN10300_TLS_GD): Define.
78396 (R_MN10300_TLS_LD): Likewise.
78397 (R_MN10300_TLS_LDO): Likewise.
78398 (R_MN10300_TLS_GOTIE): Likewise.
78399 (R_MN10300_TLS_IE): Likewise.
78400 (R_MN10300_TLS_LE): Likewise.
78401 (R_MN10300_TLS_DTPMOD): Likewise.
78402 (R_MN10300_TLS_DTPOFF): Likewise.
78403 (R_MN10300_TLS_TPOFF): Likewise.
78404 (R_MN10300_SYM_DIFF): Likewise.
78405 (R_MN10300_ALIGN): Likewise.
78406 (R_MN10300_NUM): Update.
78407
78408 2012-08-08 Joseph Myers <joseph@codesourcery.com>
78409
78410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78411 Remove.
78412
78413 2012-08-08 Roland McGrath <roland@hack.frob.com>
78414
78415 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78416
78417 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78418 sysdeps/unix -> sysdeps/posix move.
78419 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78420
78421 2012-08-07 Allan McRae <allan@archlinux.org>
78422
78423 [BZ #14303]
78424 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78425 (SUNOS_CPP): Likewise.
78426 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78427 not found.
78428 (open_input): Call CPP using execvp.
78429
78430 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78431
78432 * sysdeps/unix/sysv/linux/kernel-features.h
78433 (__ASSUME_PROT_GROWSUPDOWN): Remove.
78434 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78435 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78436 (__ASSUME_WAITID_SYSCALL): Likewise.
78437 * sysdeps/unix/sysv/linux/dl-execstack.c
78438 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78439 code unconditional.
78440 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78441 conditional code.
78442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78443 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78444 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78445 code.
78446 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78447 unconditional.
78448 [__ASSUME_WAITID_SYSCALL]: Likewise.
78449 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78450
78451 2012-08-07 Roland McGrath <roland@hack.frob.com>
78452
78453 * sysdeps/unix/closedir.c: Renamed to ...
78454 * sysdeps/posix/closedir.c: ... here.
78455 * sysdeps/unix/dirfd.c: Renamed to ...
78456 * sysdeps/posix/dirfd.c: ... here.
78457 * sysdeps/unix/dirstream.h: Renamed to ...
78458 * sysdeps/posix/dirstream.h: ... here.
78459 * sysdeps/unix/fdopendir.c: Renamed to ...
78460 * sysdeps/posix/fdopendir.c: ... here.
78461 * sysdeps/unix/opendir.c: Renamed to ...
78462 * sysdeps/posix/opendir.c: ... here.
78463 * sysdeps/unix/readdir.c: Renamed to ...
78464 * sysdeps/posix/readdir.c: ... here.
78465 * sysdeps/unix/readdir_r.c: Renamed to ...
78466 * sysdeps/posix/readdir_r.c: ... here.
78467 * sysdeps/unix/rewinddir.c: Renamed to ...
78468 * sysdeps/posix/rewinddir.c: ... here.
78469 * sysdeps/unix/seekdir.c: Renamed to ...
78470 * sysdeps/posix/seekdir.c: ... here.
78471 * sysdeps/unix/telldir.c: Renamed to ...
78472 * sysdeps/posix/telldir.c: ... here.
78473 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78474 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78475 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78476 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78477
78478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78479 * bits/fcntl.h: ... here.
78480
78481 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78482 not 0.
78483 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78484 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78485 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78486 (struct flock): Move l_start, l_len to the beginning.
78487 Use __pid_t for l_pid.
78488 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78489 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78490 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78491 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78492 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78493 [__USE_LARGEFILE64] (struct flock64): New type.
78494 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78495
78496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78497 * bits/dirent.h: ... here.
78498
78499 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78500 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78501
78502 2012-08-07 Joseph Myers <joseph@codesourcery.com>
78503
78504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78505 Change from 2.6.0 to 2.6.16.
78506 * sysdeps/unix/sysv/linux/configure: Regenerated.
78507 * sysdeps/unix/sysv/linux/kernel-features.h
78508 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78509 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78510 version.
78511 (__ASSUME_UTIMES): Likewise.
78512 (__ASSUME_CLONE_STOPPED): Remove.
78513 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78514 architectures, not kernel version.
78515 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78516 (__ASSUME_NO_CLONE_DETACHED): Likewise.
78517 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78518 (__ASSUME_WAITID_SYSCALL): Likewise.
78519 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78520 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78521 * README: State 2.6.16 as minimum Linux kernel version. Do not
78522 refer to older versions.
78523
78524 2012-08-06 Roland McGrath <roland@hack.frob.com>
78525
78526 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78527 Define alphasort64 as an alias.
78528 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78529 Define versionsort64 as an alias.
78530 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78531 Define scandir64 as an alias.
78532 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78533 Define scandirat64 as an alias.
78534 * dirent/alphasort64.c (alphasort64):
78535 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78536 * dirent/versionsort64.c: Likewise.
78537 * dirent/scandir64.c: Likewise.
78538 * dirent/scandirat64.c: Likewise.
78539 * sysdeps/wordsize-64/alphasort.c: File removed.
78540 * sysdeps/wordsize-64/alphasort64.c: File removed.
78541 * sysdeps/wordsize-64/scandir.c: File removed.
78542 * sysdeps/wordsize-64/scandir64.c: File removed.
78543 * sysdeps/wordsize-64/scandirat.c: File removed.
78544 * sysdeps/wordsize-64/scandirat64.c: File removed.
78545 * sysdeps/wordsize-64/versionsort.c: File removed.
78546 * sysdeps/wordsize-64/versionsort64.c: File removed.
78547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78548 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78549 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78550 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78551 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78552 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78554 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78555
78556 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78558 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78560 [defined __arch64__ || defined __sparcv9]
78561 (__INO_T_MATCHES_INO64_T): New macro.
78562 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78563 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78564 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78565 * sysdeps/unix/sysv/linux/bits/dirent.h
78566 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78567 (_DIRENT_MATCHES_DIRENT64): New macro.
78568
78569 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78570 Define lockf64 as an alias.
78571 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78572 Define fseeko64 as an alias.
78573 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78574 Define ftello64 as an alias.
78575 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78576 Define _IO_fgetpos64 and fgetpos64 as aliases.
78577 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78578 Define _IO_fsetpos64 and fsetpos64 as aliases.
78579 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78580 Conditionalize body on this.
78581 * libio/fseeko64.c: Likewise.
78582 * libio/ftello64.c: Likewise.
78583 * libio/iofgetpos64.c: Likewise.
78584 * libio/iofsetpos64.c: Likewise.
78585 * sysdeps/wordsize-64/lockf.c: File removed.
78586 * sysdeps/wordsize-64/lockf64.c: File removed.
78587 * sysdeps/wordsize-64/fseeko.c: File removed.
78588 * sysdeps/wordsize-64/fseeko64.c: File removed.
78589 * sysdeps/wordsize-64/ftello.c: File removed.
78590 * sysdeps/wordsize-64/ftello64.c: File removed.
78591 * sysdeps/wordsize-64/iofgetpos.c: File removed.
78592 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78593 * sysdeps/wordsize-64/iofsetpos.c: File removed.
78594 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78596 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78598 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78600 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78604 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78605
78606 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78608 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78610 [defined __arch64__ || defined __sparcv9]
78611 (__OFF_T_MATCHES_OFF64_T): New macro.
78612 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78613 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78615 (__OFF_T_MATCHES_OFF64_T): New macro.
78616
78617 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78618
78619 * stdlib/secure-getenv.c (__secure_getenv): Replace
78620 GLIBC_2_16 with GLIBC_2_17.
78621
78622 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
78623
78624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78625 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78626
78627 2012-08-03 David S. Miller <davem@davemloft.net>
78628
78629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78630
78631 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78632
78633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78634 Remove.
78635 (__ASSUME_CORRECT_SI_PID): Likewise.
78636 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78637 (__ASSUME_TMPFS_NAME): Likewise.
78638 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78639 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78640 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78641 (HAVE_AUX_SECURE): Make definition unconditional.
78642 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78643 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78644
78645 2012-08-03 Roland McGrath <roland@hack.frob.com>
78646
78647 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78648 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78649 * sysdeps/mach/hurd/eloop-threshold.h: New file.
78650 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78651 __eloop_threshold instead of SYMLOOP_MAX.
78652
78653 * sysdeps/generic/eloop-threshold.h: New file.
78654 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78655 of MAXSYMLINKS.
78656 * elf/chroot_canon.c (chroot_canon): Likewise.
78657
78658 2012-08-03 Joseph Myers <joseph@codesourcery.com>
78659
78660 [BZ #13717]
78661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78662 Change to 2.6.0 everywhere.
78663 * sysdeps/unix/sysv/linux/configure: Regenerated.
78664 * sysdeps/unix/sysv/linux/kernel-features.h
78665 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78666 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78667 kernel versions.
78668 (__ASSUME_POSIX_TIMERS): Define unconditionally.
78669 (__ASSUME_FUTEX_REQUEUE): Remove.
78670 (__ASSUME_STATFS64): Define unconditionally.
78671 (__ASSUME_AT_SECURE): Likewise.
78672 (__ASSUME_CORRECT_SI_PID): Likewise.
78673 (__ASSUME_TGKILL): Define without depending on kernel version for
78674 i386.
78675 (__ASSUME_UTIMES): Likewise.
78676 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78677 kernel version.
78678 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78679 (__ASSUME_TMPFS_NAME): Likewise.
78680 * README: Update reference to Linux kernel versions.
78681
78682 2012-08-02 Marek Polacek <polacek@redhat.com>
78683
78684 [BZ #14150]
78685 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
78686 libc_cv_asm_type_prefix with %.
78687 * configure: Regenerated.
78688 * include/libc-symbols.h: Remove comment about
78689 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78690 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78691 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78692 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78693 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78694 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78695 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78696 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78697 * elf/tst-unique2mod1.c: Likewise.
78698 * elf/tst-unique1mod2.c: Likewise.
78699 * elf/tst-unique1mod1.c: Likewise.
78700 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78701 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78702 Replace ASM_TYPE_DIRECTIVE with .type.
78703 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78704 * sysdeps/i386/sysdep.h: Likewise.
78705 * sysdeps/x86_64/sysdep.h: Likewise.
78706 * sysdeps/sh/sysdep.h: Likewise.
78707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78708 Do not define ASM_TYPE_DIRECTIVE.
78709 * sysdeps/powerpc/sysdep.h: Likewise.
78710 * sysdeps/powerpc/powerpc32/sysdep.h:
78711 Replace ASM_TYPE_DIRECTIVE with .type.
78712 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78713 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78714 * sysdeps/i386/fpu/e_powf.S: Likewise.
78715 * sysdeps/i386/fpu/e_expl.S: Likewise.
78716 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78717 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78718 * sysdeps/i386/fpu/e_pow.S: Likewise.
78719 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78720 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78721 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78722 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78723 * sysdeps/i386/fpu/e_log2.S: Likewise.
78724 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78726 * sysdeps/i386/fpu/e_powl.S: Likewise.
78727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78729 * sysdeps/i386/fpu/e_logl.S: Likewise.
78730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78731 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78732 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78733 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78734 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78735 * sysdeps/i386/fpu/e_log.S: Likewise.
78736 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78737 * sysdeps/i386/fpu/e_logf.S: Likewise.
78738 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78739 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78740 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78741 * sysdeps/i386/fpu/e_log10.S: Likewise.
78742 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78744 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78745 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78746 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78747 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78748 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78749 * sysdeps/i386/i686/strtok.S: Likewise.
78750 * sysdeps/i386/i386-mcount.S: Likewise.
78751 * sysdeps/i386/strtok.S: Likewise.
78752 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78753 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78754 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78755 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78756 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78758 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78759 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78761 * sysdeps/x86_64/_mcount.S: Likewise.
78762 * sysdeps/x86_64/strtok.S: Likewise.
78763 * sysdeps/sh/_mcount.S: Likewise.
78764
78765 2012-08-01 Roland McGrath <roland@hack.frob.com>
78766
78767 * libio/iofopen.c: Include <fcntl.h>.
78768 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78769 (_IO_fopen64, fopen64): Define as aliases.
78770 * libio/iofopen64.c: Include <fcntl.h>.
78771 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78772 Conditionalize body on this.
78773 * sysdeps/wordsize-64/iofopen.c: File removed.
78774 * sysdeps/wordsize-64/iofopen64.c: File removed.
78775
78776 2012-08-01 Marek Polacek <polacek@redhat.com>
78777
78778 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78779 Use dlfcn directly instead of a variable.
78780 (binfmt-subdir): Do not define.
78781 (dlfcn): Likewise.
78782
78783 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78784
78785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78786 Remove all definitions.
78787 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78788 <kernel-features.h>.
78789 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78790 (miss_F_GETOWN_EX): Remove all definitions.
78791 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78792 macro definition.
78793 [!__ASSUME_FCNTL64]: Remove conditional code.
78794 [__ASSUME_FCNTL64]: Make code unconditional.
78795 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78796 <kernel-features.h>.
78797 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78798 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78799 (lockf64) [__NR_fcntl64]: Make code unconditional.
78800 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78801
78802 * sysdeps/unix/sysv/linux/kernel-features.h
78803 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78804 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78805 Make code unconditional.
78806 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78807 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78809 [__NR_vfork]: Make code unconditional.
78810 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78811 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78813 [__NR_vfork]: Make code unconditional.
78814 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78815 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78816
78817 2012-08-01 Roland McGrath <roland@hack.frob.com>
78818
78819 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78820 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78821
78822 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78823 Define mkstemp64 as an alias.
78824 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78825 Define mkstemps64 as an alias.
78826 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78827 Define mkostemp64 as an alias.
78828 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78829 Define mkostemps64 as an alias.
78830 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78831 Conditionalize body on this.
78832 * misc/mkostemp64.c: Likewise.
78833 * misc/mkostemps64.c: Likewise.
78834 * misc/mkstemps64.c: Likewise.
78835 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78836 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78837 * sysdeps/wordsize-64/mkostemp.c: File removed.
78838 * sysdeps/wordsize-64/mkstemp.c: File removed.
78839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78841 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78843
78844 [BZ #14138]
78845 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78846 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78847 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78848 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78849
78850 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78851 compat_symbol macros from <shlib-compat.h> rather than the underlying
78852 default_symbol_version and symbol_version macros, so that DEFAULT
78853 lines in shlib-versions are respected.
78854 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78855
78856 2012-08-01 Florian Weimer <fweimer@redhat.com>
78857
78858 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78859 Declare with warn_unused_result.
78860 (setgid, setregid, setegid, setresgid): Likewise.
78861 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78862 Likewise.
78863 * WUR-REPORT: Remove set*id functions.
78864
78865 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78866
78867 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78868
78869 2012-07-31 Roland McGrath <roland@hack.frob.com>
78870
78871 [BZ #10191]
78872 * include/sys/socket.h (__libc_accept, __libc_accept4):
78873 Add attribute_hidden.
78874 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78875
78876 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78877 use of PTR_MANGLE.
78878 * inet/getnetgrent_r.c (setup): Likewise.
78879
78880 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78881
78882 2012-07-31 David S. Miller <davem@davemloft.net>
78883
78884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78885
78886 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78887
78888 [BZ #13629]
78889 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78890 value between 1.0 and 2.0 and smaller part has absolute value less
78891 than 1.0.
78892 * math/s_clog10.c (__clog10): Likewise.
78893 * math/s_clog10f.c (__clog10f): Likewise.
78894 * math/s_clog10l.c (__clog10l): Likewise.
78895 * math/s_clogf.c (__clogf): Likewise.
78896 * math/s_clogl.c (__clogl): Likewise.
78897 * math/libm-test.inc (clog_test): Add more tests.
78898 (clog10_test): Likewise.
78899 * sysdeps/i386/fpu/libm-test-ulps: Update.
78900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78901
78902 2012-07-31 Florian Weimer <fweimer@redhat.com>
78903
78904 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78905 Exit with zero in case no suitable GID is found, and write a
78906 message to standard error.
78907
78908 2012-07-30 Roland McGrath <roland@hack.frob.com>
78909
78910 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78911 rather than to 1.
78912 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78913 (MAXPATHLEN): Removed.
78914 (NOGROUP, NODEV): New macros.
78915 (setbit, clrbit, isset, isclr): New macros.
78916 (howmany, roundup, powerof2): New macros.
78917 (DEV_BSIZE): New macro.
78918
78919 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78920 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78921
78922 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78923 definition on [!__NO_LONG_DOUBLE_MATH].
78924
78925 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78926 PTR_MANGLE and PTR_DEMANGLE.
78927
78928 * socket/accept4.c (accept4): Rename to __libc_accept4.
78929 Define accept4 as a weak alias.
78930
78931 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78932 on [_DIRENT_HAVE_D_TYPE].
78933 * io/ftw.c (ftw_dir): Likewise.
78934
78935 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78936
78937 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78938
78939 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78940 Use the BSD numbers rather than the arbitrary ones we had.
78941 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78942 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78943 (SIGXCPU, SIGXFSZ): New macros.
78944 (_NSIG): Now 32.
78945
78946 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78947 initializer on [_LIBC_REENTRANT].
78948
78949 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78950 definitions inside [_POSIX_MAPPED_FILES].
78951
78952 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78953
78954 * dirent/opendir.c: Include <fcntl.h>.
78955
78956 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78957 (__libc_getspecific): Likewise.
78958 (__libc_key_create): Likewise.
78959
78960 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78961 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78962 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78963 (tmpfile64): Define as alias.
78964 * sysdeps/wordsize-64/tmpfile.c: File removed.
78965 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78967 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78968
78969 * stdio-common/vfscanf.c: Include <stdbool.h>.
78970 * nss/makedb.c: Likewise.
78971 * stdio-common/_i18n_number.h: Likewise.
78972 * argp/argp-help.c: Likewise.
78973 * posix/wordexp.c: Likewise.
78974 * sysdeps/posix/spawni.c: Likewise.
78975 * nss/nss_files/files-initgroups.c: Likewise.
78976 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78977 * nss/nss_files/files-initgroups.c: Likewise.
78978 * nss/nss_db/db-netgrp.c: Likewise.
78979 * nss/nss_db/db-initgroups.c: Likewise.
78980 * io/fchmodat.c: Include <sys/stat.h>.
78981
78982 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78983 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78984
78985 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78986 [HAVE_MMAP].
78987
78988 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78989 Add multiple inclusion protection.
78990
78991 2012-07-27 David S. Miller <davem@davemloft.net>
78992
78993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78994
78995 2012-07-27 Gary Benson <gbenson@redhat.com>
78996
78997 [BZ #14298]
78998 * elf/rtld.c: Include <stap-probe.h>.
78999 (dl_main): Added static probes "init_start" and "init_complete".
79000 * elf/dl-load.c: Include <stap-probe.h>.
79001 (lose): Take new parameter "nsid".
79002 Added static probe "map_failed".
79003 (_dl_map_object_from_fd): Pass namespace id to lose.
79004 Added static probe "map_start".
79005 (open_verify): Pass namespace id to lose.
79006 * elf/dl-open.c: Include <stap-probe.h>.
79007 (dl_open_worker) Added static probes "map_complete", "reloc_start"
79008 and "reloc_complete".
79009 * elf/dl-close.c: Include <stap-probe.h>.
79010 (_dl_close_worker): Added static probes "unmap_start" and
79011 "unmap_complete".
79012 * elf/rtld-debugger-interface.txt: New file documenting the above.
79013
79014 2012-07-26 Roland McGrath <roland@hack.frob.com>
79015
79016 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79017 rather than a string variable.
79018 * sunrpc/rpc_main.c (h_output): Likewise.
79019 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79020
79021 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
79022
79023 * inet/check_native.c: New file.
79024
79025 2012-07-26 Joseph Myers <joseph@codesourcery.com>
79026
79027 [BZ #13629]
79028 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79029 if larger part has absolute value 1.0.
79030 * math/s_clog10.c (__clog10): Likewise.
79031 * math/s_clog10f.c (__clog10f): Likewise.
79032 * math/s_clog10l.c (__clog10l): Likewise.
79033 * math/s_clogf.c (__clogf): Likewise.
79034 * math/s_clogl.c (__clogl): Likewise.
79035 * math/libm-test.inc (clog_test): Add more tests.
79036 (clog10_test): Likewise.
79037 * sysdeps/i386/fpu/libm-test-ulps: Update.
79038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79039
79040 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79041 (pltexit): Likewise.
79042 (La_regs): Likewise.
79043 (La_retval): Likewise.
79044 (int_retval): Likewise.
79045 Update #error for removed macros to refer only to definitions in
79046 tst-audit.h.
79047 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79048 macro.
79049 (pltexit): Likewise.
79050 (La_regs): Likewise.
79051 (La_retval): Likewise.
79052 (int_retval): Likewise.
79053 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79054 macro.
79055 (pltexit): Likewise.
79056 (La_regs): Likewise.
79057 (La_retval): Likewise.
79058 (int_retval): Likewise.
79059 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79060 macro.
79061 (pltexit): Likewise.
79062 (La_regs): Likewise.
79063 (La_retval): Likewise.
79064 (int_retval): Likewise.
79065 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79066 macro.
79067 (pltexit): Likewise.
79068 (La_regs): Likewise.
79069 (La_retval): Likewise.
79070 (int_retval): Likewise.
79071 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79072 macro.
79073 (pltexit): Likewise.
79074 (La_regs): Likewise.
79075 (La_retval): Likewise.
79076 (int_retval): Likewise.
79077 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79078 macro.
79079 (pltexit): Likewise.
79080 (La_regs): Likewise.
79081 (La_retval): Likewise.
79082 (int_retval): Likewise.
79083 * sysdeps/generic/tst-audit.h: Update comment to refer only to
79084 macro definitions in tst-audit.h.
79085 * sysdeps/i386/tst-audit.h: New file.
79086 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79087 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79088 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79089 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79090 * sysdeps/sh/tst-audit.h: Likewise.
79091 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79092 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79093 * sysdeps/x86_64/tst-audit.h: Likewise.
79094
79095 2012-07-26 Andreas Jaeger <aj@suse.de>
79096
79097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79098 ptrace.
79099
79100 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79101 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79102 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79103 PTRACE_O_MASK.
79104 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79105 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79106 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79107
79108 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79109 value.
79110
79111 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79112 _sigsys.
79113 (si_call_addr, si_syscall, si_arch): Define new macro.
79114 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79115 _sigsys.
79116 (si_call_addr, si_syscall, si_arch): Define new marcro.
79117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79118 _sigsys.
79119 (si_call_addr, si_syscall, si_arch): Define new macro.
79120 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79121 _sigsys.
79122 (si_call_addr, si_syscall, si_arch): Define new macro.
79123
79124 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79125
79126 [BZ #13717]
79127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79128 Change to 2.4.21 where previously 2.4.1.
79129 * sysdeps/unix/sysv/linux/configure: Regenerated.
79130 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79131 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79132 Linux kernel version.
79133 (__ASSUME_STD_AUXV): Remove.
79134 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79135 kernel version.
79136 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79137 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79138 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79139 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79140 (__ASSUME_NETLINK_SUPPORT): Likewise.
79141 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79142 (__no_netlink_support): Remove conditional definition.
79143 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79144 Remove.
79145 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79146 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79147 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79148 (if_nameindex_ioctl): Remove.
79149 (if_nameindex_netlink): Do not handle __no_netlink_support.
79150 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79151 code.
79152 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79153 Remove conditional code.
79154 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79155 code.
79156 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79157 unconditional.
79158 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79159 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79160 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79161 Remove.
79162 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79163 [!__ASSUME_STD_AUXV]: Remove conditional code.
79164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79165 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79166 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79168 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79169 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79170 code.
79171 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79173 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79174 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79175 conditional code.
79176 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79178 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79179 code.
79180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79181 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79182 conditional code.
79183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79184 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79185 code unconditional.
79186 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79187 conditional code.
79188 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79189 unconditional.
79190 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79191 conditional code.
79192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79193 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79194 unconditional.
79195 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79196 conditional code.
79197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79198 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79199 code unconditional.
79200 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79201 conditional code.
79202 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79203 unconditional.
79204 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79205 conditional code.
79206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79207 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79208 code unconditional.
79209 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79210 conditional code.
79211 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79212 unconditional.
79213 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79214 conditional code.
79215
79216 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
79217
79218 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79219 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79220 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79221 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79222 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79223 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79224 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79225 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79226 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79227 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79228 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79229 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79230 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79231 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79233 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79234 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79235 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79236 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79238 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79239 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79241
79242 2012-07-25 Florian Weimer <fweimer@redhat.com>
79243
79244 * Versions.def: Add GLIBC_2.17.
79245 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79246 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79247 Introduce __libc_secure_getenv.
79248 * stdlib/Versions (2.17): Add secure_getenv
79249 (GLIBC_PRIVATE): Add __libc_secure_getenv.
79250 * stdlib/secure-getenv.c: Rename __secure_getenv to
79251 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
79252 symbol __secure_getenv for GLIBC_2.0.
79253 * stdlib/tst-secure-getenv.c: New.
79254 * stdlib/Makefile (tests): Add testcase.
79255 * manual/startup.texi (Environment Access): Document
79256 secure_getenv.
79257 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79258 __libc_secure_getenv.
79259 * inet/ruserpass.c (ruserpass): Likewise.
79260 * malloc/mtrace.c (mtrace): Likewise.
79261 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79262 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79263 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79264 * sysdeps/posix/tempname.c: Likewise. Evaluate
79265 HAVE_SECURE_GETENV.
79266 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79267 __secure_getenv to __libc_secure_getenv.
79268 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79270 Likewise.
79271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79272 Likewise.
79273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79280
79281 2012-07-25 Joseph Myers <joseph@codesourcery.com>
79282
79283 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79284 (struct La_i86_retval): Likewise.
79285 (struct La_x86_64_regs): Likewise.
79286 (struct La_x86_64_retval): Likewise.
79287 (struct La_x32_regs): Likewise.
79288 (struct La_x32_retval): Likewise.
79289 (struct La_ppc32_regs): Likewise.
79290 (struct La_ppc32_retval): Likewise.
79291 (struct La_ppc64_regs): Likewise.
79292 (struct La_ppc64_retval): Likewise.
79293 (struct La_sh_regs): Likewise.
79294 (struct La_sh_retval): Likewise.
79295 (struct La_s390_32_regs): Likewise.
79296 (struct La_s390_32_retval): Likewise.
79297 (struct La_s390_64_regs): Likewise.
79298 (struct La_s390_64_retval): Likewise.
79299 (struct La_sparc32_regs): Likewise.
79300 (struct La_sparc32_retval): Likewise.
79301 (struct La_sparc64_regs): Likewise.
79302 (struct La_sparc64_retval): Likewise.
79303 (struct audit_ifaces): Remove architecture-specific pltenter and
79304 pltexit members.
79305 * sysdeps/i386/ldsodefs.h: New file.
79306 * sysdeps/powerpc/ldsodefs.h: Likewise.
79307 * sysdeps/s390/ldsodefs.h: Likewise.
79308 * sysdeps/sh/ldsodefs.h: Likewise.
79309 * sysdeps/sparc/ldsodefs.h: Likewise.
79310 * sysdeps/x86_64/ldsodefs.h: Likewise.
79311
79312 2012-07-25 Marek Polacek <polacek@redhat.com>
79313
79314 [BZ #6808]
79315 * math/libm-test.inc (yn_test): Add another test.
79316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79317 to ERANGE when the result is +-Inf.
79318 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79319 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79320 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79321 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79322
79323 2012-07-24 Joseph Myers <joseph@codesourcery.com>
79324
79325 * conform/data/time.h-data (NULL): Use macro-constant. Require
79326 equal to 0.
79327 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
79328 clock_t.
79329 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
79330
79331 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
79332
79333 * configure.in <sysdeps resolving>: Correct printing
79334 Implies_before.
79335 * configure: Regenerate.
79336
79337 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
79338
79339 * math/w_ilogb.c: Include <limits.h>.
79340 * math/w_ilogbl.c: Likewise.
79341
79342 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79343
79344 * manual/lang.texi (__va_copy): Document primarily as ISO C99
79345 va_copy. Document allowing for unavailable va_copy only as
79346 pre-C99 compatibility.
79347 * manual/string.texi (Copying and Concatenation): Use va_copy
79348 instead of __va_copy in concat example.
79349
79350 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
79351
79352 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79353 (__sendto): Use create_address_port. Initialize APORT and deallocate
79354 it if not null.
79355
79356 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79357 with O_NOLINK passed to __file_name_lookup.
79358
79359 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79360 with O_NOLINK passed to __file_name_lookup.
79361
79362 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79363 negative N or less than NGIDS.
79364
79365 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79366 type to string_t. Set ERANGE as errno and return it if NAME is not big
79367 enough. Use memcpy instead of strncpy.
79368
79369 2012-07-20 Joseph Myers <joseph@codesourcery.com>
79370
79371 * elf/Makefile (check-data): Remove.
79372 (localplt.data): New vpath directive.
79373 ($(objpfx)check-localplt.out): Use localplt.data from vpath
79374 instead of $(check-data).
79375 * scripts/data/localplt-generic.data: Move to ...
79376 * sysdeps/generic/localplt.data: ... here.
79377 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79378 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79379 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79381 ... here.
79382 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79384 ... here.
79385 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79387 ... here.
79388 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79390 ... here.
79391 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79393 ... here.
79394 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79396 ... here.
79397
79398 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79399
79400 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79401 PPC32 and PPC64 files.
79402 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79403 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79404
79405 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79406
79407 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79408 __makecontext_ret to ...
79409 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79410 ... here and call exit if uc_link is NULL. New file.
79411 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79412 __makecontext_ret.S.
79413 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79414 __makecontext_ret to ...
79415 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79416 ... here and call exit if uc_link is NULL. New file.
79417 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79418 __makecontext_ret.S.
79419
79420 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79421
79422 * elf/elf.h (R_390_IRELATIVE): New definition.
79423 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79424 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
79425 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79426 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79427 (elf_machine_lazy_rel): Likewise.
79428 * sysdeps/s390/dl-irel.h: New file.
79429 * sysdeps/s390/s390-64/memcpy.S: New asm code.
79430 * sysdeps/s390/s390-64/memset.S: New asm code.
79431 * sysdeps/s390/s390-64/memcmp.S: New asm code.
79432 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79433 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79434 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79435 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79436 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79438 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79439 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79440 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79441 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79442 * sysdeps/s390/s390-32/memcpy.S: New asm code.
79443 * sysdeps/s390/s390-32/memset.S: New asm code.
79444 * sysdeps/s390/s390-32/memcmp.S: New asm code.
79445
79446 2012-07-17 Marek Polacek <polacek@redhat.com>
79447
79448 [BZ #14349]
79449 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79450 * sysdeps/s390/s390-64/configure.in: Likewise.
79451 * sysdeps/sparc/configure.in: Likewise.
79452 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79453 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79454 * sysdeps/i386/configure.in: Likewise.
79455 * sysdeps/x86_64/configure.in: Likewise.
79456 * sysdeps/sh/configure.in: Likewise.
79457 * sysdeps/s390/s390-32/configure: Regenerated.
79458 * sysdeps/s390/s390-64/configure: Likewise.
79459 * sysdeps/x86_64/configure: Likewise.
79460 * sysdeps/sh/configure: Likewise.
79461 * sysdeps/powerpc/powerpc64/configure: Likewise.
79462 * sysdeps/powerpc/powerpc32/configure: Likewise.
79463 * sysdeps/sparc/configure: Likewise.
79464 * sysdeps/i386/configure: Likewise.
79465
79466 * elf/dl-open.c: Comment fixes.
79467
79468 2012-07-17 Joseph Myers <joseph@codesourcery.com>
79469
79470 * Makefile [CXX] (check-data): Remove.
79471 [CXX] (c++-types.data): New vpath directive.
79472 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79473 vpath. Do not allow for C++ type data being missing.
79474 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79475 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79476 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79477 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79478 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79479 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79480 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79482 ... here.
79483 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79485 ... here.
79486 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79488 ... here.
79489 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79491 ... here.
79492 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79494 ... here.
79495 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79497 ... here.
79498 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79500 ... here.
79501 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79503
79504 * elf/tls-macros.h (TLS_LE): Move architecture-specific
79505 definitions to architecture-specific files.
79506 (TLS_IE): Likewise.
79507 (TLS_LD): Likewise.
79508 (TLS_GD): Likewise.
79509 * sysdeps/i386/tls-macros.h: New file.
79510 * sysdeps/powerpc/tls-macros.h: Likewise.
79511 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79512 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79513 * sysdeps/sh/tls-macros.h: Likewise.
79514 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79515 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79516 * sysdeps/x86_64/tls-macros.h: Likewise.
79517
79518 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79519
79520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79521 zero value for regular exit case.
79522
79523 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79524 (__start_context): Preserve zero value for regular exit case.
79525
79526 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
79527 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79528
79529 * manual/setjmp.texi (setcontext): Clarify normal process
79530 termination when uc_link is the null pointer.
79531 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79532 exit call.
79533
79534 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
79535
79536 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79537 preprocessor. Test for each exception mask separately.
79538
79539 2012-07-16 Andreas Jaeger <aj@suse.de>
79540
79541 * po/ru.po: Update from translation team.
79542
79543 2012-07-15 Joseph Myers <joseph@codesourcery.com>
79544
79545 * conform/data/string.h-data (NULL): Use macro-constant. Require
79546 equal to 0.
79547 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79548 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79549 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79550 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79551 [ISO || ISO99 || ISO11] (*_t): Do not allow.
79552
79553 2012-07-13 Andreas Jaeger <aj@suse.de>
79554
79555 * po/fr.po: Update from translation team.
79556
79557 2012-07-12 Marek Polacek <polacek@redhat.com>
79558
79559 [BZ #14173]
79560 * math/libm-test.inc (yn_test): Add test for BZ #14173.
79561 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79562 loop condition.
79563
79564 2012-07-12 Joseph Myers <joseph@codesourcery.com>
79565
79566 [BZ #13717]
79567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79568 Change to 2.4.1 where previously 2.4.0.
79569 * sysdeps/unix/sysv/linux/configure: Regenerated.
79570 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79571 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79572 version.
79573 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79574 (__ASSUME_AT_CLKTCK): Remove.
79575 (__ASSUME_AT_PAGESIZE): Likewise.
79576 (__ASSUME_AT_XID): Likewise.
79577 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79578 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79579 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79580 unconditionally.
79581 (HAVE_AUX_PAGESIZE): Likewise.
79582 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79583 [__ASSUME_AT_CLKTCK]: Make code unconditional.
79584 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79585
79586 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
79587
79588 [BZ #14307]
79589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79590 the temporary buffer used to invoke __gethostbyname2_r,
79591 __gethostbyaddr_r and gethostbyname4_r to make room for struct
79592 host_data / struct gaih_addrtuple.
79593 * resolv/nss_dns/dns-host.c (global scope): Move definition of
79594 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79595 header file nss/nsswitch.h.
79596 * nss/nsswitch.h (global scope): Add definition of implementation
79597 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79598 resolv/nss_dns/dns-host.c).
79599
79600 2012-07-11 Andreas Jaeger <aj@suse.de>
79601
79602 * po/fr.po: Update from translation team.
79603
79604 * po/sv.po: Update from translation team
79605 * po/fr.po: Another update from translation team.
79606
79607 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79608
79609 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79610 for subnormals or multiply small sinh result by itself.
79611 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79613
79614 2012-07-11 David S. Miller <davem@davemloft.net>
79615
79616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79617
79618 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
79619
79620 [BZ #14347]
79621 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79622 (INTERNAL_MARK): Shift it here.
79623
79624 2012-07-10 Marek Polacek <polacek@redhat.com>
79625
79626 [BZ #14151]
79627 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
79628 libc_cv_asm_global_directive with .globl.
79629 * configure: Regenerated.
79630 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79631 with .globl.
79632 * sysdeps/i386/configure: Regenerated.
79633 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79634 with .globl.
79635 * sysdeps/x86_64/configure: Regenerated.
79636 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79637 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79638 * elf/tst-unique2mod2.c: Likewise.
79639 * elf/tst-unique2mod1.c: Likewise.
79640 * elf/tst-unique1mod2.c: Likewise.
79641 * elf/tst-unique1mod1.c: Likewise.
79642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79643 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79645 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79646 * sysdeps/mach/sysdep.h: Likewise.
79647 * sysdeps/i386/sysdep.h: Likewise.
79648 * sysdeps/i386/i386-mcount.S: Likewise.
79649 * sysdeps/x86_64/_mcount.S: Likewise.
79650 * sysdeps/x86_64/sysdep.h: Likewise.
79651 * sysdeps/sh/_mcount.S: Likewise.
79652 * sysdeps/sh/sysdep.h: Likewise.
79653 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79654 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79655 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79656 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79657 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79658 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79659 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79660 * locale/localeinfo.h: Likewise.
79661 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79662 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79663
79664 2012-07-09 Roland McGrath <roland@hack.frob.com>
79665
79666 [BZ #14336]
79667 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79668 system".
79669 * manual/message.texi (The Uniforum approach): Likewise.
79670 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79671 (glibc iconv Implementation): Likewise.
79672
79673 2012-07-09 Joseph Myers <joseph@codesourcery.com>
79674
79675 [BZ #14337]
79676 * math/s_clog.c (__clog): Avoid scaling a value down where that
79677 could result in underflow.
79678 * math/s_clog10.c (__clog10): Likewise.
79679 * math/s_clog10f.c (__clog10f): Likewise.
79680 * math/s_clog10l.c (__clog10l): Likewise.
79681 * math/s_clogf.c (__clogf): Likewise.
79682 * math/s_clogl.c (__clogl): Likewise.
79683 * math/libm-test.inc (clog_test): Add more tests.
79684 (clog10_test): Likewise.
79685 * sysdeps/i386/fpu/libm-test-ulps: Update.
79686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79687
79688 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
79689
79690 [BZ #14283]
79691 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79692 by 7 not 8 to examine high bit of fractional part.
79693
79694 [BZ #14042]
79695 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79696 for call to __mcount_internal.
79697 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79698 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79699 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79700
79701 2012-07-06 Joseph Myers <joseph@codesourcery.com>
79702
79703 [BZ #14154]
79704 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79705 approximation for values within 0x1p-13f of an odd multiple of
79706 pi/4.
79707 * math/libm-test.inc (tan_test): Do not allow spurious underflow
79708 exception. Add more tests.
79709 * sysdeps/i386/fpu/libm-test-ulps: Update.
79710
79711 [BZ #6778]
79712 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79713 inputs and return -1 for them. Do not check for +Inf in case not
79714 reachable for +Inf.
79715 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79716 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79717 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79718 and return -1 for them. Do not check for +Inf in case not
79719 reachable for +Inf.
79720 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79721 define.
79722 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79723 and return -1 for them. Do not check for +Inf in case not
79724 reachable for +Inf.
79725 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79726 spurious underflow.
79727 * sysdeps/i386/fpu/libm-test-ulps: Update.
79728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79729
79730 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79731
79732 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79733
79734 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79735
79736 [BZ #14157]
79737 [BZ #14331]
79738 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79739 could result in spurious underflow. Scale down values above
79740 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79741 * math/s_csqrtf.c (__csqrtf): Likewise.
79742 * math/s_csqrtl.c (__csqrtl): Likewise.
79743 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79744 spurious underflow.
79745 * sysdeps/i386/fpu/libm-test-ulps: Update.
79746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79747
79748 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79749
79750 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79751 xopen-msg.sed.
79752 * catgets/xopen-msg.awk: New file.
79753 * catgets/xopen-msg.sed: Removed.
79754
79755 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79756 po2text.sed.
79757 * intl/po2test.awk: New file.
79758 * intl/po2test.sed: Removed.
79759
79760 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79761
79762 [BZ #14328]
79763 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79764 or multiply small sinh result by itself.
79765 * math/s_ctanf.c (__ctanf): Likewise.
79766 * math/s_ctanh.c (__ctanh): Likewise.
79767 * math/s_ctanhf.c (__ctanhf): Likewise.
79768 * math/s_ctanhl.c (__ctanhl): Likewise.
79769 * math/s_ctanl.c (__ctanl): Likewise.
79770 * math/libm-test.inc (ctan_test_tonearest): New function.
79771 (ctan_test_towardzero): Likewise.
79772 (ctan_test_downward): Likewise.
79773 (ctan_test_upward): Likewise.
79774 (ctanh_test_tonearest): Likewise.
79775 (ctanh_test_towardzero): Likewise.
79776 (ctanh_test_downward): Likewise.
79777 (ctanh_test_upward): Likewise.
79778 (main): Call these new functions.
79779 * sysdeps/i386/fpu/libm-test-ulps: Update.
79780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79781
79782 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79783
79784 * .gitignore: Delete /ports entry.
79785
79786 2012-07-03 Andreas Jaeger <aj@suse.de>
79787
79788 * po/bg.po: Update from translation team.
79789 * po/cs.po: Likewise.
79790 * po/de.po: Likewise.
79791 * po/hr.po: Likewise.
79792 * po/nl.pl: Likewise.
79793 * po/pl.po: Likewise.
79794 * po/vi.po: Likewise.
79795
79796 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79797
79798 * Makeconfig [!+link] (+link-before-libc): New variable.
79799 [!+link] (+link-after-libc): Likewise.
79800 [!+link] (+link-tests): Likewise.
79801 [!+link] (+link): Define in terms of $(+link-before-libc) and
79802 $(+link-after-libc).
79803 [!+link-static] (+link-static-before-libc): New variable.
79804 [!+link-static] (+link-static-after-libc): Likewise.
79805 [!+link-static] (+link-static-tests): Likewise.
79806 [!+link-static] (+link-static): Define in terms of
79807 $(+link-static-before-libc) and $(+link-static-after-libc).
79808 [build-shared] (link-libc-before-gnulib): New variable.
79809 [build-shared] (link-libc-tests): Likewise.
79810 [build-shared] (link-libc): Define in terms of
79811 $(link-libc-before-gnulib).
79812 [!build-shared] (link-libc-tests): New variable.
79813 (link-libc-static-tests): New variable.
79814 [!gnulib] (gnulib-arch): New variable.
79815 [!gnulib] (gnulib-tests): Likewise.
79816 [!gnulib] (static-gnulib-arch): Likewise.
79817 [!gnulib] (static-gnulib-tests): Likewise.
79818 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79819 Define with "=" instead of ":=".
79820 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79821 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79822 * Rules (binaries-all-notests): New variable.
79823 (binaries-all-tests): Likewise.
79824 (binaries-static-notests): Likewise.
79825 (binaries-static-tests): Likewise.
79826 (binaries-all): Define using $(binaries-all-notests) and
79827 $(binaries-all-tests).
79828 (binaries-static): Define using $(binaries-static-notests) and
79829 $(binaries-static-tests).
79830 (binaries-shared-tests): New variable.
79831 (binaries-shared-notests): Likewise.
79832 (binaries-shared): Remove variable.
79833 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79834 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79835 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79836 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79837 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79838 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79839 * elf/Makefile (sln-modules): New variable.
79840 (extra-objs): Add $(sln-modules:=.o).
79841 (ldconfig-modules): Add static-stubs.
79842 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79843 * elf/static-stubs.c: New file.
79844
79845 [BZ #14283]
79846 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79847 by 7 not 8 to examine high bit of fractional part. Use volatile
79848 variables when splitting into final array of floats if
79849 __FLT_EVAL_METHOD__ != 0.
79850 * math/libm-test.inc (cos_test): Add another test.
79851 (sin_test): Likewise.
79852 * sysdeps/i386/fpu/libm-test-ulps: Update.
79853
79854 [BZ #14273]
79855 * math/libm-test.inc (cosh_test): Add more tests.
79856
79857 * version.h (RELEASE): Set to "development".
79858 (VERSION): Set to "2.16.90".
79859
79860 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79861
79862 * NEWS: Update copyright. Remove last-updated date.
79863 Mention math library bug fixes and timezone data changes.
79864 * README: Mention GNU/Hurd, x32, and HPPA support status.
79865
79866 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79867
79868 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79869
79870 2012-06-27 Andreas Jaeger <aj@suse.de>
79871
79872 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79873
79874 2012-06-25 Andreas Jaeger <aj@suse.de>
79875
79876 * sysdeps/s390/fpu/libm-test-ulps: Update.
79877
79878 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79879 Thomas Schwinge <thomas@codesourcery.com>
79880
79881 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79882 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79884 fanotify_mark.
79885
79886 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79887
79888 * sysdeps/mach/start.c: Remove file.
79889 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79890 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79891 * sysdeps/sh/init-first.c: Likewise.
79892
79893 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79894 registers for frame unwinding purposes, add CFI directives.
79895 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79896 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79897 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79898 Likewise.
79899
79900 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79901 __fortify_fail returning.
79902 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79903
79904 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79905 sysdeps/sh/____longjmp_chk.S.
79906 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79907 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79908 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79909 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79910
79911 * sysdeps/sh/abort-instr.h: New file.
79912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79913 process in case exit returns.
79914
79915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79916 initialize the GOT register before use.
79917
79918 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79919 calculation of ARGC > 4.
79920
79921 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79922 meaningful names to some local labels.
79923
79924 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79925 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79926
79927 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79928 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79929 (__arch_compare_and_exchange_val_16_acq): Likewise.
79930 (__arch_compare_and_exchange_val_32_acq): Likewise.
79931 (atomic_exchange_and_add): Fix gUSA sequence.
79932 (atomic_add): Likewise.
79933 (atomic_add_negative): Likewise.
79934 (atomic_add_zero): Likewise.
79935 (atomic_bit_test_set): Likewise.
79936
79937 2012-06-22 Andreas Schwab <schwab@redhat.com>
79938
79939 [BZ #13579]
79940 * include/link.h (struct link_map): Add l_free_initfini.
79941 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79942 l_initfini.
79943 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79944 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79945 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79946 set.
79947
79948 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79949
79950 * configure.in: Use AC_LANG_SOURCE.
79951 * configure: Regenerate.
79952
79953 2012-06-22 Roland McGrath <roland@hack.frob.com>
79954
79955 * configure.in (libc_cv_localstatedir): New substituted variable.
79956 * configure: Regenerated.
79957 * config.make.in (localstatedir): New variable, substituted from
79958 libc_cv_localstatedir.
79959 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79960 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79961 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79962 * sysdeps/gnu/configure: Regenerated.
79963
79964 2012-06-21 Jeff Law <law@redhat.com>
79965
79966 [BZ #14277]
79967 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79968 free. Simplify list management for _LIBC case.
79969
79970 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79971
79972 [BZ #14273]
79973 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79974 Clear sign bit of 64-bit integer value before comparing against
79975 overflow value.
79976
79977 * sysdeps/mach/configure: Regenerated.
79978
79979 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79980
79981 [BZ #14278]
79982 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79983
79984 2012-06-21 Jeff Law <law@redhat.com>
79985
79986 [BZ #13882]
79987 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79988 uint16_t for elements in the "seen" array to avoid char overflows.
79989 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79990 * elf/dl-open.c (dl_open_worker): Likewise.
79991
79992 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79993
79994 * scripts/list-sources.sh: Scan PORTS for translations.
79995 * po/libc.pot: Regenerated.
79996
79997 2012-06-21 Andreas Jaeger <aj@suse.de>
79998
79999 [BZ #12194]
80000 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80001 warning.
80002 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80003 * bits/byteswap-16.h (__bswap_16): Likewise.
80004 * bits/byteswap.h (__bswap_constant_16): Likewise.
80005
80006 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
80007
80008 [BZ #14117]
80009 * sysdeps/i386/fpu_control.h: Removed.
80010 * sysdeps/x86_64/fpu_control.h: Moved to ...
80011 * sysdeps/x86/fpu_control.h: Here.
80012
80013 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80014 (_FPU_SETCW): Likewise.
80015
80016 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
80017
80018 [BZ #14117]
80019 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80020 * sysdeps/x86/fpu/bits/mathinline.h: This.
80021 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80022
80023 [BZ #14050]
80024 [BZ #14117]
80025 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80026 functions if __x86_64__ is defined.
80027
80028 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
80029
80030 * string/endian.h: Add !__ASSEMBLER__ condition for including
80031 conversion interfaces.
80032
80033 2012-06-15 Joseph Myers <joseph@codesourcery.com>
80034
80035 [BZ #14241]
80036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80037 of ABS(x) in calculating zero to negative powers other than odd
80038 integers.
80039 * math/libm-test.inc (pow_test): Add more tests.
80040
80041 2012-06-15 Andreas Jaeger <aj@suse.de>
80042
80043 * manual/contrib.texi (Contributors): Update entry of Liubov
80044 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80045 Machado Filho.
80046
80047 2012-06-15 Cyril Hrubis <metan@ucw.cz>
80048
80049 * string/string.h: Add __wur to GNU version of strerror_r.
80050
80051 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
80052
80053 [BZ #14229]
80054 * string/Makefile (tests): Add tst-strtok_r.
80055 * string/tst-strtok_r.c: New file.
80056 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80057 RAX_LP/RDX_LP on SAVE_PTR.
80058
80059 2012-06-14 Roland McGrath <roland@hack.frob.com>
80060
80061 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80062
80063 2012-06-14 Joseph Myers <joseph@codesourcery.com>
80064
80065 * libm_test.inc (csqrt_test): Allow more spurious underflow
80066 exceptions.
80067 (j0_test): Likewise.
80068 (j1_test): Likewise.
80069 (y0_test): Likewise.
80070 (y1_test): Likewise.
80071
80072 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
80073
80074 * po/Makefile (libc.pot): Use UTF-8 charset.
80075
80076 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
80077
80078 [BZ #14210]
80079 Suppress sign-conversion warning from FD_SET.
80080 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80081 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80082 not unsigned long int.
80083 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80084
80085 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
80086
80087 [BZ #14050]
80088 [BZ #14117]
80089 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80090 __extern_always_inline instead of __extern_inline.
80091 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80092 (__signbit): Likewise.
80093 (__signbitl): Support C++ namespace.
80094 (lrintf): New inline function.
80095 (lrint): Likewise.
80096 (llrintf): Likewise.
80097 (llrint): Likewise.
80098 (fmaxf): Likewise.
80099 (fmax): Likewise.
80100 (fminf): Likewise.
80101 (fmin): Likewise.
80102 (rint): Likewise.
80103 (rintf): Likewise.
80104 (ceil): Likewise.
80105 (ceilf): Likewise.
80106 (floor): Likewise.
80107 (floorf): Likewise.
80108 (nearbyint): Likewise.
80109 (nearbyintf): Likewise.
80110
80111 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
80112
80113 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80114 non-default versions.
80115
80116 2012-06-11 Roland McGrath <roland@hack.frob.com>
80117
80118 [BZ #14218]
80119 * manual/argp.texi (Argp): Reword argp_parse description slightly.
80120
80121 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
80122
80123 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80124 (FE_UPWARD, FE_DOWNWARD): Don't define.
80125 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80126 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80127
80128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80129 reading it.
80130 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80131 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80132
80133 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80134
80135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80137 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80139
80140 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
80141
80142 [BZ #14117]
80143 * sysdeps/i386/fpu/bits/fenv.h: Removed.
80144 * sysdeps/i386/fpu/Implies: New file.
80145 * sysdeps/x86_64/fpu/Implies: Likewise.
80146 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80147 * sysdeps/x86/fpu/bits/fenv.h: This.
80148
80149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80150 __SSE_MATH__.
80151
80152 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
80153
80154 [BZ #14134]
80155 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80156 character 0xffff that matches the last element of the
80157 conversion table.
80158
80159 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80160
80161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80162 fmodl commit.
80163
80164 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80165
80166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80167 values higher than 25.6283.
80168
80169 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80170
80171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80172 subnormal exponent extraction and add some __builtin_expect.
80173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80174 Fix for subnormal mantissa calculation.
80175
80176 2012-06-04 Mike Frysinger <vapier@gentoo.org>
80177
80178 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80179 cpu2 is -1 and errno is not ENOSYS.
80180
80181 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
80182
80183 [BZ #14117]
80184 * sysdeps/i386/i486/bits/string.h: Renamed to ...
80185 * sysdeps/x86/bits/string.h: This.
80186 * sysdeps/x86_64/bits/string.h: Removed.
80187
80188 * sysdeps/i386/i486/bits/string.h: Define inline functions only
80189 if not compiling for x86-64, but compiling for >= i486.
80190
80191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80192 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80193
80194 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80195 New macro from Linux kernel 3.4.0.
80196 (FP_XSTATE_MAGIC2): Likewise.
80197 (FP_XSTATE_MAGIC2_SIZE): Likewise.
80198 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80199 (struct _fpx_sw_bytes): New struct.
80200 (struct _xsave_hdr): Likewise.
80201 (struct _ymmh_state): Likewise.
80202 (struct _xstate): Likewise.
80203
80204 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80205 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80206 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80207 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80208 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80209 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80210
80211 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80212 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80213 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80214 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80215 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80216 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80217
80218 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80219
80220 [BZ #13743]
80221 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80222 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80223 (sysdep_headers): Include sys/platform/ppc.h.
80224 * sysdeps/powerpc/test-gettimebase.c: Test for
80225 __ppc_get_timebase() to catch future ISA opcode/insn changes.
80226 * manual/Makefile (appendices): Include platform.texi.
80227 * manual/contrib.texi (Contributors): Update @node pointers.
80228 * manual/maint.texi (Maintenance): Likewise.
80229 (Platform): New node.
80230 * manual/platform.texi: New file. Document the new features.
80231
80232 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
80233 Jakub Jelinek <jakub@redhat.com>
80234
80235 [BZ #14188]
80236 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80237 where __builtin_expect is unavailable.
80238
80239 2012-06-03 David S. Miller <davem@davemloft.net>
80240
80241 * stdlib/longlong.h: Updated from GCC.
80242
80243 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
80244
80245 [BZ #14042]
80246 * sysdeps/powerpc/powerpc32/mcount.c: New file.
80247 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80248 __mcount_internal.
80249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80250 (GLIBC_2.16): Likewise.
80251
80252 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80253
80254 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80255
80256 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80257
80258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80259 (default-abi): New variable.
80260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80261 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80262 variable.
80263 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80264 Likewise.
80265 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80266 Likewise.
80267 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80268 Likewise.
80269
80270 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80271 definition. Document in comment.
80272
80273 2012-06-01 David S. Miller <davem@davemloft.net>
80274
80275 * stdlib/longlong.h: Updated from GCC.
80276
80277 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80278
80279 [BZ #14117]
80280 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80281 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80282 sys/debugreg.h sys/io.h here.
80283 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80284 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80285 sys/io.h.
80286 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80287 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80288 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80289 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80290 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80291 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80292
80293 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80294 Define only if __x86_64__ is defined.
80295
80296 2012-06-01 Joseph Myers <joseph@codesourcery.com>
80297
80298 [BZ #14048]
80299 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80300 Use int64_t for variable i.
80301 * math/libm-test.inc (fmod_test): Add more tests.
80302
80303 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80304 z computation is not scheduled after fetestexcept.
80305 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80306 Use math_force_eval instead of asm to ensure calculation scheduled
80307 before exception test.
80308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80309 Ensure a1 + u.d computation is not scheduled after fetestexcept.
80310
80311 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
80312
80313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80314 computation is not scheduled after fetestexcept.
80315
80316 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
80317
80318 [BZ #14117]
80319 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80320 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80321
80322 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80323
80324 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80325 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80326
80327 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80328
80329 [BZ #14117]
80330 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80331 <bits/wordsize.h>.
80332 (__WCHAR_MIN): Support __WORDSIZE == 64.
80333 (__WCHAR_MAX): Likewise.
80334
80335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80337
80338 [BZ #14183]
80339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80340 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80341
80342 [BZ #14117]
80343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80345
80346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80347 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80348
80349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80350 Defined to 1 if __x86_64__ isn't defined.
80351 (_STAT_VER_LINUX_OLD): New.
80352 (st_atime): Remove duplicate.
80353 (st_mtime): Likewise.
80354 (st_ctime): Likewise.
80355
80356 2012-05-31 David S. Miller <davem@davemloft.net>
80357
80358 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80359 entries.
80360
80361 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
80362
80363 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80364 gen-libm-test.pl.
80365
80366 [BZ #14132]
80367 * elf/dl-reloc.c: Include <_itoa.h>.
80368 (_dl_reloc_bad_type): Remove use of INTUSE.
80369 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80370 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80371 * stdio-common/psiginfo.c (psiginfo): Likewise.
80372 * stdio-common/psignal.c (psignal): Likewise.
80373 * string/strsignal.c (strsignal): Likewise.
80374 * include/signal.h (_sys_siglist): Declare hidden proto.
80375 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
80376 INTVARDEF with libc_hidden_data_def.
80377 * stdio-common/itoa-udigits.c: Likewise.
80378 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80379 (_itoa_lower_digits_internal): Remove declaration.
80380 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80381 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80382 (_sys_sigabbrev_internal): Remove aliases.
80383 (_sys_siglist): Define hidden alias.
80384
80385 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
80386
80387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80388 bits/sysctl.h.
80389
80390 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
80391
80392 [BZ #14117]
80393 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80394 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80395
80396 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80397 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80398 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80399 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80401 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80402
80403 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80405 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80406
80407 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80408 with __addr.
80409 (insw): Likewise.
80410 (insl): Likewise.
80411 (outsb): Likewise.
80412 (outsw): Likewise.
80413 (outsl): Likewise.
80414
80415 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80416 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80417 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80418
80419 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80420 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80421 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80422 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80423 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80424 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80425
80426 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80427 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80428
80429 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80430 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80431
80432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80434 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80435
80436 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80437 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80438 to ...
80439 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80440
80441 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80442 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80443 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80444
80445 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80446 for x86-64.
80447 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80448
80449 2012-05-31 Joseph Myers <joseph@codesourcery.com>
80450
80451 * math/math.h (M_El): Use two more decimal places.
80452 (M_LOG2El): Likewise.
80453 (M_LOG10El): Likewise.
80454 (M_LN2l): Likewise.
80455 (M_LN10l): Likewise.
80456 (M_PIl): Likewise.
80457 (M_PI_2l): Likewise.
80458 (M_PI_4l): Likewise.
80459 (M_1_PIl): Likewise.
80460 (M_2_PIl): Likewise.
80461 (M_2_SQRTPIl): Likewise.
80462 (M_SQRT2l): Likewise.
80463 (M_SQRT1_2l): Likewise.
80464
80465 2012-05-31 David S. Miller <davem@davemloft.net>
80466
80467 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80468 values between float registers.
80469 * sysdeps/sparc/sparc64/memset.S: Likewise.
80470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80471
80472 2012-05-31 Mike Frysinger <vapier@gentoo.org>
80473
80474 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80475 -D_FORTIFY_SOURCE=1.
80476 (CPPFLAGS-tst-longjmp_chk.c): Define.
80477 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80478 (CPPFLAGS-tst-longjmp_chk2.c): Define.
80479 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80480 CFLAGS-tst-wchar-h.c.
80481
80482 2012-05-31 Marek Polacek <polacek@redhat.com>
80483
80484 [BZ #14132]
80485 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80486 __endmntent_internal): Remove declaration.
80487 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80488 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80489 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80490
80491 2012-05-30 David S. Miller <davem@davemloft.net>
80492
80493 * sysdeps/sparc/sparc32/soft-fp/q_util.c
80494 (___Q_simulate_exceptions): Use real FP ops rather than writing
80495 into the %fsr.
80496 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80497 Likewise.
80498
80499 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80500
80501 [BZ #14117]
80502 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80503 * sysdeps/x86/bits/xtitypes.h: This.
80504
80505 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80506 * sysdeps/x86/bits/wordsize.h: This.
80507
80508 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80509 * sysdeps/x86/bits/huge_vall.h: This.
80510
80511 * sysdeps/i386/bits/select.h: Removed.
80512 * sysdeps/x86_64/bits/select.h: Renamed to ...
80513 * sysdeps/x86/bits/select.h: This.
80514
80515 * sysdeps/i386/bits/setjmp.h: Removed.
80516 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80517 * sysdeps/x86/bits/setjmp.h: This.
80518
80519 * sysdeps/i386/bits/mathdef.h: Removed.
80520 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80521 * sysdeps/x86/bits/mathdef.h: This.
80522
80523 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
80524
80525 [BZ #14132]
80526 * include/sys/socket.h (__connect_internal)
80527 (__libc_sa_len_internal): Remove declaration.
80528 (__connect, __libc_sa_len): Declare hidden_proto.
80529 (SA_LEN): Remove use of INTUSE.
80530 * socket/connect.c: Add libc_hidden_def.
80531 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80532 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80533 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80534 alias.
80535 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80537 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80538 of adding _internal alias.
80539
80540 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80541
80542 [BZ #14117]
80543 * sysdeps/i386/bits/link.h: Removed.
80544 * sysdeps/i386/bits/linkmap.h: Likewise.
80545 * sysdeps/x86_64/bits/link.h: Renamed to ...
80546 * sysdeps/x86/bits/link.h: This.
80547 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80548 * sysdeps/x86/bits/linkmap.h: This.
80549
80550 * sysdeps/i386/bits/endian.h: Removed.
80551 * sysdeps/x86_64/bits/endian.h: Renamed to ...
80552 * sysdeps/x86/bits/endian.h: This.
80553
80554 * sysdeps/i386/bits/byteswap.h: Removed.
80555 * sysdeps/i386/bits/byteswap-16.h: Likewise.
80556 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80557 * sysdeps/x86/bits/byteswap.h: This.
80558 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80559 * sysdeps/x86/bits/byteswap-16.h: This.
80560 * sysdeps/i386/Implies: Add x86.
80561 * sysdeps/x86_64/Implies: Likewise.
80562
80563 2012-05-30 David S. Miller <davem@davemloft.net>
80564
80565 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80566 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80567 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80568 (FP_TRAPPING_EXCEPTIONS): Define.
80569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80570 (FP_TRAPPING_EXCEPTIONS): Define.
80571 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80572 subnormals only when inexact has been signalled or underflow
80573 exceptions are enabled.
80574 (_FP_PACK_CANONICAL): Likewise.
80575
80576 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80577
80578 [BZ #14183]
80579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80580 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80581
80582 2012-05-30 Richard Henderson <rth@twiddle.net>
80583
80584 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80585 with #ifndef NOT_IN_libc.
80586
80587 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
80588 marked to avoid plt entry.
80589
80590 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80591
80592 [BZ #14112]
80593 * Makeconfig (default-abi): New macro.
80594 (abi-includes): Likewise.
80595 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
80596 $(abi-$(default-abi)-lib-soname) for soname if defined.
80597 ($(common-objpfx)gnu/lib-names.stmp): Generate from
80598 abi-variants.
80599 * Makefile (installed-stubs): Likewise.
80600 * include/stubs-biarch.h: Removed.
80601 * scripts/lib-names.awk: Only handle one library at a time.
80602 * scripts/soversions.awk: Remove WORDSIZE support.
80603 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80604 entries.
80605 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80606 Removed.
80607 (syscall-list-default-condition): Likewise.
80608 (syscall-list-default-condition): Likewise.
80609 (syscall-list-includes): Likewise.
80610 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80611 syscall-list-* with abi-*. Handle undefined abi-variants.
80612 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80613 * sysdeps/unix/sysv/linux/i386/Implies: New file.
80614 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80615 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80616 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80617 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80618 Removed.
80619 (syscall-list-32-options): Likewise.
80620 (syscall-list-32-condition): Likewise.
80621 (syscall-list-64-options): Likewise.
80622 (syscall-list-64-condition): Likewise.
80623 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80624 macro.
80625 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80626 Renamed to ...
80627 (abi-*): This.
80628 (abi-64-ld-soname): New macro.
80629 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80630 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80631 Renamed to ...
80632 (abi-*): This.
80633 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80634 * sysdeps/x86_64/x32/shlib-versions: Likewise.
80635
80636 2012-05-30 Joseph Myers <joseph@codesourcery.com>
80637
80638 * sysdeps/unix/sysv/linux/kernel-features.h
80639 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80640 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80641 include <kernel-features.h>.
80642 [!__NR_ftruncate64]: Remove conditional code.
80643 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80644 [__NR_ftruncate64]: Make code unconditional.
80645 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80646 * sysdeps/unix/sysv/linux/truncate64.c: Do not
80647 include <kernel-features.h>.
80648 [!__NR_ftruncate64]: Remove conditional code.
80649 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80650 [__NR_ftruncate64]: Make code unconditional.
80651 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80653 include <kernel-features.h>.
80654 [!__NR_ftruncate64]: Remove conditional code.
80655 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80656 [__NR_ftruncate64]: Make code unconditional.
80657 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80659 include <kernel-features.h>.
80660 [!__NR_ftruncate64]: Remove conditional code.
80661 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80662 [__NR_ftruncate64]: Make code unconditional.
80663 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80664
80665 * configure.in (libc_cv_fpie): Weaken to a compile test using
80666 LIBC_TRY_CC_OPTION.
80667 * configure: Regenerated.
80668
80669 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80670
80671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80675 Refreshed.
80676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80682 Refreshed.
80683
80684 2012-05-27 David S. Miller <davem@davemloft.net>
80685
80686 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80687 (___Q_zero): New.
80688 (__Q_simulate_exceptions): Return void. Change to simulate
80689 exceptions by writing into the %fsr.
80690 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80691 (__Qp_handle_exceptions): Likewise.
80692 (numbers): Delete.
80693 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80694 __Qp_handle_exceptions.
80695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80696 __Qp_handle_exceptions.
80697 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80698 as unused and give dummy FP_RND_NEAREST initializer.
80699 (FP_INHIBIT_RESULTS): Define.
80700 (___Q_simulate_exceptions): Update declaration.
80701 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80702 formatting.
80703 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80704 as unused and give dummy FP_RND_NEAREST initializer.
80705 (__Qp_handle_exceptions): Update declaration.
80706 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80707 formatting.
80708
80709 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
80710
80711 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80712 the temporary FPU control word.
80713 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80714 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80715 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80716 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80717 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80718 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80719 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80720 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80721 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80722 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80723 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80724
80725 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80726
80727 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80728 fields.
80729
80730 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80731
80732 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80733 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80734 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80735 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80736 Likewise.
80737 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80738 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80739 Likewise.
80740
80741 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80742
80743 * po/h.po: Update from translation team.
80744
80745 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80746
80747 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80748
80749 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80750 handling of denormals.
80751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80752 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80753 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80754 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80757 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80758 Likewise.
80759
80760 2012-05-26 Marek Polacek <polacek@redhat.com>
80761
80762 [BZ #14152]
80763 * math/libm-test.inc (fma_test): Don't always expect underflow
80764 exception.
80765
80766 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80767
80768 [BZ #12416]
80769 * elf/tst-execstack.c: Include stackinfo.h.
80770 (do_test): Adjust test case to ensure that pthread_getattr_np
80771 behaviour remains the same after marking stack executable.
80772
80773 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80774
80775 * sysdeps/unix/sysv/linux/kernel-features.h
80776 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80777 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80778 kernel-features.h.
80779 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80780 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80781 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80782 kernel-features.h.
80783 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80784 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80785
80786 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80787
80788 * configure.in: Define the default includes to being none.
80789 * configure: Regenerated.
80790
80791 2012-05-25 Roland McGrath <roland@hack.frob.com>
80792
80793 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80794 * sysdeps/x86_64/setjmp.S: Likewise.
80795 * sysdeps/i386/bsd-setjmp.S: Likewise.
80796 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80797 * sysdeps/i386/setjmp.S: Likewise.
80798 * sysdeps/i386/__longjmp.S: Likewise.
80799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80800 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80801
80802 * include/stap-probe.h: New file.
80803 * configure.in: Handle --enable-systemtap.
80804 * configure: Regenerated.
80805 * config.h.in (USE_STAP_PROBE): New #undef.
80806 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80807 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80808 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80809
80810 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80811
80812 [BZ #13717]
80813 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80814 to 2.4.0 where earlier.
80815 * sysdeps/unix/sysv/linux/configure: Regenerated.
80816 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80817 <kernel-features.h>.
80818 [__ASSUME_32BITUIDS]: Make code unconditional.
80819 [!__ASSUME_32BITUIDS]: Remove conditional code.
80820 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80821 <kernel-features.h>.
80822 [__ASSUME_32BITUIDS]: Make code unconditional.
80823 [!__ASSUME_32BITUIDS]: Remove conditional code.
80824 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80825 [__ASSUME_32BITUIDS]: Make code unconditional.
80826 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80827 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80828 <kernel-features.h>.
80829 [__ASSUME_32BITUIDS]: Make code unconditional.
80830 [!__ASSUME_32BITUIDS]: Remove conditional code.
80831 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80832 <kernel-features.h>.
80833 [__ASSUME_32BITUIDS]: Make code unconditional.
80834 [!__ASSUME_32BITUIDS]: Remove conditional code.
80835 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80836 <kernel-features.h>.
80837 [__ASSUME_32BITUIDS]: Make code unconditional.
80838 [!__ASSUME_32BITUIDS]: Remove conditional code.
80839 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80840 <kernel-features.h>.
80841 [__ASSUME_32BITUIDS]: Make code unconditional.
80842 [!__ASSUME_32BITUIDS]: Remove conditional code.
80843 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80844 <kernel-features.h>.
80845 [__ASSUME_32BITUIDS]: Make code unconditional.
80846 [!__ASSUME_32BITUIDS]: Remove conditional code.
80847 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80848 <kernel-features.h>.
80849 [__ASSUME_32BITUIDS]: Make code unconditional.
80850 [!__ASSUME_32BITUIDS]: Remove conditional code.
80851 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80852 <kernel-features.h>.
80853 [__ASSUME_32BITUIDS]: Make code unconditional.
80854 [!__ASSUME_32BITUIDS]: Remove conditional code.
80855 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80856 <kernel-features.h>.
80857 [__ASSUME_32BITUIDS]: Make code unconditional.
80858 [!__ASSUME_32BITUIDS]: Remove conditional code.
80859 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80860 <kernel-features.h>.
80861 [__ASSUME_32BITUIDS]: Make code unconditional.
80862 [!__ASSUME_32BITUIDS]: Remove conditional code.
80863 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80864 <kernel-features.h>.
80865 [__ASSUME_32BITUIDS]: Make code unconditional.
80866 [!__ASSUME_32BITUIDS]: Remove conditional code.
80867 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80868 <kernel-features.h>.
80869 [__NR_setresgid] (__setresgid): Do not declare.
80870 [__ASSUME_32BITUIDS]: Make code unconditional.
80871 [!__ASSUME_32BITUIDS]: Remove conditional code.
80872 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80873 <kernel-features.h>.
80874 [__NR_setresuid] (__setresuid): Do not declare.
80875 [__ASSUME_32BITUIDS]: Make code unconditional.
80876 [!__ASSUME_32BITUIDS]: Remove conditional code.
80877 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80878 <kernel-features.h>.
80879 [__ASSUME_32BITUIDS]: Make code unconditional.
80880 [!__ASSUME_32BITUIDS]: Remove conditional code.
80881 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80882 <kernel-features.h>.
80883 [__ASSUME_32BITUIDS]: Make code unconditional.
80884 [!__ASSUME_32BITUIDS]: Remove conditional code.
80885 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80886 <kernel-features.h>.
80887 [__ASSUME_32BITUIDS]: Make code unconditional.
80888 [!__ASSUME_32BITUIDS]: Remove conditional code.
80889 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80890 <kernel-features.h>.
80891 [__ASSUME_32BITUIDS]: Make code unconditional.
80892 [!__ASSUME_32BITUIDS]: Remove conditional code.
80893 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80894 <kernel-features.h>.
80895 [__ASSUME_32BITUIDS]: Make code unconditional.
80896 [!__ASSUME_32BITUIDS]: Remove conditional code.
80897 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80898 <kernel-features.h>.
80899 [__ASSUME_32BITUIDS]: Make code unconditional.
80900 [!__ASSUME_32BITUIDS]: Remove conditional code.
80901 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80902 <kernel-features.h>.
80903 [__ASSUME_32BITUIDS]: Make code unconditional.
80904 [!__ASSUME_32BITUIDS]: Remove conditional code.
80905 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80906 <kernel-features.h>.
80907 [__ASSUME_32BITUIDS]: Make code unconditional.
80908 [!__ASSUME_32BITUIDS]: Remove conditional code.
80909 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80910 <kernel-features.h>.
80911 [__ASSUME_32BITUIDS]: Make code unconditional.
80912 [!__ASSUME_32BITUIDS]: Remove conditional code.
80913 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80914 <kernel-features.h>.
80915 [__ASSUME_32BITUIDS]: Make code unconditional.
80916 [!__ASSUME_32BITUIDS]: Remove conditional code.
80917 * sysdeps/unix/sysv/linux/kernel-features.h
80918 (__ASSUME_SETRESUID_SYSCALL): Remove.
80919 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80920 (__ASSUME_32BITUIDS): Likewise.
80921 (__ASSUME_LDT_WORKS): Likewise.
80922 (__ASSUME_O_DIRECTORY): Likewise.
80923 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80924 architecture but not kernel version.
80925 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80926 (__ASSUME_MMAP2_SYSCALL): Likewise.
80927 (__ASSUME_STAT64_SYSCALL): Likewise.
80928 (__ASSUME_IPC64): Likewise.
80929 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80930 <kernel-features.h>.
80931 [__ASSUME_32BITUIDS]: Make code unconditional.
80932 [!__ASSUME_32BITUIDS]: Remove conditional code.
80933 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80934 <kernel-features.h>.
80935 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80936 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80937 132096]: Remove conditional code.
80938 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80939 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80940 <kernel-features.h>.
80941 [__ASSUME_32BITUIDS]: Make code unconditional.
80942 [!__ASSUME_32BITUIDS]: Remove conditional code.
80943 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80944 <kernel-features.h>.
80945 [__ASSUME_32BITUIDS]: Make code unconditional.
80946 [!__ASSUME_32BITUIDS]: Remove conditional code.
80947 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80948 <kernel-features.h>.
80949 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80950 unconditional.
80951 (__setresgid): Do not declare.
80952 [__ASSUME_32BITUIDS]: Make code unconditional.
80953 [!__ASSUME_32BITUIDS]: Remove conditional code.
80954 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80955 <kernel-features.h>.
80956 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80957 unconditional.
80958 (__setresuid): Do not declare.
80959 [__ASSUME_32BITUIDS]: Make code unconditional.
80960 [!__ASSUME_32BITUIDS]: Remove conditional code.
80961 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80962 <kernel-features.h>.
80963 [__ASSUME_32BITUIDS]: Make code unconditional.
80964 [!__ASSUME_32BITUIDS]: Remove conditional code.
80965 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80966 <kernel-features.h>.
80967 [__ASSUME_32BITUIDS]: Make code unconditional.
80968 [!__ASSUME_32BITUIDS]: Remove conditional code.
80969
80970 2012-05-25 Richard Henderson <rth@twiddle.net>
80971
80972 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80973 dl_hwcap to ifunc resolver.
80974 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80975 elf_ifunc_invoke.
80976 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80977 dl_hwcap to ifunc resolver.
80978 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80979
80980 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80981
80982 [BZ #14153]
80983 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80984 for |x| <= 2**-26, not 2**-57.
80985 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80986 exception.
80987
80988 2012-05-24 Jeff Law <law@redhat.com>
80989
80990 * stdio-common/Makefile (tests): Add bug25.
80991 * stdio-common/bug25.c: New test.
80992
80993 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80994
80995 [BZ #13576]
80996 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80997 multiple of MALLOC_ALIGNMENT in size.
80998 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80999
81000 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81001
81002 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81003 Require >= 256.
81004 (FILENAME_MAX): Use macro-int-constant.
81005 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
81006 (_IOFBF): Use macro-int-constant.
81007 (_IOLBF): Likewise.
81008 (_IONBF): Likewise.
81009 (SEEK_CUR): Likewise.
81010 (SEEK_END): Likewise.
81011 (SEEK_SET): Likewise.
81012 (TMP_MAX): Likewise.
81013 (EOF): Use macro-int-constant. Require < 0.
81014 (NULL): Use macro-constant. Require == 0.
81015 (stdin): Require type to be FILE *.
81016 (stdout): Likewise.
81017 (stderr): Likewise.
81018 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81019 macro-int-constant.
81020 (EXIT_SUCCESS): Likewise.
81021 (NULL): Use macro-constant. Require == 0.
81022 (RAND_MAX): Use macro-int-constant.
81023 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81024 [C99-based standards] (strtof): Require function.
81025 [C99-based standards] (strtold): Likewise.
81026 [C99-based standards] (strtoll): Likewise.
81027 [C99-based standards] (strtoull): Likewise.
81028 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81029 [ISO || ISO99 || ISO11] (limits.h): Likewise.
81030 [ISO || ISO99 || ISO11] (math.h): Likewise.
81031 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81032 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
81034
81035 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
81036
81037 [BZ #14132]
81038 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81039 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81040 * intl/dgettext.c (DCGETTEXT): Likewise.
81041 * intl/gettext.c (DCGETTEXT): Likewise.
81042 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81043 * posix/regex_internal.h (gettext): Likewise.
81044 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81045 Remove declaration.
81046 * include/argz.h (__argz_count_internal)
81047 (__argz_stringify_internal): Remove declaration.
81048 (__argz_count, __argz_stringify): Declare hidden proto.
81049 * intl/dcgettext.c: Remove use of INTDEF.
81050 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81051 * string/argz-stringify.c: Likewise.
81052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81054 Declare hidden proto.
81055 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81056 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81057 Declare hidden proto.
81058 * include/stdio.h (__asprintf_internal): Don't declare.
81059 (__asprintf): Don't define as macro. Declare hidden proto.
81060 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81061 (__fsetlocking): Declare hidden proto.
81062 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81063 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81064 hidden proto.
81065 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81066 (_IO_setlinebuf): Remove use of INTUSE.
81067 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81068 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81069 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81070 Remove declaration.
81071 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81072 (_IO_do_flush): Remove use of INTUSE.
81073 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81074 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81075 (_IO_adjust_column, _IO_least_wmarker)
81076 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81077 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81078 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81079 (_IO_default_doallocate, _IO_wdefault_doallocate)
81080 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81081 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81082 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81083 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81084 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81085 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81086 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81087 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81088 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81089 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81090 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81091 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81092 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81093 proto.
81094 (_IO_flush_all_internal, _IO_adjust_column_internal)
81095 (_IO_default_uflow_internal, _IO_default_finish_internal)
81096 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81097 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81098 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81099 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81100 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81101 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81102 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81103 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81104 (_IO_file_close_internal, _IO_file_close_it_internal)
81105 (_IO_file_underflow_internal, _IO_file_overflow_internal)
81106 (_IO_file_init_internal, _IO_file_attach_internal)
81107 (_IO_file_fopen_internal, _IO_file_read_internal)
81108 (_IO_file_sync_internal, _IO_file_seek_internal)
81109 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81110 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81111 (_IO_str_underflow_internal, _IO_str_overflow_internal)
81112 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81113 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81114 (_IO_list_all_internal, _IO_link_in_internal)
81115 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81116 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81117 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81118 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81119 (_IO_do_write_internal, _IO_padn_internal)
81120 (_IO_getline_info_internal, _IO_getline_internal)
81121 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81122 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81123 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81124 (_IO_vfscanf_internal, _IO_vfprintf_internal)
81125 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81126 (_IO_init_internal, _IO_un_link_internal): Don't declare.
81127 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81128 with libc_hidden_ver, remove use of INTUSE.
81129 * libio/genops.c: Likewise.
81130 * libio/freopen.c: Likewise.
81131 * libio/freopen64.c: Likewise.
81132 * libio/iofclose.c: Likewise.
81133 * libio/iofdopen.c: Likewise.
81134 * libio/iofflush.c: Likewise.
81135 * libio/iofflush_u.c: Likewise.
81136 * libio/iofgets.c: Likewise.
81137 * libio/iofgets_u.c: Likewise.
81138 * libio/iofopen.c: Likewise.
81139 * libio/iofopncook.c: Likewise.
81140 * libio/iofread.c: Likewise.
81141 * libio/iofread_u.c: Likewise.
81142 * libio/ioftell.c: Likewise.
81143 * libio/iofwrite.c: Likewise.
81144 * libio/iogetline.c: Likewise.
81145 * libio/iogets.c: Likewise.
81146 * libio/iogetwline.c: Likewise.
81147 * libio/iopadn.c: Likewise.
81148 * libio/iopopen.c: Likewise.
81149 * libio/ioseekoff.c: Likewise.
81150 * libio/ioseekpos.c: Likewise.
81151 * libio/iosetbuffer.c: Likewise.
81152 * libio/iosetvbuf.c: Likewise.
81153 * libio/ioungetc.c: Likewise.
81154 * libio/ioungetwc.c: Likewise.
81155 * libio/iovdprintf.c: Likewise.
81156 * libio/iovsprintf.c: Likewise.
81157 * libio/iovsscanf.c: Likewise.
81158 * libio/memstream.c: Likewise.
81159 * libio/obprintf.c: Likewise.
81160 * libio/oldfileops.c: Likewise.
81161 * libio/oldiofclose.c: Likewise.
81162 * libio/oldiofdopen.c: Likewise.
81163 * libio/oldiofopen.c: Likewise.
81164 * libio/oldiopopen.c: Likewise.
81165 * libio/oldstdfiles.c: Likewise.
81166 * libio/putc.c: Likewise.
81167 * libio/setbuf.c: Likewise.
81168 * libio/setlinebuf.c: Likewise.
81169 * libio/stdfiles.c: Likewise.
81170 * libio/strops.c: Likewise.
81171 * libio/vasprintf.c: Likewise.
81172 * libio/vscanf.c: Likewise.
81173 * libio/vsnprintf.c: Likewise.
81174 * libio/vswprintf.c: Likewise.
81175 * libio/wfiledoalloc.c: Likewise.
81176 * libio/wfileops.c: Likewise.
81177 * libio/wgenops.c: Likewise.
81178 * libio/wmemstream.c: Likewise.
81179 * libio/wstrops.c: Likewise.
81180 * libio/__fpurge.c: Likewise.
81181 * libio/__fsetlocking.c: Likewise.
81182 * assert/assert.c: Likewise.
81183 * debug/fgets_chk.c: Likewise.
81184 * debug/fgets_u_chk.c: Likewise.
81185 * debug/fread_chk.c: Likewise.
81186 * debug/fread_u_chk.c: Likewise.
81187 * debug/gets_chk.c: Likewise.
81188 * debug/obprintf_chk.c: Likewise.
81189 * debug/vasprintf_chk.c: Likewise.
81190 * debug/vdprintf_chk.c: Likewise.
81191 * debug/vsnprintf_chk.c: Likewise.
81192 * debug/vsprintf_chk.c: Likewise.
81193 * malloc/mtrace.c: Likewise.
81194 * misc/error.c: Likewise.
81195 * misc/syslog.c: Likewise.
81196 * stdio-common/asprintf.c: Likewise.
81197 * stdio-common/fxprintf.c: Likewise.
81198 * stdio-common/getw.c: Likewise.
81199 * stdio-common/isoc99_fscanf.c: Likewise.
81200 * stdio-common/isoc99_scanf.c: Likewise.
81201 * stdio-common/isoc99_vfscanf.c: Likewise.
81202 * stdio-common/isoc99_vscanf.c: Likewise.
81203 * stdio-common/isoc99_vsscanf.c: Likewise.
81204 * stdio-common/printf-prs.c: Likewise.
81205 * stdio-common/printf_fp.c: Likewise.
81206 * stdio-common/printf_fphex.c: Likewise.
81207 * stdio-common/printf_size.c: Likewise.
81208 * stdio-common/putw.c: Likewise.
81209 * stdio-common/scanf.c: Likewise.
81210 * stdio-common/sprintf.c: Likewise.
81211 * stdio-common/tmpfile.c: Likewise.
81212 * stdio-common/vfprintf.c: Likewise.
81213 * stdio-common/vfscanf.c: Likewise.
81214 * stdlib/strfmon_l.c: Likewise.
81215 * sunrpc/openchild.c: Likewise.
81216 * sunrpc/xdr_stdio.c: Likewise.
81217 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81218 * sysdeps/mach/hurd/tmpfile.c: Likewise.
81219
81220 2012-05-24 Roland McGrath <roland@hack.frob.com>
81221
81222 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81223
81224 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81225 in the third column, to generate for the shared library an IFUNC
81226 that uses _dl_vdso_vsym.
81227 * Makerules (COMPILE.c, compile-stdin.c): New variables.
81228 * Makeconfig (object-suffixes-noshared): New variable.
81229
81230 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81231 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81232 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81233 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81234
81235 [BZ #14132]
81236 * include/sys/time.h (__gettimeofday): Remove macro.
81237 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81238 * time/gettimeofday.c (__gettimeofday): Remove #undef.
81239 Remove INTDEF.
81240 (__gettimeofday): Add libc_hidden_def.
81241 (gettimeofday): Add libc_hidden_weak.
81242 * sysdeps/mach/gettimeofday.c: Likewise.
81243 * sysdeps/posix/gettimeofday.c: Likewise.
81244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81245 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81247 (__gettimeofday_internal): Remove strong_alias.
81248 (__gettimeofday): Add libc_hidden_def.
81249 (gettimeofday): Add libc_hidden_weak.
81250 * sysdeps/unix/syscalls.list (gettimeofday):
81251 Remove __gettimeofday_internal alias.
81252
81253 2012-05-24 Daniel Jacobowitz <drow@false.org>
81254 H.J. Lu <hongjiu.lu@intel.com>
81255
81256 [BZ #12495]
81257 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81258 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81259 (largebin_index_32_big): New.
81260 (largebin_index): Use it for 16-byte alignment.
81261 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
81262 correction with front_misalign.
81263
81264 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
81265
81266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81268 Likewise.
81269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81270 Likewise.
81271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81272 Likewise.
81273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81274 Likewise.
81275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81276 Likewise.
81277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81278 Likewise.
81279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81280 Likewise.
81281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81282 Likewise.
81283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81284 Likewise.
81285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81286 Likewise.
81287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81288 Likewise.
81289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81290 Likewise.
81291
81292 * scripts/data/c++-types-x32-linux-gnu.data: New file.
81293 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81294
81295 2012-05-24 Joseph Myers <joseph@codesourcery.com>
81296
81297 [BZ #10846]
81298 [BZ #14036]
81299 * math/libm-test.inc (exp_test): Add test from bug 14036.
81300 (pow_test): Add test from bug 10846.
81301
81302 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81303 and other flags.
81304 (special_function): Do not include flags in test name.
81305 (parse_args): Likewise.
81306 * sysdeps/i386/fpu/libm-test-ulps: Update.
81307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81308 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81309 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81311
81312 * math/gen-libm-test.pl (%beautify): Add entries for underflow
81313 exceptions.
81314 * math/libm-test.inc ("Philosophy"): Update comment about
81315 exception testing.
81316 (UNDERFLOW_EXCEPTION): New macro.
81317 (UNDERFLOW_EXCEPTION_OK): Likewise.
81318 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81319 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81320 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81321 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81322 (INVALID_EXCEPTION_OK): Update value.
81323 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81324 (OVERFLOW_EXCEPTION_OK): Likewise.
81325 (IGNORE_ZERO_INF_SIGN): Likewise.
81326 (test_exceptions): Handle underflow exceptions.
81327 (acos_test): Update for underflow exception expectations.
81328 (cexp_test): Likewise.
81329 (clog_test): Likewise.
81330 (clog10_test): Likewise.
81331 (csqrt_test): Likewise.
81332 (ctan_test): Likewise.
81333 (ctanh_test): Likewise.
81334 (exp_test): Likewise.
81335 (exp10_test): Likewise.
81336 (exp2_test): Likewise.
81337 (expm1_test): Likewise.
81338 (fma_test): Likewise.
81339 (j0_test): Likewise.
81340 (jn_test): Likewise.
81341 (nexttoward_test): Likewise.
81342 (pow_test): Likewise.
81343 (scalbn_test): Likewise.
81344 (scalbln_test): Likewise.
81345 (tan_test): Likewise.
81346 (y1_test): Likewise.
81347 * sysdeps/i386/fpu/libm-test-ulps: Update.
81348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81349
81350 2012-05-23 David S. Miller <davem@davemloft.net>
81351
81352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81353 (__libc_sigaction): Remove unused local variables.
81354
81355 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81356
81357 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81358
81359 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
81360
81361 mktime: avoid signed integer overflow
81362 * time/mktime.c (__mktime_internal): Do not mishandle the case
81363 where diff == INT_MIN.
81364
81365 mktime: simplify computation of average
81366 * time/mktime.c (ranged_convert): Use new time_t_avg function
81367 instead of rolling our own (probably-slower) code.
81368
81369 mktime: do not assume signed right shift propagates sign bit
81370 * time/mktime.c (isdst_differ): New static function.
81371 (__mktime_internal): No need to normalize tm_isdst now.
81372 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81373 tm_isdst values.
81374
81375 mktime: merge another wrapv change from gnulib
81376 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81377 from some compilers.
81378
81379 mktime: remove incorrect attempt at unusual arithmetics
81380 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81381 The code didn't really work on such machines anyway.
81382 (TYPE_MINIMUM): Assume two's complement.
81383 (twos_complement_arithmetic): Verify that long_int and time_t
81384 are two's complement (or unsigned, in the latter case).
81385
81386 mktime: check signed shifts on long_int and time_t, too
81387 * time/mktime.c (SHR): Check that shifts work as desired
81388 on the types long_int and time_t too, as SHR is used on
81389 such types.
81390
81391 mktime: do not assume 'long' is wide enough
81392 * time/mktime.c (verify): Move decl up.
81393 (long_int): New type.
81394 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81395 to remove assumption in the code that 'long' is wide enough to
81396 store year values. This assumption is not true on x32 and on
81397 some non-glibc platforms.
81398
81399 mktime: merge wrapv change from gnulib
81400 * time/mktime.c (WRAPV): New macro.
81401 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81402 (guess_time_tm, __mktime_internal): Do not assume that signed
81403 integer overflow wraps around; modern compilers generate code
81404 where this assumption is no longer valid.
81405
81406 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81407
81408 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81409 Replace "jmp L(pseudo_end)" with "ret".
81410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81411 Likewise.
81412
81413 2012-05-23 Andreas Jaeger <aj@suse.de>
81414
81415 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81416 * sysdeps/unix/sysv/linux/poll.c: Remove file.
81417
81418 2012-05-23 Andreas Jaeger <aj@suse.de>
81419 Maximilian Attems <max@stro.at>
81420
81421 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81422 New macros.
81423
81424 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
81425
81426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81427 code so that pseudo_end is just ret and the stack pointer is
81428 correct also for static library in error case.
81429
81430 2012-05-23 Joseph Myers <joseph@codesourcery.com>
81431
81432 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81433 move to syscalls.list.
81434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81438
81439 * manual/install.texi (Running make install): Do not mention Linux
81440 kernel version for which pt_chown is not needed.
81441 (Linux): Do not mention problems with nscd with 2.0 kernels.
81442 * INSTALL: Regenerated.
81443
81444 2012-05-23 Andreas Jaeger <aj@suse.de>
81445
81446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81447 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81448 macro.
81449 * sysdeps/unix/sysv/linux/s390/bits/mman.h
81450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81451 * sysdeps/unix/sysv/linux/sh/bits/mman.h
81452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81453 * sysdeps/unix/sysv/linux/i386/bits/mman.h
81454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81455 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81456 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81458 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81459 * sysdeps/unix/sysv/linux/bits/in.h
81460 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81461
81462 2012-05-22 Roland McGrath <roland@hack.frob.com>
81463
81464 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81465 (PREPARE_VERSION): Just use assert instead, it will be elided
81466 under [NDEBUG] anyway.
81467
81468 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81469
81470 * sysdeps/unix/sysv/linux/Makefile: Include
81471 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81472 (sysdep_routines): Remove sysctl.
81473 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81474 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81475 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81476 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81477 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81478
81479 2012-05-22 Andreas Jaeger <aj@suse.de>
81480
81481 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81482 that pseudo_end is just ret and the stack pointer is correct also
81483 for static library in error case.
81484
81485 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
81486
81487 [BZ #14122]
81488 * nss/nsswitch.c (defconfig_entries): New variable.
81489 (__nss_database_lookup): Don't leak defconfig entries.
81490 (nss_parse_service_list): Don't leak on error paths.
81491 (free_database_entries): New function.
81492 (free_defconfig): New function.
81493 (free_mem): Move common code to free_database_entries.
81494
81495 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81496
81497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81498 Add arch_prctl.
81499 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81500
81501 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81502 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81504 New macro.
81505 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81506 (INTERNAL_SYSCALL_TYPES): Likewise.
81507 (LOAD_ARGS_TYPES_[1-6]): Likewise.
81508 (LOAD_REGS_TYPES_[1-6]): Likewise.
81509 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81510 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81511
81512 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81513
81514 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81515 copysignl for GLIBC_2_0.
81516 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81517 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81519 logbl for GLIBC_2_0.
81520 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81521 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81522
81523 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81524
81525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81526 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81527
81528 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81529 Use "neg %eax".
81530
81531 * time/mktime.c: Update copyright years.
81532
81533 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
81534
81535 mktime: merge comment-quoting-style change from gnulib
81536 * time/mktime.c: Quote 'like this' in comments.
81537 The GNU coding standards suggest that we no longer quote `like this',
81538 as "`" and "'" are typically rendered asymmetrically nowadays.
81539 The typical gnulib style is to quote 'like this' when quoting
81540 code, and "like this" when quoting English.
81541
81542 * time/mktime.c (compile-command): Add "-I.".
81543
81544 mktime: merge mktime-internal.h change from gnulib
81545 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81546
81547 mktime: merge time_r change from gnulib
81548 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81549
81550 mktime: merge DEBUG change from gnulib
81551 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81552 case system <time.h> has a #define.
81553
81554 mktime: merge <sys/types.h> change from gnulib
81555 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81556 since <time.t> is now guaranteed to define time_t.
81557
81558 mktime: merge HAVE_CONFIG_H change from gnulib
81559 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81560
81561 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
81562
81563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81564 Use "neg %eax".
81565
81566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81567 __rlim_t cast.
81568 (struct rusage): Use anonymous union to pad each field to
81569 __syscall_slong_t.
81570
81571 2012-05-21 David S. Miller <davem@davemloft.net>
81572
81573 * Makefules (o-iterator): Remove .s cases.
81574 (compile-command.s): Delete.
81575 (COMPILE.s): Delete.
81576 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81577
81578 2012-05-21 Joseph Myers <joseph@codesourcery.com>
81579
81580 * configure.in (libc_cv_predef_stack_protector): Only consider
81581 "foobar" and "__stack_chk_fail" lines in libc_undefs.
81582 * configure: Regenerated.
81583
81584 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81585
81586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81587 New macro. Use R*LP on int and pointer.
81588 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81589 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81590 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81591 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81592
81593 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81594 [__WORDSIZE_TIME64_COMPAT32] instead of
81595 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81596 (struct utmp): Likewise.
81597 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81598 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81599 Renamed to ...
81600 (__WORDSIZE_TIME64_COMPAT32): This.
81601 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81602 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81603 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81604 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81605 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81606 (__WORDSIZE_TIME64_COMPAT32): New macro.
81607
81608 2012-05-21 Andreas Jaeger <aj@suse.de>
81609
81610 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81611 only if [SHARED]. Add prototype for __wcschr_ia32.
81612
81613 2012-05-21 Roland McGrath <roland@hack.frob.com>
81614
81615 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81616 of %rbp unmolested in the jmp_buf while mangling the low bits.
81617 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81618 unmolested high bits of %rbp while demangling the low bits.
81619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81620
81621 2012-05-21 Andreas Jaeger <aj@suse.de>
81622
81623 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81624 * sunrpc/svc_simple.c: Use it for registerrpc.
81625 * sunrpc/xcrypt.c: Use it for passwd2des.
81626
81627 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81628
81629 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81630
81631 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81632 Don't define if [__SYSCALL_WORDSIZE != 32].
81633 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81634 New macro.
81635
81636 2012-05-21 Bruno Haible <bruno@clisp.org>
81637 Andreas Jaeger <aj@suse.de>
81638
81639 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81640 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81641 inptr and inend for must_buffer_ch.
81642 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81643 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81644 * stdio-common/Makefile (tests): Remove bug15.
81645 (bug15-ENV): Remove macro.
81646 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81647 anymore.
81648
81649 2012-05-19 Andreas Jaeger <aj@suse.de>
81650 Roland McGrath <roland@hack.frob.com>
81651
81652 * manual/contrib.texi: Completely rewritten. It contains now an
81653 alphabetical list of contributors and their contributions.
81654
81655 2012-05-21 Richard Henderson <rth@twiddle.net>
81656
81657 * misc/getauxval.c (__getauxval): Use unsigned long int.
81658 * misc/sys/auxv.h: Include <sys/cdefs.h>.
81659 (getauxval): Use unsigned long int.
81660
81661 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
81662
81663 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81664
81665 2012-05-21 Roland McGrath <roland@hack.frob.com>
81666
81667 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81668 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81669 __alignof__ (long double).
81670
81671 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81672
81673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81674
81675 2012-05-20 Richard Henderson <rth@twiddle.net>
81676
81677 * misc/getauxval.c: New file.
81678 * misc/sys/auxv.h: New file.
81679 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81680 (routines): Add getauxval.
81681 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81682 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81683 * elf/dl-sysdep.c (_dl_auxv): Remove.
81684 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81685 * elf/dl-support.c (_dl_auxv): New variable.
81686 (_dl_aux_init): Initialize it.
81687 * manual/startup.texi (Auxiliary Vector): New node.
81688 * sysdeps/generic/bits/hwcap.h: New file.
81689 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81690 * sysdeps/powerpc/sysdep.h: ... here. Include it.
81691 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81692 * sysdeps/sparc/sysdep.h: ... here. Include it.
81693 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81696 Update.
81697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81700 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81705
81706 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81707
81708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81709
81710 2012-05-19 David S. Miller <davem@davemloft.net>
81711
81712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
81713
81714 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81715
81716 [BZ #14123]
81717 * math/s_ccosh.c: Include <float.h>
81718 (__ccosh): Avoid internal overflow calculating sinh and cosh
81719 values before multiplying by sin and cos values.
81720 * math/s_ccoshf.c: Likewise.
81721 * math/s_ccoshl.c: Likewise.
81722 * math/s_csin.c: Likewise.
81723 * math/s_csinf.c: Likewise.
81724 * math/s_csinl.c: Likewise.
81725 * math/s_csinh.c: Likewise.
81726 * math/s_csinhf.c: Likewise.
81727 * math/s_csinhl.c: Likewise.
81728 * math/libm-test.inc (ccos_test): Add more tests.
81729 (ccosh_test): Likewise.
81730 (csin_test): Likewise.
81731 (csinh_test): Likewise.
81732 * sysdeps/i386/fpu/libm-test-ulps: Update.
81733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81734
81735 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81736
81737 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81738 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81739
81740 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81741
81742 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81743
81744 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81745 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81746 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81747 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81748 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81749 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81750 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81751 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81752 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81753 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81754 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81755 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81756 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81757 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81758 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81759 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81760 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81761 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81762 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81763 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81764 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81765 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81766 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81767 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81768 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81769 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81770 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81771 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81772 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81773 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81774 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81775
81776 2012-05-18 Andreas Jaeger <aj@suse.de>
81777
81778 * csu/.gitignore: Delete.
81779
81780 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81781
81782 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81783 (timex): Use __syscall_slong_t.
81784
81785 2012-05-18 Andreas Jaeger <aj@suse.de>
81786 Carlos O'Donell <carlos_odonell@mentor.com>
81787
81788 * manual/install.texi (Configuring and compiling): Update
81789 description about files modified in the source directory.
81790 * INSTALL: Regenerated.
81791
81792 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81793
81794 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81795 value. Use "or" to set return value to -1.
81796 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81797 negate return value.
81798
81799 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81800
81801 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81802 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81803 failure if the compiler has Graphite support disabled.
81804 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81805 Likewise.
81806 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81807 (CFLAGS-memmove.c): Likewise.
81808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81809 Likewise.
81810
81811 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81812
81813 * sysdeps/x86_64/x32/_itoa.h: New file.
81814
81815 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81816 getdents system call only if kernel and user dirents have the
81817 same d_ino and d_off.
81818
81819 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81820 LLONG_MAX != LONG_MAX.
81821 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81822 (_fitoa_word): Likewise.
81823
81824 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81825 years.
81826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81828 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81829
81830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81831 include <bits/wordsize.h>. Check __x86_64__ instead of
81832 __WORDSIZE.
81833 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81834 if __x86_64__ is defined. Use anonymous union on fpstate.
81835
81836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81837 anonymous union.
81838
81839 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81840
81841 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81842 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81843 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81844 Refer to _rtld_local_ro instead of _rtld_global_ro.
81845 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81846 Likewise.
81847 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81848 Likewise.
81849 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81850 Likewise.
81851 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81852 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81853 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81854
81855 [BZ #10882]
81856 * sysdeps/powerpc/powerpc32/dl-machine.c
81857 (__elf_machine_runtime_setup) [PROF]: Don't reference
81858 _dl_prof_resolve.
81859
81860 2012-05-18 Andreas Jaeger <aj@suse.de>
81861
81862 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81863 function only available for GCCs before 3.4 since GCC 3.4
81864 introduced a builtin.
81865 (lrint): Likewise.
81866 (llrintf): Likewise.
81867 (llrint): Likewise.
81868 (fmaxf): Likewise.
81869 (fmax): Likewise.
81870 (fminf): Likewise.
81871 (fmin): Likewise.
81872 (rint): Likewise.
81873 (rintf): Likewise.
81874 (nearbyint): Likewise.
81875 (nearbyintf): Likewise.
81876 (ceil): Likewise.
81877 (ceilf): Likewise.
81878 (floor): Likewise.
81879 (floorf): Likewise.
81880
81881 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81882
81883 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81884 on both fields and cast pointer to __syscall_ulong_t.
81885
81886 * bits/types.h (__fsword_t): New type.
81887 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81888 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81890 (__FSWORD_T_TYPE): Likewise.
81891 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81892 (__FSWORD_T_TYPE): Likewise.
81893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81894 (__FSWORD_T_TYPE): Likewise.
81895 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81896 (__FSWORD_T_TYPE): Likewise.
81897 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81898 __SWORD_TYPE with __fsword_t.
81899 (statfs64): Likewise.
81900
81901 2012-05-17 David S. Miller <davem@davemloft.net>
81902
81903 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81904
81905 2012-05-17 Andreas Jaeger <aj@suse.de>
81906
81907 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81908 warning.
81909
81910 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81911
81912 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81913
81914 2012-05-17 Andreas Jaeger <aj@suse.de>
81915
81916 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81917 when it is used.
81918
81919 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81920
81921 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81922
81923 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81924
81925 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81926 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81927
81928 2012-05-17 Andreas Jaeger <aj@suse.de>
81929 Carlos O'Donell <carlos_odonell@mentor.com>
81930
81931 [BZ #14059]
81932 * sysdeps/x86_64/multiarch/init-arch.h
81933 (bit_YMM_Usable): Rename to...
81934 (bit_AVX_Usable): ... this.
81935 (bit_FMA4_Usable): New macro.
81936 (bit_XMM_state): New macro.
81937 (bit_YMM_state): New macro.
81938 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81939 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81940 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81941 (CPUID_OSXSAVE): New macro.
81942 (CPUID_AVX): New macro.
81943 (CPUID_FMA4): New macro.
81944 (index_YMM_Usable): Rename to...
81945 (index_AVX_Usable): ... this.
81946 (HAS_AVX): Use HAS_ARCH_FEATURE.
81947 (HAS_FMA4): Likewise.
81948 (HAS_YMM_USABLE): Remove.
81949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81950 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81951 are present.
81952 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81953 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81954 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81955 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81956 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81957
81958 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81959
81960 * math/libm-test.c: Support platforms without multiple rounding modes.
81961 * math/bug-nextafter.c: Support platforms without FP exceptions.
81962 * math/bug-nexttoward.c: Likewise.
81963 * math/test-fenv.c: Likewise.
81964 * math/test-misc.c: Likewise.
81965 * stdlib/bug-getcontext.c: Likewise.
81966
81967 2012-05-17 Andreas Jaeger <aj@suse.de>
81968
81969 * manual/examples/search.c (critter_cmp): Change signature to
81970 avoid warnings.
81971 * manual/string.texi (Collation Functions): Likewise.
81972
81973 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81974
81975 * bits/types.h: Fold copyright years.
81976 * bits/typesizes.h: Likewise.
81977 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81980 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81981 * time/time.h: Likewise.
81982
81983 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81984
81985 [BZ #208]
81986 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81987 in instead of returning them. Return void.
81988 (__libc_mallinfo): Accumulate over all arenas.
81989 (__malloc_stats): Adjust for change in int_mallinfo interface.
81990
81991 2012-05-16 Roland McGrath <roland@hack.frob.com>
81992
81993 [BZ #10375]
81994 * configure.in (NM): Add AC_CHECK_TOOL for it.
81995 (libc_extra_cflags): New substituted variable.
81996 Check for -fstack-protector being used implicitly.
81997 * configure: Regenerated.
81998 * config.make.in (config-extra-cflags): New variable,
81999 gets @libc_extra_cflags@.
82000 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
82001
82002 [BZ #10375]
82003 * configure.in: Check for _FORTIFY_SOURCE being predefined.
82004 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82005 * configure: Regenerated.
82006 * config.make.in (CPPUNDEFS): New substituted variable.
82007 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82008 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82009 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
82010
82011 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82012
82013 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82014 (mq_attr): Use __syscall_slong_t.
82015
82016 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82017
82018 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82019 Check __x86_64__ instead of __WORDSIZE.
82020 (_STAT_VER_LINUX): Likewise.
82021 (stat): Check __x86_64__ instead of __WORDSIZE. Use
82022 __syscall_ulong_t and __syscall_slong_t.
82023 (stat64): Likewise.
82024
82025 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82026
82027 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82028
82029 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82030
82031 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82032
82033 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82034
82035 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82036 __syscall_ulong_t.
82037
82038 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82039 include <bits/wordsize.h>. Check __x86_64__ instead of
82040 __WORDSIZE.
82041 (greg_t): Use "__extension__ long long int" if __x86_64__ is
82042 defined.
82043 (mcontext_t): Replace "unsigned long" with "unsigned long long".
82044
82045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82046 include <bits/wordsize.h>. Check __x86_64__ instead of
82047 __WORDSIZE.
82048 (user_regs_struct): Use "__extension__ unsigned long long"
82049 instead of "unsigned long" if __x86_64__ is defined.
82050 (user): Likewise. Pad after pointer field if __ILP32__ is
82051 defined.
82052
82053 2012-05-16 Joseph Myers <joseph@codesourcery.com>
82054
82055 * configure.in (makeinfo): Require version 4.5 or later. Allow
82056 versions 5 to 9.
82057 * configure: Regenerated.
82058 * manual/install.texi (texinfo): Increase version requirement to
82059 4.5 or later.
82060 * INSTALL: Regenerated.
82061
82062 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82063
82064 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
82065
82066 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82067
82068 * sysdeps/x86_64/x32/ffs.c: New file.
82069
82070 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82071 __syscall_ulong_t.
82072 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82073 defined. Use __syscall_ulong_t.
82074 (shminfo): Use __syscall_ulong_t.
82075 (shm_info): Likewise.
82076
82077 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82078 __syscall_ulong_t.
82079
82080 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82081 <bits/wordsize.h>.
82082 (msgqnum_t): Use __syscall_ulong_t.
82083 (msglen_t): Likewise.
82084 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
82085 __syscall_ulong_t.
82086
82087 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82088 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82089
82090 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82091
82092 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82093 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82094
82095 * sysvipc/sys/msg.h (msgbuf): Replace long int with
82096 __syscall_slong_t.
82097
82098 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82099 include <bits/wordsize.h>. Check __x86_64__ instead of
82100 __WORDSIZE.
82101
82102 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82103 "unsigned long long int" if __x86_64__ is defined.
82104 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82105
82106 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82107 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
82108 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82109
82110 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82111 <stdint.h>.
82112 (GET_PC): Cast to uintptr_t first.
82113 (GET_FRAME): Likewise.
82114 (GET_STACK): Likewise.
82115
82116 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82117 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82118 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82119 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82120 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82121 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82122 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82123 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82124 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82126 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82127 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82128 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82129 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82130 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82131 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82132 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82133 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82134 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82135 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82136 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82137 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82138 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82139 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82140 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82141 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82143 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82144 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82145
82146 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
82147
82148 * Makerules (+depfiles): Also collect depfiles from .oS in
82149 $(extra-objs).
82150 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82151 .oS, $(libnldbl-routines)).
82152
82153 * Makerules (native-compile-mkdep-flags): Define.
82154 * sunrpc/Makefile (extra-objs): Add $(addprefix
82155 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82156 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82157 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
82158 calling $(make-target-directory).
82159
82160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82161
82162 * bits/types.h (__snseconds_t): Removed.
82163 * time/time.h (struct timespec): Replace __snseconds_t with
82164 __syscall_slong_t.
82165 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82166 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82167 Likewise.
82168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82169 (__SNSECONDS_T_TYPE): Likewise.
82170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82171 (__SNSECONDS_T_TYPE): Likewise.
82172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82173 (__SNSECONDS_T_TYPE): Likewise.
82174
82175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82176
82177 * sysdeps/mach/hurd/bits/typesizes.h
82178 (__SYSCALL_SLONG_TYPE): New macro.
82179 (__SYSCALL_ULONG_TYPE): Likewise.
82180
82181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82182
82183 * bits/types.h (__syscall_slong_t): New type.
82184 (__syscall_ulong_t): Likewise.
82185
82186 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82187 (__SYSCALL_ULONG_TYPE): Likewise.
82188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82189 (__SYSCALL_SLONG_TYPE): Likewise.
82190 (__SYSCALL_ULONG_TYPE): Likewise.
82191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82192 (__SYSCALL_SLONG_TYPE): Likewise.
82193 (__SYSCALL_ULONG_TYPE): Likewise.
82194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82195 (__SYSCALL_SLONG_TYPE): Likewise.
82196 (__SYSCALL_ULONG_TYPE): Likewise.
82197
82198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82199
82200 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82201 Add sigaltstack-offsets.sym.
82202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82203 <sigaltstack-offsets.h>.
82204 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
82205 longjmp_msg pointer.
82206 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
82207 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82208 signal stack.
82209 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82210
82211 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82212
82213 * elf/stackguard-macros.h: Remove file.
82214 * sysdeps/generic/stackguard-macros.h: New file.
82215 * sysdeps/i386/stackguard-macros.h: Likewise.
82216 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82217 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82218 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82219 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82220 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82221 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82222 * sysdeps/x86_64/stackguard-macros.h: Likewise.
82223 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82224 <elf/stackguard-macros.h>.
82225
82226 [BZ #14109]
82227 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82228 __aligned__ in attribute.
82229 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82230 (gregset_t): Likewise.
82231
82232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82233
82234 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82235 * sysdeps/x86_64/64/Implies-after: Here. New file.
82236 * sysdeps/x86_64/x32/Implies-after: New file.
82237
82238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82239
82240 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82241 and access return value for _dl_profile_fixup. Use R10_LP to
82242 load frame size.
82243
82244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82245
82246 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82247
82248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82249
82250 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82251 * sysdeps/x86_64/x32/sysdep.h: New file.
82252
82253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82254
82255 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82256 * sysdeps/x86_64/setjmp.S: Likewise.
82257
82258 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82259
82260 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82261 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82262 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82263 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82264 remove unused global constant.
82265
82266 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
82267
82268 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82269 include of <not-cancel.h>.
82270
82271 2012-05-15 Roland McGrath <roland@hack.frob.com>
82272
82273 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82274
82275 2012-05-15 Jeff Law <law@redhat.com>
82276 Andreas Jaeger <aj@suse.de>
82277
82278 [BZ #13594]
82279 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82280 out from...
82281 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82282 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82283 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82284 code changing __hst_map_handle.map.
82285
82286 2012-05-15 Roland McGrath <roland@hack.frob.com>
82287
82288 * configure.in (sysnames): Look for Implies-before and Implies-after
82289 files.
82290 * configure: Regenerated.
82291
82292 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82293
82294 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82295 8-byte data alignment with LP_SIZE alignment.
82296
82297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82298
82299 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82300 into R10_LP.
82301
82302 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82303
82304 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82305
82306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82307
82308 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82309 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82311 Likewise.
82312 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82313
82314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82315
82316 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82317 (stackinfo_sub_sp): Likewise.
82318
82319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82320
82321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82322 RAX_LP.
82323
82324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82325
82326 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82327 into R*_LP.
82328
82329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82330
82331 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82332 sizes into R*_LP.
82333
82334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82335
82336 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82337
82338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82339
82340 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82341 into R11_LP and load __x86_64_shared_cache_size_half into
82342 R8_LP.
82343
82344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
82345
82346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82347 R8_LP.
82348
82349 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82350
82351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82352 logb for POWER7.
82353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82354 logbf for POWER7.
82355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82356 logbl for POWER7.
82357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82358 powerpc32/power7/fpu/s_logb.c via #include.
82359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82360 powerpc32/power7/fpu/s_logbf.c via #include.
82361 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82362 powerpc32/power7/fpu/s_logbl.c via #include.
82363
82364 2012-05-15 Joseph Myers <joseph@codesourcery.com>
82365
82366 * README.libm: Remove file.
82367
82368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82369
82370 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82371 count for x32. Use R*_LP and omit operand-size suffix.
82372
82373 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82374
82375 * shlib-versions: Move x86_64-.*-linux.* entries to ...
82376 * sysdeps/x86_64/64/shlib-versions: Here. New file.
82377 * sysdeps/x86_64/x32/shlib-versions: New file.
82378
82379 2012-05-14 Roland McGrath <roland@hack.frob.com>
82380
82381 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82382 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82383 Use _dl_fatal_printf instead.
82384
82385 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82386
82387 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82388 set if not set by the user. Do not allow for being unset.
82389 * sysdeps/unix/sysv/linux/configure: Regenerated.
82390
82391 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82392
82393 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82394 the `q' suffix from lea and replace .quad with ASM_ADDR.
82395
82396 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82397
82398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82399 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
82400 instead of $17.
82401 (PTR_DEMANGLE): Likewise.
82402
82403 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82404
82405 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82406 (LP_OP): Likewise.
82407 (ASM_ADDR): Likewise.
82408 (RAX_LP): Likewise.
82409 (RBP_LP): Likewise.
82410 (RBX_LP): Likewise.
82411 (RCX_LP): Likewise.
82412 (RDI_LP): Likewise.
82413 (RSI_LP): Likewise.
82414 (RSP_LP): Likewise.
82415 (R8_LP): Likewise.
82416 (R9_LP): Likewise.
82417 (R10_LP): Likewise.
82418 (R10_LP): Likewise.
82419 (R11_LP): Likewise.
82420 (R12_LP): Likewise.
82421 (R13_LP): Likewise.
82422 (R14_LP): Likewise.
82423 (R15_LP): Likewise.
82424
82425 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82426
82427 * sysdeps/x86_64/x32/dl-machine.h: New file.
82428
82429 2012-05-14 Andreas Jaeger <aj@suse.de>
82430
82431 * manual/Makefile (subdir): Remove export of subdir.
82432 (all): Remove target.
82433 (.PHONY): Remove all from list.
82434 (mkinstalldirs): Remove.
82435 (.PHONY): Remove installdirs from list.
82436 ($(inst_infodir)/libc.info): Use make-target-directory.
82437 (installdirs): Remove.
82438 (subdir_%): Remove.
82439 (glibc-targets): Remove.
82440 (lib): Remove.
82441 (stubs): Remove.
82442 ($(objpfx)stubs ../po/manual.pot): Remove.
82443 ($(objpfx)stamp%): Remove.
82444 (make-target-directory): Remove.
82445 (subdir_install): Remove.
82446 (routines): Remove.
82447 (aux): Remove.
82448 (sources): Remove.
82449 (objects): Remove.
82450 (headers): Remove.
82451
82452 [BZ #13750]
82453 * manual/.gitignore: Remove, it's not needed anymore.
82454 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82455 all files in it.
82456 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82457 directory.
82458 (texis): Renamed to $(objpfx)texis.
82459 (texis-path): New, contains path to generated files.
82460 (chapters.%): Use texis-path for complete path, add extra argument
82461 libc-texinfo.sh.
82462 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82463 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82464 (summary,texi, stamp-summary): Use complete path of
82465 files. Generate files in build dir.
82466 (dir-add.texi): Build in build dir.
82467 (libm-err.texi,stamp-libm-err): Likewise.
82468 (version.texi, stamp-version): Likewise.
82469 (.%c.texi): Likewise.
82470 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82471 (mostlyclean): Remove target.
82472 (realclean): Remove target.
82473 (generated): Add new variable with contents from mostlyclean and
82474 realclean, remove entries duplicated in common-mostlyclean, add
82475 stamp-libm-err and stamp-version.
82476 (generated-dirs): Add libc directory.
82477 ($(inst_infodir)/libc.info): Install files from build dir.
82478
82479 * manual/install.texi (Configuring and compiling): Adjust since
82480 the info files are not part of the tar ball anymore.
82481
82482 2012-05-14 Andreas Jaeger <aj@suse.de>
82483
82484 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82485 variable.
82486
82487 2012-05-14 Joseph Myers <joseph@codesourcery.com>
82488
82489 [BZ #13717]
82490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82491 to 2.2.0 where earlier.
82492 * sysdeps/unix/sysv/linux/configure: Regenerated.
82493 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82494 Remove conditional code.
82495 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82496 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82497 Remove conditional code.
82498 [!__NR_lchown]: Likewise.
82499 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82500 [__NR_lchown]: Likewise.
82501 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82502 comment referencing __ASSUME_LCHOWN_SYSCALL.
82503 * sysdeps/unix/sysv/linux/i386/sigaction.c
82504 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82505 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82506 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82507 Remove conditional code.
82508 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82509 (__protocol_available): Remove #if 0 code.
82510 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82511 conditional code.
82512 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82513 * sysdeps/unix/sysv/linux/kernel-features.h
82514 (__ASSUME_GETCWD_SYSCALL): Don't define.
82515 (__ASSUME_REALTIME_SIGNALS): Likewise.
82516 (__ASSUME_PREAD_SYSCALL): Likewise.
82517 (__ASSUME_PWRITE_SYSCALL): Likewise.
82518 (__ASSUME_POLL_SYSCALL): Likewise.
82519 (__ASSUME_LCHOWN_SYSCALL): Likewise.
82520 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82521 non-SPARC.
82522 (__ASSUME_SIOCGIFNAME): Don't define.
82523 (__ASSUME_MSG_NOSIGNAL): Likewise.
82524 (__ASSUME_SENDFILE): Define unconditionally.
82525 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82526 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82527 conditional code.
82528 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82529 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82530 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82531 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82532 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82533 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82534 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82536 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82539 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82559 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82560 Remove conditional code.
82561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82562 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82563 Remove conditional code.
82564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82565 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82566 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82567 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82568 Remove conditional code.
82569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82570 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82571 Remove conditional code.
82572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82573 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82574 Remove conditional code.
82575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82576 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82577 Remove conditional code.
82578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82579 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82580 Remove conditional code.
82581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82582 * sysdeps/unix/sysv/linux/sh/pwrite64.c
82583 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82585 * sysdeps/unix/sysv/linux/sigaction.c
82586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82588 * sysdeps/unix/sysv/linux/sigpending.c
82589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82591 * sysdeps/unix/sysv/linux/sigprocmask.c
82592 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82593 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82594 * sysdeps/unix/sysv/linux/sigsuspend.c
82595 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82596 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82597 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82598 (__libc_missing_rt_sigs): Remove.
82599 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82600 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82601 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82602 Remove conditional code.
82603 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82604 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82605 return 1.
82606 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82607 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82608 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82609 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82610
82611 2012-05-14 Andreas Jaeger <aj@suse.de>
82612
82613 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82614 it's not used in glibc.
82615 (__coshm1): Likewise.
82616 (__acosh1p): Likewise.
82617 (__sgn): Likewise.
82618
82619 * manual/string.texi (Copying and Concatenation): Add missing
82620 variable in concat example.
82621 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82622
82623 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82624
82625 [BZ #14103]
82626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82627 __builtin_clzl with __builtin_clzll.
82628
82629 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
82630
82631 [BZ #14104]
82632 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82633 libc_freeres_ptr.
82634
82635 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82636
82637 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82638 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82639 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82640 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82641
82642 2012-05-14 Mike Frysinger <vapier@gentoo.org>
82643
82644 * NEWS: Update ia64 info.
82645
82646 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
82647
82648 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82649 used as bcopy.
82650
82651 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
82652
82653 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82654 * sysdeps/unix/syscalls.list (dup3): Likewise.
82655 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82656 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82657
82658 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82659
82660 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82661 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82662
82663 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
82664
82665 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82666 thread pointer.
82667 (TLS_IE): Use mov/add instead of movq/addq to load thread
82668 pointer.
82669 (TLS_GD_PREFIX): New.
82670 (TLS_GD): Use it.
82671
82672 2012-05-11 David S. Miller <davem@davemloft.net>
82673
82674 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82675 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82676 (_FPU_SETCW): Likewise.
82677
82678 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82679
82680 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82681 is 32-byte aligned.
82682
82683 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
82684
82685 [BZ #11837]
82686 * iconvdata/gb18030.c: Update tables.
82687 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
82688 characters specially.
82689 (BODY for TO_LOOP): Add encoding of missing ranges.
82690
82691 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
82692
82693 [BZ #13673]
82694 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82695 * sysdeps/mach/hurd/dup3.c: Likewise.
82696 * sysdeps/mach/hurd/readlinkat.c: Likewise.
82697 * sysdeps/powerpc/memmove.c:: Likewise.
82698
82699 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82700
82701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82702 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82703
82704 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82705
82706 * elf/elf.h (R_X86_64_RELATIVE64): New.
82707 (R_X86_64_NUM): Updated.
82708 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82709 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
82710 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82711 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82712 tst-quad1pie tst-quad2pie
82713 (modules-names): Add tst-quadmod1 tst-quadmod2.
82714 ($(objpfx)tst-quad1): New dependency.
82715 ($(objpfx)tst-quad2): Likewise.
82716 ($(objpfx)tst-quad1pie): Likewise.
82717 ($(objpfx)tst-quad2pie): Likewise.
82718 * sysdeps/x86_64/tst-quad1.c: New file.
82719 * sysdeps/x86_64/tst-quad1pie.c: New file.
82720 * sysdeps/x86_64/tst-quad2.c: Likewise.
82721 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82722 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82723 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82724 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82725 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82726
82727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82728
82729 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82730 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82731 * streams/stropts.h (t_scalar_t): Define type.
82732
82733 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82734 (_PATH_PRESERVE): Set to "/var/lib".
82735 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82736
82737 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82738 instead of int.
82739
82740 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82741 if __dir_mkfile succeeded.
82742
82743 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82744 checking for _hurd_dtablesize. Unlock it right after having
82745 finished _hurd_dtable allocation.
82746
82747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82748
82749 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82750 * sysdeps/mach/hurd/configure: Regenerated.
82751 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82752 special-casing to...
82753 * sysdeps/gnu/configure.in: ... this new file.
82754 * sysdeps/unix/sysv/linux/configure: Regenerated.
82755 * sysdeps/gnu/configure: New generated file.
82756
82757 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82758 for Linux: use nsec instead of usec, as well as:
82759 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82760 members of type struct timespec.
82761 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82762 New macros.
82763 (struct stat64): Likewise.
82764 (_STATBUF_ST_NSEC): New macro.
82765 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82766
82767 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82768 __strtoul_internal rather than strtoul.
82769
82770 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82771
82772 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82773 and reject them.
82774
82775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82776
82777 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82778 which preserves existing values.
82779 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82780
82781 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82782
82783 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82784 TIMEOUT values. Return EINVAL for NFDS values either negative or
82785 greater than FD_SETSIZE.
82786
82787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82788
82789 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82790 allocated, call __vm_protect to finish enabling the existing space, and
82791 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82792 allocate the remainder.
82793
82794 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82795
82796 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82797 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82798
82799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82800
82801 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82802 sysdeps/mach/hurd/readlink.c.
82803
82804 * posix/tst-sysconf.c (posix_options): Only use
82805 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82806 _POSIX_SYNCHRONIZED_IO when they are defined
82807 * sysdeps/mach/hurd/bits/posix_opt.h:
82808 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82809 (_XOPEN_REALTIME): Undefine macro.
82810 (_XOPEN_REALTIME_THREADS): Undefine macro.
82811 (_XOPEN_SHM): Undefine macro.
82812 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82813 macro to -1.
82814 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82815 macro to -1.
82816 (_POSIX_ASYNC_IO): Undefine macro.
82817 (_POSIX_PRIORITIZED_IO): Undefine macro.
82818 (_POSIX_SPIN_LOCKS): Define macro to -1.
82819
82820 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82821 SA_NODEFER, SA_RESETHAND.
82822 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82823 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82824 F_DUPFD_CLOEXEC.
82825
82826 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82827
82828 * elf/Makefile (pldd-modules): Define unconditionally.
82829
82830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82831
82832 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82833
82834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82835
82836 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82837 Return ENOENT when name is empty.
82838 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82839
82840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82841
82842 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82843
82844 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82845
82846 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82847
82848 Fix mlock in all cases except non-readable pages.
82849 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82850 instead of VM_PROT_ALL as parameter to __vm_wire function.
82851
82852 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82853 (__mkdir): When path is `/', just fail with EEXIST.
82854 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82855
82856 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82857
82858 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82859 <sys/uio.h> (for writev).
82860 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82861 and <sys/param.h> (for MIN).
82862
82863 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82864
82865 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82866 REQUESTED_TIME. Properly set the remaining time and return EINTR
82867 if interrupted.
82868
82869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82870
82871 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82872 Depend on against $(link-rpcuserlibs).
82873
82874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82875
82876 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82877 (__libc_stack_end): Do not use attribute_relro.
82878 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82879 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82880 to libthread-provided value.
82881 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82882 attribute_relro.
82883
82884 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82885
82886 [BZ #3748]
82887 * bits/libc-lock.h (__libc_once_get): New macro.
82888 * sysdeps/mach/bits/libc-lock.h: Likewise.
82889 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82891 instead of using implementation details.
82892
82893 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82894 * libio/freopen.c: Likewise.
82895 * libio/freopen64.c: Likewise.
82896 * misc/syslog.c: Likewise.
82897 * nscd/connections.c: Likewise.
82898 * nscd/netgroupcache.c: Likewise.
82899 * sysdeps/posix/getcwd.c: Likewise.
82900
82901 2012-05-10 Roland McGrath <roland@hack.frob.com>
82902
82903 * math/w_ilogbf.c: Add #include <limits.h>.
82904
82905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82906
82907 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82908 path instead of returning without unlocking.
82909
82910 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82911 immediate-write ioctls.
82912 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82913
82914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82915
82916 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82917 __builtin_frame_address instead of making assumptions about the
82918 location of the return address relative to DATA. Force early load of
82919 the return address.
82920 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82921 __builtin_frame_address.
82922
82923 dup3 for GNU Hurd.
82924 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82925 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82926 implement dup3 and do some further code clean-ups.
82927 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82928 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82929
82930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82931
82932 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82933
82934 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82935 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82936 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82937 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82938 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82939 d->port.lock.
82940
82941 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82942 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82943 when handler == SIG_ERR, not when handler != SIG_ERR.
82944
82945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82946
82947 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82948 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82949 definitions.
82950
82951 accept4 for GNU Hurd.
82952 * include/sys/socket.h (__libc_accept4): New prototype.
82953 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82954 to implement __libc_accept4.
82955 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82956 __libc_accept4.
82957 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82958
82959 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82960 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82961 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82962 signal-defines.sym.
82963
82964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82965
82966 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82967
82968 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82969
82970 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82971 assertion on O_CLOEXEC flag.
82972 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82973 * hurd/intern-fd.c: Likewise.
82974 * hurd/port2fd.c: Likewise.
82975
82976 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82977
82978 [BZ #3906]
82979 * bits/in.h (IPV6_PKTINFO): Define new macro.
82980 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82981
82982 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82983
82984 [BZ #13954]
82985 [BZ #13955]
82986 [BZ #13956]
82987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82988 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82989 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82990 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82991 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82992 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82993 * math/libm-test.inc (logb_test) : Additional logb tests.
82994
82995 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82996 Andreas Jaeger <aj@suse.de>
82997
82998 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82999 * configure: Regenerated.
83000 * config.h.in (LINK_OBSOLETE_RPC): New macro.
83001 * config.make.in (link-obsolete-rpc): New substituted variable.
83002 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83003 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83004 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83005 (shared-only-routines): Don't set it under [link-obsolete-rpc],
83006 so that libc.a contains the symbols.
83007 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83008 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83009 * sunrpc/auth_none.c: Likewise.
83010 * sunrpc/auth_unix.c: Likewise.
83011 * sunrpc/authdes_prot.c: Likewise.
83012 * sunrpc/authuxprot.c: Likewise.
83013 * sunrpc/clnt_gen.c: Likewise.
83014 * sunrpc/clnt_perr.c: Likewise.
83015 * sunrpc/clnt_raw.c: Likewise.
83016 * sunrpc/clnt_simp.c: Likewise.
83017 * sunrpc/clnt_tcp.c: Likewise.
83018 * sunrpc/clnt_udp.c: Likewise.
83019 * sunrpc/clnt_unix.c: Likewise.
83020 * sunrpc/des_crypt.c: Likewise.
83021 * sunrpc/des_soft.c: Likewise.
83022 * sunrpc/get_myaddr.c: Likewise.
83023 * sunrpc/key_call.c: Likewise.
83024 * sunrpc/key_prot.c: Likewise.
83025 * sunrpc/netname.c: Likewise.
83026 * sunrpc/pm_getmaps.c: Likewise.
83027 * sunrpc/pm_getport.c: Likewise.
83028 * sunrpc/pmap_clnt.c: Likewise.
83029 * sunrpc/pmap_prot.c: Likewise.
83030 * sunrpc/pmap_prot2.c: Likewise.
83031 * sunrpc/pmap_rmt.c: Likewise.
83032 * sunrpc/publickey.c: Likewise.
83033 * sunrpc/rpc_cmsg.c: Likewise.
83034 * sunrpc/rpc_common.c: Likewise.
83035 * sunrpc/rpc_dtable.c: Likewise.
83036 * sunrpc/rpc_prot.c: Likewise.
83037 * sunrpc/rpc_thread.c: Likewise.
83038 * sunrpc/rtime.c: Likewise.
83039 * sunrpc/svc.c: Likewise.
83040 * sunrpc/svc_auth.c: Likewise.
83041 * sunrpc/svc_raw.c: Likewise.
83042 * sunrpc/svc_run.c: Likewise.
83043 * sunrpc/svc_tcp.c: Likewise.
83044 * sunrpc/svc_udp.c: Likewise.
83045 * sunrpc/svc_unix.c: Likewise.
83046 * sunrpc/svcauth_des.c: Likewise.
83047 * sunrpc/xcrypt.c: Likewise.
83048 * sunrpc/xdr.c: Likewise.
83049 * sunrpc/xdr_array.c: Likewise.
83050 * sunrpc/xdr_float.c: Likewise.
83051 * sunrpc/xdr_intXX_t.c: Likewise.
83052 * sunrpc/xdr_mem.c: Likewise.
83053 * sunrpc/xdr_rec.c: Likewise.
83054 * sunrpc/xdr_ref.c: Likewise.
83055 * sunrpc/xdr_sizeof.c: Likewise.
83056 * sunrpc/xdr_stdio.c: Likewise.
83057
83058 2012-05-10 Roland McGrath <roland@hack.frob.com>
83059
83060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83061 change. Update copyright years.
83062
83063 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83064
83065 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83066
83067 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
83068 Joseph Myers <joseph@codesourcery.com>
83069 Paul Pluzhnikov <ppluzhnikov@google.com>
83070
83071 [BZ #14012]
83072 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83073 requiring rpcgen.
83074 [cross-compiling] (extra-libs): Likewise.
83075 [cross-compiling] (extra-libs-others): Likewise.
83076 [cross-compiling] (librpcsvc-routines): Likewise.
83077 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83078 [cross-compiling] (omit-deps): Likewise.
83079 (sunrpc-CPPFLAGS): New variable.
83080 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83081 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83082 (cross-rpcgen-objs): New variable.
83083 (extra-objs): Append $(cross-rpcgen-objs).
83084 ($(cross-rpcgen-objs)): New rule.
83085 ($(objpfx)cross-rpcgen): Likewise.
83086 (rpcgen-cmd): Define to use $(built-program-file). Expand
83087 comment.
83088 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83089 ($(objpfx)x%.stmp): Likewise.
83090 * sunrpc/proto.h [IS_IN_build] (_): Define.
83091 [IS_IN_build] (_libc_intl_domainname): Likewise.
83092
83093 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
83094
83095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83096 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83097 and R_X86_64_TPOFF64.
83098
83099 2012-05-10 Joseph Myers <joseph@codesourcery.com>
83100
83101 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83102 sysdeps/unix/sysv/syscalls.list.
83103 (stime): Likewise.
83104 (utime): Likewise.
83105 * sysdeps/unix/sysv/syscalls.list: Remove file.
83106
83107 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
83108
83109 [BZ #3440]
83110 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83111 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83112 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83113 (__LC_IDENTIFICATION): Make these macros useful in #if
83114 expressions, as required by C99.
83115
83116 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
83117
83118 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83119 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
83120 after this.
83121
83122 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
83123
83124 * stdlib/longlong.h: Updated from GCC.
83125
83126 2012-05-09 Andreas Jaeger <aj@suse.de>
83127
83128 * nscd/nscd.c (run_modes): Make named enum, reorder so that
83129 default is first entry.
83130 (run_mode): Set type.
83131 (main): Remove informal message about syslog.
83132 (options): Fix typo.
83133
83134 [BZ #14053]
83135 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83136 to asm.
83137 (lrint): Likewise.
83138 (llrintf): Likewise.
83139 (llrint): Likewise.
83140 (rint): Likewise.
83141 (rintf): Likewise.
83142 (nearbyint): Likewise.
83143 (nearbyintf): Likewise.
83144
83145 2012-05-09 Andreas Jaeger <aj@suse.de>
83146 Pedro Alves <palves@redhat.com>
83147
83148 * nscd/nscd.c (run_mode): Use enum.
83149 (main): Cleanup coding style issue.
83150
83151 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
83152 Andreas Jaeger <aj@suse.de>
83153
83154 * nscd/nscd.c (go_background): Replaced with...
83155 (run_mode): ... this.
83156 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83157 (options): Add -F --foreground.
83158 (main): Implement it.
83159 (parse_opt): Parse it.
83160
83161 2012-05-09 Andreas Jaeger <aj@suse.de>
83162
83163 [BZ #14083]
83164 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83165 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83166 -Wconversion warning.
83167 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83168 Likewise.
83169
83170 2012-05-09 Joseph Myers <joseph@codesourcery.com>
83171
83172 * conform/data/locale.h-data (NULL): Use macro-constant. Require
83173 == 0.
83174 (LC_ALL): Use macro-int-constant.
83175 (LC_COLLATE): Likewise.
83176 (LC_CTYPE): Likewise.
83177 (LC_MESSAGES): Likewise.
83178 (LC_MONETARY): Likewise.
83179 (LC_NUMERIC): Likewise.
83180 (LC_TIME): Likewise.
83181 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83182 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83184 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83185 Specify type.
83186 [C99-based standards] (float_t): Expect type.
83187 [C99-based standards] (double_t): Expect type.
83188 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
83189 type.
83190 [C99-based standards] (HUGE_VALL): Likewise.
83191 [C99-based standards] (INFINITY): Likewise.
83192 [C99-based standards] (NAN): Likewise.
83193 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83194 [C99-based standards] (FP_NAN): Likewise.
83195 [C99-based standards] (FP_NORMAL): Likewise.
83196 [C99-based standards] (FP_SUBNORMAL): Likewise.
83197 [C99-based standards] (FP_ZERO): Likewise.
83198 [C99-based standards] (FP_FAST_FMA): Use
83199 optional-macro-int-constant. Specify type. Require == 1.
83200 [C99-based standards] (FP_FAST_FMAF): Likewise.
83201 [C99-based standards] (FP_FAST_FMAL): Likewise.
83202 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83203 [C99-based standards] (FP_ILOGBNAN): Likewise.
83204 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83205 Specify type.
83206 [C99-based standards] (MATH_ERREXCEPT): Likewise.
83207 [C99-based standards] (math_errhandling): Specify type.
83208 [ISO99 || ISO11] (signgam): Do not allow.
83209 [non-C99-based standards] (copysignf): Do not allow.
83210 [non-C99-based standards] (exp2f): Likewise.
83211 [non-C99-based standards] (log2f): Likewise.
83212 [non-C99-based standards] (modff): Allow.
83213 [non-C99-based standards] (erff): Do not allow.
83214 [non-C99-based standards] (erfcf): Likewise.
83215 [non-C99-based standards] (gammaf): Likewise.
83216 [non-C99-based standards] (hypotf): Likewise.
83217 [non-C99-based standards] (j0f): Likewise.
83218 [non-C99-based standards] (j1f): Likewise.
83219 [non-C99-based standards] (jnf): Likewise.
83220 [non-C99-based standards] (lgammaf): Likewise.
83221 [non-C99-based standards] (tgammaf): Likewise.
83222 [non-C99-based standards] (y0f): Likewise.
83223 [non-C99-based standards] (y1f): Likewise.
83224 [non-C99-based standards] (ynf): Likewise.
83225 [non-C99-based standards] (isnanf): Likewise.
83226 [non-C99-based standards] (acoshf): Likewise.
83227 [non-C99-based standards] (asinhf): Likewise.
83228 [non-C99-based standards] (atanhf): Likewise.
83229 [non-C99-based standards] (cbrtf): Likewise.
83230 [non-C99-based standards] (expm1f): Likewise.
83231 [non-C99-based standards] (ilogbf): Likewise.
83232 [non-C99-based standards] (log1pf): Likewise.
83233 [non-C99-based standards] (logbf): Likewise.
83234 [non-C99-based standards] (nextafterf): Likewise.
83235 [non-C99-based standards] (remainderf): Likewise.
83236 [non-C99-based standards] (rintf): Likewise.
83237 [non-C99-based standards] (scalbf): Likewise.
83238 [non-C99-based standards] (copysignl): Likewise.
83239 [non-C99-based standards] (exp2l): Likewise.
83240 [non-C99-based standards] (log2l): Likewise.
83241 [non-C99-based standards] (modfl): Allow.
83242 [non-C99-based standards] (erfl): Do not allow.
83243 [non-C99-based standards] (erfcl): Likewise.
83244 [non-C99-based standards] (gammal): Likewise.
83245 [non-C99-based standards] (hypotl): Likewise.
83246 [non-C99-based standards] (j0l): Likewise.
83247 [non-C99-based standards] (j1l): Likewise.
83248 [non-C99-based standards] (jnl): Likewise.
83249 [non-C99-based standards] (lgammal): Likewise.
83250 [non-C99-based standards] (tgammal): Likewise.
83251 [non-C99-based standards] (y0l): Likewise.
83252 [non-C99-based standards] (y1l): Likewise.
83253 [non-C99-based standards] (ynl): Likewise.
83254 [non-C99-based standards] (isnanl): Likewise.
83255 [non-C99-based standards] (acoshl): Likewise.
83256 [non-C99-based standards] (asinhl): Likewise.
83257 [non-C99-based standards] (atanhl): Likewise.
83258 [non-C99-based standards] (cbrtl): Likewise.
83259 [non-C99-based standards] (expm1l): Likewise.
83260 [non-C99-based standards] (ilogbl): Likewise.
83261 [non-C99-based standards] (log1pl): Likewise.
83262 [non-C99-based standards] (logbl): Likewise.
83263 [non-C99-based standards] (nextafterl): Likewise.
83264 [non-C99-based standards] (remainderl): Likewise.
83265 [non-C99-based standards] (rintl): Likewise.
83266 [non-C99-based standards] (scalbl): Likewise.
83267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83268 [non-C99-based standards] (FP_*): Do not allow.
83269 [C99-based standards] (FP_*): Change to
83270 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83271 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83272 allow.
83273 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83274 (SIG_ERR): Likewise.
83275 [X/Open-based standards] (SIG_HOLD): Likewise.
83276 (SIG_IGN): Likewise.
83277 (SIGABRT): Use macro-int-constant. Specify type. Require
83278 positive value.
83279 (SIGFPE): Likewise.
83280 (SIGILL): Likewise.
83281 (SIGINT): Likewise.
83282 (SIGSEGV): Likewise.
83283 (SIGTER): Likewise.
83284 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83285 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83286 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83287 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83288 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83289 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83290 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83291 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83292 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83293 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83294 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83295 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83296 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83297 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83298 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83299 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83300 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83301 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83302 [X/Open-based standards] (SIGTRAP): Likewise.
83303 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83304 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83305 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83306 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83307 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83308 allow.
83309
83310 2012-05-08 Ian Wienand <ianw@vmware.com>
83311
83312 [BZ #14080]
83313 * time/tzset.c (__tzset_parse_tz): Update default rules for
83314 daylight time changes in the Energy Policy Act of 2005.
83315
83316 2012-05-09 Andreas Jaeger <aj@suse.de>
83317
83318 [BZ #13983]
83319 * elf/ldconfig.c (parse_conf): Change string to make clear that
83320 ldconfig only issued a warning if ld.so.conf does not exist.
83321
83322 2012-05-08 David S. Miller <davem@davemloft.net>
83323
83324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83325 movxtod instead of popping the value on the stack.
83326
83327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83328
83329 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
83330
83331 * config.h.in: Add HAVE_ARM_PCS_VFP.
83332
83333 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
83334
83335 [BZ #13979]
83336 * include/features.h: Warn if user requests __FORTIFY_SOURCE
83337 checking but the checks are disabled for any reason.
83338
83339 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
83340
83341 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83342 and ELF64_R_TYPE with ELFW(R_TYPE).
83343
83344 2012-05-08 Joseph Myers <joseph@codesourcery.com>
83345
83346 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83347 (ulimit): Likewise.
83348
83349 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83350 (settimeofday): Likewise.
83351
83352 2012-05-08 Mike Frysinger <vapier@gentoo.org>
83353
83354 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
83355 a struct th_u2 inside the union, and move tu_block/tu_code into
83356 a new th_u3 union of tu_block/tu_code inside of that. Move
83357 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
83358 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
83359 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83360 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83361 (th_stuff): Change to th_u1.tu_stuff.
83362 (th_data): Define.
83363 (th_msg): Change to th_u1.th_u2.tu_data.
83364
83365 2012-05-07 David S. Miller <davem@davemloft.net>
83366
83367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83368
83369 [BZ #14074]
83370 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83371 (SETUP_PIC_REG): Use it.
83372 (SETUP_PIC_REG_LEAF): Use it.
83373
83374 2012-05-07 Joseph Myers <joseph@codesourcery.com>
83375
83376 [BZ #13885]
83377 [BZ #13923]
83378 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83379 USE_AS_EXPM1L.
83380 (EXPL_FINITE): Likewise.
83381 (FLDLOG): Likewise.
83382 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83383 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83384 e_expl.S.
83385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83386 USE_AS_EXPM1L.
83387 (EXPL_FINITE): Likewise.
83388 (FLDLOG): Likewise.
83389 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83390 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83391 e_expl.S.
83392 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
83393 test of -max_value argument for long double.
83394 * sysdeps/i386/fpu/libm-test-ulps: Update.
83395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83396
83397 2012-05-06 David S. Miller <davem@davemloft.net>
83398
83399 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83400 quad soft-float symbols whose references which are compiler
83401 generated.
83402 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83403
83404 2012-05-06 Joseph Myers <joseph@codesourcery.com>
83405
83406 [BZ #13884]
83407 [BZ #13914]
83408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83409 USE_AS_EXP10L.
83410 (EXPL_FINITE): Likewise.
83411 (FLDLOG): Likewise.
83412 (c0): Likewise.
83413 (c1): Likewise.
83414 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83415 Adjust comments for base varying.
83416 (__expl_finite): Change alias to EXPL_FINITE.
83417 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83418 e_expl.S.
83419 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83420 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83421 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83422 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83423 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83424 USE_AS_EXP10L.
83425 (EXPL_FINITE): Likewise.
83426 (FLDLOG): Likewise.
83427 (c0): Likewise.
83428 (c1): Likewise.
83429 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
83430 Adjust comments for base varying.
83431 (__expl_finite): Change alias to EXPL_FINITE.
83432 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
83433 tests for bugs.
83434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83435
83436 [BZ #14064]
83437 * math/libm-test.inc (check_float_internal): Correct ulp
83438 calculation for subnormal expected results.
83439
83440 2012-05-06 Andreas Jaeger <aj@suse.de>
83441
83442 * Makeconfig (+math-flags): New, set to -frounding-math.
83443 (+cflags): Add +math-flags so that all of glibc gets compiled with
83444 it.
83445
83446 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83447
83448 2012-05-05 Joseph Myers <joseph@codesourcery.com>
83449
83450 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83451 Disable one test.
83452
83453 [BZ #13787]
83454 [BZ #13922]
83455 [BZ #14036]
83456 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83457 (__ieee754_expl): Allow for and saturate large arguments.
83458 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83459 (u_threshold): Likewise.
83460 (__exp): Call __ieee754_exp before checking for overflow and
83461 underflow.
83462 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83463 (u_threshold): Likewise.
83464 (__expf): Call __ieee754_expf before checking for overflow and
83465 underflow.
83466 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83467 (u_threshold): Likewise.
83468 (__expl): Call __ieee754_expl before checking for overflow and
83469 underflow.
83470 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83471 (__ieee754_expl): Allow for and saturate large arguments.
83472 * math/libm-test.inc (exp_test): Add another test. Do not allow
83473 missing overflow exception on overflow.
83474 (expm1_test): Do not allow missing overflow exception on overflow.
83475
83476 * sysdeps/i386/fpu/e_expl.c: Move to ...
83477 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
83478 rather than using inline asm.
83479 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83480 * sysdeps/x86_64/fpu/e_expl.S: Copy from
83481 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83482
83483 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83484 (nice): Likewise.
83485 (poll): Likewise.
83486 (signal): Likewise.
83487 (time): Likewise.
83488 (times): Likewise.
83489
83490 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83491
83492 * sysdeps/unix/syscalls.list (adjtime): Add entry from
83493 sysdeps/unix/common/syscalls.list.
83494 (fchmod): Likewise.
83495 (fchown): Likewise.
83496 (ftruncate): Likewise.
83497 (getrusage): Likewise.
83498 (gettimeofday): Likewise.
83499 (setpgid): Likewise.
83500 (setregid): Likewise.
83501 (setreuid): Likewise.
83502 (sigaction): Likewise.
83503 (truncate): Likewise.
83504 (vhangup): Likewise.
83505 * sysdeps/unix/common/syscalls.list: Remove file.
83506 * sysdeps/unix/bsd/Implies: Don't include unix/common.
83507 * sysdeps/unix/sysv/linux/Implies: Likewise.
83508
83509 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
83510
83511 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83513 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83514 Moved to ...
83515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83516 Here.
83517 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83518 to ...
83519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83520 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83521 to ...
83522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83523 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83524 to ...
83525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83526 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83527 to ...
83528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83529 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83530 to ...
83531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83532 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83533 to ...
83534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83535 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83536 to ...
83537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83538 Here.
83539 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83540 to ...
83541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83542 Here.
83543 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83544 to ...
83545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83546 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83547 Moved to ...
83548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83549 Here.
83550 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83551 to ...
83552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83553
83554 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83555
83556 * sysdeps/unix/common/bits/dirent.h: Remove file.
83557 * sysdeps/unix/common/bits/fcntl.h: Likewise.
83558
83559 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83560 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83561 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83562 * sysdeps/unix/bsd/isatty.c: Likewise.
83563 * sysdeps/unix/bsd/tcdrain.c: Likewise.
83564 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83565 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83566
83567 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83568
83569 [BZ #13563]
83570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83571 long double comparison inaccuracies.
83572 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83574
83575 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
83576
83577 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83579
83580 2012-05-04 Joseph Myers <joseph@codesourcery.com>
83581
83582 [BZ #14049]
83583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83584 nonzero digits before rounding a hex value.
83585 * stdlib/tst-strtod.c (tests): Add another test.
83586
83587 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83588
83589 * sysdeps/s390/fpu/libm-test-ulps: Update.
83590
83591 2012-05-03 Andreas Jaeger <aj@suse.de>
83592
83593 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83594 does not get optimized out.
83595 (malloc_opt_barrier): New.
83596
83597 2012-05-03 Andreas Jaeger <aj@suse.de>
83598 Roland McGrath <roland@hack.frob.com>
83599
83600 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83601 intermediate file deletion.
83602 (generated): Add .symlist files.
83603
83604 2012-05-03 Joseph Myers <joseph@codesourcery.com>
83605
83606 [BZ #13775]
83607 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83608 Redirect under this condition.
83609 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83610 [__USE_GNU] (__dprintf_chk): Not under this condition.
83611 [__USE_GNU] (__vdprintf_chk): Likewise.
83612 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83613 under this condition.
83614 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83615 [__USE_XOPEN2K8] (dprintf): Define under this condition.
83616 [__USE_XOPEN2K8] (vdprintf): Likewise.
83617 [__USE_GNU] (__dprintf_chk): Not under this condition.
83618 [__USE_GNU] (__vdprintf_chk): Likewise.
83619 [__USE_GNU] (dprintf): Likewise.
83620 [__USE_GNU] (vdprintf): Likewise.
83621
83622 2012-05-03 Roland McGrath <roland@hack.frob.com>
83623
83624 * elf/Makefile (common-generated): Set this instead of generated for
83625 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
83626 $(all-built-dso)-derived lists.
83627
83628 2012-05-03 Andreas Jaeger <aj@suse.de>
83629
83630 * sysdeps/i386/fpu/libm-test-ulps: Update.
83631
83632 * FAQ: Removed.
83633 * FAQ.in: Likewise.
83634 * scripts/gen-FAQ.pl: Likewise.
83635 * manual/install.texi (Installation): Point to online location of
83636 FAQ.
83637 * Makefile (files-for-dist): Remove FAQ.
83638 (FAQ): Remove.
83639
83640 2012-05-02 Allan McRae <allan@archlinux.org>
83641
83642 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83643 (LDFLAGS-reldepmod5.so): Likewise.
83644 (LDFLAGS-reldep6mod1.so): Likewise.
83645 (LDFLAGS-reldep6mod4.so): Likewise.
83646 (LDFLAGS-reldep8mod3.so): Likewise.
83647 (LDFLAGS-unload4mod1.so): Likewise.
83648 (LDFLAGS-unload4mod2.so): Likewise.
83649 (LDFLAGS-tst-initorder): Likewise.
83650 (LDFLAGS-tst-initordera2.so): Likewise.
83651 (LDFLAGS-tst-initordera3.so): Likewise.
83652 (LDFLAGS-tst-initordera4.so): Likewise.
83653 (LDFLAGS-tst-initorderb2.so): Likewise.
83654 (LDFLAGS-noload): Likewise.
83655 (LDFLAGS-next): Likewise.
83656 (LDFLAGS-order2mod1.so): Likewise.
83657 (LDFLAGS-order2mod2.so): Likewise.
83658 (LDFLAGS-tst-initorder2): Likewise.
83659 (LDFLAGS-tst-initorder2a.so): Likewise.
83660 (LDFLAGS-tst-initorder2b.so): Likewise.
83661 (LDFLAGS-tst-initorder2c.so): Likewise.
83662 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83663
83664 2012-05-02 David S. Miller <davem@davemloft.net>
83665
83666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83667
83668 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
83669
83670 [BZ #14055]
83671 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83672
83673 2012-05-02 Andreas Jaeger <aj@suse.de>
83674
83675 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83676 since we manipulate rounding mode.
83677 (CPPFLAGS-test-idouble.c): Likewise.
83678 (CPPFLAGS-test-ifloat.c): Likewise.
83679 (CFLAGS-test-ldouble.c): Likewise.
83680 (CFLAGS-test-double.c): Likewise.
83681 (CFLAGS-test-float.c): Likewise.
83682 (CFLAGS-test-misc.c): Likewise.
83683 (CFLAGS-test-test-fenv.c): Likewise.
83684
83685 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83686
83687 [BZ #2550]
83688 [BZ #2570]
83689 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83690 comparisons to determine direction to adjust input.
83691
83692 2012-05-01 Roland McGrath <roland@hack.frob.com>
83693
83694 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83695 output to the target.
83696
83697 * scripts/localplt.awk: New file.
83698 * elf/Makefile ($(objpfx)check-localplt): Target removed.
83699 (check-localplt-CFLAGS): Variable removed.
83700 ($(all-built-dso:=.jmprel)): New static pattern rule.
83701 (generated): Add those targets.
83702 (localplt-built-dso): New variable.
83703 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83704
83705 * elf/check-localplt.c: File removed.
83706
83707 * scripts/check-execstack.awk: New file.
83708 * elf/Makefile ($(objpfx)check-execstack): Target removed.
83709 (check-execstack-CFLAGS): Variable removed.
83710 ($(objpfx)check-execstack.h): Target removed.
83711 ($(objpfx)execstack-default): New target.
83712 (generated): Add that instead of check-execstack.h.
83713 ($(all-built-dso:=.phdr)): New static pattern rule.
83714 (generated): Add those targets.
83715 * elf/check-execstack.c: File removed.
83716
83717 * scripts/check-textrel.awk: New file.
83718 * elf/Makefile ($(objpfx)check-textrel): Target removed.
83719 (check-textrel-CFLAGS): Variable removed.
83720 (all-built-dso): Use := to define.o
83721 ($(all-built-dso:=.dyn)): New static pattern rule.
83722 (generated): Add those targets.
83723 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83724 * config.make.in (READELF): New substituted variable.
83725 * elf/check-textrel.c: File removed.
83726
83727 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83728
83729 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83730 allow.
83731 * conform/data/ctype.h-data [C99-based standards] (isblank):
83732 Expect function.
83733 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83734 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83735 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83736 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83737 Specify type. Require positive value.
83738 (EILSEQ): Likewise.
83739 (ERANGE): Likewise.
83740 [ISO || POSIX] (EILSEQ): Do not expect.
83741 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83742 Specify type. Require positive value.
83743 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83744 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83745 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83746 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83747 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83748 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83749 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83750 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83751 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83752 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83753 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83754 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83755 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83756 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83757 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83758 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83759 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83760 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83761 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83762 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83763 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83764 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83765 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83766 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83767 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83768 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83769 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83770 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83771 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83772 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83773 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83774 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83775 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83776 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83777 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83778 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83779 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83780 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83781 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83782 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83783 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83784 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83785 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83786 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83787 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83788 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83789 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83790 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83791 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83792 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83793 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83794 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83795 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83796 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83797 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83798 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83799 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83800 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83801 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83802 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83803 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83804 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83805 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83806 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83807 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83808 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83809 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83810 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83811 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83812 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83813 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83814 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83815 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83816 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83817 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83818 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83819 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83820 Require >= 2.
83821 (FLT_ROUNDS): Expect as macro, not constant.
83822 (FLT_MANT_DIG): Use macro-int-constant.
83823 (DBL_MANT_DIG): Likewise.
83824 (LDBL_MANT_DIG): Likewise.
83825 (FLT_DIG): Likewise.
83826 (DBL_DIG): Likewise.
83827 (LDBL_DIG): Likewise.
83828 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83829 (DBL_MIN_EXP): Likewise.
83830 (LDBL_MIN_EXP): Likewise.
83831 (FLT_MAX_EXP): Use macro-int-constant.
83832 (DBL_MAX_EXP): Likewise.
83833 (LDBL_MAX_EXP): Likewise.
83834 (FLT_MAX_10_EXP): Likewise.
83835 (DBL_MAX_10_EXP): Likewise.
83836 (LDBL_MAX_10_EXP): Likewise.
83837 (FLT_MAX): Use macro-constant.
83838 (DBL_MAX): Likewise.
83839 (LDBL_MAX): Likewise.
83840 (FLT_EPSILON): Use macro-constant. Give upper bound.
83841 (DBL_EPSILON): Likewise.
83842 (LDBL_EPSILON): Likewise.
83843 (FLT_MIN): Likewise.
83844 (DBL_MIN): Likewise.
83845 (LDBL_MIN): Likewise.
83846 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83847 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83848 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83849 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83850 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83851 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83852 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83853 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83854 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83855 [ISO11] (FLT_TRUE_MIN): Likewise.
83856 [ISO11] (LDBL_TRUE_MIN): Likewise.
83857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83858 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83859 (SCHAR_MIN): Use macro-int-constant. Specify type.
83860 (SCHAR_MAX): Likewise.
83861 (UCHAR_MAX): Likewise.
83862 (CHAR_MIN): Likewise.
83863 (CHAR_MAX): Likewise.
83864 (MB_LEN_MAX): Use macro-int-constant.
83865 (SHRT_MIN): Use macro-int-constant. Specify type.
83866 (SHRT_MAX): Likewise.
83867 (USHRT_MAX): Likewise.
83868 (INT_MAX): Likewise.
83869 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83870 bound negative.
83871 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83872 bound with "U".
83873 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83874 bound with "L".
83875 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83876 bound negative. Suffix upper bound with "L".
83877 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83878 bound with "UL".
83879 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83880 Specify type.
83881 [C99-based standards] (LLONG_MAX): Likewise.
83882 [C99-based standards] (ULLONG_MAX): Likewise.
83883 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83884 == 0.
83885 [ISO11] (max_align_t): Require type.
83886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83887
83888 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83889 from $CFLAGS, without defining away __attribute__ calls.
83890 (checknamespace): Use $CFLAGS_namespace.
83891
83892 * conform/conformtest.pl (@keywords): Only include C99 keywords
83893 for standards based on C99 or C11.
83894
83895 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83896 Disable tests.
83897 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83898 UNIX98]: Likewise.
83899
83900 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83901 usability of symbols in #if.
83902
83903 * conform/conformtest.pl: If macro or constant types start
83904 "promoted:", expect the symbol to be of the following type
83905 promoted by the integer promotions.
83906
83907 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83908 in one place. Also handle "macro-constant".
83909
83910 * conform/conformtest.pl: Only accept expected macro values with
83911 "==". Parse all "macro" lines in one place.
83912 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83913
83914 * conform/conformtest.pl: Handle braced types on "constant" lines
83915 instead of handling "typed-constant".
83916 * conform/data/signal.h-data: Use "constant" instead of
83917 "typed-constant".
83918
83919 * conform/conformtest.pl: Handle "optional-" at start of lines in
83920 one place rather than duplicating several cases. Handle each
83921 format of "macro" line with initial "optional-".
83922
83923 * conform/conformtest.pl: Only accept expected constant or
83924 optional-constant values with "==". Parse all "constant" lines in
83925 one place. Parse all "optional-constant" lines in one place.
83926 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83927 * conform/data/fmtmsg.h-data: Likewise.
83928 * conform/data/netinet/in.h-data: Likewise.
83929 * conform/data/tar.h-data: Likewise.
83930 * conform/data/limits.h-data: Use "==" form on "constant" and
83931 "optional-constant" lines.
83932
83933 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83934 Use -std=c99 for XOPEN2K.
83935 (@knownproblems): Remove.
83936 (newtoken): Don't check %isknown.
83937
83938 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83939 Do not expect macro.
83940 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83941 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83942 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83943 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83944 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83945 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83946 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83947 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83948 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83949 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83950 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83951 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83952 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83953 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83954 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83955 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83956 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83957 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83958 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83959 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83960 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83961 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83962 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83963 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83964 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83965 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83966 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83967 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83968 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83969 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83970 [XPG3] (acosh): Likewise.
83971 [XPG3] (asinh): Likewise.
83972 [XPG3] (atanh): Likewise.
83973 [XPG3] (cbrt): Likewise.
83974 [XPG3] (expm1): Likewise.
83975 [XPG3] (ilogb): Likewise.
83976 [XPG3] (log1p): Likewise.
83977 [XPG3] (logb): Likewise.
83978 [XPG3] (nextafter): Likewise.
83979 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83980 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83981 [XPG3] (remainder): Likewise.
83982 [XPG3] (rint): Likewise.
83983 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83984 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83985 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83986 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83987 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83988 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83989 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83990 [UNIX98 || XOPEN2K] (scalb): Expect.
83991 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83992 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83993 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83994 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83995 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83996 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83997 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83998 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83999 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84000 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84001 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84002 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84003 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84004 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84005 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84006 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84007 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84008 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84009 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84010 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84011 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84012 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84013 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84014 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84015 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84016 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84017 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84018 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84019 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84020 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84021 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84022 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84023 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84024 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84025 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84026 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84027 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84028 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84029 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84030 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84031 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84032 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84033 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84034 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84035 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84036 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84037 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84038 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84039 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84040 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84041 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84042 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84043 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84044 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84045 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84046 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84047 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84048 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84049 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84050 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84051 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84052 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84053 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84054 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84055 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84056 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84057 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84058 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84059 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84060 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84061 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84062 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84063 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84064 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84065 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84066 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84067 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84068 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84069 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84070 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84071 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84072 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84073 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84074 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84075 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84076 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84077 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84078 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84079 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84080 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84081 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84082 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84083 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84084 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84085 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84086 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84087 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84088 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84089 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84090 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84091 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84092 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84093 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84094 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84095 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84096 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84097 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84098 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84099 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84100 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84101 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84102 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84103 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84104 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84105 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84106 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84107 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84108 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84109 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84110 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84111 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84112 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84113 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84114 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84115 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84116 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84117 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84118 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84119 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84120 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84121 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84122 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84123 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84124 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84125 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84126 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84127 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84128
84129 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84130 _XOPEN_SOURCE_EXTENDED for XPG4.
84131
84132 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84133
84134 * Makeconfig (localtime): Remove variable.
84135 (inst_localtime-file): Likewise.
84136
84137 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84138
84139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84140 Update.
84141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84142 Update.
84143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84144 Update.
84145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84146 Update.
84147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84148 Update.
84149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84150 Update.
84151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84152 Update.
84153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84154 Update.
84155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84156 Update.
84157
84158 2012-05-01 Joseph Myers <joseph@codesourcery.com>
84159
84160 [BZ #2550]
84161 [BZ #2570]
84162 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84163 comparisons to determine direction to adjust input.
84164 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84165 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84166 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84167 Likewise.
84168 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84169 Likewise.
84170 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84171 Likewise.
84172 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84173 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84174 Likewise.
84175 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84176 Likewise.
84177 * math/libm-test.inc (nexttoward_test): Add more tests.
84178
84179 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
84180
84181 [BZ #14040]
84182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84183 in version GLIBC_2.1, not GLIBC_2.0.
84184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84185 Likewise.
84186
84187 2012-04-30 Joseph Myers <joseph@codesourcery.com>
84188
84189 [BZ #13942]
84190 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84191 (1 - x) * (1 + x).
84192 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84193 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84194 * math/libm-test.inc (acos_test): Add more tests.
84195 (asin_test): Likewise.
84196 * sysdeps/i386/fpu/libm-test-ulps: Update.
84197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84198
84199 [BZ #14034]
84200 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84201 of square root.
84202 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84203 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84204 * math/libm-test.inc (acos_test_tonearest): New function.
84205 (acos_test_towardzero): Likewise.
84206 (acos_test_downward): Likewise.
84207 (acos_test_upward): Likewise.
84208 (asin_test_tonearest): Likewise.
84209 (asin_test_towardzero): Likewise.
84210 (asin_test_downward): Likewise.
84211 (asin_test_upward): Likewise.
84212 (main): Call the new functions.
84213 * sysdeps/i386/fpu/libm-test-ulps: Update.
84214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84215
84216 [BZ #13884]
84217 [BZ #13924]
84218 * math/e_exp10.c: Include <float.h>.
84219 (__ieee754_exp10): Handle underflow here rather than multiplying
84220 large negative argument by M_LN10.
84221 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84222 of __ieee754_expf.
84223 * math/e_exp10l.c: Include <float.h>.
84224 (__ieee754_exp10l): Handle underflow here rather than multiplying
84225 large negative argument by M_LN10l.
84226 * math/libm-test.inc (exp10_test): Add another test. Do not allow
84227 spurious overflow exception on underflow.
84228
84229 2012-04-29 Marek Polacek <polacek@redhat.com>
84230
84231 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84232 (__fortify_function): New macro.
84233 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84234 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84235 __extern_always_inline.
84236 * libio/bits/stdio2.h: Likewise.
84237 * libio/bits/stdio.h: Likewise.
84238 * string/string.h: Likewise.
84239 * string/bits/string3.h: Likewise.
84240 * include/stdio.h: Likewise.
84241 * stdlib/bits/stdlib.h: Likewise.
84242 * stdlib/stdlib.h: Likewise.
84243 * rt/bits/mqueue2.h: Likewise.
84244 * rt/mqueue.h: Likewise.
84245 * posix/bits/unistd.h: Likewise.
84246 * posix/unistd.h: Likewise.
84247 * io/bits/poll2.h: Likewise.
84248 * io/bits/fcntl2.h: Likewise.
84249 * io/fcntl.h: Likewise.
84250 * io/sys/poll.h: Likewise.
84251 * misc/bits/syslog.h: Likewise.
84252 * misc/bits/syslog-ldbl.h: Likewise.
84253 * misc/sys/syslog.h: Likewise.
84254 * socket/bits/socket2.h: Likewise.
84255 * socket/sys/socket.h: Likewise.
84256 * debug/tst-chk1.c: Likewise.
84257 * wcsmbs/bits/wchar2.h: Likewise.
84258 * wcsmbs/bits/wchar-ldbl.h: Likewise.
84259 * wcsmbs/wchar.h: Likewise.
84260
84261 2012-04-29 Andreas Jaeger <aj@suse.de>
84262
84263 * Makerules (tests): Remove enable-check-abi protection.
84264 (check-abi-warn): Remove.
84265 (check-abi-%): Remove check-abi-warn usage.
84266
84267 * configure.in: Remove check-abi configure option.
84268 * configure: Regenerated.
84269 * config.make.in (enable-check-abi): Remove.
84270
84271 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
84272
84273 [BZ #14033]
84274 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84275 double functions to double *_finite functions.
84276
84277 [BZ #13941]
84278 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84279 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84280 LDBL_MIN_EXP.
84281 * stdio-common/Makefile (tests): Add tst-sprintf3.
84282 * stdio-common/tst-sprintf3.c: New file.
84283
84284 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84285 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84286
84287 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84288
84289 * conform/conformtest.pl: Remove duplicate typed-constant
84290 handling.
84291
84292 2012-04-28 David S. Miller <davem@davemloft.net>
84293
84294 * Makerules (%.abilist): Add vpath on sysdep_dirs.
84295 (check-abi-%): Remove AWK script prerequisite and explicit
84296 abilist directory.
84297 (check-abi): Rewrite to just diff the symlist with the abilist.
84298 (config-tls, config-abi-config): Delete, no longer used.
84299 (update-abi-%): Remove AWK script and explicit abilist directory.
84300 (update-abi): Rewrite to simply compare and conditionally copy the
84301 symlist and the sysdep abilist file. Remove update-abi-config
84302 checks.
84303 * abilist/ld.abilist: Remove.
84304 * abilist/libBrokenLocale.abilist: Remove.
84305 * abilist/libanl.abilist: Remove.
84306 * abilist/libcrypt.abilist: Remove.
84307 * abilist/libdl.abilist: Remove.
84308 * abilist/librt.abilist: Remove.
84309 * abilist/libthread_db.abilist: Remove.
84310 * abilist/libutil.abilist: Remove.
84311 * scripts/extract-abilist.awk: Remove.
84312 * scripts/merge-abilist.awk: Remove.
84313 * sysdeps/generic/libcidn.abilist: New file.
84314 * sysdeps/generic/libnss_compat.abilist: New file.
84315 * sysdeps/generic/libnss_db.abilist: New file.
84316 * sysdeps/generic/libnss_dns.abilist: New file.
84317 * sysdeps/generic/libnss_files.abilist: New file.
84318 * sysdeps/generic/libnss_hesiod.abilist: New file.
84319 * sysdeps/generic/libnss_nis.abilist: New file.
84320 * sysdeps/generic/libnss_nisplus.abilist: New file.
84321 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84322 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84323 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84324 file.
84325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84326 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84327 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84328 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84329 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84330 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84331 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84332 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84333 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84334 file.
84335 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84336 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84337 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84338 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84339 file.
84340 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84341 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84342 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84343 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84344 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84345 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84346 file.
84347 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84348 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84349 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84350 file.
84351 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84353 New file.
84354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84355 New file.
84356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84357 New file.
84358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84359 New file.
84360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84361 New file.
84362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84363 New file.
84364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84365 New file.
84366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84367 New file.
84368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84369 New file.
84370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84371 New file.
84372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84373 New file.
84374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84375 New file.
84376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84377 New file.
84378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84379 file.
84380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84381 New file.
84382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84383 New file.
84384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84385 file.
84386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84387 New file.
84388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84389 New file.
84390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84391 file.
84392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84393 New file.
84394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84395 New file.
84396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84397 New file.
84398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84399 New file.
84400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84401 New file.
84402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84403 New file.
84404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84406 file.
84407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84408 New file.
84409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84410 file.
84411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84412 file.
84413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84414 file.
84415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84416 file.
84417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84418 file.
84419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84420 New file.
84421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84422 file.
84423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84424 file.
84425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84426 New file.
84427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84428 file.
84429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84431 file.
84432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84433 New file.
84434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84435 file.
84436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84437 file.
84438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84439 file.
84440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84441 file.
84442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84443 file.
84444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84445 New file.
84446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84447 file.
84448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84449 file.
84450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84451 New file.
84452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84453 file.
84454 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84455 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84456 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84457 file.
84458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84459 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84460 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84461 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84462 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84463 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84464 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84465 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84466 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84467 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84470 file.
84471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84472 New file.
84473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84474 file.
84475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84476 file.
84477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84478 file.
84479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84480 file.
84481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84482 file.
84483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84484 New file.
84485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84486 New file.
84487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84488 file.
84489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84490 New file.
84491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84492 file.
84493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84495 file.
84496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84497 New file.
84498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84499 file.
84500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84501 file.
84502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84503 file.
84504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84505 file.
84506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84507 file.
84508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84509 New file.
84510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84511 New file.
84512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84513 file.
84514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84515 New file.
84516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84517 file.
84518
84519 2012-04-28 Joseph Myers <joseph@codesourcery.com>
84520
84521 * conform/conformtest.pl: Fix typo in handling typed-constant from
84522 allow-header.
84523
84524 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84525
84526 * README: Cut down references to pre-2.6 Linux kernels and
84527 Linuxthreads. Update lists of configurations in libc and ports
84528 and sort alphabetically. Say "or newer" with Linux kernel version
84529 requirements.
84530
84531 * config.h.in [IS_IN_build]: Allow compiling without optimization.
84532
84533 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
84534
84535 [BZ #887]
84536 * math/libm-test.inc (logb_test_downward): New test to expose
84537 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84538 rounding mode.
84539
84540 2012-04-27 Joseph Myers <joseph@codesourcery.com>
84541
84542 [BZ #14027]
84543 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84544 to be done.
84545 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84546 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84547
84548 2012-04-26 Joseph Myers <joseph@codesourcery.com>
84549
84550 * sysdeps/unix/i386/brk.S: Remove file.
84551 * sysdeps/unix/i386/dl-brk.S: Likewise.
84552 * sysdeps/unix/i386/pipe.S: Likewise.
84553 * sysdeps/unix/i386/sigreturn.S: Likewise.
84554 * sysdeps/unix/i386/syscall.S: Likewise.
84555 * sysdeps/unix/i386/vfork.S: Likewise.
84556 * sysdeps/unix/i386/wait.S: Likewise.
84557
84558 * sysdeps/unix/common/tcsendbrk.c: Move to ...
84559 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84560
84561 * configure.in (arm*-none*): Do not allow without
84562 --enable-hacker-mode.
84563 (netbsd*): Remove case setting base_os.
84564 (386bsd*): Likewise.
84565 (freebsd*): Likewise.
84566 (bsdi*): Likewise.
84567 (osf*): Likewise.
84568 (sunos*): Likewise.
84569 (ultrix*): Likewise.
84570 (newsos*): Likewise.
84571 (dynix*): Likewise.
84572 (*bsd*): Likewise.
84573 (sysv*): Likewise.
84574 (isc*): Likewise.
84575 (esix*): Likewise.
84576 (sco*): Likewise.
84577 (minix*): Likewise.
84578 (irix4*): Likewise.
84579 (irix6*): Likewise.
84580 (solaris[2-9]*): Likewise.
84581 (none): Likewise.
84582 * configure: Regenerated.
84583
84584 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84585
84586 [BZ #11521]
84587 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84588 overflow or cancellation in calculating denominator.
84589 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84591 down expression to avoid unexpected rounding in newer GCCs.
84592 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84593
84594 2012-04-26 David S. Miller <davem@davemloft.net>
84595
84596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84597 long-double compat symbols.
84598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84611
84612 2012-04-25 David S. Miller <davem@davemloft.net>
84613
84614 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84615 HWCAP_* values only after the memory barriers have been defined.
84616 (atomic_full_barrier): Define.
84617 (atomic_read_barrier): Define.
84618 (atomic_write_barrier): Define.
84619
84620 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84621
84622 * shlib-versions: Add libgcc_s version information.
84623 * sysdeps/generic/libgcc_s.h: Remove.
84624 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84625 libgcc_s.h.
84626 * sysdeps/gnu/unwind-resume.c: Likewise.
84627 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84628
84629 2012-04-25 David S. Miller <davem@davemloft.net>
84630
84631 * sysdeps/unix/sparc/brk.S: Delete.
84632 * sysdeps/unix/sparc/dl-brk.S: Delete.
84633 * sysdeps/unix/sparc/pipe.S: Delete.
84634 * sysdeps/unix/sparc/sysdep.S: Delete.
84635 * sysdeps/unix/sparc/sysdep.h: Delete.
84636 * sysdeps/unix/sparc/vfork.S: Delete.
84637 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84638 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84639 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84640 (ret_ERRVAL, r0, r1, MOVE): Define.
84641 (JUMPTARGET): Remove.
84642 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84643 sysdeps/unix/sparc/sysdep.h
84644 (ENTRY, END): Remove.
84645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84646
84647 2012-04-25 Joseph Myers <joseph@codesourcery.com>
84648
84649 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84650 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84651 -DIS_IN_build.
84652
84653 * timezone/README: Update upstream location and email address for
84654 tzcode and tzdata.
84655 * timezone/zdump.c: Update from tzcode 2012b.
84656 * timezone/zic.c: Likewise.
84657
84658 * configure.in (libc_cv_as_needed): Remove test.
84659 * configure: Regenerated.
84660 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84661 conditional definition.
84662 [$(have-as-needed) != yes] (no-as-needed): Likewise.
84663 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84664 * config.make.in (have-as-needed): Remove variable.
84665
84666 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84667 Paul Pluzhnikov <ppluzhnikov@google.com>
84668
84669 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84670 strings correctly.
84671
84672 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
84673
84674 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84675 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84676 * sysdeps/sh/strlen.S: Likewise.
84677
84678 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84679
84680 * sysdeps/unix/fork.S: Remove file.
84681 * sysdeps/unix/i386/fork.S: Likewise.
84682 * sysdeps/unix/sparc/fork.S: Likewise.
84683
84684 * sysdeps/unix/system.c: Remove file.
84685 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84686
84687 * sysdeps/unix/getegid.S: Remove file.
84688 * sysdeps/unix/geteuid.S: Likewise.
84689
84690 2012-04-24 Roland McGrath <roland@hack.frob.com>
84691
84692 * scripts/check-localplt.awk: New file.
84693 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84694 of diff.
84695 * scripts/data/localplt-generic.data: Add a comment.
84696
84697 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84698 NODE when __dir_mkfile failed.
84699 * sysdeps/mach/hurd/symlinkat.c: Likewise.
84700 Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84701
84702 2012-04-24 Andreas Jaeger <aj@suse.de>
84703
84704 * Makerules (common-clean): Also remove gen-as-const-headers
84705 files.
84706
84707 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84708
84709 * Makerules (native-compile): Do not change working directory for
84710 build. Use $(OUTPUT_OPTION) in command.
84711 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84712
84713 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84714
84715 [BZ #13886]
84716 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84717 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84718 * math/libm-test.inc (floor_test): Add more tests.
84719 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84720
84721 2012-04-24 Joseph Myers <joseph@codesourcery.com>
84722
84723 * sysdeps/unix/getdents.c: Remove file.
84724 * sysdeps/unix/sysv/getdents.c: Likewise.
84725 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84726
84727 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84728 sysdeps/unix/mman/syscalls.list.
84729 (mmap): Likewise.
84730 (mprotect): Likewise.
84731 (msync): Likewise.
84732 (munmap): Likewise.
84733 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84734 * sysdeps/unix/mman/syscalls.list: Remove.
84735 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84736
84737 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84738 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84739 * configure: Regenerated.
84740 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84741 $(libgcc_s_suffix).
84742 * config.make.in (libgcc_s_suffix): Remove variable.
84743
84744 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84745
84746 * sysdeps/unix/sysv/gethostname.c: Move to ...
84747 * sysdeps/posix/gethostname.c: ... here.
84748
84749 * sysdeps/unix/execve.S: Remove file.
84750
84751 * sysdeps/unix/_exit.S: Remove file.
84752
84753 2012-04-23 Andreas Jaeger <aj@suse.de>
84754
84755 [BZ #13739]
84756 * manual/Makefile: Remove make dist support, there's no
84757 need for a stand-alone documentation tar ball.
84758 (TEXI2DVI): Define always, it's not in Makeconfig.
84759 (dist): Removed.
84760 (tar-it): Removed.
84761 (edition): Removed.
84762 (glibc-doc-$(edition).tar): Removed
84763 (%.Z): Removed.
84764 (%.gz): Removed.
84765 (%.uu): Removed.
84766 (ETAGS): Remove, it's in Makeconfig.
84767 (move-if-change): Remove, it's in Makeconfig.
84768
84769 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84770
84771 [BZ #13970]
84772 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84773 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84774 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84775 (strtod_l, strtof_l, strtold_l): Remove __wur.
84776 It is not necessarily an error to ignore strtol's return value.
84777 One can reliably look at the stored endptr to decide whether
84778 the number had valid syntax.
84779
84780 2012-04-21 Andreas Jaeger <aj@suse.de>
84781
84782 [BZ #13739]
84783 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84784
84785 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84786
84787 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84788 * sysdeps/unix/sysv/Versions: Remove file.
84789
84790 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84791
84792 [BZ #13927]
84793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84794
84795 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84796
84797 [BZ #7064]
84798 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84799 version from __vm86.
84800
84801 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84802
84803 * sysdeps/unix/common/lxstat.c: Remove file.
84804 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84805
84806 * sysdeps/unix/sysv/Makefile: Remove file.
84807
84808 * sysdeps/unix/sysv/direct.h: Remove file.
84809
84810 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84811 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84812 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84813 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84814 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84815 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84816 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84817
84818 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84819
84820 * sysdeps/unix/xmknod.c: Remove file.
84821 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84822
84823 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84824
84825 * sysdeps/unix/sysv/i386/time.S: Remove file.
84826
84827 * sysdeps/unix/fxstat.c: Remove file.
84828 * sysdeps/unix/xstat.c: Likewise.
84829 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84830
84831 * sysdeps/unix/sysv/sigaction.c: Remove file.
84832
84833 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84834 (sysdep_headers): Remove variable.
84835 [termio.h not in sysdep_headers] (generated): Likewise.
84836 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84837 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84838 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84839 * sysdeps/unix/sysv/tcflow.c: Likewise.
84840 * sysdeps/unix/sysv/tcflush.c: Likewise.
84841 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84842 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84843 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84844 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84845 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84846
84847 * sysdeps/unix/siglist.c: Remove file.
84848
84849 * sysdeps/unix/getppid.S: Remove file.
84850
84851 * sysdeps/unix/mkdir.c: Remove file.
84852 * sysdeps/unix/rmdir.c: Likewise.
84853
84854 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84855
84856 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84857 ERR_MAX value.
84858 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84859 errlist-compat value.
84860
84861 2012-04-18 David S. Miller <davem@davemloft.net>
84862
84863 * sysdeps/generic/memcopy.h (reg_char): Delete.
84864 * debug/strcat_chk.c: Use char, not reg_char.
84865 * debug/strcpy_chk.c: Likewise.
84866 * debug/strncat_chk.c: Likewise.
84867 * debug/strncpy_chk.c: Likewise.
84868 * string/memchr.c: Likewise.
84869 * string/memrchr.c: Likewise.
84870 * string/rawmemchr.c: Likewise.
84871 * string/strcat.c: Likewise.
84872 * string/strchr.c: Likewise.
84873 * string/strchrnul.c: Likewise.
84874 * string/strcmp.c: Likewise.
84875 * string/strcpy.c: Likewise.
84876 * string/strncat.c: Likewise.
84877 * string/strncmp.c: Likewise.
84878 * string/strncpy.c: Likewise.
84879
84880 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84881
84882 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84883 __builtin_memcopy is called when src and dest ranges are known to not
84884 overlap.
84885
84886 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84887
84888 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84889 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84890 fwd_align_merge macro call.
84891 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84892 bwd_align_merge macro call.
84893 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84894
84895 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84896
84897 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84898 bwd_align_merge macros.
84899 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84900 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84901 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84902
84903 2012-04-18 David S. Miller <davem@davemloft.net>
84904
84905 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84906
84907 2012-04-18 Andreas Jaeger <aj@suse.de>
84908
84909 [BZ #6794]
84910 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84911 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84913
84914 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84915 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84916 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84917
84918 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84919 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84920 Adjust for changed ldbl-128 files.
84921
84922 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84923 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84924 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84925
84926 2012-04-17 David S. Miller <davem@davemloft.net>
84927
84928 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84929
84930 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84931
84932 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84933 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84934 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84935 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84936 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84937 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84938
84939 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84940
84941 [BZ #6794]
84942 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84943 * math/libm-test.inc: Add ilogb errno and exception tests.
84944 * math/w_ilogb.c: New file: ilogb wrapper.
84945 * math/w_ilogbf.c: New file: ilogbf wrapper.
84946 * math/w_ilogbl.c: New file: ilogbl wrapper.
84947 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84948 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84949 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84950 exception being thrown with 0.0 as argument.
84951 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84952 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84953 exception being thrown with 0.0 as argument.
84954 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84955 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84956 exception being thrown with 0.0 as argument.
84957 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84958 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84959 exception being thrown with 0.0 as argument.
84960 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84961 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84962 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84963 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84964 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84965 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84966 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84967 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84968 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84969
84970 2012-04-17 Petr Baudis <pasky@ucw.cz>
84971
84972 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84973 with altivec.
84974
84975 2012-04-16 Marek Polacek <polacek@redhat.com>
84976
84977 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84978
84979 2012-04-16 Marek Polacek <polacek@redhat.com>
84980
84981 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84982 operands of fdivp instruction.
84983
84984 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84985
84986 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84987 * elf/tst-auditmod3b.c: Likewise.
84988 * elf/tst-auditmod4b.c: Likewise.
84989 * elf/tst-auditmod5b.c: Likewise.
84990 * elf/tst-auditmod6b.c: Likewise.
84991 * elf/tst-auditmod6c.c: Likewise.
84992 * elf/tst-auditmod7b.c: Likewise.
84993 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84994 * sysdeps/x86_64/preconfigure.in: Likewise.
84995 * sysdeps/x86_64/preconfigure: Regenerated.
84996
84997 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84998
84999 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85000 __ILP32__.
85001
85002 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
85003
85004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85005 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
85006
85007 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
85008
85009 [BZ #13973]
85010 * locale/iso-639.def: Fix gl language name. Spotted by
85011 Yaron Shahrabani.
85012
85013 2012-04-12 Roland McGrath <roland@hack.frob.com>
85014
85015 [BZ #2074]
85016 * libio/libio.h (__io_write_fn): Update comment.
85017
85018 2012-04-12 Petr Baudis <pasky@ucw.cz>
85019
85020 [BZ #2074]
85021 * stdio.texi (Hook Functions): The user provided writer function
85022 is not allowed to return -1.
85023
85024 2012-04-11 David S. Miller <davem@davemloft.net>
85025
85026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85027
85028 2012-04-11 Mike Frysinger <vapier@gentoo.org>
85029
85030 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85031 Add a leading slash to rtkaio.
85032
85033 2012-04-11 Jim Meyering <meyering@redhat.com>
85034
85035 [BZ #11959]
85036 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85037 It is not necessarily an error to ignore fwrite's return
85038 value. One can reliably use ferror to test for errors after
85039 the fact.
85040
85041 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85042
85043 * bits/types.h (__snseconds_t): New type.
85044 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85045
85046 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85048 (__SNSECONDS_T_TYPE): Likewise.
85049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85050 (__SNSECONDS_T_TYPE): Likewise.
85051 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85052 (__SNSECONDS_T_TYPE): Likewise.
85053
85054 2012-04-10 Andreas Jaeger <aj@suse.de>
85055
85056 [BZ #2636]
85057 * manual/time.texi (Processor Time): Return type of times is
85058 elapsed real time since an arbitrary point in the past.
85059 (CPU Time): Move CLK_TCK from here...
85060 (Processor Time): ...to here. Correct description.
85061 * manual/conf.texi (Constants for Sysconf): Correct description of
85062 _SC_CLK_TCK.
85063
85064 2012-04-10 David S. Miller <davem@davemloft.net>
85065
85066 [BZ #13967]
85067 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85068 where the is a gap between DT_REL(A) and DT_JMPREL.
85069
85070 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
85071
85072 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85073 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85074 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85075
85076 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
85077
85078 * elf/dl-support.c (_dl_inhibit_cache): New variable.
85079 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85080 (dl_main): Handle --inhibit-cache.
85081 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85082 _dl_inhibit_cache.
85083 * elf/dl-load.c (_dl_map_object): Use it.
85084 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85085
85086 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85087
85088 [BZ #13872]
85089 * sysdeps/i386/fpu/e_powl.S (p78): New object.
85090 (__ieee754_powl): Saturate large exponents rather than testing for
85091 overflow of y*log2(x).
85092 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85093 * math/libm-test.inc (pow_test): Do not permit spurious overflow
85094 exceptions.
85095
85096 [BZ #11521]
85097 * math/s_ctan.c: Include <float.h>.
85098 (__ctan): Avoid internal overflow or cancellation in calculating
85099 denominator.
85100 * math/s_ctanf.c: Likewise.
85101 * math/s_ctanl.c: Likewise.
85102 * math/s_ctanh.c: Likewise.
85103 * math/s_ctanhf.c: Likewise.
85104 * math/s_ctanhl.c: Likewise.
85105 * math/libm-test.inc (ctan_test): Add more tests.
85106 (ctanh_test): Likewise.
85107 * sysdeps/i386/fpu/libm-test-ulps: Update.
85108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85109
85110 2012-04-09 Andreas Jaeger <aj@suse.de>
85111
85112 [BZ #6894]
85113 * manual/filesys.texi (Directory Entries): Mention that d_namlen
85114 is an optional BSD extension.
85115
85116 [BZ #10254]
85117 * manual/stdio.texi (Opening Streams): Document additional fopen
85118 parameters.
85119
85120 2012-04-09 Roland McGrath <roland@hack.frob.com>
85121
85122 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85123 %eax without telling the compiler.
85124
85125 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
85126
85127 [BZ # 13963]
85128 * manual/install.texi: Use sourceware.org.
85129
85130 2012-04-09 Joseph Myers <joseph@codesourcery.com>
85131
85132 [BZ #13873]
85133 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85134 (__ieee754_pow): Generate overflow and underflow using huge*huge
85135 and tiny*tiny rather than just returning constant infinity or zero
85136 for large exponents.
85137 * math/libm-test.inc (pow_test): Require overflow exceptions for
85138 applicable cases of large exponents.
85139
85140 [BZ #706]
85141 * sysdeps/i386/fpu/e_pow.S (p10): New object.
85142 (__ieee754_pow): Use iterative multiplication algorithm only for
85143 integer exponents with absolute value below 1024. Check for odd
85144 integer exponents when using algorithm for real exponents.
85145 * math/libm-test.inc (pow_test): Add more tests.
85146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85147
85148 2012-04-08 Joseph Myers <joseph@codesourcery.com>
85149
85150 [BZ #13705]
85151 * math/libm-test.inc (exp_test): Do not allow overflow exception
85152 on underflow test.
85153
85154 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
85155
85156 [BZ #13705]
85157 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85158 instead of __kernel_standard_f.
85159
85160 2012-04-08 Mike Frysinger <vapier@gentoo.org>
85161
85162 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85163 * sysdeps/x86_64/memset_chk.S: Likewise.
85164
85165 2012-04-08 Andreas Jaeger <aj@suse.de>
85166
85167 [BZ #10153]
85168 * manual/startup.texi (Environment Access): Describe return value
85169 for putenv and setenv.
85170
85171 [BZ #6895]
85172 * manual/filesys.texi (Directory Entries): Add description for
85173 DT_LNK.
85174
85175 [BZ #6890]
85176 * manual/filesys.texi (Directory Entries): Clarify that it's file
85177 system not operating system in the description of DT_UNKNOWN.
85178
85179 [BZ #6578]
85180 * manual/syslog.texi (closelog): Fix reference, it's openlog.
85181
85182 2012-04-08 Stephen Compall <s11@member.fsf.org>
85183
85184 [BZ #6649]
85185 * manual/llio.texi (Opening and Closing Files): Add cross
85186 reference to explain mode argument.
85187
85188 2012-04-07 Mike Frysinger <vapier@gentoo.org>
85189
85190 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85191 * sysdeps/x86_64/memset_chk.S: Likewise.
85192
85193 2012-04-07 David S. Miller <davem@davemloft.net>
85194
85195 * elf/elf.h (R_SPARC_WDISP10): Define.
85196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85197 R_SPARC_SIZE32.
85198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85199 R_SPARC_SIZE64 and R_SPARC_H34.
85200
85201 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
85202
85203 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85204 conditions and remove no longer applicable assertion.
85205
85206 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85207
85208 * bits/byteswap.h: Include <features.h>.
85209 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85210 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85211
85212 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
85213
85214 * bits/byteswap.h (__bswap_16): Removed.
85215 Include <bits/byteswap-16.h> to get __bswap_16.
85216 * sysdeps/i386/bits/byteswap.h: Likewise.
85217 * sysdeps/s390/bits/byteswap.h: Likewise.
85218 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85219 * bits/byteswap-16.h: New file.
85220 * sysdeps/i386/bits/byteswap-16.h: Likewise.
85221 * sysdeps/s390/bits/byteswap-16.h: Likewise.
85222 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85223 * string/Makefile (headers): Add bits/byteswap-16.h.
85224
85225 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
85226
85227 [BZ #13895]
85228 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85229 extra indirection.
85230 * nss/Makefile (tests-static, tests): Add tst-nss-static.
85231 * nss/tst-nss-static.c: New.
85232
85233 2012-04-06 Robert Millan <rmh@gnu.org>
85234
85235 [BZ #6486]
85236 * manual/llio.texi (File Position Primitive): lseek
85237 refers to WHENCE when it really means OFFSET.
85238
85239 2012-04-06 Andreas Jaeger <aj@suse.de>
85240
85241 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85242 strncmp declarations.
85243
85244 * abilist/libc.abilist: Add __poll and __ppoll.
85245
85246 2012-04-05 David S. Miller <davem@davemloft.net>
85247
85248 * scripts/check-local-headers.sh: Accept a host triplet in the
85249 path matched by the exclude regexp.
85250
85251 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85252 definition.
85253 * sysdeps/powerpc/powerpc32/dl-machine.h
85254 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85255 * sysdeps/s390/s390-32/dl-machine.h
85256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85257 * sysdeps/sparc/sparc32/dl-machine.h
85258 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85259 * sysdeps/sparc/sparc64/dl-machine.h
85260 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85261
85262 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85263 lazy binding.
85264 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85265 undefined symbol errors.
85266
85267 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85268 DT_NEEDED entries.
85269
85270 2012-04-05 Michael Matz <matz@suse.de>
85271
85272 [BZ #13592]
85273 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85274
85275 2012-04-05 Andreas Jaeger <aj@suse.de>
85276
85277 [BZ #13908]
85278 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85279 comment.
85280
85281 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85282
85283 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85284 which ROUND is no valid rounding mode.
85285
85286 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85287
85288 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85289 read again.
85290 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85291
85292 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85293
85294 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85295 an exception using FPU order intentionally.
85296
85297 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85298
85299 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85300 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85301 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85302 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85303
85304 2012-04-05 Simon Josefsson <simon@josefsson.org>
85305
85306 [BZ #12340]
85307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85308 EINVAL when BUFLEN is too smal.
85309
85310 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
85311
85312 [BZ #13553]
85313 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85314 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85315
85316 2012-04-03 Andreas Jaeger <aj@suse.de>
85317
85318 [BZ #13938]
85319 * manual/setjmp.texi (System V contexts): Fix sentence.
85320
85321 [BZ #13926]
85322 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85323 New macro for this case.
85324 [!__GNUC__] (__bswap_64): New inline function for this case.
85325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85326 * bits/byteswap.h: Likewise.
85327 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85328 ull, guard with __GLIBC_HAVE_LONG_LONG.
85329
85330 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85331 __GLIBC_HAVE_LONG_LONG.
85332
85333 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85334 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85335
85336 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85337
85338 [BZ #13691]
85339 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85340 inptr and inend, rather than using last_ch.
85341
85342 2012-04-02 David S. Miller <davem@davemloft.net>
85343
85344 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85345 * stdio-common/printf-parse.h (read_int): Change return type to
85346 'int', return -1 on INT_MAX overflow.
85347 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85348 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
85349 overflows INT_MAX. Check for overflow of in-format-string precision
85350 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
85351 SIZE_MAX not INT_MAX for integer overflow test.
85352 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85353 skip the construct in the format string but do not record anything.
85354 * stdio-common/bug22.c: Adjust to test both width/prevision
85355 INT_MAX overflow as well as total length INT_MAX overflow. Check
85356 explicitly for proper errno values.
85357
85358 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85359
85360 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85361 CHAR_MAX.
85362 * string/test-strcmp.c [! WIDE]: Likewise.
85363 * time/tst-mktime2.c: Likewise for INT_MAX.
85364 * string/test-string.h: #include <sys/param.h> for MIN.
85365
85366 * csu/init-first.c (__libc_init_first): Call __ctype_init.
85367 * sysdeps/i386/init-first.c (init): Likewise.
85368 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85369 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85370 * sysdeps/sh/init-first.c (init): Likewise.
85371
85372 2012-04-01 Ulrich Drepper <drepper@gmail.com>
85373
85374 * po/ru.po: Update from translation team.
85375 * po/vi.po: Likewise.
85376
85377 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
85378
85379 * resolv/nss_dns/dns-host.c: Merge copyright years.
85380
85381 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85382
85383 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85384 Optimize memcpy with prefetch if
85385 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
85386 src, dst pointers have unequal 16 byte alignments.
85387
85388 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
85389
85390 [BZ #13928]
85391 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85392 from a CNAME entry and return the minimum ttl for the query.
85393 (gaih_getanswer_slice): Likewise.
85394
85395 2012-03-30 Jeff Law <law@redhat.com>
85396
85397 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85398 due to long keys.
85399 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85400 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85401
85402 * resolv/nss_dns/dns-host.c: Update copyright year.
85403
85404 2012-03-30 Ulrich Drepper <drepper@gmail.com>
85405
85406 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85407 requests to save a system call. Fix check that all bytes are sent.
85408
85409 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85410 comments for sendmmsg.
85411
85412 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85413
85414 [BZ #13691]
85415 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85416 with only 1 character between 0x0041 and 0x01b0.
85417 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85418 * wcsmbs/tst-mbsnrtowcs.c: New file.
85419
85420 2012-03-29 David S. Miller <davem@davemloft.net>
85421
85422 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85423 small copies by hand.
85424
85425 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85426
85427 [BZ #13761]
85428 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85429 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85430 group memberships.
85431
85432 2012-03-28 David S. Miller <davem@davemloft.net>
85433
85434 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85435 that branches into memcpy.
85436 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85437 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85439 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85441 bits.
85442 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85443 implementation too.
85444 * sysdeps/sparc/mempcpy.S: New file.
85445
85446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85447 the IFUNC routine in the libc case.
85448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85449
85450 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85451 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85452 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85453 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85454 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85455 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85456 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85457 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85458
85459 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85460 loop to 256 bytes instead of 64 bytes and fix test signedness.
85461
85462 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85463 * sysdeps/sparc/sparc32/Makefile: rather than here...
85464 * sysdeps/sparc/sparc64/Makefile: and here.
85465
85466 2012-03-28 Ulrich Drepper <drepper@gmail.com>
85467
85468 * malloc/mallocbug.c: Avoid warnings about unused variables.
85469
85470 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
85471
85472 [BZ #13760]
85473 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85474 in the right place. Discard and retry query if response is
85475 larger than input buffer size.
85476
85477 2012-03-28 Joseph Myers <joseph@codesourcery.com>
85478
85479 [BZ #369]
85480 [BZ #2678]
85481 [BZ #3866]
85482 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85483 x for large integer exponent.
85484 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85485 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
85486 sign of result as needed afterwards.
85487 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85488 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85489 result for underflowing pow the same as for overflow.
85490 (__kernel_standard_l): Handle powl overflow and underflow here
85491 rather than calling __kernel_standard.
85492 * math/libm-test.inc (pow_test): Add more tests.
85493
85494 [BZ #3868]
85495 [BZ #13879]
85496 [BZ #13910]
85497 [BZ #13911]
85498 [BZ #13912]
85499 [BZ #13913]
85500 [BZ #13915]
85501 [BZ #13916]
85502 [BZ #13917]
85503 [BZ #13918]
85504 [BZ #13919]
85505 [BZ #13920]
85506 [BZ #13921]
85507 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85508 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85509 (__kernel_standard_l): New function.
85510 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85511 __kernel_standard.
85512 * math/w_acosl.c (__acosl): Likewise.
85513 * math/w_asinl.c (__asinl): Likewise.
85514 * math/w_atan2l.c (__atan2l): Likewise.
85515 * math/w_atanhl.c (__atanhl): Likewise.
85516 * math/w_coshl.c (__coshl): Likewise.
85517 * math/w_exp10l.c (__exp10l): Likewise.
85518 * math/w_exp2l.c (__exp2l): Likewise.
85519 * math/w_fmodl.c (__fmodl): Likewise.
85520 * math/w_hypotl.c (__hypotl): Likewise.
85521 * math/w_j0l.c (__j0l, __y0l): Likewise.
85522 * math/w_j1l.c (__j1l, __y1l): Likewise.
85523 * math/w_jnl.c (__jnl, __ynl): Likewise.
85524 * math/w_lgammal.c (__lgammal): Likewise.
85525 * math/w_log10l.c (__log10l): Likewise.
85526 * math/w_log2l.c (__log2l): Likewise.
85527 * math/w_logl.c (__logl): Likewise.
85528 * math/w_powl.c (__powl): Likewise.
85529 * math/w_remainderl.c (__remainderl): Likewise.
85530 * math/w_scalbl.c (sysv_scalbl): Likewise.
85531 * math/w_sinhl.c (__sinhl): Likewise.
85532 * math/w_sqrtl.c (__sqrtl): Likewise.
85533 * math/w_tgammal.c (__tgammal): Likewise.
85534 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85535 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85536 * math/libm-test.inc (acos_test): Add more tests.
85537 (acosh_test): Likewise.
85538 (asin_test): Likewise.
85539 (atanh_test): Likewise.
85540 (exp_test): Likewise.
85541 (exp10_test): Likewise.
85542 (exp2_test): Likewise.
85543 (expm1_test): Likewise.
85544 (lgamma_test): Likewise.
85545 (log_test): Likewise.
85546 (log10_test): Likewise.
85547 (log1p_test): Likewise.
85548 (log2_test): Likewise.
85549 (pow_test): Do not allow some spurious overflow exceptions.
85550 (sqrt_test): Add more tests.
85551 (tgamma_test): Likewise.
85552 (y0_test): Likewise.
85553 (y1_test): Likewise.
85554 (yn_test): Likewise.
85555
85556 2012-03-27 Anton Blanchard <anton@samba.org>
85557
85558 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85559 MAP_HUGETLB.
85560 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85561 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85563
85564 2012-03-27 David S. Miller <davem@davemloft.net>
85565
85566 * conform/Makefile: Run run-conformtest.sh using $(BASH).
85567
85568 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85569 have-as-vis3 check.
85570
85571 2012-03-27 Andreas Jaeger <aj@suse.de>
85572
85573 * sysdeps/x86_64/elf/configure.in: Moved to ...
85574 * sysdeps/x86_64/configure.in: ... here.
85575 * sysdeps/x86_64/elf/start.S: Moved to ...
85576 * sysdeps/x86_64/start.S: ... here.
85577 * sysdeps/x86_64/elf/configure: Delete.
85578
85579 * sysdeps/x86_64/configure.in: Merge contents from
85580 sysdeps/i386/configure.in (without i686 check).
85581
85582 * sysdeps/i386/elf/Versions: Merge into ...
85583 * sysdeps/i386/Versions: ... this.
85584 * sysdeps/i386/elf/Versions: Delete file.
85585 * sysdeps/i386/elf/start.S: Moved to ...
85586 * sysdeps/i386/start.S: ...here.
85587 * sysdeps/i386/elf/configure.in: Merge into...
85588 * sysdeps/i386/configure.in: ...here.
85589 * sysdeps/i386/elf/configure.in: Delete file.
85590 * sysdeps/i386/elf/configure: Delete file.
85591
85592 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85593 * debug/backtracesyms.c: ... here.
85594 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85595 * debug/backtracesymsfd.c: ... here.
85596 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85597 * sysdeps/generic/ifunc-sel.h: ... here.
85598
85599 * sysdeps/unix/i386/start.c: Delete file.
85600 * sysdeps/unix/sparc/start.c: Delete file.
85601 * sysdeps/unix/start.c: Delete file.
85602
85603 * sysdeps/sh/elf/configure.in: Moved to ...
85604 * sysdeps/sh/configure.in: ... here.
85605 * sysdeps/sh/elf/start.S: Moved to ...
85606 * sysdeps/sh/start.S: ... here.
85607 * sysdeps/sh/elf/configure: Delete file.
85608
85609 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85610 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85611 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85612 * sysdeps/powerpc/powerpc64/entry.h: ... here.
85613 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85614 * sysdeps/powerpc/powerpc64/start.S: here.
85615 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85616 * sysdeps/powerpc/powerpc64/Makefile: ... this.
85617 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85618 * sysdeps/powerpc/powerpc64/configure.in: ... this.
85619 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85620
85621 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85622 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85623 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85624 * sysdeps/powerpc/powerpc32/start.S: ... here.
85625 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85626 * sysdeps/powerpc/powerpc32/configure.in: ... this.
85627 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85628
85629 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85630 * sysdeps/powerpc/ifunc-sel.h: ... here.
85631 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85632 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85633
85634 * sysdeps/sparc/elf/configure.in: Moved to ...
85635 * sysdeps/sparc/configure.in: ... here.
85636 * sysdeps/sparc/elf/configure: Delete file.
85637 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85638 * sysdeps/sparc/sparc32/start.S: ... here.
85639 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85640 * sysdeps/sparc/sparc64/start.S: ... here.
85641 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85642 * sysdeps/sparc/sparc32/Makefile: ... this.
85643 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85644 * sysdeps/sparc/sparc64/Makefile: ... this.
85645
85646 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85647 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85648 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85649 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85650 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85651 * sysdeps/s390/s390-32/setjmp.S: ... here.
85652 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85653 * sysdeps/s390/s390-32/configure.in: ... here.
85654 * sysdeps/s390/s390-32/elf/configure: Delete file.
85655 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85656 * sysdeps/s390/s390-32/start.S: ... here.
85657
85658 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85659 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85660 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85661 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85662 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85663 * sysdeps/s390/s390-64/setjmp.S: ... here.
85664 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85665 * sysdeps/s390/s390-64/configure.in: ... here
85666 * sysdeps/s390/s390-64/elf/configure: Delete file.
85667 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85668 * sysdeps/s390/s390-64/start.S: ... here.
85669 * sysdeps/s390/s390-64/elf/configure: Delete.
85670
85671 * configure.in: Remove support for elf directories in sysdeps.
85672
85673 * configure: Regenerated.
85674 * sysdeps/i386/configure: Regenerated.
85675 * sysdeps/powerpc/powerpc32/configure: Regenerated.
85676 * sysdeps/powerpc/powerpc64/configure: Regenerated.
85677 * sysdeps/s390/s390-32/configure: Regenerated.
85678 * sysdeps/s390/s390-64/configure: Regenerated.
85679 * sysdeps/sh/configure: Regenerated.
85680 * sysdeps/sparc/configure: Regenerated.
85681 * sysdeps/x86_64/configure: Regenerated.
85682
85683 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
85684
85685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85686
85687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85688 denormal result into account.
85689
85690 2012-03-25 Roland McGrath <roland@hack.frob.com>
85691
85692 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85693 Reported by Allan McRae <allan@archlinux.org>.
85694
85695 2012-03-23 Jeff Law <law@redhat.com>
85696
85697 * nss/getnssent.c (__nss_getent): Fix typo.
85698
85699 2012-03-23 David S. Miller <davem@davemloft.net>
85700
85701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85702
85703 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
85704
85705 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85706 to pad to uint64_t for each field.
85707 (dl_tls_index): Replace unsigned long with uint64_t.
85708
85709 2012-03-23 Daniel Jacobowitz <dmj@google.com>
85710 Paul Pluzhnikov <ppluzhnikov@google.com>
85711
85712 [BZ #6528]
85713 * grp/Makefile (otherlibs): Don't set it.
85714 * inet/Makefile (otherlibs): Likewise.
85715 * login/Makefile (otherlibs): Likewise.
85716 * nscd/Makefile (otherlibs): Likewise.
85717 * posix/Makefile (otherlibs): Likewise.
85718 * pwd/Makefile (otherlibs): Likewise.
85719 * rt/Makefile (otherlibs): Likewise.
85720 * sunrpc/Makefile (otherlibs): Likewise.
85721 * nss/Makefile (otherlibs): Likewise.
85722 Add libnss_files to routines and static-only-routines.
85723 ($(objpfx)getent): Remove rule.
85724 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85725 static-only-routines.
85726
85727 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85728
85729 [BZ #13892]
85730 * math/s_cexp.c: Include <float.h>.
85731 (__cexp): Handle exp result overflowing not necessarily
85732 overflowing both real and imaginary parts of result.
85733 * math/s_cexpf.c: Likewise.
85734 * math/s_cexpl.c: Likewise.
85735 * math/libm-test.inc (cexp_test): Add more tests.
85736 * sysdeps/i386/fpu/libm-test-ulps: Update.
85737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85738
85739 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85740
85741 * include/link.h (ELFW): New macro.
85742 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85743 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85744
85745 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85746
85747 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85748 with uint64_t.
85749
85750 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85751
85752 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85753 declaration.
85754 (struct La_x32_retval): Likewise.
85755
85756 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85757
85758 * sysdeps/x86_64/preconfigure.in: New file.
85759 * sysdeps/x86_64/preconfigure: New generated file.
85760
85761 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85762
85763 [BZ #13824]
85764 * math/e_exp2l.c: Include <float.h>.
85765 (__ieee754_exp2l): Handle overflow and underflow cases
85766 separately. Only pass fractional part of argument to
85767 __ieee754_expl.
85768 * math/libm-test.inc (exp2_test): Add more tests.
85769
85770 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85771 negating x to take absolute value.
85772 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85773 Likewise.
85774 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85776 Likewise.
85777 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85778 computing low part if x was negated.
85779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85780
85781 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85782
85783 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85784 la_x32_gnu_pltexit.
85785 (pltexit): Cast int_retval to ptrdiff_t.
85786 * elf/tst-auditmod3b.c: Likewise.
85787 * elf/tst-auditmod4b.c: Likewise.
85788 * elf/tst-auditmod5b.c: Likewise.
85789 * elf/tst-auditmod6b.c: Likewise.
85790 * elf/tst-auditmod6c.c: Likewise.
85791 * elf/tst-auditmod7b.c: Likewise.
85792
85793 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85794 and x32_gnu_pltexit.
85795
85796 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85797 __ELF_NATIVE_CLASS.
85798 (La_x32_regs): New macro.
85799 (La_x32_retval): Likewise.
85800 (la_x32_gnu_pltenter): New function prototype.
85801 (la_x32_gnu_pltexit): Likewise.
85802
85803 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85804
85805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85806 exponent.
85807
85808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85809
85810 * configure.in (libc_cv_cc_nofma): Check for option to disable
85811 generation of FMA instructions.
85812 * configure: Regenerate.
85813 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85814 * sysdeps/ieee754/dbl-64/Makefile: New file.
85815 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85816 Remove brandred-fma4.
85817 (CFLAGS-brandred-fma4.c): Remove.
85818 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85819 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85820 define.
85821 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85822 define.
85823
85824 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85825
85826 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85827 LLONG_MAX != LONG_MAX.
85828 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85829 (_fitoa_word): Likewise.
85830 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85831 LLONG_MAX != LONG_MAX.
85832 * stdio-common/_itowa.h: Include <_itoa.h>.
85833 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85834 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85835 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85836 only if not defined.
85837 (_ITOA_WORD_TYPE): Likewise.
85838 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85839 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85840
85841 2012-03-21 David S. Miller <davem@davemloft.net>
85842
85843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85844
85845 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85846
85847 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85848 of x86_64 when setting libc_cv_slibdir, libdir and
85849 libc_cv_localedir.
85850 * sysdeps/unix/sysv/linux/configure: Regenerated.
85851
85852 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85853
85854 * manual/lang.texi (Old Varargs): Remove section.
85855 (How Variadic): Update menu.
85856 (va_start): Do not mention varargs.h.
85857
85858 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85859 Joseph Myers <joseph@codesourcery.com>
85860
85861 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85862 link test.
85863 * configure: Regenerated.
85864
85865 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85866
85867 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85868 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85869 conformtest.pl
85870
85871 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85872
85873 * NOTES: Remove.
85874 * Makefile (files-for-dist): Remove NOTES.
85875 (NOTES): Remove rule.
85876 * README: Don't refer to NOTES.
85877 * manual/creature.texi: Don't include macros.texi.
85878 * manual/intro.texi (creature.texi): Remove comment referring to
85879 NOTES.
85880
85881 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85882 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85883 * configure: Regenerated.
85884 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85885 LIBC_TRY_CC_OPTION.
85886 (libc_cv_as_i686): Likewise.
85887 (libc_cv_cc_avx): Likewise.
85888 (libc_cv_cc_sse2avx): Likewise.
85889 (libc_cv_cc_fma4): Likewise.
85890 (libc_cv_cc_novzeroupper): Likewise.
85891 * sysdeps/i386/configure: Regenerated.
85892
85893 [BZ #13883]
85894 * sysdeps/i386/fpu/s_cexp.S: Remove.
85895 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85896 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85897 * math/libm-test.inc (cexp_test): Add more tests.
85898 * sysdeps/i386/fpu/libm-test-ulps: Update.
85899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85900
85901 2012-03-21 Allan McRae <allan@archlinux.org>
85902
85903 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85904
85905 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85906
85907 [BZ #13871]
85908 * math/w_exp2.c: Do not include <float.h>.
85909 (o_threshold, u_threshold): Remove.
85910 (__exp2): Calculate result before checking finiteness and calling
85911 __kernel_standard.
85912 * math/w_exp2f.c: Likewise.
85913 * math/w_exp2l.c: Likewise.
85914 * math/libm-test.inc (exp2_test): Require overflow exception for
85915 1e6 input.
85916
85917 [BZ #3866]
85918 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85919 range of signed 64-bit integers before using fistpll. Remove
85920 checks for whether integers fit in mantissa bits.
85921 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85922 the range of signed 32-bit integers before using fistpl. Remove
85923 checks for whether integers fit in mantissa bits.
85924 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85925 (__ieee754_powl): Test for y outside the range of signed 64-bit
85926 integers before using fistpll. Reduce 64-bit values to 63-bit
85927 ones as needed.
85928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85929 divide-by-zero is raised for zero to large negative powers.
85930 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85931 (__ieee754_powl): Test for y outside the range of signed 64-bit
85932 integers before using fistpll. Reduce 64-bit values to 63-bit
85933 ones as needed.
85934 * math/libm-test.inc (pow_test): Add more tests.
85935
85936 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85937
85938 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85939 <stdio-common/_itoa.h>.
85940 * debug/segfault.c: Likewise.
85941 * elf/dl-cache.c: Likewise.
85942 * elf/dl-minimal.c: Likewise.
85943 * elf/dl-misc.c: Likewise.
85944 * elf/dl-sysdep.c: Likewise.
85945 * elf/dl-version.c: Likewise.
85946 * elf/rtld.c: Likewise.
85947 * hurd/hurdsock.c: Likewise.
85948 * hurd/lookup-retry.c: Likewise.
85949 * malloc/malloc.c: Likewise.
85950 * malloc/mtrace.c: Likewise.
85951 * nscd/nscd_getgr_r.c: Likewise.
85952 * nscd/nscd_getpw_r.c: Likewise.
85953 * nscd/nscd_getserv_r.c: Likewise.
85954 * posix/getopt_init.c: Likewise.
85955 * posix/wordexp.c: Likewise.
85956 * stdio-common/_itoa.c: Likewise.
85957 * stdio-common/printf_fphex.c: Likewise.
85958 * stdio-common/vfprintf.c: Likewise.
85959 * string/_strerror.c: Likewise.
85960 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85961 * sysdeps/i386/i686/hp-timing.h: Likewise.
85962 * sysdeps/mach/_strerror.c: Likewise.
85963 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85964 * sysdeps/mach/hurd/sethostid.c: Likewise.
85965 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85966 * sysdeps/mach/xpg-strerror.c: Likewise.
85967 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85968 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85969 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85970 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85971 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85972 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85973 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85974 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85975 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85976 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85977 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85978 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85979 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85980 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85981 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85982 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85983 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85984 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85985 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85986 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85987 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85988
85989 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85990
85991 * stdio-common/_itoa.h: Moved to ...
85992 * sysdeps/generic/_itoa.h: Here.
85993
85994 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85995
85996 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85997 instead of "_itoa.h" and "_itowa.h".
85998 * stdio-common/vfprintf.: Likewise.
85999
86000 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86001
86002 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86003 <bits/wordsize.h>.
86004 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86005 (__signbit): Likewise.
86006 (llrintf): Likewise.
86007 (llrint): Likewise.
86008
86009 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
86010
86011 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86012 __WORDSIZE != 64.
86013
86014 2012-03-20 Joseph Myers <joseph@codesourcery.com>
86015
86016 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86017 OVERFLOW_EXCEPTION_OK.
86018 * math/libm-test.inc ("Philosophy"): Update comment about
86019 exception testing.
86020 (OVERFLOW_EXCEPTION): Define.
86021 (OVERFLOW_EXCEPTION_OK): Likewise.
86022 (INVALID_EXCEPTION_OK): Renumber.
86023 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86024 (IGNORE_ZERO_INF_SIGN): Likewise.
86025 (test_exceptions): Handle FE_OVERFLOW.
86026 (exp10_test): Expect overflow exceptions.
86027 (exp2_test): Likewise.
86028 (expm1_test): Likewise.
86029 (nextafter_test): Likewise.
86030 (pow_test): Likewise.
86031 (scalbn_test): Likewise.
86032 (scalbln_test): Likewise.
86033
86034 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86035
86036 * sysdeps/x86_64/bits/atomic.h
86037 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86038 64bit integer.
86039 (atomic_exchange_acq): Likewise.
86040 (__arch_exchange_and_add_body): Likewise.
86041 (__arch_add_body): Likewise.
86042 (atomic_add_negative): Likewise.
86043 (atomic_add_zero): Likewise.
86044
86045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86046
86047 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86048 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86049
86050 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86051
86052 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86053 Check __x86_64__ instead of __WORDSIZE.
86054
86055 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86056
86057 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86058
86059 2012-03-19 David S. Miller <davem@davemloft.net>
86060
86061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86062
86063 * sysdeps/sparc/fpu/fenv_private.h: New file.
86064 * sysdeps/sparc/fpu/math_private.h: Use it.
86065 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86066 Remove.
86067 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86068 (libc_feholdexcept_setroundl): Remove.
86069 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86070 Remove.
86071 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86072 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86073
86074 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86075
86076 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86077 int64_t instead of long int.
86078 (INSERT_WORDS64): Likewise.
86079
86080 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
86081
86082 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86083 _Unwind_GetCFA return to _Unwind_Ptr first.
86084
86085 2012-03-19 Joseph Myers <joseph@codesourcery.com>
86086
86087 [BZ #13629]
86088 * math/s_clog.c: Include <float.h>.
86089 (__clog): Scale large or subnormal inputs.
86090 * math/s_clogf.c: Likewise.
86091 * math/s_clogl.c: Likewise.
86092 * math/s_clog10.c: Include <float.h>.
86093 (M_LOG10_2): Define.
86094 (__clog10): Scale large or subnormal inputs.
86095 * math/s_clog10f.c: Likewise.
86096 * math/s_clog10l.c: Likewise.
86097 * math/libm-test.inc (clog_test): Add more tests.
86098 (clog10_test): Likewise.
86099 * sysdeps/i386/fpu/libm-test-ulps: Update.
86100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86101
86102 [BZ #11451]
86103 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86104 x and y.
86105 * math/libm-test.inc (atan2_test): Add another test.
86106
86107 * Makerules (common-objdir-compile): Remove.
86108 * sysdeps/unix/Makefile (config-generated): Do not add
86109 $(unix-generated) to variable.
86110 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86111 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86112 Remove rule.
86113 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86114 Likewise.
86115 [generic bits/local_lim.h] (before-compile): Do not append to
86116 variable.
86117 [generic bits/local_lim.h] (common-generated): Likewise.
86118 [generic sys/param.h] (before-compile): Do not append to variable.
86119 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86120 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86121 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86122 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86123 include.
86124 [generic sys/param.h] (sys/param.h-includes): Remove variable.
86125 [generic sys/param.h] (sys/param.h-includes): Remove rule.
86126 [generic sys/param.h] ($(addprefix
86127 $(common-objpfx),$(sys/param.h-includes))): Likewise.
86128 [generic sys/param.h] (common-generated): Do not append to
86129 variable.
86130 [generic sys/param.h] (sysdep_headers): Likewise.
86131 [generic bits/errno.h] (before-compile): Do not append to
86132 variable.
86133 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86134 rule.
86135 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86136 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86137 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86138 [generic bits/errno.h] (common-generated): Do not append to
86139 variable.
86140 [generic bits/ioctls.h] (before-compile): Do not append to
86141 variable.
86142 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86143 rule.
86144 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86145 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86146 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86147 rule.
86148 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86149 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86150 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86151 [generic bits/ioctls.h] (common-generated): Do not append to
86152 variable.
86153 [generic sys/syscall.h] (syscall.h): Remove variable.
86154 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86155 rule.
86156 [generic sys/syscall.h] (before-compile): Do not append to
86157 variable.
86158 [generic sys/syscall.h] (common-generated): Likewise.
86159 * sysdeps/unix/errnos-tmpl.c: Remove file.
86160 * sysdeps/unix/errnos.awk: Likewise.
86161 * sysdeps/unix/ioctls-tmpl.c: Likewise.
86162 * sysdeps/unix/ioctls.awk: Likewise.
86163 * sysdeps/unix/mk-local_lim.c: Likewise.
86164 * sysdeps/unix/snarf-ioctls: Likewise.
86165
86166 2012-03-19 Richard Henderson <rth@twiddle.net>
86167
86168 * sysdeps/i386/fpu/fenv_private.h: New file.
86169 * sysdeps/i386/fpu/math_private.h: Use it.
86170 (math_opt_barrier, math_force_eval): Remove.
86171 (libc_feholdexcept_setround_53bit): Remove.
86172 (libc_feupdateenv_53bit): Remove.
86173 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86174 (math_opt_barrier, math_force_eval): Remove.
86175 (libc_feholdexcept): Remove.
86176 (libc_feholdexcept_setround): Remove.
86177 (libc_fetestexcept, libc_fesetenv): Remove.
86178 (libc_feupdateenv_test): Remove.
86179 (libc_feupdateenv, libc_feholdsetround): Remove.
86180 (libc_feresetround): Remove.
86181
86182 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86183 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86184
86185 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86186 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86187 (libc_feupdateenv_testl): New.
86188 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86189 (libc_feupdateenv_testf): New.
86190 (libc_feupdateenv): Use libc_feupdateenv_test.
86191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86192 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86193
86194 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86195 (libc_feholdsetroundf, libc_feholdsetroundl): New.
86196 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86197 (libc_feresetround_noex): New.
86198 (libc_feresetround_noexf): New.
86199 (libc_feresetround_noexl): New.
86200 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86201 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86202 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86203 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86204 SET_RESTORE_ROUND.
86205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86207 (__cos): Likewise.
86208 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86209 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86210 SET_RESTORE_ROUND_NOEX.
86211 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86212 SET_RESTORE_ROUND_NOEXF.
86213 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86214 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86215 (libc_feholdsetroundf): New.
86216 (libc_feresetround, libc_feresetroundf): New.
86217
86218 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86219 (libc_feholdexcept_setround_53bit): Convert from macro to function.
86220 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
86221
86222 * sysdeps/generic/math_private.h: Include <fenv.h>.
86223 (default_libc_feholdexcept): New.
86224 (default_libc_feholdexcept_setround): New.
86225 (default_libc_fesetenv, default_libc_feupdateenv): New.
86226 (libc_feholdexcept): Only define if undefined.
86227 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86228 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86229 (libc_feholdexcept_setroundl): Likewise.
86230 (libc_feholdexcept_setround_53bit): Likewise.
86231 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86232 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86233 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86234 (libc_feupdateenv_53bit): Likewise.
86235 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86236 (libc_feholdexcept): Convert from macro to inline function.
86237 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86238 (libc_fesetenv, libc_feupdateenv): Likewise.
86239
86240 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86241 not previously defined.
86242 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86243 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86244 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86245 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86246 * sysdeps/ieee754/flt-32/math_private.h: New file.
86247 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86248 math_private.h below SET_FLOAT_WORD.
86249 (__isnan, __isinf_ns, __finite): Remove.
86250 (__isnanf, __isinf_nsf, __finitef): Remove.
86251
86252 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
86253
86254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86255
86256 2012-03-17 David S. Miller <davem@davemloft.net>
86257
86258 [BZ #6471]
86259 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86260 for 2.16.
86261
86262 2012-03-16 David S. Miller <davem@davemloft.net>
86263
86264 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86265 warnings.
86266
86267 [BZ #6471]
86268 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86269 properly.
86270 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86271 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86272 sysdep_routines when subdir is sysvipc.
86273 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86274 __getshmlba helper.
86275
86276 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86277
86278 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86279
86280 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86281 [__LP64__].
86282
86283 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86284
86285 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86286 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86287 (__lround): Renamed to ...
86288 (__llround): This. Replace long int with long long int.
86289 Define lround functions as aliases of llround functions.
86290 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86291
86292 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86293
86294 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86295 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
86296 adresses to uintptr_t. Replace "long int" and "unsigned long
86297 int" with "greg_t" on va_arg.
86298
86299 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86300
86301 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86302 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86303
86304 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86305 Move e_machine check before EI_CLASS check. Handle x32
86306 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86307 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86308 SKIP_EM_IA_64 and include
86309 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86310
86311 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86312 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86313 (add_system_dir): New macro.
86314
86315 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86316 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86317
86318 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86319
86320 [BZ #2551]
86321 [BZ #2552]
86322 [BZ #2553]
86323 [BZ #2554]
86324 [BZ #2562]
86325 [BZ #2563]
86326 [BZ #2565]
86327 [BZ #2566]
86328 [BZ #2576]
86329 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86330 (y0): Likewise.
86331 * math/w_j0f.c (j0f): Likewise.
86332 (y0f): Likewise.
86333 * math/w_j0l.c (__j0l): Likewise.
86334 (__y0l): Likewise.
86335 * math/w_j1.c (j1): Likewise.
86336 (y1): Likewise.
86337 * math/w_j1f.c (j1f): Likewise.
86338 (y1f): Likewise.
86339 * math/w_j1l.c (__j1l): Likewise.
86340 (__y1l): Likewise.
86341 * math/w_jn.c (jn): Likewise.
86342 (yn): Likewise.
86343 * math/w_jnf.c (jnf): Likewise.
86344 (ynf): Likewise.
86345 * math/w_jnl.c (__jnl): Likewise.
86346 (__ynl): Likewise.
86347 * math/libm-test.inc (j0_test): Add more tests.
86348 (j1_test): Likewise.
86349 (jn_test): Likewise. Add trailing semicolon to existing test.
86350 (y0_test): Likewise.
86351 (y1_test): Likewise.
86352 * sysdeps/i386/fpu/libm-test-ulps: Update.
86353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86354
86355 [BZ #13851]
86356 [BZ #13854]
86357 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86358 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86359 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86360 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86361 (__tanl): Set errno for infinite argument.
86362 * sysdeps/i386/fpu/mptan.c: Remove.
86363 * sysdeps/i386/fpu/s_tan.S: Likewise.
86364 * sysdeps/i386/fpu/s_tanl.S: Likewise.
86365 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86366 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86367 * math/libm-test.inc (tan_test): Add more tests and enable more
86368 tests for double and long double.
86369 * sysdeps/i386/fpu/libm-test-ulps: Update.
86370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86371
86372 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
86373
86374 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86375 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86376
86377 2012-03-16 Roland McGrath <roland@hack.frob.com>
86378
86379 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86380 * configure.in: Use it for both main tree and add-ons.
86381 * configure: Regenerated.
86382
86383 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
86384
86385 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86386
86387 2012-03-16 Joseph Myers <joseph@codesourcery.com>
86388
86389 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86390 in comment.
86391
86392 [BZ #13851]
86393 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86394 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86395 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86396 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86397 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86398 infinite argument.
86399 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86401 != 0 for prec == 2.
86402 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86403 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86404 * sysdeps/i386/fpu/s_cosl.S: Likewise.
86405 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86406 * sysdeps/i386/fpu/s_sinl.S: Likewise.
86407 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86408 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86409 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86410 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86411 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86412 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86413 * math/libm-test.inc (cos_test): Add more tests and enable more
86414 tests for long double.
86415 (sin_test): Likewise.
86416 (sincos_test): Likewise.
86417 * sysdeps/i386/fpu/libm-test-ulps: Update.
86418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86419
86420 2012-03-16 David S. Miller <davem@davemloft.net>
86421
86422 * sysdeps/sparc/fpu/math_private.h: New file.
86423
86424 2012-03-15 David S. Miller <davem@davemloft.net>
86425
86426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86427 file.
86428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86430 file.
86431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86437 sysdep routines.
86438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86439
86440 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86441 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86442
86443 * sysdeps/sparc/sparc-ifunc.h: New file.
86444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86445 sparc-ifunc.h
86446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86448 Likewise.
86449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86450 Likewise.
86451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86455 Likewise.
86456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86461 Likewise.
86462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86463 Likewise.
86464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86482 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86483 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86485 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86488
86489 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86490
86491 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86492 scaling.
86493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86494
86495 2012-03-15 Andreas Jaeger <aj@suse.de>
86496
86497 [BZ #13852]
86498 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86499 ieee754/flt-32 implementation for sin, cos and sincos.
86500 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86501 * sysdeps/i386/fpu/s_cosf.S: Likewise.
86502 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86503 * sysdeps/i386/fpu/s_sinf.S: Likewise.
86504 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86505 ieee754/flt-32 implementation for tan.
86506
86507 * math/libm-test.inc (cos_test): Enable some large input tests for
86508 float as well
86509 (sin_test): Likewise.
86510 (sincos_test): Likewise.
86511 (tan_test): Add tests for large input.
86512
86513 * sysdeps/i386/fpu/libm-test-ulps: Update.
86514
86515 2012-03-15 Andreas Jaeger <aj@suse.de>
86516
86517 [BZ #13658]
86518 * math/libm-test.inc (cos_test): Add more test cases.
86519 (sin_test): Likewise.
86520 (sincos_test): Likewise.
86521
86522 2012-03-15 Andreas Jaeger <aj@suse.de>
86523
86524 [BZ #13837]
86525 * math/libm-test.inc (cos_test): Add a test case for large input
86526 value.
86527 (sin_test): Likewise.
86528 (sincos_test): Likewise.
86529
86530 2012-03-15 Andreas Jaeger <aj@suse.de>
86531 Joseph Myers <joseph@codesourcery.com>
86532
86533 [BZ #13658]
86534 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86535 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86536 * sysdeps/i386/fpu/branred.c: Likewise.
86537 * sysdeps/i386/fpu/dosincos.c: Likewise.
86538 * sysdeps/i386/fpu/mpa.c: Likewise.
86539 * sysdeps/i386/fpu/s_cos.S: Likewise.
86540 * sysdeps/i386/fpu/s_sin.S: Likewise.
86541 * sysdeps/i386/fpu/s_sincos.S: Likewise.
86542 * sysdeps/i386/fpu/sincos32.c: Likewise.
86543
86544 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86545 Define.
86546 (libc_feupdateenv_53bit): Define.
86547 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86548 Define.
86549 (libc_feupdateenv_53bit): Define.
86550
86551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86552 53 bit (without extend i386 double precision).
86553
86554 * math/libm-test.inc (sincos_test): Add tests for large input.
86555 (sin): Likewise.
86556 (cos): Likewise.
86557
86558 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86559
86560 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
86561
86562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86563
86564 2012-03-15 David S. Miller <davem@davemloft.net>
86565
86566 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86567 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86568 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86569 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86582 file.
86583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86585 file.
86586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86588 file.
86589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86591 file.
86592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86594 fmin/fmax sysdep routines.
86595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86596
86597 2012-03-14 David S. Miller <davem@davemloft.net>
86598
86599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86606 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86628 routines.
86629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86630 file.
86631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86633 file.
86634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86636 file.
86637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86639 file.
86640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86642 file.
86643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86645 file.
86646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86647 file.
86648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86649 file.
86650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86651 file.
86652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86653 New file.
86654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86655 file.
86656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86657 file.
86658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86660 file.
86661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86663 file.
86664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86666 file.
86667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86669 VIS3 routines.
86670
86671 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86672 New file.
86673
86674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86675
86676 * sysdeps/sparc/configure.in: New file.
86677 * sysdeps/sparc/configure: Generate.
86678 * configure.in (libc_cv_sparc_as_vis3): Substitute.
86679 * configure: Regenerate.
86680 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86681 * config.make.in (have-as-vis3): New.
86682 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86683 available use -Av9d instead of -Av9a.
86684 * sysdeps/sparc/sparc64/Makefile: Likewise.
86685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86687 New file.
86688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86689 file.
86690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86691 New file.
86692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86693 file.
86694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86699
86700 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86701 fzeros/fnegs to load 0x80000000 into a float register instead of
86702 using the stack.
86703 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86704
86705 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86706
86707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86708 bits/syscall.h.
86709 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86710 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86711 ($(inst_includedir)/bits/syscall.h): Remove rule.
86712 ($(objpfx)bits/syscall.d): Include instead of
86713 $(objpfx)syscall-list.d.
86714 (generated): Change syscall-list.h and syscall-list.d to
86715 bits/syscall.h and bits/syscall.d.
86716
86717 2012-03-14 Roland McGrath <roland@hack.frob.com>
86718
86719 [BZ #13846]
86720 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86721
86722 2012-03-14 Joseph Myers <joseph@codesourcery.com>
86723
86724 [BZ #13841]
86725 * math/s_csqrt.c: Include <float.h>.
86726 (__csqrt): Scale large or subnormal inputs.
86727 * math/s_csqrtf.c: Likewise.
86728 * math/s_csqrtl.c: Likewise.
86729 * math/libm-test.inc (csqrt_test): Add more tests.
86730 * sysdeps/i386/fpu/libm-test-ulps: Update.
86731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86732
86733 [BZ #13840]
86734 * math/libm-test.inc (hypot_test): Add more tests.
86735
86736 2012-03-13 David S. Miller <davem@davemloft.net>
86737
86738 [BZ #13840]
86739 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86740 double-precision for the calculation instead of scaling.
86741
86742 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86743
86744 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86745 manipulate bits before adding and subtracting TWO52[sx].
86746 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86748 Likewise.
86749 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86750
86751 2012-03-13 David S. Miller <davem@davemloft.net>
86752
86753 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86754 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86756 rtld-global-offsets.h
86757 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86758
86759 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86760 large parameters.
86761
86762 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86763
86764 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86765 'err' in the ifdef scope in which it is actually used.
86766
86767 * nss/nss_db/db-init.c: Include string.h
86768
86769 2012-03-12 David S. Miller <davem@davemloft.net>
86770
86771 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86772 masking out of the most significant byte of random value used.
86773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86774 Fix coding style in previous change.
86775
86776 * sysdeps/unix/sysv/linux/kernel-features.h
86777 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86778 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86779 expression.
86780 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86781 later.
86782
86783 2012-03-11 David S. Miller <davem@davemloft.net>
86784
86785 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86786 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86787 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86788 for 'resultvar' otherwise things get truncated on 64-bit.
86789
86790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86791 Fix masking out of the most significant byte of random value used.
86792
86793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86794
86795 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86796
86797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86798
86799 2012-03-09 David S. Miller <davem@davemloft.net>
86800
86801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86802 variables with appropriate CPP guards.
86803 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86804 from the frame pointer, not the stack pointer. Correct layout
86805 comments. Fix test on resulting framesize and the management of
86806 the outregs buffer for pltexit. Preserve floating point return
86807 values across _dl_call_pltexit call.
86808 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86809 framesize and the management of the outregs buffer for pltexit.
86810 Preserve floating point return values across _dl_call_pltexit
86811 call.
86812 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86813 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86814 (la_sparc64_gnu_pltexit): New functions.
86815 (print_exit): Fix format string for return register value.
86816
86817 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86818
86819 * sunrpc/Makefile (others): Add rpcgen.
86820 ($(objpfx)rpcgen): Remove special build rule and dependency on
86821 libc.
86822 * sunrpc/rpcgen.c: New file.
86823
86824 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86825
86826 [BZ #13673]
86827 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86828 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86829 * sysdeps/i386/crti.S: Likewise.
86830 * sysdeps/i386/crtn.S: Likewise.
86831 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86832 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86833 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86834 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86835 * sysdeps/sh/crti.S: Likewise.
86836 * sysdeps/sh/crtn.S: Likewise.
86837 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86838
86839 [BZ #13673]
86840 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86841 with URL.
86842 * locale/programs/locfile-kw.gperf: Likewise.
86843 * locale/programs/charmap-kw.h: Regenerated.
86844 * locale/programs/locfile-kw.h: Likewise.
86845
86846 [BZ #13673]
86847 * intl/plural.y: Replace FSF snail mail address with URL.
86848 * intl/plural.c: Regenerated.
86849
86850 2012-03-09 Richard Henderson <rth@twiddle.net>
86851
86852 * include/math_private.h: Remove file.
86853 * math/math_private.h: Move file ...
86854 * sysdeps/generic/math_private.h: ... here.
86855
86856 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86857 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86858 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86859
86860 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86861 and <math_private.h>.
86862 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86863 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86864 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86865 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86866 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86867 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86868 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86870 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86873 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86874 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86875 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86876 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86877 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86880 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86881 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86884 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86886 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86887 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86888 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86889 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86891 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86892 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86894 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86895 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86896 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86897 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86899 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86900 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86902 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86903 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86904 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86905 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86906 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86907 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86908 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86909 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86910 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86911 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86912 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86913 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86914 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86915 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86916 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86917 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86918 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86919 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86920 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86921 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86922 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86923 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86925 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86926 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86927 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86928 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86929 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86930 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86931 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86932 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86933 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86934 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86935 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86936 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86940 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86941 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86942 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86943 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86945 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86946 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86947 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86949 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86950 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86953 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86955 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86956 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86957 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86958 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86959 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86962 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86963 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86964 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86965 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86966 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86967 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86968 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86969 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86970 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86971 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86972 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86973 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86974 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86975 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86976 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86977 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86978 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86979 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86980 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86981 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86982 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86983 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86984 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86985 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86986 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86988 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86989 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86990 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86991 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86992 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86993 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86994 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86995 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86996 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86997 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86998 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86999 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87000 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87001 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87002 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87003 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87004 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87005 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87006 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87007 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87008 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87009 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87010 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87011 * sysdeps/ieee754/k_standard.c: Likewise.
87012 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87013 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87014 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87015 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87016 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87017 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87018 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87019 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87020 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87021 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87022 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87023 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87024 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87025 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87026 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87027 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87028 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87029 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87030 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87031 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87032 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87033 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87034 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87035 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87036 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87037 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87038 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87039 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87040 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87041 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87042 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87043 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87044 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87045 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87046 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87047 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87048 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87049 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87050 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87051 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87052 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87053 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87054 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87055 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87056 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87057 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87058 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87060 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87061 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87062 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87063 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87064 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87065 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87068 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87069 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87070 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87071 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87072 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87073 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87074 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87075 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87076 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87077 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87078 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87079 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87080 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87081 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87082 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87084 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87085 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87086 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87088 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87089 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87090 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87091 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87092 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87093 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87094 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87096 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87097 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87098 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87099 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87100 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87102 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87103 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87104 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87105 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87106 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87107 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87108 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87109 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87110 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87111 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87113 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87114 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87115 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87116 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87117 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87118 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87119 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87120 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87121 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87122 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87123 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87124 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87125 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87126 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87127 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87128 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87130 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87131 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87132 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87133 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87135 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87136 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87137 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87138 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87139 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87140 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87141 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87142 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87143 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87144 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87145 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87146 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87148 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87149 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87150 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87151 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87152 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87153 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87154 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87155 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87156 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87157 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87158 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87159 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87160 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87161 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87162 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87163 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87164 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87165 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87166 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87167 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87168 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87169 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87170 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87171 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87172 * sysdeps/ieee754/s_lib_version.c: Likewise.
87173 * sysdeps/ieee754/s_matherr.c: Likewise.
87174 * sysdeps/ieee754/s_signgam.c: Likewise.
87175 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87176 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87177 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87178 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87179 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87180 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87181 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87182 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87183 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87184 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87185 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87186 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87187 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87188 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87189 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87190 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87191 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87192 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87193 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87196
87197 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87198
87199 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87200 * sunrpc/rpc_main.c: Likewise.
87201 * sunrpc/rpc_svcout.c: Likewise.
87202
87203 2012-03-09 David S. Miller <davem@davemloft.net>
87204
87205 * include/math_private.h: New file.
87206
87207 2012-03-09 Joseph Myers <joseph@codesourcery.com>
87208
87209 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87210 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87211 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87212 from <bits/socket_type.h>.
87213 (enum __socket_type): Don't define here.
87214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87216 bits/socket_type.h.
87217
87218 [BZ #13566]
87219 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87220 checking __USE_GNU.
87221
87222 * Makerules ($(inst_includedir)/%.h): New rule.
87223 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87224 (install-others): Remove variable setting.
87225 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87226
87227 2012-03-08 Richard Henderson <rth@twiddle.net>
87228
87229 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87230 from macro to inline function; merge with the
87231 !__LIBC_INTERNAL_MATH_INLINES version.
87232 (__ieee754_sqrtf): Likewise.
87233
87234 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87235 to inline function.
87236 (__rintf, __floor, __floorf): Likewise.
87237
87238 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87239 macro to inline function.
87240 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87241
87242 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87243 not <math/math_private.h>.
87244
87245 2012-03-08 David S. Miller <davem@davemloft.net>
87246
87247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87248 copyright year.
87249 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87250
87251 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
87252
87253 * resolv/gai_misc.c (handle_requests): Fix struct timespec
87254 normalization.
87255 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87256 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87257
87258 2012-03-08 Ulrich Drepper <drepper@gmail.com>
87259
87260 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
87261 be defined individually, they must be defined as a block. Define
87262 S for printing a string instead of hidint the different by using a
87263 macro for adding the 'l'.
87264 * stdio-common/tst-fphex-wide.c: Adjust.
87265
87266 2012-03-07 Marek Polacek <polacek@redhat.com>
87267
87268 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87269
87270 2012-03-08 Marek Polacek <polacek@redhat.com>
87271
87272 [BZ #13806]
87273 * stdio-common/Makefile (tests): Add tst-fphex-wide.
87274 * stdio-common/tst-fphex.c: Define a few macros to make the
87275 test reusable. Use them.
87276 * stdio-common/tst-fphex-wide.c: New file.
87277
87278 2012-03-08 Joseph Myers <joseph@codesourcery.com>
87279
87280 [BZ #6911]
87281 * manual/macros.texi (gnusystems): New macro.
87282 (nongnusystems): Likewise.
87283 (gnulinuxhurdsystems): Likewise.
87284 (gnuhurdsystems): Likewise..
87285 (gnulinuxsystems): Likewise.
87286 * manual/charset.texi: Use new macros or @theglibc{} to refer to
87287 variants of the GNU system, not "GNU system".
87288 * manual/conf.texi: Likewise.
87289 * manual/errno.texi: Likewise. Update example of errno macro
87290 expansion.
87291 * manual/filesys.texi: Likewise.
87292 (getumask): Document as specific to GNU/Hurd.
87293 * manual/install.texi: Likewise. Reword some references to
87294 GNU/Linux.
87295 * manual/intro.texi: Likewise.
87296 * manual/io.texi: Likewise.
87297 (File Name Portability): Detail which constraints are inapplicable
87298 to all GNU systems and which are only inapplicable to GNU/Hurd.
87299 * manual/job.texi: Likewise.
87300 * manual/llio.texi: Likewise.
87301 (O_NOCTTY): Document as present on GNU/Linux.
87302 * manual/maint.texi: Likewise.
87303 * manual/memory.texi: Likewise.
87304 * manual/pattern.texi: Likewise.
87305 * manual/pipe.texi: Likewise.
87306 * manual/process.texi: Likewise.
87307 * manual/resource.texi: Likewise.
87308 (RUSAGE_CHILDREN): Remove statement about specifying a particular
87309 child on GNU/Hurd.
87310 * manual/setjmp.texi: Likewise.
87311 * manual/signal.texi: Likewise.
87312 * manual/startup.texi: Likewise.
87313 * manual/stdio.texi: Likewise.
87314 * manual/terminal.texi: Likewise.
87315 (ONLCR): Document as POSIX.
87316 (OXTABS): Document availability on GNU/Linux as XTABS.
87317 (ONOEOT): Document availability separately from other bits.
87318 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87319 * manual/time.texi: Likewise.
87320 * manual/users.texi: Likewise.
87321 * INSTALL: Regenerated.
87322 * sysdeps/gnu/errlist.c: Regenerated.
87323
87324 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87325 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87326 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
87327 puts.
87328 * configure: Regenerated.
87329
87330 2012-03-07 Joseph Myers <joseph@codesourcery.com>
87331
87332 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87333 default includes instead of AC_HEADER_CHECK.
87334 * sysdeps/i386/configure: Regenerated.
87335
87336 [BZ #10716]
87337 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87338 * math/s_cacoshf.c (__cacoshf): Likewise.
87339 * math/s_cacoshl.c (__cacoshl): Likewise.
87340 * math/s_casinh.c (__casinh): Set signs of result from argument.
87341 * math/s_casinhf.c (__casinhf): Likewise.
87342 * math/s_casinhl.c (__casinhl): Likewise.
87343 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87344 (casinh_test): Add more tests.
87345 * sysdeps/i386/fpu/libm-test-ulps: Update.
87346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87347
87348 2012-03-07 Ulrich Drepper <drepper@gmail.com>
87349
87350 * po/zh_TW.po: Update from translation team.
87351
87352 * login/Makefile (distribute): Remove variable.
87353 * catgets/Makefile: Likewise.
87354 * mach/Makefile: Likewise.
87355 * malloc/Makefile: Likewise.
87356 * misc/Makefile: Likewise.
87357 * iconv/Makefile: Likewise.
87358 * nscd/Makefile: Likewise.
87359 * hurd/Makefile: Likewise.
87360 * manual/Makefile: Likewise.
87361 * locale/Makefile: Likewise.
87362 * intl/Makefile: Likewise.
87363 * conform/Makefile: Likewise.
87364 * nss/Makefile: Likewise.
87365 * time/Makefile: Likewise.
87366 * soft-fp/Makefile: Likewise.
87367 * dirent/Makefile: Likewise.
87368 * gmon/Makefile: Likewise.
87369 * po/Makefile: Likewise.
87370 * rt/Makefile: Likewise.
87371 * socket/Makefile: Likewise.
87372 * math/Makefile: Likewise.
87373 * signal/Makefile: Likewise.
87374 * debug/Makefile: Likewise.
87375 * elf/Makefile: Likewise.
87376 * timezone/Makefile: Likewise.
87377 * stdlib/Makefile: Likewise.
87378 * iconvdata/Makefile: Likewise.
87379 * sunrpc/Makefile: Likewise.
87380 * io/Makefile: Likewise.
87381 * argp/Makefile: Likewise.
87382 * inet/Makefile: Likewise.
87383 * hesiod/Makefile: Likewise.
87384 * grp/Makefile: Likewise.
87385 * csu/Makefile: Likewise.
87386 * wctype/Makefile: Likewise.
87387 * crypt/Makefile: Likewise.
87388 * libio/Makefile: Likewise.
87389 * string/Makefile: Likewise.
87390 * nis/Makefile: Likewise.
87391 * resolv/Makefile: Likewise.
87392 * stdio-common/Makefile: Likewise.
87393 * wcsmbs/Makefile: Likewise.
87394 * dlfcn/Makefile: Likewise.
87395 * posix/Makefile: Likewise.
87396
87397 [BZ #6959]
87398 * timezone/Makefile: Don't install timezone files, just the programs
87399 and scripts.
87400
87401 2012-03-06 Ulrich Drepper <drepper@gmail.com>
87402
87403 * nss/databases.def: Add missing gshadow entry.
87404
87405 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
87406
87407 2012-03-06 Marek Polacek <polacek@redhat.com>
87408
87409 [BZ #13726]
87410 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87411 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87412 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87413 * stdio-common/tst-long-dbl-fphex.c: New file.
87414
87415 2012-03-06 David S. Miller <davem@davemloft.net>
87416
87417 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87418 (set_obp_int): New function.
87419 (get_obp_int): New function.
87420 (__get_clockfreq_via_dev_openprom): Likewise.
87421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87422 Avoid unused variable warnings on 'val' and use builtin_expect.
87423 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87424 __builtin_expect.
87425 (INLINE_CLONE_SYSCALL): Likewise.
87426
87427 2012-03-05 David S. Miller <davem@davemloft.net>
87428
87429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87430
87431 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
87432
87433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87434
87435 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87436 only for |x| >= 40.
87437 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87438
87439 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
87440
87441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87442 Replace gettimeofday with __vdso_gettimeofday.
87443
87444 * sysdeps/unix/sysv/linux/x86_64/init-first.c
87445 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87446 __vdso_clock_gettime and __vdso_getcpu.
87447
87448 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87449 time with __vdso_time.
87450
87451 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87452
87453 * manual/lang.texi (size_t): Note types to which size_t may be
87454 equivalent with the GNU C Library, but do not describe when
87455 differences between them are significant.
87456
87457 2012-03-05 Andreas Jaeger <aj@suse.de>
87458
87459 * sysdeps/i386/fpu/libm-test-ulps: Update.
87460
87461 2012-03-05 Joseph Myers <joseph@codesourcery.com>
87462
87463 [BZ #3976]
87464 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87465 (__ieee754_pow): Save and restore rounding mode and use
87466 round-to-nearest for main computations.
87467 * math/libm-test.inc (pow_test_tonearest): New function.
87468 (pow_test_towardzero): Likewise.
87469 (pow_test_downward): Likewise.
87470 (pow_test_upward): Likewise.
87471 (main): Call the new functions.
87472 * sysdeps/i386/fpu/libm-test-ulps: Update.
87473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87474
87475 [BZ #3976]
87476 * math/libm-test.inc (cosh_test_tonearest): New function.
87477 (cosh_test_towardzero): Likewise.
87478 (cosh_test_downward): Likewise.
87479 (cosh_test_upward): Likewise.
87480 (sinh_test_tonearest): Likewise.
87481 (sinh_test_towardzero): Likewise.
87482 (sinh_test_downward): Likewise.
87483 (sinh_test_upward): Likewise.
87484 (main): Call the new functions.
87485 * sysdeps/i386/fpu/libm-test-ulps: Update.
87486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87487
87488 2012-03-05 Tom de Vries <tom@codesourcery.com>
87489
87490 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87491 default stack guard is set in last bytes.
87492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87493
87494 2012-03-05 Kees Cook <keescook@chromium.org>
87495
87496 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87497
87498 [BZ #13656]
87499 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87500 possibly allocate from heap instead of stack.
87501 * stdio-common/bug-vfprintf-nargs.c: New file.
87502 * stdio-common/Makefile (tests): Add nargs overflow test.
87503
87504 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
87505
87506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87507
87508 2012-03-03 Marek Polacek <polacek@redhat.com>
87509
87510 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87511 * math/math_private.h: Likewise.
87512 * stdlib/tst-strtod.c: Likewise.
87513 * sysdeps/i386/i486/bits/atomic.h: Likewise.
87514 * sysdeps/x86_64/bits/atomic.h: Likewise.
87515
87516 2012-03-02 David S. Miller <davem@davemloft.net>
87517
87518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87522 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87523 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87524 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87525 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87526
87527 2012-03-02 Roland McGrath <roland@hack.frob.com>
87528
87529 [BZ #13792]
87530 * manual/examples/README: New file, says the example source files
87531 can be used under GPL>=2.
87532 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87533 line containing just "*/".
87534 * manual/examples/add.c: Add copyright header (GPL>=2).
87535 * manual/examples/argp-ex1.c: Likewise.
87536 * manual/examples/argp-ex2.c: Likewise.
87537 * manual/examples/argp-ex3.c: Likewise.
87538 * manual/examples/argp-ex4.c: Likewise.
87539 * manual/examples/atexit.c: Likewise.
87540 * manual/examples/db.c: Likewise.
87541 * manual/examples/dir.c: Likewise.
87542 * manual/examples/dir2.c: Likewise.
87543 * manual/examples/execinfo.c: Likewise.
87544 * manual/examples/filecli.c: Likewise.
87545 * manual/examples/filesrv.c: Likewise.
87546 * manual/examples/fmtmsgexpl.c: Likewise.
87547 * manual/examples/genpass.c: Likewise.
87548 * manual/examples/inetcli.c: Likewise.
87549 * manual/examples/inetsrv.c: Likewise.
87550 * manual/examples/isockad.c: Likewise.
87551 * manual/examples/longopt.c: Likewise.
87552 * manual/examples/memopen.c: Likewise.
87553 * manual/examples/memstrm.c: Likewise.
87554 * manual/examples/mkfsock.c: Likewise.
87555 * manual/examples/mkisock.c: Likewise.
87556 * manual/examples/mygetpass.c: Likewise.
87557 * manual/examples/pipe.c: Likewise.
87558 * manual/examples/popen.c: Likewise.
87559 * manual/examples/rprintf.c: Likewise.
87560 * manual/examples/search.c: Likewise.
87561 * manual/examples/select.c: Likewise.
87562 * manual/examples/setjmp.c: Likewise.
87563 * manual/examples/sigh1.c: Likewise.
87564 * manual/examples/sigusr.c: Likewise.
87565 * manual/examples/stpcpy.c: Likewise.
87566 * manual/examples/strdupa.c: Likewise.
87567 * manual/examples/strftim.c: Likewise.
87568 * manual/examples/strncat.c: Likewise.
87569 * manual/examples/subopt.c: Likewise.
87570 * manual/examples/swapcontext.c: Likewise.
87571 * manual/examples/termios.c: Likewise.
87572 * manual/examples/testopt.c: Likewise.
87573 * manual/examples/testpass.c: Likewise.
87574 * manual/examples/timeval_subtract.c: Likewise.
87575
87576 [BZ #13792]
87577 * manual/time.texi (Elapsed Time): Move timeval_subtract example
87578 function to ...
87579 * manual/timeval_subtract.c.texi: ... here, new file.
87580
87581 2012-03-02 David S. Miller <davem@davemloft.net>
87582
87583 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87584
87585 2012-03-02 Joseph Myers <joseph@codesourcery.com>
87586
87587 [BZ #3976]
87588 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87589 (__sin): Save and restore rounding mode and use round-to-nearest
87590 for all computations.
87591 (__cos): Save and restore rounding mode and use round-to-nearest
87592 for all computations.
87593 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87594 <fenv.h>.
87595 (tan): Save and restore rounding mode and use round-to-nearest for
87596 all computations.
87597 * math/libm-test.inc (cos_test_tonearest): New function.
87598 (cos_test_towardzero): Likewise.
87599 (cos_test_downward): Likewise.
87600 (cos_test_upward): Likewise.
87601 (sin_test_tonearest): Likewise.
87602 (sin_test_towardzero): Likewise.
87603 (sin_test_downward): Likewise.
87604 (sin_test_upward): Likewise.
87605 (tan_test_tonearest): Likewise.
87606 (tan_test_towardzero): Likewise.
87607 (tan_test_downward): Likewise.
87608 (tan_test_upward): Likewise.
87609 (main): Call the new functions.
87610 * sysdeps/i386/fpu/libm-test-ulps: Update.
87611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87612
87613 [BZ #10135]
87614 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87615 small n, then large n, before computing and testing k+n.
87616 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87618 Likewise.
87619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87620 Likewise.
87621 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87622 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87623 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87624 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87625 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87626 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87627 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87628 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87629 * math/libm-test.inc (scalbn_test): Add more tests.
87630 (scalbln_test): Likewise.
87631
87632 * manual/filesys.texi (mode_t): Describe constraints on size and
87633 signedness, not exact equivalence to a particular type.
87634 (ino_t): Likewise.
87635 (ino64_t): Likewise.
87636 (dev_t): Likewise.
87637 (nlink_t): Likewise.
87638 (blkcnt_t): Likewise.
87639 (blkcnt64_t): Likewise.
87640 * manual/llio.texi (off_t): Likewise.
87641
87642 [BZ #3976]
87643 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87644 (__ieee754_exp): Save and restore rounding mode and use
87645 round-to-nearest for all computations.
87646 * math/libm-test.inc (exp_test_tonearest): New function.
87647 (exp_test_towardzero): Likewise.
87648 (exp_test_downward): Likewise.
87649 (exp_test_upward): Likewise.
87650 (main): Call the new functions.
87651 * sysdeps/i386/fpu/libm-test-ulps: Update.
87652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87653
87654 2012-03-01 Chris Demetriou <cgd@google.com>
87655
87656 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87657 have predictable order.
87658
87659 2012-03-01 David S. Miller <davem@davemloft.net>
87660
87661 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87662
87663 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87664 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87665 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87666 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87667
87668 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87669 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87670 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87672 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87673 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87674 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87675 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87676 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87677
87678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
87679
87680 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87681 * sysdeps/sparc/fpu/libm-test-ulps: to here.
87682 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87683
87684 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87685 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87686 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87687 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87688 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87689 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87691 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87692 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87693 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87694 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87697 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87698 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87700 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87701 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87702 * sysdeps/sparc/elf/configure: Regenerated.
87703
87704 2012-03-01 Joseph Myers <joseph@codesourcery.com>
87705
87706 * configure.in (AS, LD): Require binutils 2.20 or later.
87707 * configure: Regenerated.
87708 * manual/install.texi (Tools for Compilation): Give binutils 2.20
87709 as required minimum version.
87710 * INSTALL: Regenerated.
87711
87712 [BZ #2541]
87713 [BZ #4108]
87714 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87715 before squaring exponent.
87716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87717 bottom long double and 27 bits of top long double before squaring
87718 exponent.
87719 * math/libm-test.inc (erfc_test): Add more tests.
87720 * sysdeps/i386/fpu/libm-test-ulps: Update.
87721 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87723
87724 2012-03-01 Kai Tietz <ktietz@redhat.com>
87725
87726 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87727 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87728 containing bit-fields.
87729 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87730 * soft-fp/single.h (_FP_UNION_S): Likewise.
87731 * soft-fp/double.h (_FP_UNION_D): Likewise.
87732
87733 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87734
87735 [BZ #13786]
87736 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87737 not include ../strcmp.S.
87738 [USE_AS_STRNCASECMP_L]: Likewise.
87739 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87740 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87741 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87742 (__strncasecmp_l_ia32): Define as alias to
87743 __strncasecmp_l_nonascii.
87744
87745 [BZ #5794]
87746 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87747 * sysdeps/i386/fpu/libm-test-ulps: Update.
87748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87749
87750 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87752
87753 2012-02-29 Jeff Law <law@redhat.com>
87754
87755 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87756 out of bounds read.
87757
87758 2012-02-29 Marek Polacek <polacek@redhat.com>
87759
87760 [BZ #13706]
87761 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87762 * elf/Makefile: Add rules to run tst-unused-dep.out.
87763
87764 2012-02-28 David S. Miller <davem@davemloft.net>
87765
87766 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87767 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87769 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87770 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87771 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87772
87773 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87774
87775 * math/libm-test.inc (llround_test): Move one test from
87776 lround_test. Use TEST_f_L in moved test.
87777 (lround_test): Move misplaced test to llround_test. Add testcase
87778 from bug 2561.
87779
87780 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87781
87782 * sysdeps/x86_64/fpu/e_expf.S: New file.
87783 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87784
87785 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87786
87787 [BZ #13637]
87788 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87789 of remain_len that may cause incomplete multi-byte character and
87790 false match.
87791 * posix/bug-regex33.c: New file.
87792 * posix/Makefile (tests): Add bug-regex33.
87793
87794 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87795
87796 * manual/macros.texi: New file.
87797 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87798 * manual/libc.texinfo: Include macros.texi.
87799 * manual/creatute.texi: Likewise.
87800 * manual/install.texi: Likewise.
87801 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87802 @glibcadj{} in references to the GNU C Library.
87803 * manual/charset.texi: Likewise.
87804 * manual/conf.texi: Likewise.
87805 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87806 when not using those macros.
87807 * manual/creature.texi: Likewise.
87808 * manual/crypt.texi: Likewise.
87809 * manual/errno.texi: Likewise.
87810 * manual/filesys.texi: Likewise.
87811 * manual/header.texi: Likewise.
87812 * manual/install.texi: Likewise.
87813 * manual/intro.texi: Likewise.
87814 * manual/io.texi: Likewise.
87815 * manual/job.texi: Likewise.
87816 * manual/lang.texi: Likewise.
87817 * manual/libc.texiinfo: Likewise.
87818 * manual/llio.texi: Likewise.
87819 * manual/locale.texi: Likewise.
87820 * manual/maint.texi: Likewise.
87821 * manual/math.texi: Likewise.
87822 * manual/memory.texi: Likewise.
87823 * manual/message.texi: Likewise.
87824 * manual/nss.texi: Likewise.
87825 * manual/pattern.texi: Likewise.
87826 * manual/process.texi: Likewise.
87827 * manual/resource.texi: Likewise.
87828 * manual/search.texi: Likewise.
87829 * manual/setjmp.texi: Likewise.
87830 * manual/signal.texi: Likewise.
87831 * manual/socket.texi: Likewise.
87832 * manual/startup.texi: Likewise.
87833 * manual/stdio.texi: Likewise.
87834 * manual/string.texi: Likewise.
87835 * manual/sysinfo.texi: Likewise.
87836 * manual/syslog.texi: Likewise.
87837 * manual/terminal.texi: Likewise.
87838 * manual/time.texi: Likewise.
87839 * manual/users.texi: Likewise.
87840 * INSTALL: Regenerated.
87841 * NOTES: Regenerated.
87842 * sysdeps/gnu/errlist.c: Regenerated.
87843
87844 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87845
87846 * include/dirent.h: Include <dirstream.h> before
87847 <dirent/dirent.h>.
87848
87849 2012-02-28 David S. Miller <davem@davemloft.net>
87850
87851 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87852 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87853 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87854 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87855
87856 2012-02-27 David S. Miller <davem@davemloft.net>
87857
87858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87860 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87861 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87862
87863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87864 frame pointer instead of stack pointer relative arg slot.
87865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87868
87869 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87870
87871 [BZ #3992]
87872 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87873
87874 2012-02-27 David S. Miller <davem@davemloft.net>
87875
87876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87882 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87883 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87884
87885 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87886
87887 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87888 later. Allow versions 5-9.
87889 * configure: Regenerated.
87890 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87891 required minimum version and 4.6 as recommended version. Do not
87892 mention bugs in GCC 2.7 and 2.8.
87893 * INSTALL: Regenerated.
87894
87895 2012-02-27 David S. Miller <davem@davemloft.net>
87896
87897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87901 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87902 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87903 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87904 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87905
87906 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87907 manipulate bits before adding and subtracting TWO112[sx].
87908 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87909
87910 2012-02-27 Roland McGrath <roland@hack.frob.com>
87911
87912 [BZ #13775]
87913 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87914 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87915 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87916 being in POSIX, because they are in 1003.1-2008.
87917
87918 * rt/tst-aio.c: Include <fcntl.h>.
87919 * rt/tst-aio7.c: Likewise.
87920 * rt/tst-aio64.c: Likewise.
87921
87922 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87923
87924 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87925
87926 * manual/install.texi (--with-headers): Describe headers as
87927 interface headers, not private headers.
87928 (Specific advice for GNU/Linux systems): Describe use of headers
87929 from "make headers_install", not private headers from older
87930 kernels.
87931 * INSTALL: Regenerated.
87932 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87933 Change to 2.6.19.
87934 * sysdeps/unix/sysv/linux/configure: Regenerated.
87935
87936 * manual/llio.texi (fclean): Remove documentation.
87937
87938 * manual/Makefile (libc-texi-generated): New variable. Include
87939 version.texi.
87940 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87941 $(libc-texi-generated), not duplicated list of files.
87942 (version.texi, stamp-version): New rules.
87943 (realclean): Remove $(libc-texi-generated), not individual files
87944 from that list. Do not remove dir-add.texinfo.
87945 * manual/libc.texinfo: Comment out uses of edition numbers and
87946 references to printed manual. Remove last-updated dates.
87947 (EDITION): Comment out.
87948 (ISBN): Likewise.
87949 (VERSION, UPDATED): Remove.
87950 (version.texi): Include.
87951
87952 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87953
87954 * sysdeps/posix/spawni.c: Include <signal.h>.
87955 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87956 * sysdeps/pthread/aio_fsync.c: Likewise.
87957
87958 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87959
87960 * conform/Makefile (tests): Run only when not cross-compiling and
87961 when fast-check is not defined.
87962
87963 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87964 * conform/data/limits.h-data: Fixes for POSIX2008.
87965 * conform/run-conformtest.sh: Run all tests.
87966 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87967 headers.
87968 * include/bits/dlfcn.h: Likewise.
87969 * include/langinfo.h: Likewise.
87970 * include/monetary.h: Likewise.
87971 * include/sys/poll.h: Likewise.
87972
87973 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87974 for __USE_GNU.
87975 * posix/spawn.h: Define __need_sigset_t.
87976 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87977 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87978 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87979 to get sigevent_t only.
87980 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87981 only for __USE_GNU.
87982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87983 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87984 process_vm_writev only for __USE_GNU.
87985 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87986
87987 * conform/Makefile: For now ignore errors from run-conformtest.
87988 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87989 POSIX to avoid namespace pollution. Don't prepend headers.
87990 * conform/data/aio.h-data: Fixes for POSIX testing.
87991 * conform/data/fcntl.h-data: Likewise.
87992 * conform/data/glob.h-data: Likewise.
87993 * conform/data/grp.h-data: Likewise.
87994 * conform/data/pthread.h-data: Likewise.
87995 * conform/data/pwd.h-data: Likewise.
87996 * conform/data/signal.h-data: Likewise.
87997 * conform/data/spawn.h-data: Likewise.
87998 * conform/data/stdio.h-data: Likewise.
87999 * conform/data/stdlib.h-data: Likewise.
88000 * conform/data/stropts.h-data: Likewise.
88001 * conform/data/sys/mman.h-data: Likewise.
88002 * conform/data/sys/stat.h-data: Likewise.
88003 * conform/data/sys/types.h-data: Likewise.
88004 * conform/data/sys/wait.h-data: Likewise.
88005 * conform/data/time.h-data: Likewise.
88006 * conform/data/unistd.h-data: Likewise.
88007 * conform/data/utime.h-data: Likewise.
88008
88009 * io/sys/stat.h: fchmod was always in POSIX.
88010 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88011 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88012 * rt/aio.h: Define __need_timespec before including <time.h>.
88013 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88014 struct. Add forward declaration of pthread_attr_t and use it in
88015 sigevent.
88016 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88017 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88018 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88019 always remove CLK_TCK definition.
88020
88021 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
88022
88023 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88024
88025 2012-02-25 Ulrich Drepper <drepper@gmail.com>
88026
88027 * conform/run-conformtest.sh: New file.
88028 * conform/Makefile: Run run-conformtest for tests.
88029 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
88030 support.
88031
88032 * conform/data/uchar.h-data: New file.
88033 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88034 * conform/data/arpa/inet.h-data: Likewise.
88035 * conform/data/assert.h-data: Likewise.
88036 * conform/data/complex.h-data: Likewise.
88037 * conform/data/cpio.h-data: Likewise.
88038 * conform/data/ctype.h-data: Likewise.
88039 * conform/data/dirent.h-data: Likewise.
88040 * conform/data/dlfcn.h-data: Likewise.
88041 * conform/data/errno.h-data: Likewise.
88042 * conform/data/fcntl.h-data: Likewise.
88043 * conform/data/float.h-data: Likewise.
88044 * conform/data/fmtmsg.h-data: Likewise.
88045 * conform/data/fnmatch.h-data: Likewise.
88046 * conform/data/ftw.h-data: Likewise.
88047 * conform/data/glob.h-data: Likewise.
88048 * conform/data/grp.h-data: Likewise.
88049 * conform/data/iconv.h-data: Likewise.
88050 * conform/data/inttypes.h-data: Likewise.
88051 * conform/data/langinfo.h-data: Likewise.
88052 * conform/data/libgen.h-data: Likewise.
88053 * conform/data/limits.h-data: Likewise.
88054 * conform/data/locale.h-data: Likewise.
88055 * conform/data/math.h-data: Likewise.
88056 * conform/data/monetary.h-data: Likewise.
88057 * conform/data/mqueue.h-data: Likewise.
88058 * conform/data/ndbm.h-data: Likewise.
88059 * conform/data/net/if.h-data: Likewise.
88060 * conform/data/netdb.h-data: Likewise.
88061 * conform/data/netinet/in.h-data: Likewise.
88062 * conform/data/nl_types.h-data: Likewise.
88063 * conform/data/poll.h-data: Likewise.
88064 * conform/data/pthread.h-data: Likewise.
88065 * conform/data/pwd.h-data: Likewise.
88066 * conform/data/regex.h-data: Likewise.
88067 * conform/data/sched.h-data: Likewise.
88068 * conform/data/search.h-data: Likewise.
88069 * conform/data/semaphore.h-data: Likewise.
88070 * conform/data/setjmp.h-data: Likewise.
88071 * conform/data/signal.h-data: Likewise.
88072 * conform/data/spawn.h-data: Likewise.
88073 * conform/data/stdarg.h-data: Likewise.
88074 * conform/data/stdio.h-data: Likewise.
88075 * conform/data/stdlib.h-data: Likewise.
88076 * conform/data/string.h-data: Likewise.
88077 * conform/data/strings.h-data: Likewise.
88078 * conform/data/stropts.h-data: Likewise.
88079 * conform/data/sys/ipc.h-data: Likewise.
88080 * conform/data/sys/mman.h-data: Likewise.
88081 * conform/data/sys/msg.h-data: Likewise.
88082 * conform/data/sys/resource.h-data: Likewise.
88083 * conform/data/sys/select.h-data: Likewise.
88084 * conform/data/sys/sem.h-data: Likewise.
88085 * conform/data/sys/shm.h-data: Likewise.
88086 * conform/data/sys/socket.h-data: Likewise.
88087 * conform/data/sys/stat.h-data: Likewise.
88088 * conform/data/sys/statvfs.h-data: Likewise.
88089 * conform/data/sys/time.h-data: Likewise.
88090 * conform/data/sys/timeb.h-data: Likewise.
88091 * conform/data/sys/times.h-data: Likewise.
88092 * conform/data/sys/types.h-data: Likewise.
88093 * conform/data/sys/uio.h-data: Likewise.
88094 * conform/data/sys/un.h-data: Likewise.
88095 * conform/data/sys/utsname.h-data: Likewise.
88096 * conform/data/sys/wait.h-data: Likewise.
88097 * conform/data/syslog.h-data: Likewise.
88098 * conform/data/tar.h-data: Likewise.
88099 * conform/data/termios.h-data: Likewise.
88100 * conform/data/utime.h-data: Likewise.
88101 * conform/data/utmpx.h-data: Likewise.
88102 * conform/data/varargs.h-data: Likewise.
88103 * conform/data/wchar.h-data: Likewise.
88104 * conform/data/wctype.h-data: Likewise.
88105 * conform/data/wordexp.h-data: Likewise.
88106
88107 * include/stropts.h: New file.
88108 * include/uchar.h: New file.
88109 * include/aio.h: Changes to allow conformtest.pl to use the headers.
88110 * include/assert.h: Likewise.
88111 * include/ctype.h: Likewise.
88112 * include/dirent.h: Likewise.
88113 * include/dlfcn.h: Likewise.
88114 * include/fcntl.h: Likewise.
88115 * include/fnmatch.h: Likewise.
88116 * include/glob.h: Likewise.
88117 * include/grp.h: Likewise.
88118 * include/libio.h: Likewise.
88119 * include/locale.h: Likewise.
88120 * include/math.h: Likewise.
88121 * include/net/if.h: Likewise.
88122 * include/netdb.h: Likewise.
88123 * include/netinet/in.h: Likewise.
88124 * include/pthread.h: Likewise.
88125 * include/pwd.h: Likewise.
88126 * include/regex.h: Likewise.
88127 * include/sched.h: Likewise.
88128 * include/search.h: Likewise.
88129 * include/setjmp.h: Likewise.
88130 * include/signal.h: Likewise.
88131 * include/stdio.h: Likewise.
88132 * include/stdlib.h: Likewise.
88133 * include/string.h: Likewise.
88134 * include/sys/cdefs.h: Likewise.
88135 * include/sys/mman.h: Likewise.
88136 * include/sys/msg.h: Likewise.
88137 * include/sys/resource.h: Likewise.
88138 * include/sys/select.h: Likewise.
88139 * include/sys/socket.h: Likewise.
88140 * include/sys/stat.h: Likewise.
88141 * include/sys/statvfs.h: Likewise.
88142 * include/sys/time.h: Likewise.
88143 * include/sys/times.h: Likewise.
88144 * include/sys/uio.h: Likewise.
88145 * include/sys/utsname.h: Likewise.
88146 * include/sys/wait.h: Likewise.
88147 * include/termios.h: Likewise.
88148 * include/time.h: Likewise.
88149 * include/ulimit.h: Likewise.
88150 * include/unistd.h: Likewise.
88151 * include/utime.h: Likewise.
88152 * include/wchar.h: Likewise.
88153 * include/wctype.h: Likewise.
88154 * include/wordexp.h: Likewise.
88155
88156 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88157
88158 * time/time.h: TIME_UTC must be a macro.
88159 Make timespec_get available for ISO C11 only as well.
88160
88161 2012-02-24 Ulrich Drepper <drepper@gmail.com>
88162
88163 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88164 Reported by Peng Haitao <penght@cn.fujitsu.com>.
88165
88166 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88167
88168 * configure.in: Use -o not -a in test for unsupported multi-arch.
88169
88170 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88171
88172 * manual/texinfo.tex: Update to version 2012-01-19.16.
88173
88174 2012-02-24 Joseph Myers <joseph@codesourcery.com>
88175
88176 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88177
88178 2012-02-24 Roland McGrath <roland@hack.frob.com>
88179
88180 [BZ #13738]
88181 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88182 * manual/fdl-1.3.texi: New file.
88183 * manual/fdl-1.1.texi: File removed.
88184
88185 [BZ #13738]
88186 * manual/libc.texinfo (FDL_VERSION): New @set.
88187 Use it for mention of FDL in cover text.
88188 (Documentation License): Use it in @include file name.
88189
88190 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88191 Roland McGrath <roland@hack.frob.com>
88192
88193 [BZ #5461]
88194 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88195 (not LONG_LONG_MAX and LONG_LONG_MIN.
88196 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88197 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
88198 name.
88199 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88200
88201 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88202
88203 [BZ #2547]
88204 [BZ #11365]
88205 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88206 manipulate bits before adding and subtracting TWO23[sx].
88207 * math/libm-test.inc (nearbyint_test): Add more tests.
88208
88209 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88210
88211 [BZ #2548]
88212 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88213 bits before adding and subtracting TWO23[sx].
88214 * math/libm-test.inc (rint_test): Add more tests.
88215 (rint_test_tonearest): Likewise.
88216 (rint_test_towardzero): Likewise.
88217 (rint_test_downward): Likewise.
88218 (rint_test_upward: Likewise.
88219
88220 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88221
88222 [BZ #10110]
88223 * include/stdc-predef.h: New file. Extracted from features.h.
88224 * include/features.h: Include stdc-predef.h.
88225 * Makefile (headers): Add stdc-predef.h.
88226 * CONFORMANCE (Compiler limitations): Update.
88227
88228 2012-02-22 Joseph Myers <joseph@codesourcery.com>
88229
88230 * manual/libc.texinfo (VERSION, UPDATED): Revert.
88231
88232 2012-02-21 David S. Miller <davem@davemloft.net>
88233
88234 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88235 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88236
88237 2012-02-20 David S. Miller <davem@davemloft.net>
88238
88239 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88240 using a normal save/restore sequence, rather than allocating a
88241 dummy stack frame just to store a frame pointer and restore.
88242 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88243
88244 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88245
88246 * manual/install.texi: Fix stray word in line-wrapped comment.
88247
88248 2012-02-20 David S. Miller <davem@davemloft.net>
88249
88250 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88251 both binutils and gcc support GOTDATA.
88252
88253 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88254 "rd %pc" in the PIC register setup sequences.
88255
88256 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88257 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88258 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88259 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88260 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88262 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88263 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88265 (SYSCALL_ERROR_HANDLER): Likewise.
88266 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88267 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88269 (SYSCALL_ERROR_HANDLER): Likewise.
88270
88271 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88272 (HAVE_GCC_GOTDATA): New.
88273 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88274 relocation support in both binutils and gcc.
88275 * sysdeps/sparc/elf/configure: Regenerate.
88276
88277 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88278 * sysdeps/sparc/sparc32/elf/configure: Delete.
88279 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88280 * sysdeps/sparc/sparc64/elf/configure: Delete.
88281 * sysdeps/sparc/elf/configure.in: New file.
88282 * sysdeps/sparc/elf/configure: Generate.
88283
88284 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88285 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88286 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88287 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88288 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88289
88290 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88291
88292 * manual/install.texi: Do not mention specific glibc version
88293 numbers.
88294 * manual/libc.texinfo (VERSION, UPDATED): Update.
88295 (@copying): Use @copyright{} and range of years.
88296
88297 2012-02-21 Joseph Myers <joseph@codesourcery.com>
88298
88299 [BZ #13695]
88300 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88301 [crti.S not in sysdirs] (generated): Do not append.
88302 [crti.S not in sysdirs] (omit-deps): Likewise.
88303 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88304 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88305 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88306 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88307 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88308 Likewise.
88309 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88310 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88311 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88312 * csu/defs.awk: Remove file.
88313 * sysdeps/generic/initfini.c: Likewise.
88314 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88315 variable.
88316 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88317 Likewise.
88318
88319 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88320
88321 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88322 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88323 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88324 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88326 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88327 <bits/epoll.h>.
88328 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88329 (__EPOLL_PACKED): Define to empty if not defined by
88330 <bits/epoll.h>.
88331 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88333 bits/epoll.h.
88334
88335 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88336
88337 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88338 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88339 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88340 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88341 <bits/timerfd.h>.
88342 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88344 bits/timerfd.h.
88345
88346 2012-02-20 Joseph Myers <joseph@codesourcery.com>
88347
88348 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88349 in C locale.
88350 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88351 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88352 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88354
88355 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
88356
88357 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88358 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88359
88360 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
88361
88362 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88363 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88364 defined.
88365 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88366 Likewise.
88367 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88368 entry for 2.16.
88369
88370 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
88371
88372 * math/w_acos.c: Use non-signaling floating-point comparisons.
88373 * math/w_acosf.c: Likewise.
88374 * math/w_acosh.c: Likewise.
88375 * math/w_acoshf.c: Likewise.
88376 * math/w_acoshl.c: Likewise.
88377 * math/w_acosl.c: Likewise.
88378 * math/w_asin.c: Likewise.
88379 * math/w_asinf.c: Likewise.
88380 * math/w_asinl.c: Likewise.
88381 * math/w_atanh.c: Likewise.
88382 * math/w_atanhf.c: Likewise.
88383 * math/w_atanhl.c: Likewise.
88384 * math/w_exp2.c: Likewise.
88385 * math/w_exp2f.c: Likewise.
88386 * math/w_exp2l.c: Likewise.
88387 * math/w_j0.c: Likewise.
88388 * math/w_j0f.c: Likewise.
88389 * math/w_j0l.c: Likewise.
88390 * math/w_j1.c: Likewise.
88391 * math/w_j1f.c: Likewise.
88392 * math/w_j1l.c: Likewise.
88393 * math/w_jn.c: Likewise.
88394 * math/w_jnf.c: Likewise.
88395 * math/w_log.c: Likewise.
88396 * math/w_log10.c: Likewise.
88397 * math/w_log10f.c: Likewise.
88398 * math/w_log10l.c: Likewise.
88399 * math/w_log2.c: Likewise.
88400 * math/w_log2f.c: Likewise.
88401 * math/w_log2l.c: Likewise.
88402 * math/w_logf.c: Likewise.
88403 * math/w_logl.c: Likewise.
88404 * math/w_sqrt.c: Likewise.
88405 * math/w_sqrtf.c: Likewise.
88406 * math/w_sqrtl.c: Likewise.
88407 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88408 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88409 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88410 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88411 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88412
88413 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88414
88415 [BZ #9739]
88416 * manual/string.texi (strnlen): Use correct parameter name in
88417 equivalent expression.
88418
88419 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88420
88421 [BZ #11174]
88422 * manual/users.texi (seteuid): Consistently use neweuid for
88423 argument name.
88424
88425 2012-02-19 Joseph Myers <joseph@codesourcery.com>
88426
88427 [BZ #13704]
88428 * manual/nss.texi (Services in the NSS configuration): Correct
88429 list of services in example configuration file.
88430
88431 2012-02-19 Nick Bowler <nbowler@draconx.ca>
88432
88433 [BZ #11322]
88434 * manual/arith.texi: Remove statements about negative zero
88435 behaving identically to zero.
88436
88437 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88438
88439 [BZ #5993]
88440 * manual/install.texi: Do not document upgrading from libc5.
88441
88442 2012-02-18 Joseph Myers <joseph@codesourcery.com>
88443
88444 [BZ #4596]
88445 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88446
88447 2012-02-18 David S. Miller <davem@davemloft.net>
88448
88449 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88450 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88451 %o7 across the call.
88452 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88453 instead.
88454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88455 SETUP_PIC_REG_LEAF.
88456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88457 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88458 * sysdeps/sparc/crtn.S: Likewise.
88459
88460 2012-02-17 Ulrich Drepper <drepper@gmail.com>
88461
88462 * aout/Makefile: Remove.
88463
88464 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
88465
88466 [BZ #13058]
88467 * manual/examples/argp-ex1.c (main): Format definition in GNU
88468 style.
88469 * manual/examples/argp-ex2.c (main): Likewise.
88470 * manual/examples/argp-ex3.c (main): Likewise.
88471 * manual/examples/argp-ex4.c (main): Likewise.
88472 * manual/examples/longopt.c (main): Use new-style prototype
88473 definition.
88474 * manual/examples/strncat.c (main): Specify return type and use
88475 (void) for arguments.
88476 * manual/examples/subopt.c (main): Use char **argv argument.
88477
88478 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88479
88480 [BZ #5077]
88481 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88482 rounding modes.
88483
88484 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
88485
88486 [BZ #6907]
88487 * manual/string.texi (strchr): Change when strchrnul is
88488 recommended.
88489
88490 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
88491
88492 [BZ #174]
88493 * manual/locale.texi (setlocale): Document LOCPATH.
88494
88495 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88496
88497 [BZ #10210]
88498 * manual/process.texi (execle): Move @dots{} before last argument.
88499
88500 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
88501
88502 [BZ #12047]
88503 * manual/charset.texi (Generic Charset Conversion): Fix typo
88504 (LC_TYPE -> LC_CTYPE).
88505
88506 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
88507
88508 [BZ #5805]
88509 * manual/arith.texi (scalbn): Use @var{} on parameter names.
88510 (scalbnf): Likewise.
88511 (scalbnl): Likewise.
88512 (scalbln): Likewise.
88513 (scalblnf): Likewise.
88514 (scalblnl): Likewise.
88515 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88516 (vwarnx): Likewise.
88517 (verr): Likewise.
88518 (verrx): Likewise.
88519 * manual/filesys.texi (telldir): Use braces around return type.
88520 * manual/llio.texi (mmap): Add space after comma.
88521 (mmap64): Likewise.
88522 * manual/math.texi (jn): Use @var{} on parameter names.
88523 (jnf): Likewise.
88524 (jnl): Likewise.
88525 (yn): Likewise.
88526 (ynf): Likewise.
88527 (ynl): Likewise.
88528 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88529 line.
88530 * manual/resource.texi (ulimit): Use @dots{} instead of literal
88531 "...".
88532 (sched_get_priority_min): Remove semicolon on @deftypefun line.
88533 (sched_get_priority_max): Likewise.
88534 * manual/signal.texi (sigvec): Add space after comma.
88535 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88536 names.
88537 (if_indextoname): Likewise.
88538 (if_freenameindex): Likewise.
88539 (sendto): Use ',' instead of '.' in prototype.
88540 * manual/startup.texi (syscall): Use @dots{} instead of literal
88541 "...".
88542 * manual/stdio.texi (__fpending): Separate initial words of
88543 paragraph from @deftypefun line.
88544 * manual/syslog.texi (syslog): Use @dots{} instead of literal
88545 "...".
88546 (vsyslog): Use @var{} on parameter names.
88547 * manual/terminal.texi (stty): Use @var{} on parameter names.
88548 * manual/users.texi (getutmp): Use @var{} on parameter names.
88549 (getutmpx): Likewise.
88550
88551 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88552
88553 [BZ #6884]
88554 * manual/stdio.texi (fopen): Fix typos in description of
88555 ",ccs=STRING".
88556
88557 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
88558
88559 [BZ #4026]
88560 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88561 get clock_id definition.
88562
88563 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
88564
88565 [BZ #4822]
88566 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88567 (madvise): Cast every argument to void on its own.
88568
88569 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88570
88571 [BZ #9902]
88572 * manual/startup.texi (Exit Status): Fix typo.
88573
88574 2012-02-17 Joseph Myers <joseph@codesourcery.com>
88575
88576 [BZ #10140]
88577 * manual/examples/argp-ex1.c: Include <stdlib.h>.
88578 * manual/examples/argp-ex2.c: Likewise.
88579 * manual/examples/argp-ex3.c: Likewise.
88580
88581 2012-02-16 Richard Henderson <rth@redhat.com>
88582
88583 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88584 * sysdeps/s390/s390-32/initfini.c: Remove.
88585 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88586 * sysdeps/s390/s390-64/initfini.c: Remove.
88587
88588 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
88589
88590 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88591 compiler output for sysdeps/generic/initfini.c.
88592 * sysdeps/sh/elf/initfini.c: Remove file.
88593
88594 2012-02-16 David S. Miller <davem@davemloft.net>
88595
88596 [BZ #11494]
88597 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88598
88599 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88600 * sysdeps/sparc/crti.S: New file.
88601 * sysdeps/sparc/crtn.S: New file.
88602 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88603 * sysdeps/sparc/sparc64/Makefile: Likewise.
88604
88605 2012-02-15 Mike Frysinger <vapier@gentoo.org>
88606
88607 [BZ #3335]
88608 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88609
88610 2012-02-15 Roland McGrath <roland@hack.frob.com>
88611
88612 [BZ #4822]
88613 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88614
88615 * mach/devstream.c (cookie_io_functions_t): Macro removed.
88616 (write, read, close): Likewise.
88617 Patch by Aurelien Jarno <aurelien@aurel32.net>.
88618
88619 2012-02-15 Joseph Myers <joseph@codesourcery.com>
88620
88621 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88622 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88623 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88624 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88625 <bits/signalfd.h>.
88626 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88628 bits/signalfd.h.
88629
88630 2012-02-14 Marek Polacek <polacek@redhat.com>
88631
88632 * sysdeps/x86_64/crti.S: New file.
88633 * sysdeps/x86_64/crtn.S: New file.
88634 * sysdeps/x86_64/elf/initfini.c: Remove file.
88635
88636 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88637
88638 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88639 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88640 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88641 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88642 <bits/inotify.h>.
88643 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88645 bits/inotify.h.
88646
88647 2012-02-13 Joseph Myers <joseph@codesourcery.com>
88648
88649 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88650 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88651 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88652 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88653 <bits/eventfd.h>.
88654 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88656 bits/eventfd.h.
88657
88658 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
88659
88660 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88661 __feraiseexcept instead of feraiseexcept.
88662
88663 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88664 nanosleep invocations.
88665 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88666 strings, and add error checking for a nanosleep invocations.
88667
88668 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
88669
88670 Replace FSF snail mail address with URLs, as per GNU coding standards.
88671 Most of the snail mail addresses were wrong anyway, and omitting
88672 them makes the source code easier to maintain. Almost all of the
88673 changes are to license notices and to locale LC_IDENTIFICATION
88674 addresses, except for this one:
88675 * manual/libc.texinfo: In "Published by", give the FSF's URL,
88676 not its snail mail address.
88677
88678 2012-02-09 Richard Henderson <rth@twiddle.net>
88679
88680 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88681 of kernel-features.h.
88682
88683 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88684
88685 2012-02-08 Marek Polacek <polacek@redhat.com>
88686
88687 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88688 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88689 * sysdeps/gnu/_G_config.h: Likewise.
88690 * sysdeps/generic/_G_config.h: Likewise.
88691
88692 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
88693
88694 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88695 tests.
88696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88697
88698 * sysdeps/powerpc/powerpc32/crti.S: New file.
88699 * sysdeps/powerpc/powerpc32/crtn.S: New file.
88700 * sysdeps/powerpc/powerpc64/crti.S: New file.
88701 * sysdeps/powerpc/powerpc64/crtn.S: New file.
88702
88703 * Makeconfig (have-initfini): Don't set.
88704 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88705 * configure.in (nopic_initfini): Don't substitute.
88706 * config.h.in (HAVE_INITFINI): Don't #undef.
88707 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88708 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88709
88710 2012-02-08 Joseph Myers <joseph@codesourcery.com>
88711
88712 Support crti.S and crtn.S provided directly by architectures.
88713 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88714 [crti.S in sysdirs] (omit-deps): Likewise.
88715 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88716 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88717 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88718 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88719 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88720 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88721 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88722 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88723 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88724 compiler output for sysdeps/generic/initfini.c.
88725 * sysdeps/i386/elf/Makefile: Remove file.
88726 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88727
88728 2012-02-07 Marek Polacek <polacek@redhat.com>
88729
88730 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88731 * sysdeps/gnu/_G_config.h: Likewise.
88732 * sysdeps/mach/hurd/_G_config.h: Likewise.
88733
88734 2012-02-07 Marek Polacek <polacek@redhat.com>
88735
88736 * math/Makefile (tests): Add tst-CMPLX2.
88737 * math/tst-CMPLX2.c: New file.
88738
88739 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88740
88741 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88742
88743 * math/libm-test.inc (jn_test): Add missing L suffix.
88744
88745 2012-02-06 Marek Polacek <polacek@redhat.com>
88746
88747 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88748 * sysdeps/i386/fpu/e_powf.S: Likewise.
88749 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88750 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88751 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88752 * sysdeps/i386/fpu/e_pow.S: Likewise.
88753 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88754 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88755 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88756 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88757 * sysdeps/i386/fpu/e_log2.S: Likewise.
88758 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88759 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88760 * sysdeps/i386/fpu/e_powl.S: Likewise.
88761 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88762 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88763 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88764 * sysdeps/i386/fpu/e_logl.S: Likewise.
88765 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88766 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88767 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88768 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88769 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88770 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88771 * sysdeps/i386/fpu/e_log.S: Likewise.
88772 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88773 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88774 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88775 * sysdeps/i386/fpu/e_logf.S: Likewise.
88776 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88777 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88778 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88779 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88780 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88781 * sysdeps/i386/fpu/e_log10.S: Likewise.
88782 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88783 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88784 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88785 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88786 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88787 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88788 * sysdeps/i386/asm-syntax.h: Likewise.
88789 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88790 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88791 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88792 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88793 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88794 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88795 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88796 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88798 * sysdeps/powerpc/sysdep.h: Likewise.
88799 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88800 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88801
88802 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88803
88804 [BZ #411]
88805 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88806
88807 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88808
88809 * sysdeps/i386/sysdep.h: Include <features.h>.
88810 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88811 version.
88812
88813 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88814
88815 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88816 Define.
88817 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88818 LOAD_PIC_REG_STR.
88819
88820 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88821
88822 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88823 (SETUP_PIC_REG): Use GET_PC_THUNK.
88824 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88825 macro.
88826
88827 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88828
88829 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88830 for non-PIC compilation.
88831 (SETUP_PIC_REG): Add .p2align directive.
88832 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88833 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88834 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88835 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88836 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88837 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88838 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88846 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88847 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88848 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88849 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88850 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88851 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88853 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88854 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88855 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88856 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88857 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88858 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88859 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88860 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88861 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88862 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88863 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88864 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88865 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88866 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88867 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88868 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88869 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88870 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88871 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88872 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88873
88874 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88875
88876 * math/tst-CMPLX.c: Include <stdio.h>.
88877
88878 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88879
88880 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88881 float.
88882 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88883 * sysdeps/sparc/bits/mathdef.h: Likewise.
88884
88885 2012-01-31 Marek Polacek <polacek@redhat.com>
88886
88887 * libio/libio.h: Don't define _PARAMS.
88888 * locale/programs/config.h: Don't define PARAMS.
88889 * stdlib/strtol_l.c: Likewise.
88890 (__strtol_l): Remove PARAMS from the prototype.
88891
88892 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88893
88894 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88895 names. Just use the correct names. Remove unnecessary wrapper
88896 functions.
88897 * malloc/arena.c: Likewise.
88898 * malloc/hooks.c: Likewise.
88899
88900 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88901 ARENA_TEST says not to. Simplify test for creation of a new arena.
88902 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88903
88904 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88905
88906 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88907 into tail calls.
88908 (update_get_addr): New function.
88909 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88910 GET_ADDR_MODULE parameter.
88911
88912 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88913
88914 * crypt/cert.c: Remove __STDC__ conditionals.
88915 * crypt/crypt-entry.c: Likewise.
88916 * crypt/crypt_util.c: Likewise.
88917 * libio/filedoalloc.c: Likewise.
88918 * libio/fileops.c: Likewise.
88919 * libio/genops.c: Likewise.
88920 * libio/iofclose.c: Likewise.
88921 * libio/iofdopen.c: Likewise.
88922 * libio/iofopen.c: Likewise.
88923 * libio/iofopen64.c: Likewise.
88924 * libio/iogetdelim.c: Likewise.
88925 * libio/iopopen.c: Likewise.
88926 * libio/obprintf.c: Likewise.
88927 * libio/oldfileops.c: Likewise.
88928 * libio/oldiofclose.c: Likewise.
88929 * libio/oldiofdopen.c: Likewise.
88930 * libio/oldiofopen.c: Likewise.
88931 * libio/oldiopopen.c: Likewise.
88932 * libio/wfiledoalloc.c: Likewise.
88933 * libio/wgenops.c: Likewise.
88934 * locale/programs/xmalloc.c: Likewise.
88935 * misc/syslog.c: Likewise.
88936 * stdio-common/xbug.c: Likewise.
88937 * string/memchr.c: Likewise.
88938 * string/memcmp.c: Likewise.
88939 * string/memrchr.c: Likewise.
88940 * string/rawmemchr.c: Likewise.
88941 * sysdeps/posix/getcwd.c: Likewise.
88942 * time/strftime_l.c: Likewise.
88943
88944 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88945
88946 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88947 * config.make.in (config-cflags-sse2avx): Define.
88948 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88949 Fix typo.
88950
88951 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88952
88953 * scripts/config.guess: Update from upstream config git repository.
88954 * scripts/config.sub: Likewise.
88955
88956 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88957
88958 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88959 (EM_NUM): Update.
88960 (R_TILEPRO_*, R_TILEGX_*): New macros.
88961
88962 * scripts/firstversions.awk: Fix bug in version range handling.
88963
88964 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88965
88966 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88967
88968 * include/sys/epoll.h: New file.
88969 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88970 libc_hidden_def.
88971
88972 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88973
88974 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88975 Avoid unnecessary __WORDSIZE == 64 test.
88976 (fmaxf): Use VEX format if possible.
88977 (fmax): Likewise.
88978 (fminf): Likewise.
88979 (fmin): Likewise.
88980
88981 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88982 * math/math_private.h: Remove libc_fegetround* and
88983 libc_fesetround*.
88984 * sysdeps/i386/configure.in: Check for -msse2avx.
88985 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88986 also if SSE2AVX is defined.
88987 Remove libc_fegetround* and libc_fesetround*.
88988 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88989 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88991 of HAS_YMM_USABLE.
88992 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88993 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88994 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88995 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88996 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88997
88998 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88999
89000 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89001
89002 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89003 size is not set.
89004 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89005
89006 2012-01-27 Ulrich Drepper <drepper@gmail.com>
89007
89008 [BZ #13618]
89009 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89010 relocation.
89011 * Makeconfig (libm): Define.
89012 * elf/Makefile: Add rules to build and run tst-relsort1.
89013 * elf/tst-relsort1.c: New file.
89014 * elf/tst-relsort1mod1.c: New file.
89015 * elf/tst-relsort1mod2.c: New file.
89016
89017 2012-01-27 Joseph Myers <joseph@codesourcery.com>
89018
89019 * math/s_ldexp.c: Remove __STDC__ conditionals.
89020 * math/s_ldexpf.c: Likewise.
89021 * math/s_ldexpl.c: Likewise.
89022 * math/s_nextafter.c: Likewise.
89023 * math/s_nexttowardf.c: Likewise.
89024 * math/s_significand.c: Likewise.
89025 * math/s_significandf.c: Likewise.
89026 * math/s_significandl.c: Likewise.
89027 * math/w_jnl.c: Likewise.
89028 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89029 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89030 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89031 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89032 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89034 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89035 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89036 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89037 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89038 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89039 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89040 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89041 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89042 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89043 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89044 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89045 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89047 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89048 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89049 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89050 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89051 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89052 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89053 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89054 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89055 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89056 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89057 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89058 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89059 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89060 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89061 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89062 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89063 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89064 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89065 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89066 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89067 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89068 * sysdeps/ieee754/k_standard.c: Likewise.
89069 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89070 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89071 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89072 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89073 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89074 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89075 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89076 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89077 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89078 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89079 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89080 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89081 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89082 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89083 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89085 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89086 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89087 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89088 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89089 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89090 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89091 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89092 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89093 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89094 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89098 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89099 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89100 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89101 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89102 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89103 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89104 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89105 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89106 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89107 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89108 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89109 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89111 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89112 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89113 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89114 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89115 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89116 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89117 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89118 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89119 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89121 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89122 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89123 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89124 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89125 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89126 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89127 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89128 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89129 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89130 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89131 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89132 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89133 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89134 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89135 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89136 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89137 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89138 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89139 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89140 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89141 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89142 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89143 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89144 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89145 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89146 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89147 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89148 * sysdeps/ieee754/s_matherr.c: Likewise.
89149 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89150 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89153
89154 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89155
89156 * crypt/md5.h: Remove __STDC__ conditionals.
89157 * libio/libioP.h: Likewise.
89158 * locale/programs/config.h: Likewise.
89159 * sysdeps/generic/sysdep.h: Likewise.
89160 * sysdeps/i386/asm-syntax.h: Likewise.
89161 * sysdeps/s390/asm-syntax.h: Likewise.
89162 * sysdeps/unix/sysdep.h: Likewise.
89163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89165
89166 2012-01-26 Joseph Myers <joseph@codesourcery.com>
89167
89168 * libio/libio.h: Remove __STDC__ conditionals.
89169 * malloc/obstack.h: Likewise.
89170 * math/complex.h: Likewise.
89171 * math/math.h: Likewise.
89172 * sysdeps/generic/_G_config.h: Likewise.
89173 * sysdeps/gnu/_G_config.h: Likewise.
89174 * sysdeps/mach/hurd/_G_config.h: Likewise.
89175 * sysdeps/powerpc/bits/mathdef.h: Likewise.
89176 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89177 * sysdeps/sparc/bits/mathdef.h: Likewise.
89178
89179 2012-01-26 Ulrich Drepper <drepper@gmail.com>
89180
89181 [BZ #13583]
89182 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89183 Clean up HAS_* macros.
89184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89185 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89186 possible.
89187 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89188 HAS_AVX.
89189 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89190 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89191 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89194
89195 2012-01-25 Joseph Myers <joseph@codesourcery.com>
89196
89197 * elf/tst-unique3.cc (gets): Remove declaration.
89198 * elf/tst-unique3lib.cc (gets): Likewise.
89199 * elf/tst-unique3lib2.cc (gets): Likewise.
89200 * elf/tst-unique4.cc (gets): Likewise.
89201
89202 2012-01-24 Ulrich Drepper <drepper@gmail.com>
89203
89204 * include/stdio.h: Add C++ protection. Add gets declarations and
89205 definitions.
89206 * debug/tst-chk1.c: Don't declare gets here.
89207 * stdio-common/tst-gets.c: Likewise.
89208
89209 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89210
89211 * posix/glob: Remove directory.
89212
89213 2012-01-24 Joseph Myers <joseph@codesourcery.com>
89214
89215 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89216
89217 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
89218
89219 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89220 of the non-standard EPFNOSUPPORT.
89221
89222 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
89223
89224 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89225 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89226 ANYWHERE set to 1 only on KERN_NO_SPACE error.
89227
89228 2012-01-21 Ulrich Drepper <drepper@gmail.com>
89229
89230 * wcsmbs/uchar.h: Test __STDC_VERSION__.
89231
89232 2012-01-20 Ulrich Drepper <drepper@gmail.com>
89233
89234 * nscd/aicache.c (addhstaiX): Do not cache negative results of
89235 transient errors.
89236 * nscd/grpcache.c (cache_addgr): Likewise.
89237 * nscd/hstcache.c (cache_addhst): Likewise.
89238 * nscd/initgrcache.c (addinitgroupsX): Likewise.
89239 * nscd/pwdcache.c (cache_addpw): Likewise.
89240 * nscd/servicescache.c (cache_addserv): Likewise.
89241
89242 2012-01-16 Ulrich Drepper <drepper@gmail.com>
89243
89244 * malloc/malloc.c: Various cleanups.
89245 * malloc/hooks.c: Likewise.
89246
89247 * stdlib/Makefile (tests): Add bug-fmtmsg1.
89248 * stdlib/bug-fmtmsg1.c: New file.
89249
89250 * stdlib/fmtmsg.c (init): Add missing unlock.
89251 Patch by Peng Haitao <penght@cn.fujitsu.com>.
89252
89253 2012-01-12 Marek Polacek <polacek@redhat.com>
89254
89255 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89256 and _GNU_SOURCE.
89257
89258 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
89259
89260 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89261 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89262 macro to ensure uniqueness of label name.
89263 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89264 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89265
89266 2012-01-11 Ulrich Drepper <drepper@gmail.com>
89267
89268 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89269
89270 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89271 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89272 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89274
89275 2012-01-10 Ulrich Drepper <drepper@gmail.com>
89276
89277 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89278
89279 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89280 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89281 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89282
89283 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89284
89285 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89286 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89287 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89289
89290 * math/bits/math-finite.h: Add ldexp support.
89291
89292 2012-01-10 Marek Polacek <polacek@redhat.com>
89293
89294 * locale/programs/localedef.h (show_archive_content): Add noreturn
89295 attribute.
89296
89297 2012-01-09 Ulrich Drepper <drepper@gmail.com>
89298
89299 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89300
89301 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89302
89303 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89304
89305 * io/Makefile (headers): Add bits/poll2.h.
89306
89307 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
89308
89309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89310 typo #include statement.
89311
89312 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89313
89314 * include/sys/cdefs.h: Define __attribute_alloc_size.
89315 * catgets/gencat.c: Add alloc_size attribute and apply consistently
89316 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89317 * elf/pldd.c: Likewise.
89318 * iconv/iconv_charmap.c: Likewise.
89319 * iconv/iconvconfig.c: Likewise.
89320 * iconv/strtab.c: Likewise.
89321 * locale/programs/locale.c: Likewise.
89322 * locale/programs/localedef.h: Likewise.
89323 * locale/programs/simple-hash.c: Likewise.
89324 * nscd/nscd.h: Likewise.
89325 * nss/makedb.c: Likewise.
89326 * sysdeps/generic/ldconfig.h: Likewise.
89327 * locale/programs/localedef.c: Remove xmalloc prototype.
89328 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89329
89330 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
89331
89332 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89333 appropriate.
89334
89335 2012-01-08 Ulrich Drepper <drepper@gmail.com>
89336
89337 * math/Makefile (tests): Add tst-CMPLX.
89338 * math/tst-CMPLX.c: New file.
89339
89340 * math/complex.h (CMPLXL): Fix typo.
89341
89342 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89343 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89344 GLIBC_2.16.
89345 * debug/tst-chk1.c: Add poll and ppoll tests.
89346 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89347 * include/sys/poll.h: Add hidden proto for ppoll.
89348 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89349 * sysdeps/mach/hurd/ppoll.c: Likewise.
89350 * io/ppoll.c: Likewise.
89351 * debug/poll_chk.c: New file.
89352 * debug/ppoll_chk.c: New file.
89353 * include/bits/poll2.h: New file.
89354 * io/bits/poll2.h: New file.
89355
89356 [BZ #1350]
89357 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89358
89359 * configure.in: static is always set to yes. Remove.
89360 * config.make.in: Don't set build-static.
89361 * Makeconfig: Remove use of build-static.
89362 * dlfcn/Makefile: Likewise.
89363 * elf/Makefile: Likewise.
89364 * math/Makefile: Likewise.
89365 * misc/Makefile: Likewise.
89366 * nptl/Makefile: Likewise.
89367 * sysdeps/mach/hurd/Makefile: Likewise.
89368
89369 * configure.in: PWD_P is not used anymore.
89370 * config.make.in: Remove PWD_P entry.
89371
89372 * configure.in: Remove last remnants of RANLIB.
89373 No need to check for signed size_t anymore.
89374 Don't set libc_commonpagesize and libc_relro_required here for Alpha
89375 and IA-64.
89376 Remove __builtin_expect test because we require at least gcc 3.4.
89377 * aclocal.m4: Likewise.
89378
89379 * wcsmbs/mbrtoc16.c: Implement using towc function.
89380 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89381 * wcsmbs/wcsmbsload.c: Likewise.
89382 * iconv/gconv_simple.c: Likewise.
89383 * iconv/gconv_int.h: Likewise.
89384 * iconv/gconv_builtin.h: Likewise.
89385 * iconv/iconv_prog.c: Remove CHAR16 handling.
89386
89387 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89388
89389 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89390
89391 * configure.in: Remove --with-elf and --enable-bounded options.
89392 Dont set base_machine for ia64. More non-ELF conditions removed.
89393 Remove testing and setting of leading underscore information.
89394 * config.make.in (build-bounded): Set to no.
89395 * config.h.in: Remove NO_UNDERSCORES entry.
89396 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
89397 them.
89398 * csu/start.c: Remove !NO_UNDERSCORE code.
89399 * locale/localeinfo.h: Likewise.
89400 * sysdeps/generic/machine-gmon.h: Likewise.
89401 * sysdeps/generic/sysdep.h: Likewise.
89402 * sysdeps/i386/sysdep.h: Likewise.
89403 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89404 * sysdeps/mach/sysdep.h: Likewise.
89405 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89407 * sysdeps/sh/sysdep.h: Likewise.
89408 * sysdeps/sparc/sparc32/alloca.S: Likewise.
89409 * sysdeps/unix/i386/sysdep.S: Likewise.
89410 * sysdeps/unix/sparc/start.c: Likewise.
89411 * sysdeps/unix/sparc/sysdep.S: Likewise.
89412 * sysdeps/unix/sparc/sysdep.h: Likewise.
89413 * sysdeps/unix/start.c: Likewise.
89414 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89415 * sysdeps/x86_64/sysdep.h: Likewise.
89416
89417 2012-01-07 Ulrich Drepper <drepper@gmail.com>
89418
89419 [BZ #13553]
89420 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89421 for non-gcc.
89422 * argp/argp-fmtstream.h: Use const instead __const.
89423 * argp/argp.h: Likewise.
89424 * assert/assert.h: Likewise.
89425 * bits/fenv.h: Likewise.
89426 * bits/sched.h: Likewise.
89427 * bits/sigset.h: Likewise.
89428 * bits/sigthread.h: Likewise.
89429 * catgets/nl_types.h: Likewise.
89430 * conform/data/pthread.h-data: Likewise.
89431 * crypt/crypt-private.h: Likewise.
89432 * crypt/crypt.h: Likewise.
89433 * crypt/crypt_util.c: Likewise.
89434 * ctype/ctype.h: Likewise.
89435 * debug/execinfo.h: Likewise.
89436 * debug/mbsnrtowcs_chk.c: Likewise.
89437 * debug/mbsrtowcs_chk.c: Likewise.
89438 * debug/wcsnrtombs_chk.c: Likewise.
89439 * debug/wcsrtombs_chk.c: Likewise.
89440 * debug/wcstombs_chk.c: Likewise.
89441 * dirent/dirent.h: Likewise.
89442 * dlfcn/dlfcn.h: Likewise.
89443 * elf/neededtest4.c: Likewise.
89444 * grp/grp.h: Likewise.
89445 * gshadow/gshadow.h: Likewise.
89446 * iconv/gconv.h: Likewise.
89447 * iconv/gconv_int.h: Likewise.
89448 * iconv/gconv_simple.c: Likewise.
89449 * iconv/iconv.h: Likewise.
89450 * iconv/loop.c: Likewise.
89451 * iconv/skeleton.c: Likewise.
89452 * include/aio.h: Likewise.
89453 * include/aliases.h: Likewise.
89454 * include/argz.h: Likewise.
89455 * include/arpa/inet.h: Likewise.
89456 * include/assert.h: Likewise.
89457 * include/dirent.h: Likewise.
89458 * include/dlfcn.h: Likewise.
89459 * include/execinfo.h: Likewise.
89460 * include/fcntl.h: Likewise.
89461 * include/fenv.h: Likewise.
89462 * include/glob.h: Likewise.
89463 * include/grp.h: Likewise.
89464 * include/libintl.h: Likewise.
89465 * include/mntent.h: Likewise.
89466 * include/netdb.h: Likewise.
89467 * include/pwd.h: Likewise.
89468 * include/rpc/netdb.h: Likewise.
89469 * include/sched.h: Likewise.
89470 * include/search.h: Likewise.
89471 * include/shadow.h: Likewise.
89472 * include/signal.h: Likewise.
89473 * include/stdio.h: Likewise.
89474 * include/stdlib.h: Likewise.
89475 * include/string.h: Likewise.
89476 * include/sys/socket.h: Likewise.
89477 * include/sys/stat.h: Likewise.
89478 * include/sys/statfs.h: Likewise.
89479 * include/sys/statvfs.h: Likewise.
89480 * include/sys/syslog.h: Likewise.
89481 * include/sys/time.h: Likewise.
89482 * include/sys/uio.h: Likewise.
89483 * include/time.h: Likewise.
89484 * include/unistd.h: Likewise.
89485 * include/utmp.h: Likewise.
89486 * include/wchar.h: Likewise.
89487 * include/wctype.h: Likewise.
89488 * inet/aliases.h: Likewise.
89489 * inet/arpa/inet.h: Likewise.
89490 * inet/netinet/ether.h: Likewise.
89491 * inet/netinet/in.h: Likewise.
89492 * intl/libintl.h: Likewise.
89493 * io/bits/fcntl2.h: Likewise.
89494 * io/fcntl.h: Likewise.
89495 * io/ftw.h: Likewise.
89496 * io/sys/poll.h: Likewise.
89497 * io/sys/stat.h: Likewise.
89498 * io/sys/statfs.h: Likewise.
89499 * io/sys/statvfs.h: Likewise.
89500 * io/utime.h: Likewise.
89501 * libio/bits/stdio.h: Likewise.
89502 * libio/bits/stdio2.h: Likewise.
89503 * libio/libio.h: Likewise.
89504 * libio/libioP.h: Likewise.
89505 * libio/stdio.h: Likewise.
89506 * locale/lc-ctype.c: Likewise.
89507 * locale/locale.h: Likewise.
89508 * login/utmp.h: Likewise.
89509 * malloc/arena.c: Likewise.
89510 * malloc/malloc.c: Likewise.
89511 * malloc/malloc.h: Likewise.
89512 * malloc/mcheck.c: Likewise.
89513 * malloc/mtrace.c: Likewise.
89514 * math/bits/mathcalls.h: Likewise.
89515 * math/fenv.h: Likewise.
89516 * math/math_private.h: Likewise.
89517 * misc/bits/error.h: Likewise.
89518 * misc/bits/syslog.h: Likewise.
89519 * misc/err.h: Likewise.
89520 * misc/error.h: Likewise.
89521 * misc/fstab.h: Likewise.
89522 * misc/mntent.h: Likewise.
89523 * misc/regexp.h: Likewise.
89524 * misc/search.h: Likewise.
89525 * misc/sgtty.h: Likewise.
89526 * misc/sys/mman.h: Likewise.
89527 * misc/sys/syslog.h: Likewise.
89528 * misc/sys/uio.h: Likewise.
89529 * misc/sys/xattr.h: Likewise.
89530 * misc/ttyent.h: Likewise.
89531 * nis/rpcsvc/ypclnt.h: Likewise.
89532 * nss/nss.h: Likewise.
89533 * posix/bits/unistd.h: Likewise.
89534 * posix/fnmatch.h: Likewise.
89535 * posix/glob.h: Likewise.
89536 * posix/sched.h: Likewise.
89537 * posix/spawn.h: Likewise.
89538 * posix/sys/wait.h: Likewise.
89539 * posix/unistd.h: Likewise.
89540 * posix/wordexp.h: Likewise.
89541 * pwd/pwd.h: Likewise.
89542 * resolv/netdb.h: Likewise.
89543 * resource/sys/resource.h: Likewise.
89544 * rt/aio.h: Likewise.
89545 * rt/bits/mqueue2.h: Likewise.
89546 * rt/mqueue.h: Likewise.
89547 * shadow/shadow.h: Likewise.
89548 * signal/signal.h: Likewise.
89549 * socket/send.c: Likewise.
89550 * socket/sendto.c: Likewise.
89551 * socket/sys/socket.h: Likewise.
89552 * stdio-common/printf.h: Likewise.
89553 * stdlib/bits/stdlib.h: Likewise.
89554 * stdlib/fmtmsg.h: Likewise.
89555 * stdlib/monetary.h: Likewise.
89556 * stdlib/stdlib.h: Likewise.
89557 * stdlib/ucontext.h: Likewise.
89558 * streams/stropts.h: Likewise.
89559 * string/argz.h: Likewise.
89560 * string/bits/string2.h: Likewise.
89561 * string/string.h: Likewise.
89562 * string/strings.h: Likewise.
89563 * sunrpc/rpc/auth.h: Likewise.
89564 * sunrpc/rpc/auth_des.h: Likewise.
89565 * sunrpc/rpc/clnt.h: Likewise.
89566 * sunrpc/rpc/netdb.h: Likewise.
89567 * sunrpc/rpc/pmap_clnt.h: Likewise.
89568 * sunrpc/rpc/xdr.h: Likewise.
89569 * sysdeps/generic/inttypes.h: Likewise.
89570 * sysdeps/generic/net/if.h: Likewise.
89571 * sysdeps/generic/sys/swap.h: Likewise.
89572 * sysdeps/gnu/net/if.h: Likewise.
89573 * sysdeps/gnu/utmpx.h: Likewise.
89574 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89575 * sysdeps/i386/i486/bits/string.h: Likewise.
89576 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89577 * sysdeps/s390/bits/string.h: Likewise.
89578 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89579 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89580 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89581 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89582 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89583 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89584 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89585 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89586 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89587 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89588 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89589 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89590 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89591 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89592 * sysdeps/unix/sysv/linux/readv.c: Likewise.
89593 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89594 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89596 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89597 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89599 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89600 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89601 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89602 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89603 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89604 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89605 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89606 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89607 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89608 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89609 * sysvipc/sys/ipc.h: Likewise.
89610 * sysvipc/sys/msg.h: Likewise.
89611 * sysvipc/sys/sem.h: Likewise.
89612 * sysvipc/sys/shm.h: Likewise.
89613 * termios/termios.h: Likewise.
89614 * time/sys/time.h: Likewise.
89615 * time/time.h: Likewise.
89616 * wcsmbs/bits/wchar2.h: Likewise.
89617 * wcsmbs/uchar.h: Likewise.
89618 * wcsmbs/wchar.h: Likewise.
89619 * wctype/wctype.h: Likewise.
89620
89621 [BZ #13551]
89622 * Makeconfig: Remove all but ELF support including AIX support.
89623 * Makerules: Likewise.
89624 * config.h.in: Likewise.
89625 * config.make.in: Likewise.
89626 * configure: Likewise.
89627 * configure.in: Likewise.
89628 * csu/Makefile: Likewise.
89629 * csu/version.c: Likewise.
89630 * debug/Makefile: Likewise.
89631 * dlfcn/Makefile: Likewise.
89632 * elf/Makefile: Likewise.
89633 * extra-lib.mk: Likewise.
89634 * iconv/Makefile: Likewise.
89635 * include/libc-symbols.h: Likewise.
89636 * include/shlib-compat.h: Likewise.
89637 * resolv/Makefile: Likewise.
89638 * resolv/res_libc.c: Likewise.
89639 * rt/Makefile: Likewise.
89640 * sysdeps/i386/asm-syntax.h: Likewise.
89641 * sysdeps/i386/sysdep.h: Likewise.
89642 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89643 * sysdeps/mach/sysdep.h: Likewise.
89644 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89645 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89646 * sysdeps/s390/asm-syntax.h: Likewise.
89647 * sysdeps/s390/s390-32/sysdep.h: Likewise.
89648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
89649 * sysdeps/sh/sysdep.h: Likewise.
89650 * sysdeps/unix/sparc/sysdep.h: Likewise.
89651 * sysdeps/wordsize-32/divdi3.c: Likewise.
89652 * sysdeps/x86_64/sysdep.h: Likewise.
89653
89654 * argp/Versions: Remove _argp_unlock_xxx.
89655
89656 [BZ #13559]
89657 * abilist/ld.abilist: Update. Adjust for removal of tls option.
89658 * abilist/libBrokenLocale.abilist: Likewise.
89659 * abilist/libanl.abilist: Likewise.
89660 * abilist/libc.abilist: Likewise.
89661 * abilist/libcrypt.abilist: Likewise.
89662 * abilist/libdl.abilist: Likewise.
89663 * abilist/libm.abilist: Likewise.
89664 * abilist/libnsl.abilist: Likewise.
89665 * abilist/libpthread.abilist: Likewise.
89666 * abilist/libresolv.abilist: Likewise.
89667 * abilist/librt.abilist: Likewise.
89668 * abilist/libthread_db.abilist: Likewise.
89669 * abilist/libutil.abilist: Likewise.
89670 * abilist/libnss_db.abilist: New file.
89671
89672 * scripts/abilist.awk: Add support for indirect functions.
89673
89674 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89675
89676 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89677
89678 * shlib-versions: Remove entries for ports architectures.
89679
89680 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
89681 files in ports.
89682 * elf/stackguard-macros.h: Remove support for IA-64.
89683 * elf/tst-auditmod1.c: Likewise.
89684 * sysdeps/generic/ldsodefs.h: Likewise.
89685
89686 * sysdeps/unix/sysv/linux/configure.in: Ports should define
89687 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89688 configure files.
89689
89690 [BZ #13552]
89691 * configure.in: Remove --enable-omitfp support.
89692 * FAQ.in: Adjust.
89693 * config.make.in: Likewise.
89694 * Makeconfig: Likewise.
89695 * manual/install.texi: Likewise.
89696
89697 In case anyone cares, the IA-64 architecture could move to ports.
89698 * sysdeps/ia64/*: Removed.
89699 * sysdeps/unix/sysv/linux/ia64/*: Removed.
89700 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89701
89702 [BZ #13555]
89703 * configure.in: Remove entries for unsupported architectures.
89704
89705 [BZ #13533]
89706 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89707 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
89708 routines.
89709 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89710 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89711 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
89712 fall back to using wcrtomb.
89713 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89714 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
89715 renaming.
89716 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89717 * wcsmbs/tst-c16c32-1.c: New file.
89718
89719 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89720 local variable.
89721
89722 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89723
89724 * elf/tst-unique3.cc: Add explicit declaration of gets.
89725 * elf/tst-unique3lib.cc: Likewise.
89726 * elf/tst-unique3lib2.cc: Likewise.
89727 * elf/tst-unique4.cc: Likewise.
89728
89729 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89730
89731 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89732
89733 [BZ #13566]
89734 * assert/assert.h (static_assert): Don't define for C++.
89735 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89736 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89737
89738 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89739
89740 * iconv/loop.c (single loop): Fix assertion in storing of
89741 remaining bytes.
89742
89743 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89744
89745 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89746
89747 * posix/getconf.c: Update copyright year.
89748 * nss/getent.c: Likewise.
89749 * nss/makedb.c: Likewise.
89750 * iconv/iconvconfig.c: Likewise.
89751 * iconv/iconv_prog.c: Likewise.
89752 * elf/ldconfig.c: Likewise.
89753 * elf/pldd.c: Likewise.
89754 * elf/sotruss.ksh: Likewise.
89755 * catgets/gencat.c: Likewise.
89756 * csu/version.c: Likewise.
89757 * elf/ldd.bash.in: Likewise.
89758 * elf/sprof.c (print_version): Likewise.
89759 * locale/programs/locale.c: Likewise.
89760 * locale/programs/localedef.c: Likewise.
89761 * login/programs/pt_chown.c: Likewise.
89762 * nscd/nscd.c (print_version): Likewise.
89763 * debug/xtrace.sh: Likewise.
89764 * malloc/memusage.sh: Likewise.
89765 * malloc/mtrace.pl: Likewise.
89766 * debug/catchsegv.sh: Likewise.
89767
89768 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89769
89770 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89771 pure attribute.
89772
89773 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89774
89775 [BZ #13533]
89776 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89777 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89778 transformations.
89779 * iconv/gconv_int.h: Likewise.
89780 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89781 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89782 from libc for GLIBC_2.16.
89783 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89784 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89785 * wcsmbs/uchar.h: Really define mbstate_t.
89786 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89787 * wcsmbs/c16rtomb.c: New file.
89788 * wcsmbs/mbrtoc16.c: New file.
89789 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89790 for C/POSIX locale.
89791 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89792 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89793
89794 * wcsmbs/wchar.h: Add missing __restrict.
89795
89796 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89797
89798 [BZ #13532]
89799 * time/Makefile (routines): Add timespec_get.
89800 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89801 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89802 timespec for ISO C11.
89803 * time/timespec_get.c: New file.
89804 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89805 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89806
89807 [BZ #13531]
89808 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89809 * stdlib/stdlib.h: Declare aligned_alloc.
89810 * Versions.def: Add GLIBC_2.16 for libc.
89811 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89812
89813 [BZ 13527]
89814 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89815 ISO C11.
89816
89817 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89818 code.
89819
89820 [BZ #13528]
89821 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89822
89823 [BZ #13529]
89824 * assert/assert.h (static_assert): Define.
89825
89826 * version.h: Update for 2.16 development version.
89827
89828 [BZ #13526]
89829 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89830 _ISOC11_SOURCE.
89831
89832 * version.h (RELEASE): Bump for 2.15 release.
89833 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89834
89835 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89836 Patch by Marek Polacek <mpolacek@redhat.com>.
89837
89838 * bits/byteswap.h: Protect long long constants with __extension__.
89839 * sysdeps/i386/bits/byteswap.h: Likewise.
89840 * sysdeps/ia64/bits/byteswap.h: Likewise.
89841 * sysdeps/s390/bits/byteswap.h: Likewise.
89842 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89843
89844 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89845
89846 [BZ #13540]
89847 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89848 destination buffer.
89849 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89850
89851 2011-12-23 Marek Polacek <polacek@redhat.com>
89852
89853 * elf/dl-addr.c (determine_info): Add inline keyword.
89854 * elf/tst-auditmod4b.c (check_avx): Likewise.
89855 * elf/tst-auditmod6b.c (check_avx): Likewise.
89856 * elf/tst-auditmod6c.c (check_avx): Likewise.
89857 * elf/tst-auditmod7b.c (check_avx): Likewise.
89858
89859 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89860
89861 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89862 !__SSE_MATH__.
89863
89864 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89865
89866 [BZ #13540]
89867 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89868 processing for last bytes.
89869
89870 2011-08-06 Bruno Haible <bruno@clisp.org>
89871
89872 [BZ #13061]
89873 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89874 U+0385, not to U+1FEE.
89875
89876 [BZ #13062]
89877 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89878 entry for U+00A5 U+0301.
89879
89880 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89881
89882 [BZ #13166]
89883 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89884 buffer for the output is too small.
89885
89886 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89887 optimization.
89888
89889 [BZ #13185]
89890 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89891 SSE flags if possible.
89892
89893 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89894
89895 [BZ #13540]
89896 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89897 processing for last bytes.
89898
89899 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89900
89901 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89902 (syscall-list-default-options, syscall-list-default-condition)
89903 (syscall-list-includes): Define.
89904 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89905 list of ABIs and options and #if conditions for each ABI. Do not
89906 handle common syscalls between ABIs specially.
89907 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89908 Remove.
89909 (syscall-list-variants, syscall-list-32bit-options)
89910 (syscall-list-32bit-condition, syscall-list-64bit-options)
89911 (syscall-list-64bit-condition): Define.
89912 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89913 (syscall-list-variants, syscall-list-32bit-options)
89914 (syscall-list-32bit-condition, syscall-list-64bit-options)
89915 (syscall-list-64bit-condition): Define.
89916 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89917 Remove.
89918 (syscall-list-variants, syscall-list-32bit-options)
89919 (syscall-list-32bit-condition, syscall-list-64bit-options)
89920 (syscall-list-64bit-condition): Define.
89921 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89922 Remove.
89923 (syscall-list-variants, syscall-list-32bit-options)
89924 (syscall-list-32bit-condition, syscall-list-64bit-options)
89925 (syscall-list-64bit-condition): Define.
89926
89927 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89928
89929 * locale/iso-639.def: Add brx entry.
89930
89931 [BZ #13328]
89932 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89933 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89934
89935 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89936 __feraiseexcept_renamed.
89937
89938 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89939
89940 [BZ #13538]
89941 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89942 EPOLLET with unsigned values.
89943 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89945
89946 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89947 to large cancellation.
89948 * math/s_cacoshf.c: Likewise.
89949 * math/s_cacoshl.c: Likewise.
89950
89951 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89952
89953 [BZ #13305]
89954 [BZ #12786]
89955 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89956 * math/s_cacoshf.c: Likewise.
89957 * math/s_cacoshl.c: Likewise.
89958
89959 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89960
89961 [BZ #13439]
89962 * iconv/gconv.h: Define __GCONV_SWAP.
89963 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89964 * iconvdata/utf-16.c: Likewise.
89965 * iconvdata/utf-32.c: Likewise.
89966
89967 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89968
89969 [BZ #13524]
89970 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89971 numerator after shifting it by one limb.
89972
89973 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89974
89975 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89976 under [__USE_EXTERN_INLINES].
89977
89978 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89979
89980 [BZ #13446]
89981 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89982
89983 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89984
89985 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89986 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89987 optimized code.
89988 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89989 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89990 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89991 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89992 for strncasecmp/strncasecmp_l compilation.
89993 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89994 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89995
89996 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89997
89998 [BZ #13484]
89999 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90000 of __asm__.
90001
90002 2011-12-17 Ulrich Drepper <drepper@gmail.com>
90003
90004 [BZ #13506]
90005 * time/tzfile.c (__tzfile_read): Check values from file header.
90006
90007 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
90008
90009 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90010 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90011 * powerpc/powerpc32/dl-start.S: Likewise.
90012 * powerpc/powerpc32/elf/start.S: Likewise.
90013 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90014 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90015 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90016 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90017 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90018 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90019 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90020 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90021 * powerpc/powerpc32/fpu/s_round.S: Likewise.
90022 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90023 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90024 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90025 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90026 * powerpc/powerpc32/memset.S: Likewise.
90027 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90028 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90029 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90030 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90031 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90032 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90033 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90034 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90035 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90036 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90037 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90038 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90039 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90040
90041 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90042
90043 * math/libm-test.inc: Added more nearbyint tests.
90044 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90045 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90046 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90047 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90048
90049 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
90050
90051 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90052 FD_CLOEXEC.
90053
90054 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90055
90056 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90057 Add wcscpy-ssse3 wcscpy-c.
90058 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90059 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90060 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90061 * sysdeps/x86_64/wcschr.S: New file.
90062 * sysdeps/x86_64/wcsrchr.S: New file.
90063 * string/test-strcmp.c: Remove checking of wcscmp function for
90064 wrong alignments.
90065 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90066 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90067 wcsrchr-sse2 wcsrchr-c.
90068 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90069 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90070 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90071 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90072 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90073 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90074 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90075 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90076 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90077 * wcsmbc/wcschr.c (WCSCHR): New macro.
90078
90079 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90080
90081 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90082 * wcsmbs/test-wcsrchr.c: New file.
90083 * string/test-strrchr.c: Add wcsrchr support.
90084 (WIDE): New macro.
90085 * wcsmbs/test-wcscpy.c: New file.
90086 * string/test-strcpy.c: Add wcscpy support.
90087 (WIDE): New macro.
90088
90089 2011-12-10 Ulrich Drepper <drepper@gmail.com>
90090
90091 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90092 the inner loop.
90093
90094 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
90095
90096 [BZ #13472]
90097 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90098
90099 2011-12-04 Ulrich Drepper <drepper@gmail.com>
90100
90101 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90102 Minor optimizations.
90103
90104 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90105 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90106 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90107
90108 2011-12-03 Ulrich Drepper <drepper@gmail.com>
90109
90110 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90111 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90112 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90113 for gcc to avoid warnings.
90114 * inet/Makefile (tests): Add tst-checks.
90115 * inet/tst-checks.c: New file.
90116
90117 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90118 warning.
90119
90120 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90121 __wmemcmp_sse2.
90122
90123 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90124 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90125
90126 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90127
90128 2011-12-02 Ulrich Drepper <drepper@gmail.com>
90129
90130 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90131 problem.
90132
90133 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90134
90135 2011-11-29 Joseph Myers <joseph@codesourcery.com>
90136
90137 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90138 conditional on GCC version.
90139 (__arch_compare_and_exchange_val_8_acq)
90140 (__arch_compare_and_exchange_val_16_acq)
90141 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90142 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90143 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90144
90145 2011-12-02 Joseph Myers <joseph@codesourcery.com>
90146
90147 * sysdeps/sh/backtrace.c: New file.
90148
90149 2011-12-02 Andreas Schwab <schwab@redhat.com>
90150
90151 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
90152 parenthesis.
90153
90154 2011-12-01 Andreas Schwab <schwab@redhat.com>
90155
90156 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90157 falling back to utime.
90158
90159 2011-11-30 Andreas Schwab <schwab@redhat.com>
90160
90161 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90162 expectations for float.
90163
90164 2011-11-29 Andreas Schwab <schwab@redhat.com>
90165
90166 * locale/weight.h (findidx): Add parameter len.
90167 * locale/weightwc.h (findidx): Likewise.
90168 * posix/fnmatch_loop.c (FCT): Adjust caller.
90169 * posix/regcomp.c (build_equiv_class): Likewise.
90170 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90171 * posix/regexec.c (check_node_accept_bytes): Likewise.
90172 * string/strcoll_l.c (STRCOLL): Likewise.
90173 * string/strxfrm_l.c (STRXFRM): Likewise.
90174
90175 2011-11-17 Ulrich Drepper <drepper@gmail.com>
90176
90177 * Makefile.in: Remove CVSOPT handling.
90178 * configure.in: Remove use of AC_REVISION.
90179 * iconvdata/Makefile (distribute): No need to filter out CVS.
90180 * scripts/list-sources.sh: Remove CVS, subversion and monotone
90181 handling.
90182
90183 2011-11-16 Andreas Schwab <schwab@redhat.com>
90184
90185 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90186 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90187 [USE_AS_STRNCASECMP_L]: Likewise.
90188 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90189 NO_TLS_DIRECT_SEG_REFS.
90190 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90191 Fix argument offsets for non-PIC.
90192 [USE_AS_STRNCASECMP_L]: Likewise.
90193 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90194 NO_TLS_DIRECT_SEG_REFS.
90195
90196 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90197
90198 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90199 O_CLOEXEC.
90200 * locale/loadlocale.c (_nl_load_locale): Likewise.
90201
90202 2011-11-15 Andreas Schwab <schwab@redhat.com>
90203
90204 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90205 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90206 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90207 (SYSCALL_GETTIME): Set errno on error.
90208
90209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90210 count references to noai6ai_cached.
90211
90212 2011-11-15 Ulrich Drepper <drepper@gmail.com>
90213
90214 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90215
90216 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90217 FD_CLOEXEC for /proc/self/maps.
90218
90219 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90220 FD_CLOEXEC for /proc/meminfo.
90221
90222 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90223 gai.conf.
90224
90225 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
90226 FD_CLOEXEC for given file.
90227
90228 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90229
90230 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90231 FD_CLOEXEC for /etc/hosts.
90232 (_gethtent): Likewise.
90233
90234 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90235
90236 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90237 cancellation and set FD_CLOEXEC for /etc/netgroup.
90238
90239 * nss/nss_files/files-key.c (search): Don't allow cancellation when
90240 reading /etc/publickey.
90241
90242 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90243 allow cancellation when reading /etc/group.
90244
90245 * nss/nss_files/files-alias.c (internal_setent): Don't allow
90246 cancellation.
90247 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
90248
90249 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90250 when using data file.
90251
90252 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90253
90254 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90255 (write_nis_obj): Use "c" and "e" in fopen.
90256
90257 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90258
90259 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90260
90261 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90262
90263 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90264
90265 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90266 locale.alias.
90267
90268 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90269
90270 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90271
90272 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90273
90274 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90275 file parsing and set FD_CLOEXEC.
90276
90277 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90278
90279 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90280
90281 2011-11-14 Andreas Schwab <schwab@redhat.com>
90282
90283 * malloc/arena.c (arena_get2): Don't call reused_arena when
90284 _int_new_arena failed.
90285
90286 2011-11-14 Ulrich Drepper <drepper@gmail.com>
90287
90288 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90289 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90290 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90291 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90292 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90293 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90294 to compile strcasecmp and strncasecmp.
90295 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90296 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90297
90298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90299
90300 2011-11-13 Ulrich Drepper <drepper@gmail.com>
90301
90302 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90303 locale-defines.sym to gen-as-const-headers.
90304 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90305 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90307 to compile strcasecmp and strncasecmp.
90308 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90309 strcasecmp_l and strncasecmp_l.
90310 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90311 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90312 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90313 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90314 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90315 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90316 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90317 * sysdeps/i386/i686/multiarch/strncase.S: New file.
90318 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90319 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90320 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90321
90322 2011-11-12 Ulrich Drepper <drepper@gmail.com>
90323
90324 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90325 result of SYSDEP_GETTIME_CPU to retval.
90326 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90327 parameter list to macro. Remove trailing semicolon. Adjust users.
90328
90329 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90330 variable.
90331
90332 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90333 mantissa words.
90334 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90335
90336 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90337 from unused variable.
90338
90339 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90340 DWARF definitions.
90341 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90342 for assembling.
90343
90344 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90345 over namespaces.
90346
90347 * sunrpc/rpc_prot.c (rejected): Fix case value.
90348
90349 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90350 unsigned long long int to avoid warnings in shift.
90351
90352 * posix/regex_internal.c (re_string_reconstruct): Actually use result
90353 of use of trans.
90354 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90355 variable tmp.
90356
90357 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90358 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90359 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90360
90361 * nis/nis_table.c (nis_list): Use variable of correct type for
90362 result of __follow_path call.
90363
90364 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90365
90366 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90367 of math functions ceil, trunc, floor, round, and sqrt, when
90368 avaliable on the platform.
90369 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90370 name clash.
90371 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90372 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90373 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90374
90375 2011-10-30 Marek Polacek <mpolacek@redhat.com>
90376
90377 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90378 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90379
90380 2011-11-11 Roland McGrath <roland@hack.frob.com>
90381
90382 * include/unistd.h: Fix __readlink return type.
90383 Reported by Chris Metcalf <cmetcalf@tilera.com>.
90384
90385 2011-11-11 Ulrich Drepper <drepper@gmail.com>
90386
90387 * stdlib/ucontext.h: Undo last change for makecontext.
90388
90389 2011-11-11 Andreas Schwab <schwab@redhat.com>
90390
90391 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90392
90393 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90394 * setjmp/setjmp.h: Mark functions as non-leaf.
90395 * setjmp/bits/setjmp2.h: Likewise.
90396 * stdlib/ucontext.h: Likewise.
90397
90398 2011-11-10 Andreas Schwab <schwab@redhat.com>
90399
90400 * malloc/arena.c (_int_new_arena): Don't increment narenas.
90401 (reused_arena): Don't check arena limit.
90402 (arena_get2): Atomically check arena limit.
90403
90404 2011-11-08 Ulrich Drepper <drepper@gmail.com>
90405
90406 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90407 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90408
90409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90410 instructions.
90411
90412 2011-11-07 Andreas Schwab <schwab@redhat.com>
90413
90414 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90415 handler when locking.
90416
90417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90418 Fix size of allocated buffer.
90419
90420 2011-11-04 Andreas Schwab <schwab@redhat.com>
90421
90422 [BZ #10103]
90423 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90424 declarations for long double functions.
90425 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90426
90427 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90428
90429 2011-11-03 Andreas Schwab <schwab@redhat.com>
90430
90431 * nscd/nscd.c (main): Don't start AVC thread until credentials are
90432 installed.
90433
90434 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90435 is disabled.
90436
90437 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
90438
90439 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90440
90441 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
90442
90443 * include/alloca.h (stackinfo_alloca_round): Define.
90444 (extend_alloca): Use it.
90445 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90446 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90447 here.
90448
90449 * scripts/check-local-headers.sh: Ignore libaudit.h.
90450
90451 * nscd/Makefile (extra-objs): Make recursively expanded.
90452
90453 2011-11-01 Ulrich Drepper <drepper@gmail.com>
90454
90455 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90456 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90457
90458 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90459 * posix/tst-rfc3484-2.c: Likewise.
90460 * posix/tst-rfc3484-3.c: Likewise.
90461
90462 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90463 process_vm_writev.
90464 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90465 process_vm_writev.
90466 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90467 process_vm_writev from libc using GLIBC_2.15 version.
90468
90469 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90470
90471 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
90472
90473 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90474 stack usage.
90475
90476 2011-10-31 Ulrich Drepper <drepper@gmail.com>
90477
90478 [BZ #13367]
90479 * nss/getent.c (initgroups_keys): Show error message in case no group
90480 names are given.
90481
90482 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90483 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90484 __bump_nl_timestamp.
90485 * nscd/connections (nscd_init): When host database is served open
90486 netlink socket and request notification about configuration changes.
90487 (main_loop_poll): Track netlink file descriptor and bump timestamp
90488 in case data becomes available.
90489 (main_loop_epoll): Likewise.
90490 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90491 (database_pers_head): Add extra_data fileds.
90492 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90493 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90494 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90495 Adjust caller.
90496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90497 in6ai data, call __free_in6ai.
90498 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90499 Add -DHAVE_NETLINK.
90500 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
90501 interface information. Reuse previous data if netlink timestamp
90502 is not changed.
90503 (__bump_nl_timestamp): New function.
90504 (__free_in6ai): New function.
90505
90506 2011-10-30 Ulrich Drepper <drepper@gmail.com>
90507
90508 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90509 close_not_cancel_no_status here.
90510 (__check_pf): Reorganize code a bit to not call close twice if OOM.
90511
90512 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90513
90514 [BZ #13276]
90515 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90516 return value.
90517
90518 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90519 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90520 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90521
90522 2011-07-03 Andreas Jaeger <aj@suse.de>
90523
90524 [BZ #10709]
90525 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90526 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90527 * math/libm-test.inc (sin_test): Add test case.
90528
90529 2011-10-29 Ulrich Drepper <drepper@gmail.com>
90530
90531 [BZ #13337]
90532 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90533 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90534
90535 * elf/chroot_canon.c (chroot_canon): Cleanups.
90536
90537 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90538
90539 [BZ #13335]
90540 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90541 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90542
90543 * string/test-strchr.c: Make usable for strchrnul testing.
90544 * string/test-strchrnul.c: New file.
90545 * string/Makefile (strop-tests): Add strchrnul.
90546
90547 * po/it.po: Update from translation team.
90548 * po/es.po: Likewise.
90549
90550 2011-10-28 Ulrich Drepper <drepper@gmail.com>
90551
90552 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90553 the three constants needed as parameters. Drop the others.
90554 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90555 __m128i_strloadu_tolower.
90556 Create and initialize variable zero and use it in all the places
90557 where _mm_setzero_si128 was used.
90558
90559 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90560 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90561 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90562 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90563 anymore.
90564 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90565 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90566 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90567 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90568 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90569 __mpranred, __mptan.
90570 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90571 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90572 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90573 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90574 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90575 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90577 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90578 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90579
90580 2011-10-28 Andreas Schwab <schwab@redhat.com>
90581
90582 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90583 redefine if SHARED.
90584 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90585
90586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90587 wide char related routines to wcsmbs subdir.
90588
90589 2011-10-27 Andreas Schwab <schwab@redhat.com>
90590
90591 [BZ #13344]
90592 * misc/sys/cdefs.h (__THROWNL): Define.
90593 * posix/unistd.h: Use __THREADNL instead of __THREAD
90594 for memory synchronization functions.
90595
90596 2011-10-26 Roland McGrath <roland@hack.frob.com>
90597
90598 [BZ #13349]
90599 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90600 doesn't exist.
90601 * manual/stdio.texi (Obstack Streams): Node removed.
90602
90603 2011-10-26 Andreas Schwab <schwab@redhat.com>
90604
90605 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90606 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90607 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90608
90609 * math/math_private.h (math_force_eval): Allow non-addressable
90610 arguments.
90611 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90612
90613 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90614
90615 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90616 file is not needed.
90617
90618 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90619 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90620 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90621 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90622 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90623 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90625 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90626 Add AVX variants.
90627 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90628 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90629 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90630 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90631 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90632 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90633 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90634 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90635 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90636 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90637 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90638 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90639 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90640 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90641 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90642 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90643 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90644 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90645 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90646
90647 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90648 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
90649
90650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90651 place. Use VEX encoding when compiling for AVX.
90652
90653 2011-10-25 Andreas Schwab <schwab@redhat.com>
90654
90655 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90656 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90657
90658 * string/test-strchr.c (do_test): Don't generate NUL bytes.
90659
90660 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90661
90662 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90663 useless if() expression.
90664 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90665 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90666 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90668 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90669 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90670 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90671 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90672 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90673 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90674 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90675 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90676 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90677 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90678 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90679 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90680 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90681 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90682 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90683
90684 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90685
90686 2011-10-25 Andreas Schwab <schwab@redhat.com>
90687
90688 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90689 condition.
90690 * elf/dl-fini.c (_dl_sort_fini): Likewise.
90691
90692 2011-10-25 Ulrich Drepper <drepper@gmail.com>
90693
90694 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90695 .text section. Avoid duplicate constants.
90696 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90698 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90704 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90705 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90706 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90707 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90708 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90709 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90710 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90711 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90712 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90713 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90714 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90715 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90719 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90720 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90721 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90722 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90723 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90724 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90725 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90726 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90727 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90728 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90729 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90730 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90731 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90732 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90734 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90735 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90736 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90737 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90738 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90739 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90740 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90741
90742 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90743
90744 * sysdeps/x86_64/dla.h: Move to ...
90745 * sysdeps/x86_64/fpu/dla.h: ...here.
90746 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90747 situations. Use __builtin_fma only for gcc 4.6 and up.
90748
90749 * config.make.in: Add have-mfma4 entry.
90750 * configure.in: Substitute libc_cv_cc_fma4.
90751 * math/Makefile (dbl-only-routines): Add sincostab.
90752 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90753 Use __sincostab not sincos.
90754 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90755 name is a macro.
90756 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90757 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90760 using __copysign.
90761 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90762 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90763 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90764 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90765 and __inv.
90766 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90767 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90768 __copysign.
90769 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90770 define aliases when function name is a macro.
90771 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90772 sysdeps/ieee754/dbl-64/sincos.tbl.
90773 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90774 fma4-enabled routines.
90775 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90776 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90777 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90778 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90779 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90780 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90781 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90782 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90783 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90784 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90785 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90787 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90788 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90789 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90790 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90791 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90792 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90793 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90795 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90796 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90798 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90799 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90800 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90801 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90802 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90803 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90804 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90805
90806 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90807 rename.
90808 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90813 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90814 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90815 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90816
90817 2011-10-24 Andreas Schwab <schwab@redhat.com>
90818
90819 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90820
90821 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90822
90823 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90824
90825 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90826 prediction.
90827 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90828
90829 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90830 Remove unused variable magic_bits.
90831 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90832
90833 * string/strnlen.c: Define and use STRNLEN macro.
90834 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90835 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90836 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90837 * wcsmbs/wcslen.c: Define and use WCSLEN.
90838 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90839 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90840 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90841 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90842 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90843 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90844 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90845
90846 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90847
90848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90849 strnlen-sse2-no-bsf.
90850 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90851 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90852 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90853 Add strnlen support.
90854 (USE_AS_STRNLEN): New macro.
90855 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90856 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90857 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90858 * sysdeps/x86_64/wcslen.S: New file.
90859
90860 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90861
90862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90863 XMM-moves are used for copying on small sizes.
90864
90865 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90866
90867 * wcsmbs/Makefile (strop-tests): Add wcschr.
90868 * wcsmbs/test-wcschr.c: New file.
90869 * string/test-strchr.c: Update.
90870 Add wcschr support.
90871 (WIDE): New macro.
90872
90873 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90874
90875 * wcsmbs/Makefile (strop-tests): Add wcslen.
90876 * wcsmbs/test-wcslen.c: New file.
90877 * string/test-strlen.c: Update.
90878 Add wcslen support.
90879 (WIDE): New macro.
90880
90881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90882
90883 * po/it.po: Update from translation team.
90884
90885 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90886
90887 * sysdeps/x86_64/wcscmp.S: Update.
90888 Fix wrong comparison semantics.
90889 wcscmp shall use signed comparison not unsigned.
90890 Don't use substraction to avoid overflow bug.
90891 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90892 * wcsmbc/wcscmp.c: Likewise.
90893 * string/test-strcmp.c: Likewise.
90894 Add new tests to check cases with negative values.
90895
90896 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90897
90898 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90899 * sysdeps/x86_64/dla.h: ...here. New file.
90900 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90909
90910 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90911
90912 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90913 __ynl_finite aliases.
90914
90915 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90916
90917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90918
90919 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90920 define DLA_FMA.
90921 [DLA_FMA] (EMULV): Use DLA_FMA.
90922 [DLA_FMA] (MUL12): Use EMULV.
90923 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90924 that are not needed.
90925 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90927 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90931 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90932
90933 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90934
90935 * math/s_nan.c: Undef __nan.
90936 * math/s_nanf.c: Undef __nanf.
90937 * math/s_nanl.c: Undef __nanl.
90938 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90939 "math_private.h".
90940
90941 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90942
90943 * math/s_catan.c: Add branch predictions.
90944 * math/s_catanf.c: Likewise.
90945 * math/s_catanh.c: Likewise.
90946 * math/s_catanhf.c: Likewise.
90947 * math/s_catanhl.c: Likewise.
90948 * math/s_catanl.c: Likewise.
90949 * math/s_cexp.c: Likewise.
90950 * math/s_cexpf.c: Likewise.
90951 * math/s_cexpl.c: Likewise.
90952 * math/s_clog.c: Likewise.
90953 * math/s_clog10.c: Likewise.
90954 * math/s_clog10f.c: Likewise.
90955 * math/s_clog10l.c: Likewise.
90956 * math/s_clogf.c: Likewise.
90957 * math/s_clogl.c: Likewise.
90958 * math/s_csqrt.c: Likewise.
90959 * math/s_csqrtf.c: Likewise.
90960 * math/s_csqrtl.c: Likewise.
90961 * math/s_ctanf.c: Likewise.
90962 * math/s_ctanh.c: Likewise.
90963 * math/s_ctanhf.c: Likewise.
90964 * math/s_ctanhl.c: Likewise.
90965 * math/s_ctanl.c: Likewise.
90966
90967 * math/math_private.h: Define __nan, __nanf, __nanl.
90968 * math/s_cacosh.c: Include <math_private.h>.
90969 * math/s_cacoshl.c: Likewise.
90970 * math/s_casinh.c: Likewise.
90971 * math/s_casinhf.c: Likewise.
90972 * math/s_casinhl.c: Likewise.
90973 * math/s_ccos.c: Rely entire on ccosh.
90974 * math/s_ccosf.c: Rely entire on ccoshf.
90975 * math/s_ccosl.c: Rely entirely on ccoshl.
90976 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90977 Remove tests for FE_INVALID.
90978 * math/s_ccoshf.c: Likewise.
90979 * math/s_ccoshl.c: Likewise.
90980 * math/s_csin.c: Likewise.
90981 * math/s_csinf.c: Likewise.
90982 * math/s_csinh.c Likewise.
90983 * math/s_csinhf.c: Likewise.
90984 * math/s_csinhl.c: Likewise.
90985 * math/s_csinl.c: Likewise.
90986 * math/s_ctan.c: Likewise.
90987 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90988 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90989 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90990
90991 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90992
90993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90994 compilation problems.
90995
90996 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90997 __builtin_expect.
90998
90999 2011-10-20 Ulrich Drepper <drepper@gmail.com>
91000
91001 * sysdeps/i386/configure.in: Test for -mfma4 option.
91002 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91003 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91004 COMMON_CPUID_INDEX_80000001.
91005 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91006 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91007 use it if FMA3 is not supported.
91008 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91009
91010 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91011 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91012
91013 2011-10-20 Andreas Schwab <schwab@redhat.com>
91014
91015 [BZ #12892]
91016 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91017 it would create a cycle with a link time dependency.
91018
91019 2011-10-19 Ulrich Drepper <drepper@gmail.com>
91020
91021 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91022 instruction.
91023 * string/Makefile (strop-tests): Add rawmemchr.
91024 * string/test-rawmemchr.c: New file.
91025
91026 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91027 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
91028 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
91029 when compiling str{,n}casecmp and when AVX is available. Hook up
91030 new optimized code in initializers.
91031
91032 2011-10-19 Andreas Schwab <schwab@redhat.com>
91033
91034 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91035 __feraiseexcept instead of feraiseexcept.
91036
91037 2011-10-18 Ulrich Drepper <drepper@gmail.com>
91038
91039 * math/math_private.h: Define defaults for libc_fetestexcept and
91040 libc_feupdateenv.
91041 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91042 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91043 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91044 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91045 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91046 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91047 libc_fetestexcept and libc_feupdateenv.
91048
91049 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91050 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91051 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91052 * sysdeps/x86_64/fpu/math_private.h: Define special version of
91053 libc_feholdexcept_setround.
91054
91055 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91056 Add s_nearbyint-c and s_nearbyintf-c.
91057 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91058 nearbyintf inlines.
91059 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91060 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91061 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91062 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91063
91064 * math/math_private.h: Define defaults for libc_fegetround,
91065 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91066 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91067 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91068 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91069 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91070 standard functions.
91071 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91072 Remove comments and hacks for old compiler versions.
91073 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91074 libc_fegetround, libc_fesetround, libc_feholdexcept, and
91075 libc_feholdexceptl.
91076
91077 2011-10-18 Andreas Schwab <schwab@redhat.com>
91078
91079 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91080 (__feraiseexcept_renamed): Add __NTH.
91081 (feraiseexcept): Add __NTH. Rename local variables to fix
91082 namespace violations.
91083
91084 2011-10-17 Ulrich Drepper <drepper@gmail.com>
91085
91086 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91087
91088 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91089
91090 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91091 recently added interfaces.
91092 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91093
91094 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91095 about macro parameter expansion.
91096
91097 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91098 __NO_MATH_INLINES is defined. Cleanups.
91099
91100 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91101 and __floorf is target has SSE4.1.
91102 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91103 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91104 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91105 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91106
91107 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91108 name.
91109 (floorf): Likewise.
91110
91111 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91112
91113 2011-10-17 Andreas Schwab <schwab@redhat.com>
91114
91115 * misc/sys/cdefs.h: Fix last change.
91116
91117 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91118 database lookup.
91119
91120 2011-10-16 Ulrich Drepper <drepper@gmail.com>
91121
91122 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91123
91124 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91125 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91126 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91127 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91128 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91131 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91132 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91133 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91134 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91135 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91136 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91137 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91138 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91139 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91140 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91141 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91142 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91143 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91144 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91145 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91146
91147 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91148 ceil, ceilf, floor, floorf.
91149
91150 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91151 Perform IRELATIVE relocations last.
91152
91153 * elf/do-rel.h: Add another parameter nrelative, replacing the
91154 local variable with the same name. Change name of the function
91155 to end in Rel or Rela (uppercase).
91156 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91157 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
91158 elf_dynamic_do_##reloc function.
91159
91160 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91161
91162 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91163 is sufficient, at least on modern CPUs.
91164
91165 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91166
91167 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91169
91170 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91171 __expl_finite.
91172 * math/bits/math-finite.h: Add entries for exp.
91173 * math/e_expl.c: Add __*_finite alias.
91174 * sysdeps/i386/fpu/e_exp.S: Likewise.
91175 * sysdeps/i386/fpu/e_expf.S: Likewise.
91176 * sysdeps/i386/fpu/e_expl.c: Likewise.
91177 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91178 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91179 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91181 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91182 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91183 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91184
91185 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91186 is sufficient, at least on modern CPUs.
91187
91188 * ctype/ctype-info.c (__ctype_init): Define.
91189 * include/ctype.h (__ctype_init): Declare.
91190 (__ctype_b_loc): The variable is always initialized.
91191 (__ctype_toupper_loc): Likewise.
91192 (__ctype_tolower_loc): Likewise.
91193 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91194 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91195
91196 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
91197
91198 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91199
91200 * configure.in: Also look in $cxxmachine/include for C++ system
91201 headers.
91202
91203 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91204
91205 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91206 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91207 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91208 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
91209 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91210 (USE_AS_WMEMCMP): New macro.
91211 Fixing indents.
91212 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91213 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91214 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91215 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91217 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91218 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91219 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91220 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91221 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91222 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91223 (USE_AS_WMEMCMP): New macro.
91224 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91225 * sysdeps/string/test-memcmp.c: Update.
91226 Fix simple_wmemcmp.
91227 Add new tests.
91228 * wcsmbs/wmemcmp.c: Update.
91229 (WMEMCMP): New macro.
91230 Fix overflow bug.
91231
91232 2011-10-12 Andreas Jaeger <aj@suse.de>
91233
91234 [BZ #13268]
91235 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91236
91237 2011-10-15 Ulrich Drepper <drepper@gmail.com>
91238
91239 * libio/iofwide.c (do_length): Avoid warning.
91240
91241 * ctype/ctype.h (__isctype_f): Add missing __THROW.
91242
91243 2011-10-14 Ulrich Drepper <drepper@gmail.com>
91244
91245 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91246
91247 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91248 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91249 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91250 * sysdeps/i386/i686/fpu/e_log.S: New file.
91251 * sysdeps/i386/i686/fpu/e_logf.S: New file.
91252 * sysdeps/i386/i686/fpu/e_logl.S: New file.
91253
91254 * ctype/ctype.h: Add support for inlined isXXX functions when
91255 compiling C++ code.
91256
91257 2011-10-14 Andreas Schwab <schwab@redhat.com>
91258
91259 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91260
91261 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91262
91263 2011-10-13 Roland McGrath <roland@hack.frob.com>
91264
91265 [BZ #13291]
91266 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91267
91268 2011-10-13 Andreas Schwab <schwab@redhat.com>
91269
91270 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91271 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91272 feraiseexcept.
91273
91274 * sysdeps/x86_64/memrchr.S: Check for zero size.
91275
91276 * string/stratcliff.c: Add memrchr tests.
91277
91278 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91279
91280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91281 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91282 rawmemchr-sse2 rawmemchr-sse2-bsf.
91283 * sysdeps/i386/i686/multiarch/memchr.S: New file.
91284 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91285 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91286 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91287 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91288 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91289 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91290 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91291 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91292 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91293 * string/memrchr.c (MEMRCHR): New macro.
91294
91295 2011-10-12 Ulrich Drepper <drepper@gmail.com>
91296
91297 Add integration with gcc's -ffinite-math-only and optimize wrapper
91298 functions in libm.
91299 * Versions.def: Define GLIBC_2.15 version for libm.
91300 * math/Makefile (headers): Add bits/math-finite.h.
91301 * math/bits/math-finite.h: New file.
91302 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91303 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91304 * math/e_acoshl.c: Add __*_finite alias.
91305 * math/e_acosl.c: Likewise.
91306 * math/e_asinl.c: Likewise.
91307 * math/e_atan2l.c: Likewise.
91308 * math/e_atanhl.c: Likewise.
91309 * math/e_coshl.c: Likewise.
91310 * math/e_exp10.c: Likewise.
91311 * math/e_exp10f.c: Likewise.
91312 * math/e_exp10l.c: Likewise.
91313 * math/e_exp2l.c: Likewise.
91314 * math/e_fmodl.c: Likewise.
91315 * math/e_gammal_r.c: Likewise.
91316 * math/e_hypotl.c: Likewise.
91317 * math/e_j0l.c: Likewise.
91318 * math/e_j1l.c: Likewise.
91319 * math/e_jnl.c: Likewise.
91320 * math/e_lgammal_r.c: Likewise.
91321 * math/e_log10l.c: Likewise.
91322 * math/e_log2l.c: Likewise.
91323 * math/e_logl.c: Likewise.
91324 * math/e_powl.c: Likewise.
91325 * math/e_sinhl.c: Likewise.
91326 * math/e_sqrtl.c: Likewise.
91327 * math/e_scalb.c: Completely rewritten and optimized.
91328 * math/e_scalbf.c: Likewise.
91329 * math/e_scalbl.c: Likewise.
91330 * math/w_acos.c: Likewise.
91331 * math/w_acosf.c: Likewise.
91332 * math/w_acosl.c: Likewise.
91333 * math/w_acosh.c: Likewise.
91334 * math/w_acoshf.c: Likewise.
91335 * math/w_acoshl.c: Likewise.
91336 * math/w_asin.c: Likewise.
91337 * math/w_asinf.c: Likewise.
91338 * math/w_asinl.c: Likewise.
91339 * math/w_atan2.c: Likewise.
91340 * math/w_atan2f.c: Likewise.
91341 * math/w_atan2l.c: Likewise.
91342 * math/w_atanh.c: Likewise.
91343 * math/w_atanhf.c: Likewise.
91344 * math/w_atanhl.c: Likewise.
91345 * math/w_exp10.c: Likewise.
91346 * math/w_exp10f.c: Likewise.
91347 * math/w_exp10l.c: Likewise.
91348 * math/w_fmod.c: Likewise.
91349 * math/w_fmodf.c: Likewise.
91350 * math/w_fmodl.c: Likewise.
91351 * math/w_j0.c: Likewise.
91352 * math/w_j0f.c: Likewise.
91353 * math/w_j0l.c: Likewise.
91354 * math/w_j1.c: Likewise.
91355 * math/w_j1f.c: Likewise.
91356 * math/w_j1l.c: Likewise.
91357 * math/w_jn.c: Likewise.
91358 * math/w_jnf.c: Likewise.
91359 * math/w_log.c: Likewise.
91360 * math/w_logf.c: Likewise.
91361 * math/w_logl.c: Likewise.
91362 * math/w_log10.c: Likewise.
91363 * math/w_log10f.c: Likewise.
91364 * math/w_log10l.c: Likewise.
91365 * math/w_log2.c: Likewise.
91366 * math/w_log2f.c: Likewise.
91367 * math/w_log2l.c: Likewise.
91368 * math/w_pow.c: Likewise.
91369 * math/w_powf.c: Likewise.
91370 * math/w_powl.c: Likewise.
91371 * math/w_remainder.c: Likewise.
91372 * math/w_remainderf.c: Likewise.
91373 * math/w_remainderl.c: Likewise.
91374 * math/w_scalb.c: Likewise.
91375 * math/w_scalbf.c: Likewise.
91376 * math/w_scalbl.c: Likewise.
91377 * math/w_sqrt.c: Likewise.
91378 * math/w_sqrtf.c: Likewise.
91379 * math/w_sqrtl.c: Likewise.
91380 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91381 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
91382 used.
91383 * math/math_private.h: Declare __kernel_standard_f.
91384 * math/w_cosh.c: Remove cruft and optimize a bit.
91385 * math/w_coshf.c: Likewise.
91386 * math/w_coshl.c: Likewise.
91387 * math/w_exp2.c: Likewise.
91388 * math/w_exp2f.c: Likewise.
91389 * math/w_exp2l.c: Likewise.
91390 * math/w_hypot.c: Likewise.
91391 * math/w_hypotf.c: Likewise.
91392 * math/w_hypotl.c: Likewise.
91393 * math/w_lgamma.c: Likewise.
91394 * math/w_lgamma_r.c: Likewise.
91395 * math/w_lgammaf.c: Likewise.
91396 * math/w_lgammaf_r.c: Likewise.
91397 * math/w_lgammal.c: Likewise.
91398 * math/w_lgammal_r.c: Likewise.
91399 * math/w_sinh.c: Likewise.
91400 * math/w_sinhf.c: Likewise.
91401 * math/w_sinhl.c: Likewise.
91402 * math/w_tgamma.c: Likewise.
91403 * math/w_tgammaf.c: Likewise.
91404 * math/w_tgammal.c: Likewise.
91405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91407 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91408 Minor optimizations. Pretty printing. Remove cruft.
91409 * sysdeps/i386/fpu/e_acosf.S: Likewise.
91410 * sysdeps/i386/fpu/e_acosh.S: Likewise.
91411 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91412 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91413 * sysdeps/i386/fpu/e_acosl.c: Likewise.
91414 * sysdeps/i386/fpu/e_asin.S: Likewise.
91415 * sysdeps/i386/fpu/e_asinf.S: Likewise.
91416 * sysdeps/i386/fpu/e_atan2.S: Likewise.
91417 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91418 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91419 * sysdeps/i386/fpu/e_atanh.S: Likewise.
91420 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91421 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91422 * sysdeps/i386/fpu/e_exp10.S: Likewise.
91423 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91424 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91425 * sysdeps/i386/fpu/e_exp2.S: Likewise.
91426 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91427 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91428 * sysdeps/i386/fpu/e_fmod.S: Likewise.
91429 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91430 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91431 * sysdeps/i386/fpu/e_hypot.S: Likewise.
91432 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91433 * sysdeps/i386/fpu/e_log.S: Likewise.
91434 * sysdeps/i386/fpu/e_log10.S: Likewise.
91435 * sysdeps/i386/fpu/e_log10f.S: Likewise.
91436 * sysdeps/i386/fpu/e_log10l.S: Likewise.
91437 * sysdeps/i386/fpu/e_log2.S: Likewise.
91438 * sysdeps/i386/fpu/e_log2f.S: Likewise.
91439 * sysdeps/i386/fpu/e_log2l.S: Likewise.
91440 * sysdeps/i386/fpu/e_logf.S: Likewise.
91441 * sysdeps/i386/fpu/e_logl.S: Likewise.
91442 * sysdeps/i386/fpu/e_pow.S: Likewise.
91443 * sysdeps/i386/fpu/e_powf.S: Likewise.
91444 * sysdeps/i386/fpu/e_powl.S: Likewise.
91445 * sysdeps/i386/fpu/e_remainder.S: Likewise.
91446 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91447 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91448 * sysdeps/i386/fpu/e_scalb.S: Likewise.
91449 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91450 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91451 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91452 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91453 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91454 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91455 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91457 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91458 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91459 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91460 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91461 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91462 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91463 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91464 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91465 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91467 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91468 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91470 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91471 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91472 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91474 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91475 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91476 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91477 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91478 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91479 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91480 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91481 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91482 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91483 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91484 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91485 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91486 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91487 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91488 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91489 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91490 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91491 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91492 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91493 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91494 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91495 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91496 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91497 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91498 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91499 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91500 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91501 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91502 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91503 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91504 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91505 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91506 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91507 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91508 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91509 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91510 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91511 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91512 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91513 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91514 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91515 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91518 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91521 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91522 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91523 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91524 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91525 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91526 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91528 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91529 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91530 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91531 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91532 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91533 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91534 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91535 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91536 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91537 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91538 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91539 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91541 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91542 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91543 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91545 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91546 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91547 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91548 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91549 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91550 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91551 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91552 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91553 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91554 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91555 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91556 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91557 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91558 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91559 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91560 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91561 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91562 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91563 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91564 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
91565 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91566 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91567 (__isnanf): Likewise.
91568 (__isinf_ns): Likewise.
91569 (__isinf_nsf): Likewise.
91570 (__finite): Likewise.
91571 (__finitef): Likewise.
91572 (__ieee754_sqrt): Define as macro.
91573 (__ieee754_sqrtf): Define as macro.
91574 (__ieee754_sqrtl): Define as macro.
91575 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91576 inlined copy.
91577 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91578 __FINITE_MATH_ONLY__ consistent.
91579 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91580
91581 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
91582
91583 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91584 of rawmemchr.
91585
91586 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91587
91588 2011-10-09 Ulrich Drepper <drepper@gmail.com>
91589
91590 * po/ja.po: Update from translation team.
91591
91592 2011-10-08 Roland McGrath <roland@hack.frob.com>
91593
91594 * locale/programs/locarchive.c (prepare_address_space): New function.
91595 (create_archive, enlarge_archive, open_archive): Use it.
91596
91597 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91598 inside [SHARED], where it is used.
91599
91600 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91601
91602 * nss/getent.c (netgroup_keys): Remove unused variable.
91603 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91604
91605 2011-10-08 Ulrich Drepper <drepper@gmail.com>
91606
91607 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91610 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91611 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91612 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91613 * math/Makefile (libm-calls): Add s_isinf_ns.
91614 * math/divtc3.c: Use __isinf_nsl instead of isinf.
91615 * math/multc3.c: Likewise.
91616 * math/s_casin.c: Likewise.
91617 * math/s_casinf.c: Likewise.
91618 * math/s_casinl.c: Likewise.
91619 * math/s_ccos.c: Likewise.
91620 * math/s_ccosf.c: Likewise.
91621 * math/s_ccosl.c: Likewise.
91622 * math/s_ctan.c: Likewise.
91623 * math/s_ctanf.c: Likewise.
91624 * math/s_ctanh.c: Likewise.
91625 * math/s_ctanhf.c: Likewise.
91626 * math/s_ctanhl.c: Likewise.
91627 * math/s_ctanl.c: Likewise.
91628 * math/w_fmod.c: Likewise.
91629 * math/w_fmodf.c: Likewise.
91630 * math/w_fmodl.c: Likewise.
91631 * math/w_remainder.c: Likewise.
91632 * math/w_remainderf.c: Likewise.
91633 * math/w_remainderl.c: Likewise.
91634 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91635 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91636 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91638 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91639 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91640 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91641 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91642
91643 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91644 of the number.
91645 * stdio-common/printf_fphex.c: Likewise.
91646 * stdio-common/printf_size.c: Likewise.
91647
91648 * math/e_exp10.c: Include math_private.h using <...> not "...".
91649 * math/e_exp10f.c: Likewise.
91650 * math/e_exp10l.c: Likewise.
91651 * math/e_exp2l.c: Likewise.
91652 * math/e_j0l.c: Likewise.
91653 * math/e_j1l.c: Likewise.
91654 * math/e_jnl.c: Likewise.
91655 * math/e_lgammal_r.c: Likewise.
91656 * math/e_rem_pio2l.c: Likewise.
91657 * math/e_scalb.c: Likewise.
91658 * math/e_scalbf.c: Likewise.
91659 * math/e_scalbl.c: Likewise.
91660 * math/k_cosl.c: Likewise.
91661 * math/k_sinl.c: Likewise.
91662 * math/k_tanl.c: Likewise.
91663 * math/s_cacoshf.c: Likewise.
91664 * math/s_catan.c: Likewise.
91665 * math/s_catanf.c: Likewise.
91666 * math/s_catanh.c: Likewise.
91667 * math/s_catanhf.c: Likewise.
91668 * math/s_catanhl.c: Likewise.
91669 * math/s_catanl.c: Likewise.
91670 * math/s_ccosh.c: Likewise.
91671 * math/s_ccoshf.c: Likewise.
91672 * math/s_ccoshl.c: Likewise.
91673 * math/s_cexp.c: Likewise.
91674 * math/s_cexpf.c: Likewise.
91675 * math/s_cexpl.c: Likewise.
91676 * math/s_clog.c: Likewise.
91677 * math/s_clog10.c: Likewise.
91678 * math/s_clog10f.c: Likewise.
91679 * math/s_clog10l.c: Likewise.
91680 * math/s_clogf.c: Likewise.
91681 * math/s_clogl.c: Likewise.
91682 * math/s_csin.c: Likewise.
91683 * math/s_csinf.c: Likewise.
91684 * math/s_csinh.c: Likewise.
91685 * math/s_csinhf.c: Likewise.
91686 * math/s_csinhl.c: Likewise.
91687 * math/s_csinl.c: Likewise.
91688 * math/s_csqrt.c: Likewise.
91689 * math/s_csqrtf.c: Likewise.
91690 * math/s_csqrtl.c: Likewise.
91691 * math/s_ctan.c: Likewise.
91692 * math/s_ctanf.c: Likewise.
91693 * math/s_ctanh.c: Likewise.
91694 * math/s_ctanhf.c: Likewise.
91695 * math/s_ctanhl.c: Likewise.
91696 * math/s_ctanl.c: Likewise.
91697 * math/s_ldexp.c: Likewise.
91698 * math/s_ldexpf.c: Likewise.
91699 * math/s_ldexpl.c: Likewise.
91700 * math/s_significand.c: Likewise.
91701 * math/s_significandf.c: Likewise.
91702 * math/s_significandl.c: Likewise.
91703 * math/w_acos.c: Likewise.
91704 * math/w_acosf.c: Likewise.
91705 * math/w_acosh.c: Likewise.
91706 * math/w_acoshf.c: Likewise.
91707 * math/w_acoshl.c: Likewise.
91708 * math/w_acosl.c: Likewise.
91709 * math/w_asin.c: Likewise.
91710 * math/w_asinf.c: Likewise.
91711 * math/w_asinl.c: Likewise.
91712 * math/w_atan2.c: Likewise.
91713 * math/w_atan2f.c: Likewise.
91714 * math/w_atan2l.c: Likewise.
91715 * math/w_atanh.c: Likewise.
91716 * math/w_atanhf.c: Likewise.
91717 * math/w_atanhl.c: Likewise.
91718 * math/w_cosh.c: Likewise.
91719 * math/w_coshf.c: Likewise.
91720 * math/w_coshl.c: Likewise.
91721 * math/w_dremf.c: Likewise.
91722 * math/w_exp10.c: Likewise.
91723 * math/w_exp10f.c: Likewise.
91724 * math/w_exp10l.c: Likewise.
91725 * math/w_exp2.c: Likewise.
91726 * math/w_exp2f.c: Likewise.
91727 * math/w_fmod.c: Likewise.
91728 * math/w_fmodf.c: Likewise.
91729 * math/w_fmodl.c: Likewise.
91730 * math/w_hypot.c: Likewise.
91731 * math/w_hypotf.c: Likewise.
91732 * math/w_hypotl.c: Likewise.
91733 * math/w_j0.c: Likewise.
91734 * math/w_j0f.c: Likewise.
91735 * math/w_j0l.c: Likewise.
91736 * math/w_j1.c: Likewise.
91737 * math/w_j1f.c: Likewise.
91738 * math/w_j1l.c: Likewise.
91739 * math/w_jn.c: Likewise.
91740 * math/w_jnf.c: Likewise.
91741 * math/w_jnl.c: Likewise.
91742 * math/w_lgamma.c: Likewise.
91743 * math/w_lgamma_r.c: Likewise.
91744 * math/w_lgammaf.c: Likewise.
91745 * math/w_lgammaf_r.c: Likewise.
91746 * math/w_lgammal.c: Likewise.
91747 * math/w_lgammal_r.c: Likewise.
91748 * math/w_log.c: Likewise.
91749 * math/w_log10.c: Likewise.
91750 * math/w_log10f.c: Likewise.
91751 * math/w_log10l.c: Likewise.
91752 * math/w_log2.c: Likewise.
91753 * math/w_log2f.c: Likewise.
91754 * math/w_log2l.c: Likewise.
91755 * math/w_logf.c: Likewise.
91756 * math/w_logl.c: Likewise.
91757 * math/w_pow.c: Likewise.
91758 * math/w_powf.c: Likewise.
91759 * math/w_powl.c: Likewise.
91760 * math/w_remainder.c: Likewise.
91761 * math/w_remainderf.c: Likewise.
91762 * math/w_remainderl.c: Likewise.
91763 * math/w_scalb.c: Likewise.
91764 * math/w_scalbf.c: Likewise.
91765 * math/w_scalbl.c: Likewise.
91766 * math/w_sinh.c: Likewise.
91767 * math/w_sinhf.c: Likewise.
91768 * math/w_sinhl.c: Likewise.
91769 * math/w_sqrt.c: Likewise.
91770 * math/w_sqrtf.c: Likewise.
91771 * math/w_sqrtl.c: Likewise.
91772 * math/w_tgamma.c: Likewise.
91773 * math/w_tgammaf.c: Likewise.
91774 * math/w_tgammal.c: Likewise.
91775
91776 * po/ja.po: Update from translation team.
91777
91778 2011-09-29 Andreas Jaeger <aj@suse.de>
91779
91780 [BZ #13179]
91781 * sunrpc/netname.c (netname2host): Fix logic.
91782
91783 [BZ #6779]
91784 [BZ #6783]
91785 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91786 correctly.
91787 * math/w_remainder.c (__remainder): Likewise.
91788 * math/w_remainderf.c (__remainderf): Likewise.
91789 * math/libm-test.inc (remainder_test): Add test cases.
91790
91791 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91792
91793 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91794 sdiv_qrnnd.
91795
91796 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91797
91798 * string/test-memcmp.c: Avoid unncessary #defines.
91799 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91800
91801 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91802
91803 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91804 Use new sse2 version for core i3 - i7 as it's faster
91805 than sse42 version.
91806 (bit_Prefer_PMINUB_for_stringop): New.
91807 * sysdeps/x86_64/rawmemchr.S: Update.
91808 Replace with faster SSE2 version.
91809 * sysdeps/x86_64/memrchr.S: New file.
91810 * sysdeps/x86_64/memchr.S: Update.
91811 Replace with faster SSE2 version.
91812
91813 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91814
91815 * elf/dl-load.c (lose): Add cast to avoid warning.
91816
91817 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91818
91819 * po/ca.po: Update from translation team.
91820
91821 * inet/getnetgrent_r.c: Hook up nscd.
91822 * nscd/Makefile (routines): Add nscd_netgroup.
91823 (nscd-modules): Add netgroupcache.
91824 (CFLAGS-netgroupcache.c): Define.
91825 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91826 (cache_search): Add const to second parameter.
91827 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91828 INNETGR.
91829 (dbs): Add netgrdb entry.
91830 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91831 (verify_persistent_db): Handle netgrdb.
91832 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91833 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91834 GETFDNETGR.
91835 (netgroup_response_header): Define.
91836 (innetgroup_response_header): Define.
91837 (datahead): Add netgroup_response_header and innetgroup_response_header
91838 elements.
91839 * nscd/nscd.conf: Add entries for netgroup cache.
91840 * nscd/nscd.h (dbtype): Add netgrdb.
91841 (_PATH_NSCD_NETGROUP_DB): Define.
91842 (netgroup_iov_disabled): Declare.
91843 (xmalloc, xcalloc, xrealloc): Move declarations here.
91844 (cache_search): Adjust prototype.
91845 Add netgroup-related prototypes.
91846 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91847 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91848 (__nscd_innetgr): Declare.
91849 * nscd/selinux.c (perms): Use access_vector_t as element type and
91850 add netgroup-related initializers.
91851 * nscd/netgroupcache.c: New file.
91852 * nscd/nscd_netgroup.c: New file.
91853 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91854 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91855 For four parameters use innetgr.
91856 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91857 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91858 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91859 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91860
91861 * nscd/connections.c (register_traced_file): Don't register file
91862 for disabled databases.
91863
91864 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91865
91866 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91867
91868 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91869 from tree and freeing node.
91870
91871 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91872
91873 * nss/nsswitch.c (__nss_database_lookup): Handle
91874 nss_parse_service_list out of memory case.
91875
91876 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91877
91878 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91879 out of memory case.
91880
91881 2011-10-04 Andreas Schwab <schwab@redhat.com>
91882
91883 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91884 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91885 pass it down.
91886 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91887 elf_machine_rela, elf_machine_lazy_rel.
91888 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91889 (ELF_DYNAMIC_DO_REL): Likewise.
91890 (ELF_DYNAMIC_DO_RELA): Likewise.
91891 (ELF_DYNAMIC_RELOCATE): Likewise.
91892 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91893 to ELF_DYNAMIC_DO_REL.
91894 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91895 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91896 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91897 elf_machine_rela.
91898 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91899 skip_ifunc, don't call ifunc function if non-zero.
91900 (elf_machine_rela): Likewise.
91901 (elf_machine_lazy_rel): Likewise.
91902 (elf_machine_lazy_rela): Likewise.
91903 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91904 (elf_machine_lazy_rel): Likewise.
91905 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91906 Likewise.
91907 (elf_machine_lazy_rel): Likewise.
91908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91909 Likewise.
91910 (elf_machine_lazy_rel): Likewise.
91911 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91912 (elf_machine_lazy_rel): Likewise.
91913 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91914 (elf_machine_lazy_rel): Likewise.
91915 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91916 (elf_machine_lazy_rel): Likewise.
91917 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91918 (elf_machine_lazy_rel): Likewise.
91919 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91920 (elf_machine_lazy_rel): Likewise.
91921 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91922 (elf_machine_lazy_rel): Likewise.
91923
91924 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91925
91926 * nss/nss_files/files-init.c (_nss_files_init): Use static
91927 initialization for all the *_traced_file variables.
91928
91929 2011-09-28 Andreas Schwab <schwab@redhat.com>
91930
91931 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91932
91933 2011-09-27 Roland McGrath <roland@hack.frob.com>
91934
91935 [BZ #13226]
91936 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91937
91938 2011-09-27 Andreas Schwab <schwab@redhat.com>
91939
91940 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91941 Reread the line before reparsing it.
91942
91943 2011-09-26 Andreas Schwab <schwab@redhat.com>
91944
91945 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91946
91947 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91948 Maxim Kuvyrkov <maxim@codesourcery.com>
91949 Joseph Myers <joseph@codesourcery.com>
91950
91951 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91952 if needed for __stack_chk_guard.
91953
91954 2011-09-19 Roland McGrath <roland@hack.frob.com>
91955
91956 * sysdeps/posix/spawni.c (script_execute): Always define it.
91957 It will be optimized away if unused.
91958 (maybe_script_execute): New function.
91959 (__spawni): Call it.
91960
91961 * Makerules: Don't include tls.make.
91962 (config-tls): Always set to thread.
91963 * tls.make.c: File removed.
91964
91965 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91966
91967 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91968 * config.make.in (CPPFLAGS-config): New substituted variable.
91969
91970 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91971
91972 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91973
91974 [BZ #13192]
91975 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91976 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91977
91978 2011-09-15 Roland McGrath <roland@hack.frob.com>
91979
91980 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91981 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91983 (CALL_FAIL): Likewise.
91984 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91985 (CALL_FAIL): Macro removed.
91986 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91987
91988 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91989
91990 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91991 for __FINITE_MATH_ONLY__ == 1.
91992
91993 2011-09-15 Andreas Schwab <schwab@redhat.com>
91994
91995 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91996 __ieee754_sqrt instead of sqrt.
91997 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91998 __ieee754_sqrtf instead of sqrtf.
91999 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92000 __floorf instead of floorf.
92001 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92002 __floorf, __truncf instead of floorf, truncf.
92003
92004 2011-09-14 Ulrich Drepper <drepper@gmail.com>
92005
92006 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92007
92008 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92009 __extern_always_inline.
92010 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92011 32-bit.
92012
92013 2011-09-14 Andreas Schwab <schwab@redhat.com>
92014
92015 * elf/rtld.c (dl_main): Also relocate in dependency order when
92016 doing symbol dependency testing.
92017
92018 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
92019
92020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92021 Always define `refsym'.
92022
92023 2011-09-13 Andreas Schwab <schwab@redhat.com>
92024
92025 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92026 (__FD_ELT): Renamed from __FDELT.
92027 * misc/bits/select2.h (__FD_ELT): Likewise.
92028 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92029 __FD_MASK instead of __FDELT, __FDMASK.
92030 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92031 Likewise.
92032 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92033 Likewise.
92034
92035 * elf/Makefile (gen-ldd): Fix pattern.
92036
92037 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92038 (init_tls): Likewise.
92039
92040 2011-09-12 Ulrich Drepper <drepper@gmail.com>
92041
92042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92043
92044 2011-09-12 Andreas Schwab <schwab@redhat.com>
92045
92046 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92047 `struct cmsghdr *' instead of `void *'.
92048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92049 Likewise.
92050
92051 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
92052
92053 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92054 if non-absolute.
92055 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92056 ldd_rewrite_script.
92057
92058 2011-09-11 Ulrich Drepper <drepper@gmail.com>
92059
92060 * configure.in: Remove --with-tls option.
92061 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92062 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92063 out in case it is missing.
92064 * sysdeps/ia64/elf/configure.in: Likewise.
92065 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92066 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92067 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92068 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92069 * sysdeps/sh/elf/configure.in: Likewise.
92070 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92071 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92072 * sysdeps/x86_64/elf/configure.in: Likewise.
92073 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92074 * sysdeps/mach/hurd/tls.h: Likewise.
92075
92076 [BZ #13067]
92077 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92078
92079 [BZ #13090]
92080 * configure.in: Fix use of AC_INIT.
92081
92082 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92083
92084 2011-09-10 Ulrich Drepper <drepper@gmail.com>
92085
92086 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92087 __set_errno.
92088 * malloc/hooks.c: Likewise.
92089
92090 [BZ #11929]
92091 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
92092 variables statically.
92093 (narenas): Initialize.
92094 (list_lock): Initialize.
92095 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
92096 initializtion of main_arena and list_lock. Small cleanups.
92097 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92098 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
92099 Add initializers to main_arena and mp_.
92100 (malloc_state): Remove pagesize member. Change all users to use
92101 GLRO(dl_pagesize).
92102
92103 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92104 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
92105 is always initialized.
92106
92107 * malloc/malloc.c: Removed unused configurations and dead code.
92108 * malloc/arena.c: Likewise.
92109 * malloc/hooks.c: Likewise.
92110 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92111
92112 * include/tls.h: Removed. USE___THREAD must always be defined.
92113 * bits/libc-tsd.h: Don't handle !USE___THREAD.
92114 * elf/dl-libc.c: Likewise.
92115 * elf/dl-tsd.c: Likewise.
92116 * include/errno.h: Likewise.
92117 * include/netdb.h: Likewise.
92118 * include/resolv.h: Likewise.
92119 * inet/herrno-loc.c: Likewise.
92120 * inet/herrno.c: Likewise.
92121 * malloc/arena.c: Likewise.
92122 * malloc/hooks.c: Likewise.
92123 * malloc/malloc.c: Likewise.
92124 * resolv/res-state.c: Likewise.
92125 * resolv/res_libc.c: Likewise.
92126 * sysdeps/i386/dl-machine.h: Likewise.
92127 * sysdeps/ia64/dl-machine.h: Likewise.
92128 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92129 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92130 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92131 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92132 * sysdeps/sh/dl-machine.h: Likewise.
92133 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92134 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92135 * sysdeps/unix/i386/sysdep.S: Likewise.
92136 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92137 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92141 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92142 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92146 * sysdeps/unix/x86_64/sysdep.S: Likewise.
92147 * sysdeps/x86_64/dl-machine.h: Likewise.
92148 * tls.make.c: Likewise.
92149
92150 * configure.in: Remove --with-__thread option. Make tests for
92151 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92152 tls_model attribute fail if no support is available. Remove
92153 USE_IN_LIBIO.
92154 * Makeconfig: Adjust for dropped configure option. All features are
92155 now mandatory.
92156 * Makerules: Likewise.
92157 * Versions.def: Likewise.
92158 * argp/argp-fmtstream.c: Likewise.
92159 * argp/argp-fmtstream.h: Likewise.
92160 * argp/argp-help.c: Likewise.
92161 * assert/assert.c: Likewise.
92162 * config.h.in: Likewise.
92163 * config.make.in: Likewise.
92164 * configure: Likewise.
92165 * configure.in: Likewise.
92166 * csu/Versions: Likewise.
92167 * csu/init.c: Likewise.
92168 * elf/tst-audit2.c: Likewise.
92169 * elf/tst-tls10.c: Likewise.
92170 * elf/tst-tls10.h: Likewise.
92171 * elf/tst-tls11.c: Likewise.
92172 * elf/tst-tls12.c: Likewise.
92173 * elf/tst-tls14.c: Likewise.
92174 * elf/tst-tlsmod11.c: Likewise.
92175 * elf/tst-tlsmod12.c: Likewise.
92176 * elf/tst-tlsmod13.c: Likewise.
92177 * elf/tst-tlsmod13a.c: Likewise.
92178 * elf/tst-tlsmod14a.c: Likewise.
92179 * elf/tst-tlsmod15b.c: Likewise.
92180 * elf/tst-tlsmod16a.c: Likewise.
92181 * elf/tst-tlsmod16b.c: Likewise.
92182 * elf/tst-tlsmod7.c: Likewise.
92183 * elf/tst-tlsmod8.c: Likewise.
92184 * elf/tst-tlsmod9.c: Likewise.
92185 * gmon/gmon.c: Likewise.
92186 * grp/fgetgrent_r.c: Likewise.
92187 * grp/putgrent.c: Likewise.
92188 * hurd/fopenport.c: Likewise.
92189 * include/libc-symbols.h: Likewise.
92190 * include/tls.h: Likewise.
92191 * intl/gettextP.h: Likewise.
92192 * intl/loadinfo.h: Likewise.
92193 * locale/global-locale.c: Likewise.
92194 * locale/localeinfo.h: Likewise.
92195 * mach/devstream.c: Likewise.
92196 * malloc/arena.c: Likewise.
92197 * malloc/set-freeres.c: Likewise.
92198 * misc/err.c: Likewise.
92199 * misc/getttyent.c: Likewise.
92200 * misc/mntent_r.c: Likewise.
92201 * posix/getopt.c: Likewise.
92202 * posix/wordexp.c: Likewise.
92203 * pwd/fgetpwent_r.c: Likewise.
92204 * resolv/Versions: Likewise.
92205 * resolv/res_hconf.c: Likewise.
92206 * shadow/fgetspent_r.c: Likewise.
92207 * shadow/putspent.c: Likewise.
92208 * stdio-common/printf_fphex.c: Likewise.
92209 * stdio-common/tmpfile.c: Likewise.
92210 * stdlib/abort.c: Likewise.
92211 * stdlib/fmtmsg.c: Likewise.
92212 * sunrpc/auth_unix.c: Likewise.
92213 * sunrpc/clnt_perr.c: Likewise.
92214 * sunrpc/clnt_tcp.c: Likewise.
92215 * sunrpc/clnt_udp.c: Likewise.
92216 * sunrpc/clnt_unix.c: Likewise.
92217 * sunrpc/openchild.c: Likewise.
92218 * sunrpc/svc_simple.c: Likewise.
92219 * sunrpc/svc_tcp.c: Likewise.
92220 * sunrpc/svc_udp.c: Likewise.
92221 * sunrpc/svc_unix.c: Likewise.
92222 * sunrpc/xdr.c: Likewise.
92223 * sunrpc/xdr_array.c: Likewise.
92224 * sunrpc/xdr_rec.c: Likewise.
92225 * sunrpc/xdr_ref.c: Likewise.
92226 * sunrpc/xdr_stdio.c: Likewise.
92227
92228 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92229
92230 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92231
92232 2011-07-03 Andreas Jaeger <aj@suse.de>
92233
92234 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92235 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92236 regenerate with gen-libm-tests.pl.
92237
92238 2010-05-12 Petr Baudis <pasky@suse.cz>
92239
92240 [BZ #11589]
92241 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92242 around j0() zero points by switching to j1().
92243 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92244 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92246 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92247
92248 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92249
92250 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92251 instead of 0.
92252 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92253 instead of 0.
92254 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92255 Patch in part by Pavel Roskin <proski@gnu.org>.
92256
92257 [BZ #13138]
92258 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92259 realloc.
92260 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
92261 Free memory block if necessary.
92262
92263 [BZ #12847]
92264 * libio/genops.c (INTDEF): For string streams the _lock pointer can
92265 be NULL. Don't lock in this case.
92266
92267 2011-09-09 Roland McGrath <roland@hack.frob.com>
92268
92269 * elf/elf.h (ELFOSABI_GNU): New macro.
92270 (ELFOSABI_LINUX): Define to that.
92271
92272 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
92273
92274 * string/strncat.c (strncat): Undef the symbol in case it has been
92275 defined in bits/string.h.
92276
92277 2011-09-09 Ulrich Drepper <drepper@gmail.com>
92278
92279 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92280
92281 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92282 link map.
92283
92284 2011-08-17 Andreas Jaeger <aj@suse.de>
92285
92286 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92287
92288 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
92289 Ian Lance Taylor <iant@google.com>
92290
92291 * math/libm-test.inc (lround_test): New testcase.
92292 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92293
92294 2011-09-08 Ulrich Drepper <drepper@gmail.com>
92295
92296 * Makefile: Remove support for automatic cvs check-ins.
92297 * Makerules: Likewise.
92298 * config.make.in: Likewise.
92299 * configure.in: Likewise.
92300 * intl/Makefile: Likewise.
92301 * locale/Makefile: Likewise.
92302 * po/Makefile: Likewise.
92303 * posix/Makefile: Likewise.
92304 * sysdeps/gnu/Makefile: Likewise.
92305 * sysdeps/mach/hurd/Makefile: Likewise.
92306 * sysdeps/sparc/sparc32/Makefile: Likewise.
92307
92308 [BZ #13118]
92309 * posix/Makefile (bug-regex32-ENV): Define.
92310 Patch by John Stanley <jpsinthemix@verizon.net>.
92311
92312 * misc/Makefile (headers): Add bits/select2.h.
92313 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92314 * misc/bits/select2.h: New file.
92315 * include/bits/select2.h: New file.
92316 * debug/Makefile (routines): Add fdelt_chk.
92317 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92318 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92319 FD_ISSET.
92320 * debug/fdelt_chk.c: New file.
92321
92322 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
92323 * wcsmbs/test-wmemcmp.c: Likewise.
92324 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92325 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92326
92327 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92328
92329 * string/Makefile (strop-tests): Add memcmp.
92330 * string/test-wmemcmp.c: New file.
92331 * string/test-memcmp.c: Add wmemcmp support.
92332
92333 2011-09-08 Roland McGrath <roland@hack.frob.com>
92334
92335 [BZ #13153]
92336 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92337 2011-07-19 change.
92338
92339 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92340 garbage value in a __mach_port_mod_refs call in the cases of the
92341 task-self and thread-self ports.
92342
92343 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
92344
92345 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92346
92347 2011-09-08 Andreas Schwab <schwab@redhat.com>
92348
92349 * elf/dl-load.c (lose): Check for non-null L.
92350
92351 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92352
92353 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92354
92355 * elf/dl-libc.c (dlerror_run): Pass back error code from
92356 dl_catch_error.
92357
92358 [BZ #13123]
92359 * elf/dl-load.c (lose): Free l_origin if it is valid.
92360
92361 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92362 names.
92363 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92364 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92365 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92366 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92367 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92368 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92369
92370 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92371
92372 * sysdeps/powerpc/fpu/e_hypot.c: New file.
92373 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92374 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92375 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92376 * sysdeps/powerpc/fpu/k_cosf.c: New file.
92377 * sysdeps/powerpc/fpu/k_sinf.c: New file.
92378 * sysdeps/powerpc/fpu/s_cosf.c: New file.
92379 * sysdeps/powerpc/fpu/s_sinf.c: New file.
92380 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92381 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92382
92383 2011-08-15 Alan Modra <amodra@gmail.com>
92384
92385 [BZ #13092]
92386 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92387 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92388 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
92389 ppc_mcount to static-only-routines.
92390 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92391 __mcount_internal.
92392 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92393 __mcount_internal with usual JUMPTARGET. Remove useless nop.
92394
92395 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
92396
92397 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92398 for finite and infinity parameters.
92399
92400 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
92401
92402 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92403 and add nop instructions for throughput optimization.
92404 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92405
92406 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
92407
92408 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92409 aligned copy for power7 with vector-scalar instructions.
92410 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92411
92412 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
92413
92414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92415 AVX check.
92416
92417 2011-09-07 Andreas Schwab <schwab@redhat.com>
92418
92419 [BZ #13144]
92420 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92421 last change.
92422
92423 2011-09-07 Ulrich Drepper <drepper@gmail.com>
92424
92425 * sysdeps/unix/sysv/linux/x86_64/init-first.c
92426 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92427 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92428 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92429 clock_gettime.
92430
92431 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92432
92433 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92434 Forgot to demangle the pointer.
92435
92436 * sysdeps/i386/sysdep.h: Define atom_text_section.
92437 * sysdeps/x86_64/sysdep.h: Likewise.
92438 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92439 section with atom_text_section.
92440 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92441 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92442 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92444 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92445
92446 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92447 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92448 already be defined. Change to take two parameters and don't assign
92449 result to variable. Adjust all users.
92450 Define INTERNAL_GETTIME if not already defined.
92451 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92452 call.
92453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92454 HAVE_CLOCK_GETTIME_VSYSCALL.
92455 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92456
92457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92458 gettimeofday vsyscall, just use time.
92459
92460 2011-09-06 Andreas Schwab <schwab@redhat.com>
92461
92462 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92463 <errno.h>.
92464
92465 2011-09-06 Ulrich Drepper <drepper@gmail.com>
92466
92467 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92468 syscall on x86-64.
92469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92470 syscall.
92471 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92473 syscall if possible.
92474
92475 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92476
92477 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92478 e_ident. Don't pass to find_mapsXX.
92479 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92480
92481 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92482
92483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92484 strchr-sse2-no-bsf strrchr-sse2-no-bsf
92485 * sysdeps/x86_64/multiarch/strchr.S: Update.
92486 Check bit_slow_BSF bit.
92487 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92488 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92489 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92490
92491 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92492
92493 [BZ #13134]
92494 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92495 before glibc 2.15.
92496 (tryshell): Define.
92497 (__spawni): Change last parameter to be flag. Test
92498 SPAWN_XFLAGS_USE_PATH flag to use path or not.
92499 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92500 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92501 * posix/spawni.c: Likewise.
92502 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92503 * posix/spawnp.c: Likewise. Change normal version to use
92504 SPAWN_XFLAGS_USE_PATH.
92505 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92506 SPAWN_XFLAGS_TRY_SHELL.
92507
92508 [BZ #13150]
92509 * posix/glob.h: Remove gcc 1.x support.
92510
92511 [BZ #13068]
92512 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92513
92514 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92515
92516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92517 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92518 strrchr-sse2-bsf
92519 * sysdeps/i386/i686/multiarch/strchr.S: New file.
92520 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92521 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92522 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92523 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92524 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92525
92526 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92527
92528 * sysdeps/x86_64/wcscmp.S: New file.
92529
92530 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92531 wcscmp-c wcscmp-sse2
92532 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92533 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92534 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92535 * wcsmbs/wcscmp.c: Allow renaming.
92536
92537 2011-09-05 David S. Miller <davem@davemloft.net>
92538
92539 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92540 stack slot, rather than the struct return pointer slot.
92541 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92542 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92544 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92545
92546 2011-09-05 Ulrich Drepper <drepper@gmail.com>
92547
92548 * po/ja.po: Update from translation team.
92549
92550 [BZ #13144]
92551 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92552 kernel in 64-bit binaries.
92553
92554 2011-09-01 David S. Miller <davem@davemloft.net>
92555
92556 * elf/elf.h (HWCAP_SPARC_*): Move to..
92557 * sysdeps/sparc/sysdep.h: this new file and add new values.
92558 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92559 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92560 _DL_HWCAP_COUNT to 24.
92561 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92562 entries.
92563 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92564 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92565 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92566 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92567 instead of magic constants.
92568 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92569
92570 2011-08-31 David S. Miller <davem@davemloft.net>
92571
92572 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92574 Reimplement to do errno handling inline.
92575 (SYSCALL_ERROR_HANDLER): New macro.
92576 (__SYSCALL_STRING): Do not do errno handling in asm.
92577 (__CLONE_SYSCALL_STRING): Delete.
92578 (__INTERNAL_SYSCALL_STRING): Delete.
92579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92580 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92581 (PSEUDO): Reimplement to do errno handling inline.
92582 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92583 (SYSCALL_ERROR_HANDLER): New macro.
92584 (__SYSCALL_STRING): Do not do errno handling in asm.
92585 (__CLONE_SYSCALL_STRING): Delete.
92586 (__INTERNAL_SYSCALL_STRING): Delete.
92587 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92588 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92589 i386.
92590 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92591 (inline_syscall*): Add 'err' argument.
92592 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92593 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92594 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92595 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92596
92597 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92598 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92599
92600 2011-08-30 Andreas Schwab <schwab@redhat.com>
92601
92602 * elf/rtld.c (dl_main): Relocate objects in dependency order.
92603
92604 2011-08-29 Jiri Olsa <jolsa@redhat.com>
92605
92606 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92607 directive.
92608
92609 2011-08-24 David S. Miller <davem@davemloft.net>
92610
92611 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92612
92613 2011-08-24 Andreas Schwab <schwab@redhat.com>
92614
92615 * elf/Makefile: Add rules to build and run unload8 test.
92616 * elf/unload8.c: New file.
92617 * elf/unload8mod1.c: New file.
92618 * elf/unload8mod1x.c: New file.
92619 * elf/unload8mod2.c: New file.
92620 * elf/unload8mod3.c: New file.
92621
92622 * elf/dl-close.c (_dl_close_worker): Reset private search list if
92623 it wasn't used.
92624
92625 2011-08-23 David S. Miller <davem@davemloft.net>
92626
92627 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92628 subtract stack bias.
92629 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92630 %sp not %fp in calculations.
92631 (_JMPBUF_UNWINDS_ADJ): Likewise.
92632
92633 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92634 (aio_suspend): Call it to force an exception region around the
92635 AIO_MISC_WAIT() invocation.
92636
92637 2011-08-23 Andreas Schwab <schwab@redhat.com>
92638
92639 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92640 backslash.
92641
92642 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
92643
92644 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92645 protection macro.
92646 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92647 and <dl-machine.h>.
92648 (Elf64_FuncDesc): Remove.
92649
92650 2011-08-22 David S. Miller <davem@davemloft.net>
92651
92652 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92653 sigaltstack check, add missing cfi directives.
92654 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92655 missing cfi directives, and sigaltstack handling.
92656
92657 2011-08-16 Andreas Schwab <schwab@redhat.com>
92658
92659 [BZ #11724]
92660 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92661 object is seen twice.
92662 * elf/dl-fini.c (_dl_sort_fini): Likewise.
92663
92664 * elf/Makefile (distribute): Add tst-initorder2.c.
92665 (tests): Add tst-initorder2.
92666 (modules-names): Add tst-initorder2a tst-initorder2b
92667 tst-initorder2c tst-initorder2d. Add rules to build them.
92668 ($(objpfx)tst-initorder2.out): New rule.
92669 * elf/tst-initorder2.c: New file.
92670 * elf/tst-initorder2.exp: New file.
92671
92672 2011-08-22 Andreas Schwab <schwab@redhat.com>
92673
92674 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92675
92676 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92677 dependencies back to end of function.
92678
92679 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92680 $(elfobjdir)/ld.so.
92681
92682 2011-08-21 Ulrich Drepper <drepper@gmail.com>
92683
92684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92685 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92687 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92688 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92689 of __vdso_gettimeofday.
92690 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92691 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
92692 attribute_hidden.
92693 (_libc_vdso_platform_setup): Remove initialization of
92694 __vdso_gettimeofday and __vdso_time.
92695
92696 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92697
92698 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92699 and fgetc_unlocked.
92700 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92701 getc_unlocked.
92702
92703 * elf/dl-open.c (add_to_global): Report additions to the global scope
92704 for LD_DEBUG=scopes.
92705 (dl_open_worker): Also print scope of newly loaded dependencies.
92706 (_dl_show_scope): Indicate if there is no scope.
92707
92708 [BZ #13114]
92709 * stdio-common/Makefile (tests): Add bug24.
92710 * stdio-common/bug24.c: New file.
92711
92712 2011-08-19 Andreas Jaeger <aj@suse.de>
92713
92714 [BZ #13114]
92715 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92716 non-existant file when using close-on-exec mode.
92717
92718 2011-08-20 Ulrich Drepper <drepper@gmail.com>
92719
92720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92721 the very first instruction.
92722
92723 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92724 the CFI state in the end.
92725 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92726 inclusion of dl-trampoline.h.
92727 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92728
92729 2011-08-19 Andreas Schwab <schwab@redhat.com>
92730
92731 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92732 expectations for long double.
92733
92734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92735 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92736
92737 2011-08-14 David S. Miller <davem@davemloft.net>
92738
92739 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92740 artificual limit depends upon the system page size.
92741
92742 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92743
92744 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92745 * resolv/Makefile: Define CFLAGS-libresolv.
92746
92747 2011-08-17 Andreas Schwab <schwab@redhat.com>
92748
92749 * nss/makedb.c (compute_tables): Make variables used in nested
92750 function static.
92751
92752 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92753
92754 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92755 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92756 if buffer was too small.
92757
92758 * elf/pldd.c (main): Attach to all threads in the process.
92759 Rewrite /proc handling to use *at functions.
92760
92761 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92762
92763 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92764 specifies first scope to show.
92765 (dl_open_worker): Update callers. Move printing scope of new
92766 object to before the relocation.
92767 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92768 * sysdeps/generic/ldsodefs.h: Update declaration.
92769
92770 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92771 string for the scope number.
92772
92773 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92774
92775 * nscd/servicescache.c (cache_addserv): Make sure written is always
92776 initialized.
92777
92778 2011-08-14 Roland McGrath <roland@hack.frob.com>
92779
92780 * sysdeps/i386/i486/bits/atomic.h
92781 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92782 statement expression, so as to suppress "set but not used" warning.
92783 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92784
92785 * string/strncat.c (STRNCAT): Use prototype definition.
92786
92787 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92788 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92789 -Iprograms here.
92790 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92791 (localedef-modules): Add localedef.
92792 (locale-modules): Add locale.
92793
92794 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92795 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92796 to avoid a warning.
92797
92798 2011-08-14 David S. Miller <davem@davemloft.net>
92799
92800 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92801 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92802
92803 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92804
92805 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92806 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92807 * elf/rtld.c (dl_main): Set l_name of vDSO.
92808 Call _dl_show_scope when DL_DEBUG_SCOPES.
92809 (process_dl_debug): Recognize scopes flag and also set it for all.
92810 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92811 Declare _dl_show_scope.
92812
92813 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92814 (do_dlopen): Pass caller_dlopen to dl_open.
92815 (__libc_dlopen_mode): Initialize caller_dlopen.
92816
92817 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92818 of libc. Make tolower call locale-independent. Optimize a bit by
92819 using isdigit instead of isalnum.
92820 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92821
92822 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92823
92824 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92825 was a dependency or dynamically loaded.
92826
92827 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92828
92829 * intl/l10nflist.c: Allow architecture-specific pop function.
92830 * sysdeps/x86_64/l10nflist.c: New file.
92831
92832 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92833 classification.
92834
92835 2011-08-10 Andreas Schwab <schwab@redhat.com>
92836
92837 * include/dirent.h: Add libc_hidden_proto for scandirat and
92838 scandirat64. Don't declare __scandirat64.
92839 * dirent/scandirat.c: Add libc_hidden_def.
92840 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92841 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92842
92843 2011-08-10 David S. Miller <davem@davemloft.net>
92844
92845 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92846 enum.
92847 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92848 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92849 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92850
92851 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92852
92853 * Versions.def [libc]: Add GLIBC_2.15.
92854 * dirent/Makefile (routines): Add scandirat and scandirat64.
92855 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92856 GLIBC_2.15.
92857 * dirent/dirent.h: Declare scandirat and scandirat64.
92858 * dirent/scandirat.c: New file.
92859 * dirent/scandirat64.c: New file.
92860 * sysdeps/wordsize-64/scandirat.c: New file.
92861 * sysdeps/wordsize-64/scandirat64.c: New file.
92862 * dirent/opendir.c: Define opendirat.
92863 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92864 using scandirat.
92865 * dirent/scandir64.c: Adjust for scandir.c change.
92866 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92867 __scandirat64, and __scandir_cancel_handler.
92868 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92869 additional parameter and use openat instead of open (outside of ld.so).
92870 Add new __opendir as wrapper around __opendirat.
92871 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92872 here without requiring old scandirat implementation.
92873
92874 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92875
92876 * dirent/scandir.c (cancel_handler): Renamed to
92877 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92878 defined. Adjust users.
92879 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92880 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92881
92882 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92883
92884 * string/test-string.h (IMPL): Use __STRING to expand name and then
92885 stringify it.
92886
92887 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92888 of cleanups.
92889
92890 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92891
92892 * string/Makefile: Update.
92893 (strop-tests): Append strncat.
92894 * string/test-wcscmp.c: New file.
92895 New comprehensive test for wcscmp.
92896 * string/test-strcmp.c: Update.
92897 (WIDE): New define.
92898
92899 2011-07-22 Andreas Schwab <schwab@redhat.com>
92900
92901 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92902 line.
92903
92904 2011-07-26 Andreas Schwab <schwab@redhat.com>
92905
92906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92907 encoding to ACE if AI_IDN.
92908
92909 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92910
92911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92912 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92913
92914 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92915
92916 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92917 Fix overflow bug in strncat.
92918 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92919
92920 * string/test-strncat.c: Update.
92921 Add new tests for checking overflow bugs.
92922
92923 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92924
92925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92926 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92927 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92928 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92929 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92930 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92931 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92932 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92933 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92934
92935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92936 (USE_AS_STRCAT): Define.
92937 Add strcat and strncat support.
92938 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92939
92940 2011-07-25 Andreas Schwab <schwab@redhat.com>
92941
92942 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92943 __n bigger than INT_MAX+1.
92944 (__strncmp_g): Likewise.
92945
92946 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92947
92948 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92949 * libio/stido.h: Likewise.
92950
92951 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92952 (AF_NFC): Define.
92953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92954 (AF_NFC): Define.
92955
92956 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92958 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92959 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92961
92962 [BZ #13021]
92963 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92964 installed.
92965
92966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92967 typo.
92968 (_dl_x86_64_save_sse): Likewise.
92969
92970 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92971
92972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92973 OSXSAVE.
92974 (_dl_x86_64_save_sse): Likewise.
92975
92976 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92977
92978 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92979
92980 2011-07-21 Andreas Schwab <schwab@redhat.com>
92981
92982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92983 change.
92984 (_dl_x86_64_save_sse): Use correct AVX check.
92985
92986 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92987
92988 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92989 bug in strncpy/strncat.
92990 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92991
92992 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92993
92994 * string/tester.c (test_strcat): Add tests for different alignments
92995 of source and destination.
92996 (test_strncat): Likewise.
92997
92998 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92999
93000 [BZ #12852]
93001 * posix/glob.c (glob): Check passed in values before using them in
93002 expressions to avoid some overflows.
93003 (glob_in_dir): Likewise.
93004
93005 [BZ #13007]
93006 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93007 check for AVX enablement so that we don't crash with old kernels and
93008 new hardware.
93009 * elf/tst-audit4.c: Add same checks here.
93010 * elf/tst-audit6.c: Likewise.
93011
93012 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93013
93014 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
93015
93016 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93017
93018 2011-07-20 Ulrich Drepper <drepper@gmail.com>
93019
93020 * po/cs.po: Update from translation team.
93021 * po/bg.po: Likewise.
93022
93023 2011-07-12 Marek Polacek <mpolacek@redhat.com>
93024
93025 * misc/sys/cdefs.h: Add support for const attribute.
93026 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93027 to gnu_dev_{major,minor,makedev} functions.
93028
93029 2011-07-20 Marek Polacek <mpolacek@redhat.com>
93030
93031 * intl/dcigettext.c (get_output_charset): Add missing bracket.
93032
93033 2011-07-20 Andreas Schwab <schwab@redhat.com>
93034
93035 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93036 strlen results.
93037
93038 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93039
93040 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93041 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93042 register in order to avoid conflicts with the soft frame pointer
93043 being held in r11 when necessary.
93044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93045 (INTERNAL_VSYSCALL_NCS): Likewise.
93046
93047 2011-07-14 Marek Polacek <mpolacek@redhat.com>
93048
93049 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93050 * elf/dl-fini.c (_dl_fini): Adjust caller.
93051 * elf/dl-close.c (_dl_close_worker): Likewise.
93052 * sysdeps/generic/ldsodefs.h: Adjust declaration.
93053
93054 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93055
93056 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93057 "aux_cache->nlibs < 0".
93058
93059 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93060 in the reload-count case.
93061
93062 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
93063
93064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93065 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93066 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93067 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93068 * sysdeps/x86_64/multiarch/strcat.S: New file.
93069 * sysdeps/x86_64/multiarch/strncat.S: New file.
93070 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93071 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93072 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93073 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93074 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93075 (USE_AS_STRCAT): Define.
93076 Add strcat and strncat support.
93077 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93079 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93080 * string/strncat.c: Update.
93081 (USE_AS_STRNCAT): Define.
93082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93083 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93084 and i7.
93085 * sysdeps/x86_64/multiarch/init-arch.h
93086 (bit_Prefer_PMINUB_for_stringop): New.
93087 (index_Prefer_PMINUB_for_stringop): Likewise.
93088 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93089 bit_Prefer_PMINUB_for_stringop.
93090
93091 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93092
93093 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93094 buffer64.
93095 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93096 of casting of buffer.
93097 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93098 buffer32 and buffer64.
93099 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93100 writes instead of casting of buffer.
93101 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93102 buffer32.
93103 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93104 casting of buffer.
93105
93106 2011-07-19 Andreas Schwab <schwab@redhat.com>
93107
93108 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93109
93110 2011-07-19 Ulrich Drepper <drepper@gmail.com>
93111
93112 * nscd/nscd.c (termination_handler): Don't do anything for a database
93113 if it has not yet been initialized.
93114
93115 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93116
93117 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93118
93119 2011-07-15 Marek Polacek <mpolacek@redhat.com>
93120
93121 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93122
93123 2011-07-18 Ulrich Drepper <drepper@gmail.com>
93124
93125 * po/nl.po: Update from translation team.
93126 * po/sv.po: Likewise.
93127
93128 2011-07-16 Roland McGrath <roland@hack.frob.com>
93129
93130 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93131 now disallowed by GCC.
93132
93133 * configure.in (use-default-link): Default to yes if a test -shared
93134 link meets our qualifications.
93135 * configure: Regenerated.
93136
93137 * config.make.in (output-format): New variable.
93138 * configure.in: Check for ld --print-output-format support.
93139 * configure: Regenerated.
93140 * Makerules ($(common-objpfx)format.lds)
93141 [$(output-format) != unknown]: Just use $(output-format),
93142 instead of the linker-script munging.
93143
93144 2011-07-14 Roland McGrath <roland@hack.frob.com>
93145
93146 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93147 of $(common-objpfx)shlib.lds.
93148 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93149
93150 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93151 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93152
93153 * configure.in (-z relro check): Adjust test code to add a large
93154 writable data section after it.
93155 * configure: Regenerated.
93156
93157 2011-07-11 Roland McGrath <roland@hack.frob.com>
93158
93159 * configure.in (-z relro check): Fix test code to make the variable
93160 truly const.
93161 * configure: Regenerated.
93162
93163 2011-07-11 Ulrich Drepper <drepper@gmail.com>
93164
93165 * nscd/nscd.h (struct traced_file): Define.
93166 (struct database_dyn): Remove inotify_descr, reset_res, and filename
93167 elements. Add traced_files.
93168 (inotify_fd): Declare.
93169 (register_traced_file): Declare.
93170 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93171 (inotify_fd): Export.
93172 (resolv_conf_descr): Remove.
93173 (nscd_init): Move inotify descriptor creation to main.
93174 Don't register files for notification here.
93175 (register_traced_file): New function.
93176 (invalidate_cache): Don't use reset_res to determine whether to call
93177 res_init, go through the list of registered files.
93178 (main_loop_poll): The inotify descriptors are now stored in the
93179 structures for the traced files.
93180 (main_loop_epoll): Likewise.
93181 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
93182 to __nss_disable_nscd.
93183 * nscd/cache.c (prune_cache): There is no single inotify descriptor
93184 for a database anymore. Check the records for all the registered
93185 files instead.
93186 * nss/Makefile (libnss_files-routines): Add files-init.
93187 (libnss_db-routines): Add db-init.
93188 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93189 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93190 * nss/nss_db/db-init.c: New file.
93191 * nss/nss_files/files-init.c: New file.
93192 * nss/nsswitch.c (nss_load_library): New function. Broken out of
93193 __nss_lookup_function.
93194 (__nss_lookup_function): Call nss_load_library.
93195 (nss_load_all_libraries): New function.
93196 (__nss_disable_nscd): Take parameter with callback function for files
93197 to register. Set is_nscd. Load all the DSOs for the NSS modules
93198 used for the cached services.
93199 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93200 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93201 options for features to all the files in nscd.
93202
93203 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93204
93205 2011-07-10 Roland McGrath <roland@hack.frob.com>
93206
93207 * csu/elf-init.c (__libc_csu_init): Comment typo.
93208
93209 2011-07-09 Ulrich Drepper <drepper@gmail.com>
93210
93211 * po/pl.po: Update from translation team.
93212 * po/ja.po: Likewise.
93213 * po/ru.po: Likewise.
93214 * po/ko.po: Likewise.
93215 * po/fr.po: Likewise.
93216
93217 2011-07-09 Roland McGrath <roland@hack.frob.com>
93218
93219 * configure.in (.ctors/.dtors header and trailer check):
93220 Use an empirical test on a built program.
93221 * configure: Regenerated.
93222
93223 * configure.in (-z relro check): Use an empirical test on a built DSO.
93224 Detect, but do not require, on ia64.
93225 * configure: Regenerated.
93226
93227 * configure.in (READELF): Find it with AC_CHECK_TOOL.
93228 Update tests that use readelf to use $READELF instead.
93229 * configure: Regenerated.
93230
93231 2011-07-08 Ulrich Drepper <drepper@gmail.com>
93232
93233 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93234 if the result is not used.
93235
93236 2011-07-05 Andreas Jaeger <aj@suse.de>
93237
93238 [BZ #9696]
93239 * stdlib/tst-strtod.c: Add testcase.
93240
93241 2011-07-07 Ulrich Drepper <drepper@gmail.com>
93242
93243 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93244 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93245 The latter has a higher limit. Take additional parameter to pass to
93246 the new function.
93247 (__pathconf): Pass file to __statfs_link_max.
93248 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93249 __statfs_link_max.
93250 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93251 __statfs_link_max.
93252
93253 [BZ #12868]
93254 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93256 Handle Lustre.
93257 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93258 (__statfs_filesize_max): Likewise.
93259 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93260
93261 2011-07-05 Andreas Jaeger <aj@suse.de>
93262
93263 * resolv/res_comp.c (dn_skipname): Remove unused variable.
93264
93265 2011-07-06 Marek Polacek <mpolacek@redhat.com>
93266
93267 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93268 `status' variable.
93269 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93270 Likewise.
93271
93272 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
93273
93274 * Makefile (strop-tests): Add strncat.
93275 * string/test-strncat.c: New file.
93276
93277 2011-06-30 Marek Polacek <mpolacek@redhat.com>
93278
93279 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93280
93281 2011-06-21 Andreas Jaeger <aj@suse.de>
93282
93283 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93284 Copy rule from iconvdata/Makefile.
93285
93286 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93287
93288 [BZ #12922]
93289 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93290 but no long options are defined, just return 'W'.
93291
93292 2011-06-22 Marek Polacek <mpolacek@redhat.com>
93293
93294 [BZ #9696]
93295 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93296
93297 2011-07-06 Ulrich Drepper <drepper@gmail.com>
93298
93299 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93300 netgroups to read.
93301 (innetgr): Likewise.
93302
93303 2011-07-05 Roland McGrath <roland@hack.frob.com>
93304
93305 * config.make.in (install_root): Default to $(DESTDIR).
93306
93307 2011-07-05 Ulrich Drepper <drepper@gmail.com>
93308
93309 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93310
93311 2011-07-02 Roland McGrath <roland@hack.frob.com>
93312
93313 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93314
93315 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93316 containing directory rather than embedding absolute directory names.
93317
93318 * scripts/check-local-headers.sh: Rewritten using awk.
93319 Match by word, not by line. Print error messages for matches.
93320 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93321
93322 * Makerules [shlib-lds-flags empty]:
93323 ($(common-objpfx)libc_pic.opts): New target.
93324 ($(common-objpfx)libc_pic.os.clean): New target.
93325 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93326
93327 * config.make.in (OBJCOPY): New variable.
93328 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93329 * configure: Regenerated.
93330
93331 * config.make.in (use-default-link): New variable.
93332 * configure.in (use_default_link): Grok --with-default-link to set it.
93333 * configure: Regenerated.
93334 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93335 (shlib-lds, shlib-lds-flags): Define to empty.
93336
93337 * Makerules (shlib-lds): New variable.
93338 (shlib-lds-flags): New variable.
93339 (build-shlib, build-moduile, build-module-asneeded): Use it.
93340 ($(common-objpfx)libc.so): Use $(shlib-lds).
93341 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93342 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93343
93344 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93345 DT_FLAGS/DT_FLAGS_1 with zero flags.
93346
93347 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93348 linker script munging.
93349
93350 2011-07-02 Ulrich Drepper <drepper@gmail.com>
93351
93352 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93353 as 128-bit value.
93354 * crypt/sha512.c (sha512_process_block): Perform total addition using
93355 128-bit if possible.
93356 (__sha512_finish_ctx): Likewise.
93357 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93358 as 64-bit value.
93359 * crypt/sha256.c (SWAP64): Define.
93360 (sha256_process_block): Perform total addition using 64-bit if
93361 possible.
93362 (__sha256_finish_ctx): Likewise.
93363
93364 2011-07-01 Ulrich Drepper <drepper@gmail.com>
93365
93366 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
93367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93368 * nscd/hstcache.c (cache_addhst): Likewise.
93369 * nscd/grpcache.c (cache_addgr): Likewise.
93370 * nscd/aicache.c (addhstaiX): Likewise.
93371 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93372
93373 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
93374
93375 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
93377 * nscd/hstcache.c (cache_addhst): Likewise.
93378 * nscd/grpcache.c (cache_addgr): Likewise.
93379 * nscd/aicache.c (addhstaiX): Likewise.
93380
93381 2011-07-01 Andreas Schwab <schwab@redhat.com>
93382
93383 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93384 domain only when needed.
93385
93386 2011-06-30 Andreas Schwab <schwab@redhat.com>
93387
93388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93389 is always restored.
93390
93391 2011-06-29 Ulrich Drepper <drepper@gmail.com>
93392
93393 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93394 are re-adding the entry.
93395 * nscd/servicescache.c (cache_addserv): Likewise.
93396
93397 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
93398
93399 * sysdeps/generic/dl-irel.h: fix protection against multiple
93400 inclusions.
93401 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93402
93403 2011-06-28 Ulrich Drepper <drepper@gmail.com>
93404
93405 [BZ #12935]
93406 * malloc/memusage.sh: Fix quoting in message.
93407 * debug/xtrace.sh: Likewise.
93408
93409 * configure.in: Remove support for --experimental-malloc option, make
93410 it the default.
93411 * config.make.in: Likewise.
93412 * malloc/Makefile: Likewise.
93413
93414 2011-06-27 Andreas Schwab <schwab@redhat.com>
93415
93416 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93417 two-byte characters.
93418
93419 2011-06-27 Roland McGrath <roland@hack.frob.com>
93420
93421 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93422 AC_CACHE_CHECK invocation.
93423 * configure: Regenerated.
93424
93425 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93426
93427 2011-06-27 Ulrich Drepper <drepper@gmail.com>
93428
93429 [BZ #12350]
93430 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
93431 bit from old_res_options.
93432
93433 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93434
93435 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93436 value type for setfct.
93437
93438 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
93439
93440 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93441 __gettimeofday instead of gettimeofday.
93442
93443 2011-06-26 Ulrich Drepper <drepper@gmail.com>
93444
93445 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93446
93447 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
93448
93449 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93450
93451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93452 info.
93453
93454 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93455
93456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93457 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93458 strcpy-sse2-unaligned strncpy-sse2-unaligned
93459 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93460 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93461 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93462 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93463 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93465 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93466 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93467 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93468 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93469 (STRCPY): Support SSE2 and SSSE3 versions.
93470
93471 2011-06-24 Ulrich Drepper <drepper@gmail.com>
93472
93473 [BZ #12874]
93474 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93475 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93476 kernels which artificially limit size of requests.
93477
93478 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
93479
93480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93481 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93482 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93483 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93484 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93485 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93486 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93487 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93488 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93490 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93491 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93492 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93493 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93494 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93496 Enable unaligned load optimization for Intel Core i3, i5 and i7
93497 processors.
93498 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93499 Define.
93500 (index_Fast_Unaligned_Load): Define.
93501 (HAS_FAST_UNALIGNED_LOAD): Define.
93502
93503 2011-06-23 Marek Polacek <mpolacek@redhat.com>
93504
93505 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93506
93507 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93508
93509 [BZ #12907]
93510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93511 until it is clear that the information is realy needed.
93512 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93513
93514 2011-06-22 Andreas Schwab <schwab@redhat.com>
93515
93516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93517
93518 2011-06-22 Ulrich Drepper <drepper@gmail.com>
93519
93520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93521 /sys/devices/system/cpu/online if it is usable.
93522
93523 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93524 reading the information from the /proc filesystem to once a second.
93525
93526 2011-06-21 Andreas Jaeger <aj@suse.de>
93527
93528 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93529 NULL after inclusion of kernel headers.
93530
93531 2011-06-21 Ulrich Drepper <drepper@gmail.com>
93532
93533 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93534 calls to internal_setent.
93535
93536 [BZ #12885]
93537 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93538 addresses using gethostbyname4_r ignore IPv4 addresses.
93539
93540 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93541 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
93542
93543 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93544
93545 2011-06-20 David S. Miller <davem@davemloft.net>
93546
93547 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93548 inclusions.
93549 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93550
93551 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93552 (elf_irel): Use it.
93553 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93554 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93555 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93556 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93557 * sysdeps/x86_64/dl-irel.h: Likewise.
93558
93559 * elf/dl-runtime.c: Use elf_ifunc_invoke.
93560 * elf/dl-sym.c: Likewise.
93561
93562 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93563
93564 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
93565 need to dereference resplen2.
93566
93567 2011-06-14 Andreas Schwab <schwab@redhat.com>
93568
93569 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93570
93571 2011-06-15 Ulrich Drepper <drepper@gmail.com>
93572
93573 * Makeconfig: Define vardbdir and inst_vardbdir.
93574 * nss/Makefile: Add rules to install db-Makefile.
93575
93576 * nss/nss_db/db-XXX.c: Cleanup.
93577
93578 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93579 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93580 GLIBC_PRIVATE.
93581 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93582 * nss/makedb.c: Implement -g option to specify that value strings
93583 are generated and should not be added to table iterated over for
93584 get*ent calls.
93585 * nss/nss_db/db-initgroups.c: New file.
93586
93587 * nss/getent.c: Add support for initgroups lookups through getgrouplist
93588 interface.
93589
93590 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93591 (internal_getgrouplist): Adjust to name change.
93592 Update use_initgroups_entry if this is not the first call.
93593 * nss/databases.def: Add initgroups entry.
93594
93595 * nss/makedb.c (compute_tables): Check result of multiple hash table
93596 sizes to minimize maximum chain length.
93597
93598 2011-06-14 Ulrich Drepper <drepper@gmail.com>
93599
93600 * Versions.def: Add entry for libnss_db.
93601 * shlib-versions: Likewise.
93602 * nss/Makefile: Add rules to build libnss_db.
93603 * nss/Versions: Add libnss_db information. Organize libnss_files
93604 entries better.
93605 * nss/db-Makefile: Add gshadow support. Change rules for the new
93606 makedb progra. Some minor improvements to generate smaller files.
93607 * nss/nss_db/nss_db.h: Move NSS database header data structures to
93608 here from...
93609 * nss/makedb.c: ...here.
93610 Improve database format to be smaller and require less memory at
93611 runtime.
93612 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
93613 db anymore.
93614 * nss/nss_db/db-netgrp.c: Likewise.
93615 * nss/nss_db/db-open.c: Likewise.
93616 * nss/nss_files/flies-XXX.x: Adjust comments.
93617 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93618 * nss/nss_files/files-grp.c: Likewise.
93619 * nss/nss_files/files-hosts.c: Likewise.
93620 * nss/nss_files/files-network.c: Likewise.
93621 * nss/nss_files/files-proto.c: Likewise.
93622 * nss/nss_files/files-pwd.c: Likewise.
93623 * nss/nss_files/files-rpc.c: Likewise.
93624 * nss/nss_files/files-service.c: Likewise.
93625 * nss/nss_files/files-sgrp.c: Likewise.
93626 * nss/nss_files/files-spwd.c: Likewise.
93627 * nss/nss_db/db-alias.c: Removed.
93628 * nss/nss_db/dummy-db.h: Removed.
93629
93630 2011-06-02 Ulrich Drepper <drepper@gmail.com>
93631
93632 * nss/makedb.c: Rewritten to not use database library.
93633 * nss/Makefile: Update to build new makedb program.
93634
93635 2011-06-14 Andreas Jaeger <aj@suse.de>
93636
93637 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93638 memset declaration.
93639
93640 2011-06-10 Andreas Schwab <schwab@redhat.com>
93641
93642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93643 tmpbuf.
93644
93645 2011-06-10 Roland McGrath <roland@hack.frob.com>
93646
93647 * Makerules (shlib.lds): Fail if the linker script comes out empty.
93648 * elf/Makefile ($(objpfx)ld.so): Likewise.
93649
93650 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93651 Don't list ld.so twice in dependencies.
93652
93653 * posix/bug-regex31.c: Include <stdlib.h>.
93654
93655 * nscd/hstcache.c (cache_addhst): Remove unused variable.
93656
93657 * nis/nss_compat/compat-spwd.c
93658 (getspent_next_nss_netgr): Remove unused variable.
93659 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93660
93661 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93662 nonmembers" output to use the right array.
93663
93664 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93665
93666 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93667
93668 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93669 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93670 * catgets/gencat.c (read_input_file): Likewise.
93671 * locale/programs/locarchive.c (enlarge_archive): Likewise.
93672
93673 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93674 variable definition inside #if's controlling its use.
93675
93676 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93677
93678 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93679
93680 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93681
93682 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93683 unreachable code.
93684
93685 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93686
93687 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93688 * configure: Regenerated.
93689
93690 * Makerules: Revert last change.
93691 * elf/Makefile: Likewise.
93692
93693 2011-06-09 Roland McGrath <roland@hack.frob.com>
93694
93695 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93696 * elf/Makefile ($(objpfx)librtld.os): Likewise.
93697 (reloc-link): Likewise.
93698
93699 2011-06-09 Ulrich Drepper <drepper@gmail.com>
93700
93701 * elf/Makefile: Add rules to build pldd.
93702 * elf/pldd.c: New file.
93703 * elf/pldd-xx.c: New file.
93704
93705 2011-06-07 Ulrich Drepper <drepper@gmail.com>
93706
93707 * version.h: Update for 2.15 development version.
93708
93709 2011-06-07 David S. Miller <davem@davemloft.net>
93710
93711 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93712 ifuncs.
93713 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93714 elf_machine_lazy_rel): Likewise.
93715 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93717 elf_machine_lazy_rel): Likewise.
93718 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93719 dl_hwcap via passed in argument.
93720 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93721 Likewise.
93722
93723 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93724
93725 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93726
93727 2011-06-06 Roland McGrath <roland@hack.frob.com>
93728
93729 [BZ #12849]
93730 * manual/fdl-1.1.texi: New file, verbatim from:
93731 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93732 * manual/lgpl-2.1.texi: New file, verbatim from:
93733 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93734 * manual/Makefile (licenses): New variable, list those new file names.
93735 (texis): Use it.
93736 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93737
93738 * manual/fdl.texi: File removed.
93739 * manual/lesser.texi: File removed.
93740 * manual/libc.texinfo (Copying, Documentation License):
93741 Use new @include file names, put @appendix directive before @include.
93742
93743 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93744
93745 [BZ #12841]
93746 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93747 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93748 (mq_open): Add __NTH.
93749
93750 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93751
93752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93753 Assume Intel Core i3/i5/i7 processor if AVX is available.
93754
93755 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93756
93757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93758 typo.
93759
93760 2011-05-31 Andreas Schwab <schwab@redhat.com>
93761
93762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93763 memory. Use alloca_account. Fix memory leak when retrying.
93764
93765 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93766
93767 * version.h (RELEASE): Bump for 2.14 release.
93768 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93769
93770 * config.make.in (RANLIB): Remove entry.
93771
93772 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93773
93774 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93775 (libc.pot): Work around missing support for .ksh extension in xgettext.
93776
93777 [BZ #12684]
93778 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93779 if both request failed.
93780 (send_dg): In case of server errors clear resplen or *resplen2.
93781
93782 [BZ #12454]
93783 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93784 when there are multiple maps.
93785 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93786 (_dl_fini): Remove test here.
93787
93788 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93789
93790 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93791
93792 [BZ #12350]
93793 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93794 bit from old_res_options.
93795 (gaih_inet): Likewise.
93796
93797 [BZ #11099]
93798 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93799 as signed.
93800
93801 * resolv/res_init.c (res_setoptions): Make the code more compact.
93802
93803 [BZ #11558]
93804 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93805 set RES_USEVC.
93806
93807 [BZ #11634]
93808 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93809
93810 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93811
93812 [BZ #11781]
93813 * malloc/malloc.h: Declare malloc hook variables as volatile.
93814
93815 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93816 in last patch.
93817
93818 [BZ #11799]
93819 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93820 raise in the comment.
93821 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93822 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93823 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93824
93825 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93826
93827 [BZ #12811]
93828 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93829 grow the buffers more if it already has to be sufficient.
93830 (build_wcs_upper_buffer): Likewise.
93831 * posix/regexec.c (check_matching): Likewise.
93832 (clean_state_log_if_needed): Likewise.
93833 (extend_buffers): Don't enlarge buffers beyond size of the input
93834 buffer.
93835 Patches mostly by Emil Wojak <emil@wojak.eu>.
93836 * posix/bug-regex32.c: New file.
93837 * posix/Makefile (tests): Add bug-regex32.
93838
93839 * locale/findlocale.c (_nl_find_locale): Return right away if
93840 _nl_explode_name failed.
93841 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93842
93843 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93844
93845 * debug/xtrace.sh: Unify messages.
93846 * malloc/memusage.sh: Likewise.
93847
93848 [BZ #12813]
93849 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93850 time symbol from vDSO. Substitute with vsyscall if not available.
93851 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93852 __vdso_time.
93853
93854 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93855 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93856 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93857 Add sendmmsg and internal_sendmmsg.
93858 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93859 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93860 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93861
93862 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93863 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93864 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93865
93866 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93867
93868 [BZ #12813]
93869 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93870 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93871 available.
93872 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93873 __vdso_getcpu.
93874
93875 [BZ #12814]
93876 * iconvdata/Makefile (tests): Add bug-iconv9.
93877 * iconvdata/bug-iconv9.c: New file.
93878
93879 2011-05-27 Andreas Schwab <schwab@redhat.com>
93880
93881 [BZ #12814]
93882 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93883
93884 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93885
93886 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93887 (struct user_regs_struct): Change intcs field back to cs.
93888
93889 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93890
93891 * po/ja.po: Update from translation team.
93892
93893 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93894
93895 [BZ #12795]
93896 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93897 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93898
93899 2011-05-20 Andreas Schwab <schwab@redhat.com>
93900
93901 * stdlib/longlong.h: Update from GCC.
93902
93903 2011-05-23 Andreas Schwab <schwab@redhat.com>
93904
93905 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93906 parameter name.
93907 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93908 Add parameter name.
93909 (__sysconf): Pass it down.
93910
93911 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93912
93913 [BZ #12671]
93914 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93915 some situations.
93916 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93917 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93918 add in in __libc_use_alloca calls. Adjust callers.
93919 (glob): Use malloc in some situations.
93920
93921 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93922 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93923 pltexit.
93924
93925 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93926
93927 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93928 and CLOCK_BOOTTIME_ALARM.
93929
93930 [BZ #12782]
93931 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93932 is returned.
93933
93934 * string/_strerror.c (__strerror_r): Print negative errors as signed
93935 numbers.
93936
93937 [BZ #12777]
93938 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93939 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93940 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93941
93942 * configure.in: Fix typo in redirection and correct removal of test
93943 files in two cases.
93944
93945 [BZ #12788]
93946 * locale/setlocale.c (new_composite_name): Fix test to check for
93947 identical name of all categories.
93948
93949 [BZ #12792]
93950 * libio/filedoalloc.c (local_isatty): New function.
93951 (_IO_file_doallocate): Use local_isatty.
93952 * stdio-common/perror.c (perror): In case a new stream is used
93953 forward the stream error.
93954 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93955 error flag.
93956
93957 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93958
93959 [BZ #11884]
93960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93961 alloca.
93962 * include/alloca.h (extend_alloca_account): Define.
93963
93964 [BZ #11857]
93965 * posix/regex.h: Fix comments with documentation of user-accessible
93966 fields after compilation and describe correct free'ing of pattern
93967 after re_compile_pattern.
93968 Patch by Reuben Thomas <rrt@sc3d.org>.
93969
93970 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93971
93972 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93973 and -mno-altivec to prevent the compiler from using Altivec and/or
93974 VSX instructions when the corresponding registers are not available.
93975
93976 2011-05-19 Andreas Schwab <schwab@redhat.com>
93977
93978 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93979
93980 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93981
93982 * libio/freopen.c (freopen): Use __dup2, not dup2.
93983 * libio/freopen64.c (freopen64): Likewise.
93984
93985 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93986
93987 [BZ #12775]
93988 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93989 * math/Makefile (tests): Add test-powl.
93990 (CFLAGS-test-powl.c): Define.
93991 * math/test-powl.c: New file.
93992
93993 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93994
93995 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93996
93997 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93998
93999 [BZ #11837]
94000 * iconvdata/gb18030.c: Update to GB18020-2005.
94001
94002 2011-05-16 Ulrich Drepper <drepper@gmail.com>
94003
94004 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94005 RE_SYNTAX_POSIX_AWK): Update to match recent development.
94006 Patch by Aharon Robbins <arnold@skeeve.com>.
94007
94008 [BZ #11892]
94009 * stdlib/putenv.c (putenv): Don't always create copy of the variable
94010 on the stack.
94011
94012 [BZ #11895]
94013 * misc/pselect.c (__pselect): Handle timeout value errors hidden
94014 through underflows.
94015
94016 [BZ #12766]
94017 * misc/error.c (error_at_line): Ensure file_name and old_file_name
94018 point to strings before performing equality test for error_one_per_line
94019 mode.
94020
94021 [BZ #11697]
94022 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94023
94024 [BZ #11820]
94025 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94026 (struct user_fpregs_struct): Avoid __uint*_t types.
94027
94028 [BZ #6420]
94029 * malloc/mtrace.c (tr_where): Add additional parameter to point to
94030 symbol info. Use it instead of calling _dl_addr locally.
94031 (lock_and_info): New function.
94032 (tr_freehook): Call lock_and_info and pass symbol info as additional
94033 parameter to tr_where.
94034 (tr_mallochook): Likewise.
94035 (tr_reallochook): Likewise.
94036 (tr_memalignhook): Likewise.
94037
94038 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
94039 used and couldn't be at all thread-safe.
94040
94041 2011-05-15 Ulrich Drepper <drepper@gmail.com>
94042
94043 * libio/freopen.c (freopen): Don't close old file descriptor
94044 before the new one is opened. Instead dup the new file descriptor
94045 to the old one after the new stream is created.
94046 * libio/freopen64.c (freopen64): Likewise.
94047 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94048 * libio/fileops.c (_IO_new_file_close_it): Handle new
94049 _IO_FLAGS2_NOCLOSE flag.
94050 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94051 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94052 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94053 _IO_FLAGS2_NOCLOSE flag.
94054 * include/unistd.h: Add hidden_proto for dup3.
94055 Define __have_dup3.
94056 * io/dup3.c: Define hidden symbol.
94057 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94058
94059 [BZ #7101]
94060 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94061 when an incomplete long option is used.
94062 * posix/tst-getopt_long1.c: New file.
94063 * posix/Makefile (tests): Add tst-getopt_long1.
94064
94065 [BZ #10138]
94066 * scripts/config.guess: Update from autoconf-2.68.
94067 * scripts/config.sub: Likewise.
94068
94069 [BZ #10157]
94070 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94071 tests into ...
94072 (has_cpuclock): ...this. New function.
94073 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94074 macro here based on has_cpuclock code.
94075
94076 [BZ #10149]
94077 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94078 First byte (not low byte) is now always NUL.
94079 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94080
94081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94082 Use non-cancelable interfaces.
94083
94084 [BZ #9809]
94085 * locale/iso-639.def: Add entry for Sorani.
94086
94087 [BZ #11901]
94088 * include/stdlib.h: Move include protection to the right place.
94089 Define abort_msg_s. Declare __abort_msg with it.
94090 * stdlib/abort.c (__abort_msg): Adjust type.
94091 * assert/assert.c (__assert_fail_base): New function. Majority
94092 of code from __assert_fail. Allocate memory for __abort_msg with
94093 mmap.
94094 (__assert_fail): Now call __assert_fail_base.
94095 * assert/assert-perr.c: Remove bulk of implementation. Use
94096 __assert_fail_base.
94097 * include/assert.hL Declare __assert_fail_base.
94098 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94099 mmap.
94100 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94101
94102 2011-05-14 Ulrich Drepper <drepper@gmail.com>
94103
94104 [BZ #11952]
94105 [BZ #12453]
94106 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94107 until all modules are registered in the DTV.
94108 * elf/Makefile: Add rules to build and run tst-tls19.
94109 * elf/tst-tls19.c: New file.
94110 * elf/tst-tls19mod1.c: New file.
94111 * elf/tst-tls19mod2.c: New file.
94112 * elf/tst-tls19mod3.c: New file.
94113 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94114
94115 [BZ #12083]
94116 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94117 correctly.
94118
94119 [BZ #12601]
94120 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94121 two-byte sequence errors.
94122 * iconvdata/Makefile (tests): Add bug-iconv8.
94123 * iconvdata/bug-iconv8.c: New file.
94124
94125 [BZ #12626]
94126 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94127 buf2 definition.
94128
94129 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94130
94131 [BZ #12432]
94132 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94133 (dummy_getcfa): New function.
94134 (init): Get _Unwind_GetCFA address, use dummy if not found.
94135 (backtrace_helper): In recursion check, also check whether CFA changes.
94136 (__backtrace): Completely initialize arg.
94137
94138 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94139 storing incomplete byte sequence in state object. Avoid testing for
94140 guaranteed too small input if we know there is enough data available.
94141
94142 2011-05-11 Andreas Schwab <schwab@redhat.com>
94143
94144 * Makeconfig (+link-pie): Indent.
94145 * Rules (binaries-pie): Define if $(have-fpie) and
94146 $(build-shared).
94147 (binaries-shared): Also filter out $(binaries-pie).
94148 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94149 * nscd/Makefile (others-pie): Add nscd.
94150 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94151 ($(objpfx)nscd): Remove command override.
94152 * login/Makefile (others-pie): Add pt_chown.
94153 ($(objpfx)pt_chown): Remove command override.
94154 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94155 remove command overrides.
94156
94157 2011-05-13 Ulrich Drepper <drepper@gmail.com>
94158
94159 * libio/tst_putwc.c: Fix error messages.
94160
94161 [BZ #12724]
94162 * libio/fileops.c (_IO_new_file_close_it): Always flush when
94163 currently writing and seek to current position when not.
94164 * libio/Makefile (tests): Add bug-fclose1.
94165 * libio/bug-fclose1.c: New file.
94166
94167 2011-05-12 Ulrich Drepper <drepper@gmail.com>
94168
94169 [BZ #12511]
94170 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94171 don't set DF_1_NODELETE here.
94172 (do_lookup_x): When entering new entry test for copy relocation
94173 and if necessary set DF_1_NODELETE flag.
94174 * elf/tst-unique4.cc: New file.
94175 * elf/tst-unique4.h: New file.
94176 * elf/tst-unique4lib.cc: New file.
94177 * elf/Makefile: Add rules to build and run tst-unique4.
94178 Patch by Piotr Bury <pbury@goahead.com>.
94179
94180 2011-05-11 Ulrich Drepper <drepper@gmail.com>
94181
94182 [BZ #12052]
94183 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94184
94185 [BZ #12625]
94186 * misc/mntent_r.c (addmntent): Flush the stream after the output
94187
94188 [BZ #12393]
94189 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94190 (is_trusted_path_normalize): Skip initial colon. Append slash
94191 to empty buffer. Duplicate is_trusted_path code but allow
94192 constructed patch to be prefix.
94193 (is_dst): Allow $ORIGIN followed by /.
94194 (_dl_dst_substitute): Correct clearing of check_for_trusted.
94195 Correct testing of result of is_trusted_path_normalize
94196 (decompose_rpath): Fix warning.
94197
94198 2011-05-10 Ulrich Drepper <drepper@gmail.com>
94199
94200 [BZ #11257]
94201 * grp/initgroups.c (internal_getgrouplist): When we found the service
94202 list through the initgroups entry in nsswitch.conf do not always
94203 continue on a successful lookup. Don't always use the
94204 __nss_group_database value if it is set.
94205 * nss/nsswitch.conf (initgroups): Change action for successful db
94206 lookup to continue for compatibility.
94207
94208 2011-05-09 Ulrich Drepper <drepper@gmail.com>
94209
94210 [BZ #11532]
94211 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94212 and CP774 modules.
94213 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94214 and CP774 modules.
94215 * iconvdata/tst-tables.sh: Likewise.
94216 * iconvdata/cp770.c: New file.
94217 * iconvdata/cp771.c: New file.
94218 * iconvdata/cp772.c: New file.
94219 * iconvdata/cp773.c: New file.
94220 * iconvdata/cp774.c: New file.
94221 * iconvdata/testdata/CP770: New file.
94222 * iconvdata/testdata/CP770..UTF8: New file.
94223 * iconvdata/testdata/CP771: New file.
94224 * iconvdata/testdata/CP771..UTF8: New file.
94225 * iconvdata/testdata/CP772: New file.
94226 * iconvdata/testdata/CP772..UTF8: New file.
94227 * iconvdata/testdata/CP773: New file.
94228 * iconvdata/testdata/CP773..UTF8: New file.
94229 * iconvdata/testdata/CP774: New file.
94230 * iconvdata/testdata/CP774..UTF8: New file.
94231
94232 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94233 END CHARMAP line.
94234 * iconvdata/gen-8bit-gap.sh: Likewise.
94235 * iconvdata/gen-8bit.sh: Likewise.
94236
94237 * locale/iso-639.def: Add ary entry.
94238
94239 [BZ #11258]
94240 * locale/C-translit.h.in: Add U20A1 transliteration.
94241
94242 [BZ #12178]
94243 * locale/iso-639.def: Add wae entry.
94244 Patch by Kevin Bortis <bortis@translate-wae.ch>.
94245
94246 [BZ #12545]
94247 * locale/programs/localedef.c (construct_output_path): Use ssize_t
94248 for n.
94249
94250 [BZ #12711]
94251 * locale/C-translit.h.in: Add entry for U20B9.
94252 Patch by pravin.d.s@gmail.com.
94253
94254 2011-05-08 Ulrich Drepper <drepper@gmail.com>
94255
94256 [BZ #12713]
94257 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94258 ENAMETOOLONG use generic getcwd.
94259 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
94260 in rtld. Use *stat64.
94261 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94262 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94263 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94264 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94265 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94266 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94267 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94268 __fstatat64 macros.
94269 * include/dirent.h: Add libc_hidden_proto for rewinddir.
94270 * dirent/rewinddir.c: Add libc_hidden_def.
94271 * sysdeps/mach/hurd/rewinddir.c: Likewise.
94272 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
94273
94274 * include/dirent.h (__alloc_dir): Add flags parameter.
94275 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94276 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94277 __alloc_dir.
94278 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
94279 from fdopendir if O_CLOEXEC is already set.
94280
94281 2011-03-15 Alan Modra <amodra@gmail.com>
94282
94283 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94284 l_tls_firstbyte_offset non-zero. Save padding offset in
94285 l_tls_firstbyte_offset for later use.
94286 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94287 freeing static tls block.
94288
94289 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
94290
94291 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94292 where #ifdef was intended. The intent is to prevent ARG_MAX from
94293 being defined by the kernel headers.
94294
94295 2011-05-07 Ulrich Drepper <drepper@gmail.com>
94296
94297 [BZ #12734]
94298 * resolv/resolv.h: Define RES_NOTLDQUERY.
94299 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94300 no-tld-query and set RES_NOTLDQUERY.
94301 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94302 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94303 modern BIND to search name as TLD unless forbidden.
94304
94305 2011-05-07 Petr Baudis <pasky@suse.cz>
94306 Ulrich Drepper <drepper@gmail.com>
94307
94308 [BZ #12393]
94309 * elf/dl-load.c (fillin_rpath): Move trusted path check...
94310 (is_trusted_path): ...to here.
94311 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94312 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94313 using is_trusted_path_normalize() in setuid scripts.
94314
94315 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
94316
94317 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94318 __BEGIN/__END_DECLS.
94319
94320 2011-05-06 Ulrich Drepper <drepper@gmail.com>
94321
94322 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94323 NSS_STATUS_NOTFOUND if no record was found.
94324
94325 2011-05-05 Andreas Schwab <schwab@redhat.com>
94326
94327 * sunrpc/Makefile (headers): Add rpc/netdb.h.
94328 (headers-not-in-tirpc): Remove rpc/netdb.h
94329 * resolv/netdb.h: Revert last change.
94330
94331 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
94332
94333 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94334 circular dependency between libgcc.a and libc.a.
94335
94336 2011-05-05 Andreas Schwab <schwab@redhat.com>
94337
94338 * resolv/netdb.h: Don't include <rpc/netdb.h>.
94339 * nis/Makefile: Don't install rpcsvc/*.
94340 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94341 instead of <rpc/types.h>.
94342 (MAXHOSTNAMELEN): Define.
94343
94344 2011-05-03 Andreas Schwab <schwab@redhat.com>
94345
94346 * elf/ldconfig.c (add_dir): Don't crash on empty path.
94347
94348 2011-04-28 Maciej Babinski <mbabinski@google.com>
94349
94350 [BZ #12714]
94351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94352 gethostbyname4_r when IPv6 results are possible.
94353
94354 2011-05-02 Ulrich Drepper <drepper@gmail.com>
94355
94356 [BZ #12723]
94357 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94358 _PC_PIPE_BUF handling.
94359
94360 2011-04-30 Bruno Haible <bruno@clisp.org>
94361
94362 [BZ #12717]
94363 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94364 * resolv/netdb.h (getnameinfo): Change type of flags parameter
94365 to 'int'.
94366 * inet/getnameinfo.c (getnameinfo): Likewise.
94367
94368 2011-04-29 Ulrich Drepper <drepper@gmail.com>
94369
94370 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94371 to groups setting in database lookup.
94372 * nss/nsswitch.conf: Add initgroups entry.
94373
94374 2011-04-22 Ulrich Drepper <drepper@gmail.com>
94375
94376 [BZ #12685]
94377 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94378 mode string.
94379 Patch by Eric Blake <eblake@redhat.com>.
94380
94381 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
94382
94383 * sunrpc/Makefile (need-export-routines): Add svc_run.
94384 (routines): Remove svc_run.
94385 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94386 * sunrpc/clnt_perr.c (clnt_perrno): Export.
94387 * sunrpc/svc_run.c (svc_run): Likewise.
94388 * sunrpc/svc_udp.c (svcudp_create): Likewise.
94389
94390 2011-04-21 Ulrich Drepper <drepper@gmail.com>
94391
94392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94393 problem in reallocation in last patch.
94394
94395 2011-04-20 Ulrich Drepper <drepper@gmail.com>
94396
94397 * sunrpc/Makefile: Move inclusion of Rules.
94398
94399 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94400
94401 * nss/nss_files/files-initgroups.c: New file.
94402 * nss/Makefile (libnss_files-routines): Add files-initgroups.
94403 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94404 _nss_files_initgroups_dyn.
94405
94406 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
94407
94408 * elf/elf.h (R_ARM_IRELATIVE): Define.
94409
94410 2011-04-19 Ulrich Drepper <drepper@gmail.com>
94411
94412 * po/ru.po: Update from translation team.
94413
94414 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94415
94416 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94417 dependencies.
94418
94419 2011-02-06 Mike Frysinger <vapier@gentoo.org>
94420
94421 [BZ #12653]
94422 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94423 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94424 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94425 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94427
94428 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
94429
94430 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94431 differing bytes.
94432 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94433 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94434 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94435
94436 2011-04-17 Ulrich Drepper <drepper@gmail.com>
94437
94438 [BZ #12420]
94439 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94440 storing it.
94441 * stdlib/bug-getcontext.c: New file.
94442 * stdlib/Makefile: Add rules to build and run bug-getcontext.
94443
94444 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94445
94446 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94447 instructions into .machine "z9-109".
94448 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94449 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94450
94451 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94452
94453 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94454 between environment variables and auxiliary vector.
94455
94456 2011-04-16 Ulrich Drepper <drepper@gmail.com>
94457
94458 * Makefile: Add rules to build linkobj/libc.so.
94459 * include/libc-symbols.h: Define libc_hidden_nolink.
94460 * include/rpc/auth.h: Mark functions which are to be hidden.
94461 * include/rpc/auth_des.h: Likewise.
94462 * include/rpc/auth_unix.h: Likewise.
94463 * include/rpc/clnt.h: Likewise.
94464 * include/rpc/des_crypt.h: Likewise.
94465 * include/rpc/key_prot.h: Likewise.
94466 * include/rpc/pmap_clnt.h: Likewise.
94467 * include/rpc/pmap_prot.h: Likewise.
94468 * include/rpc/pmap_rmt.h: Likewise.
94469 * include/rpc/rpc_msg.h: Likewise.
94470 * include/rpc/svc.h: Likewise.
94471 * include/rpc/svc_auth.h: Likewise.
94472 * include/rpc/xdr.h: Likewise.
94473 * nis/Makefile: Link all DSOs against linkobj/libc.so.
94474 * nss/Makefile: Likewise.
94475 * sunrpc/Makefile: Don't install headers. Build library with normal
94476 entry points. Don't build rpcinfo. Link RPC tests appropriately.
94477 * sunrpc/auth_des.c: Hide exported symbols by default, export some
94478 for the compat linking library. Remove use of INTDEF/INTUSE.
94479 * sunrpc/auth_none.c: Likewise.
94480 * sunrpc/auth_unix.c: Likewise.
94481 * sunrpc/authdes_prot.c: Likewise.
94482 * sunrpc/authuxprot.c: Likewise.
94483 * sunrpc/clnt_gen.c: Likewise.
94484 * sunrpc/clnt_perr.c: Likewise.
94485 * sunrpc/clnt_raw.c: Likewise.
94486 * sunrpc/clnt_simp.c: Likewise.
94487 * sunrpc/clnt_tcp.c: Likewise.
94488 * sunrpc/clnt_udp.c: Likewise.
94489 * sunrpc/clnt_unix.c: Likewise.
94490 * sunrpc/des_crypt.c: Likewise.
94491 * sunrpc/des_soft.c: Likewise.
94492 * sunrpc/get_myaddr.c: Likewise.
94493 * sunrpc/key_call.c: Likewise.
94494 * sunrpc/key_prot.c: Likewise.
94495 * sunrpc/netname.c: Likewise.
94496 * sunrpc/pm_getmaps.c: Likewise.
94497 * sunrpc/pm_getport.c: Likewise.
94498 * sunrpc/pmap_clnt.c: Likewise.
94499 * sunrpc/pmap_prot.c: Likewise.
94500 * sunrpc/pmap_prot2.c: Likewise.
94501 * sunrpc/pmap_rmt.c: Likewise.
94502 * sunrpc/publickey.c: Likewise.
94503 * sunrpc/rpc_cmsg.c: Likewise.
94504 * sunrpc/rpc_common.c: Likewise.
94505 * sunrpc/rpc_dtable.c: Likewise.
94506 * sunrpc/rpc_prot.c: Likewise.
94507 * sunrpc/rpc_thread.c: Likewise.
94508 * sunrpc/rtime.c: Likewise.
94509 * sunrpc/svc.c: Likewise.
94510 * sunrpc/svc_auth.c: Likewise.
94511 * sunrpc/svc_authux.c: Likewise.
94512 * sunrpc/svc_raw.c: Likewise.
94513 * sunrpc/svc_run.c: Likewise.
94514 * sunrpc/svc_simple.c: Likewise.
94515 * sunrpc/svc_tcp.c: Likewise.
94516 * sunrpc/svc_udp.c: Likewise.
94517 * sunrpc/svc_unix.c: Likewise.
94518 * sunrpc/svcauth_des.c: Likewise.
94519 * sunrpc/xcrypt.c: Likewise.
94520 * sunrpc/xdr.c: Likewise.
94521 * sunrpc/xdr_array.c: Likewise.
94522 * sunrpc/xdr_float.c: Likewise.
94523 * sunrpc/xdr_intXX_t.c: Likewise.
94524 * sunrpc/xdr_mem.c: Likewise.
94525 * sunrpc/xdr_rec.c: Likewise.
94526 * sunrpc/xdr_ref.c: Likewise.
94527 * sunrpc/xdr_sizeof.c: Likewise.
94528 * sunrpc/xdr_stdio.c: Likewise.
94529
94530 2011-04-10 Ulrich Drepper <drepper@gmail.com>
94531
94532 [BZ #12650]
94533 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94534 * sysdeps/ia64/dl-tls.h: Likewise.
94535 * sysdeps/powerpc/dl-tls.h: Likewise.
94536 * sysdeps/s390/dl-tls.h: Likewise.
94537 * sysdeps/sh/dl-tls.h: Likewise.
94538 * sysdeps/sparc/dl-tls.h: Likewise.
94539 * sysdeps/x86_64/dl-tls.h: Likewise.
94540 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94541
94542 2011-03-14 Andreas Schwab <schwab@redhat.com>
94543
94544 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94545 rpath element also skip the following colon.
94546 (expand_dynamic_string_token): Add is_path parameter and pass
94547 down to DL_DST_REQUIRED and _dl_dst_substitute.
94548 (decompose_rpath): Call expand_dynamic_string_token with
94549 non-zero is_path. Ignore empty rpaths.
94550 (_dl_map_object_from_fd): Call expand_dynamic_string_token
94551 with zero is_path.
94552
94553 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
94554
94555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94556 Make cancelable.
94557
94558 2011-04-09 Ulrich Drepper <drepper@gmail.com>
94559
94560 [BZ #12655]
94561 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94562 Patch by Filipe David Manana <fdmanana@apache.org>.
94563
94564 2011-04-07 Andreas Schwab <schwab@redhat.com>
94565
94566 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94567 Maintain aligned stack.
94568 (CHECK_RSP): Remove unused macro.
94569
94570 2011-04-03 Ulrich Drepper <drepper@gmail.com>
94571
94572 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94573 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94574
94575 2011-04-02 Ulrich Drepper <drepper@gmail.com>
94576
94577 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94578
94579 * include/features.h: Mention __USE_XOPEN2K8 in comment.
94580
94581 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
94582
94583 [BZ #12518]
94584 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94585 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94586 * sysdeps/x86_64/memmove.c: New file.
94587 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94588 (memcpy): Renamed to ...
94589 (__new_memcpy): This.
94590 (memcpy): Provide GLIBC_2_14 memcpy.
94591 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94592 (memcpy): Provide GLIBC_2_2_5 memcpy.
94593
94594 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94595
94596 [BZ #12631]
94597 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94598
94599 2011-03-30 Andreas Schwab <schwab@redhat.com>
94600
94601 * misc/syncfs.c: New file.
94602 * misc/Makefile (routines): Add syncfs.
94603 * posix/unistd.h: Declare syncfs.
94604 * sysdeps/unix/syscalls.list: Add syncfs.
94605
94606 2011-04-01 Andreas Schwab <schwab@redhat.com>
94607
94608 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94609 open_by_handle_at.
94610 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94615 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94617
94618 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94619
94620 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94622 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94624 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94627
94628 * io/Makefile: Compile fallocate.c, fallocate64.c, and
94629 sync_file_range.c with -fexceptions.
94630 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94631 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94632 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94633 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94634 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94635 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94637 sync_file_range as cancellation point
94638 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
94639 now a wrapper around __call_sync_file_range with cancellation handling.
94640 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94641 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
94642 function name to __call_sync_file_range.
94643 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94644 Add call_sync_file_range.
94645
94646 2011-04-01 Andreas Schwab <schwab@redhat.com>
94647
94648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94649 bits/timex.h.
94650
94651 2011-04-01 Ulrich Drepper <drepper@gmail.com>
94652
94653 * iconv/iconv.h: Fix typo in comment.
94654 * io/fcntl.h: Likewise.
94655 * libio/stdio.h: Likewise.
94656 * posix/spawn.h: Likewise.
94657 * posix/unistd.h: Likewise.
94658 * stdlib/stdlib.h: Likewise.
94659 * time/time.h: Likewise.
94660 * wcsmbs/wchar.h: Likewise.
94661
94662 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94663 open_by_handle): Add.
94664 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94665 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
94666 Augment a few comments.
94667 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94669 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94672 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94673 open_by_handle.
94674
94675 * io/fcntl.h (AT_EMPTY_PATH): Define.
94676
94677 2011-03-30 Ulrich Drepper <drepper@gmail.com>
94678
94679 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94680 * sysdeps/unix/sysv/linux/bits/time.h: New file.
94681 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94682 to...
94683 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
94684 * Versions.def: Add GLIBC_2.14.
94685 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94686 Export.
94687
94688 2011-03-22 Ulrich Drepper <drepper@gmail.com>
94689
94690 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94691 round counter.
94692 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94693
94694 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
94695
94696 [BZ #12597]
94697 * string/test-strncmp.c (do_page_test): New function.
94698 (check2): Likewise.
94699 (test_main): Call check2.
94700 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94701
94702 2011-03-20 Ulrich Drepper <drepper@gmail.com>
94703
94704 [BZ #12587]
94705 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94706 Handle cache information in CPU leaf 4.
94707 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94708
94709 2011-03-18 Ulrich Drepper <drepper@gmail.com>
94710
94711 [BZ #12583]
94712 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94713 character representation.
94714 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94715
94716 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
94717
94718 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94719 END(__isnan) to END(__isnanf) to match function entry point/label
94720 EALIGN(__isnanf,...).
94721
94722 2011-03-10 Jakub Jelinek <jakub@redhat.com>
94723
94724 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94725
94726 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94727
94728 [BZ #12510]
94729 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94730 copy from the symbol referenced in the relocation to initialize the
94731 used variable.
94732 Patch by Piotr Bury <pbury@goahead.com>.
94733 * elf/Makefile: Add rules to build and tst-unique3.
94734 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94735 * elf/tst-unique3.cc: New file.
94736 * elf/tst-unique3.h: New file.
94737 * elf/tst-unique3lib.cc: New file.
94738 * elf/tst-unique3lib2.cc: New file.
94739
94740 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94741
94742 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94743
94744 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94745 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94746 to _start.
94747
94748 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94749
94750 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94751 to-be-loaded object along a path to loader is ld.so.
94752
94753 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94754 Ulrich Drepper <drepper@gmail.com>
94755
94756 * sysdeps/x86_64/memset.S: After aligning destination, code
94757 branches to different locations depending on the value of
94758 misalignment, when multiarch is enabled. Fix this.
94759
94760 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94761
94762 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94763 Set _x86_64_preferred_memory_instruction for AMD processsors.
94764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94765 Set bit_Prefer_SSE_for_memop for AMD processors.
94766
94767 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94768
94769 * libio/fmemopen.c (fmemopen): Optimize a bit.
94770
94771 2011-03-03 Andreas Schwab <schwab@redhat.com>
94772
94773 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94774
94775 2011-03-03 Roland McGrath <roland@redhat.com>
94776
94777 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94778
94779 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94780
94781 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94782 __bzero_ultra1 instead of __memset_ultra1.
94783
94784 2011-02-23 Andreas Schwab <schwab@redhat.com>
94785 Ulrich Drepper <drepper@gmail.com>
94786
94787 [BZ #12509]
94788 * include/link.h (struct link_map): Add l_orig_initfini.
94789 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94790 returning unsuccessfully.
94791 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94792 close of a file loaded at startup, restore the original l_initfini
94793 list.
94794 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94795 list, store the pointer.
94796 * elf/Makefile ($(objpfx)noload-mem): New rule.
94797 (noload-ENV): Define.
94798 (tests): Add $(objpfx)noload-mem.
94799 * elf/noload.c: Include <memcheck.h>.
94800 (main): Call mtrace. Close all opened handles.
94801
94802 2011-02-17 Andreas Schwab <schwab@redhat.com>
94803
94804 [BZ #12454]
94805 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94806 dependencies are missing.
94807
94808 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94809
94810 Fix __if_freereq crash: Unlike the generic version which uses free,
94811 Hurd needs munmap.
94812 * sysdeps/mach/hurd/ifreq.h: New file.
94813
94814 2011-01-27 Petr Baudis <pasky@suse.cz>
94815 Ulrich Drepper <drepper@gmail.com>
94816
94817 [BZ 12445]#
94818 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94819 to extend_alloca().
94820 * stdio-common/bug23.c: New file.
94821 * stdio-common/Makefile (tests): Add bug23.
94822
94823 2010-09-28 Andreas Schwab <schwab@redhat.com>
94824 Ulrich Drepper <drepper@gmail.com>
94825
94826 [BZ #12489]
94827 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94828 before performing relro protection. At old place add assertion
94829 to make sure nothing changed.
94830
94831 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94832 Glauber de Oliveira Costa <glommer@gmail.com>
94833
94834 * elf/elf.h: Add new ARM TLS relocs.
94835
94836 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94837
94838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94839 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94840 cast from r3.
94841 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94842 'tests' variable.
94843 * sysdeps/wordsize-64/tst-writev.c: New file.
94844
94845 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94846
94847 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94848 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94849 insns in _dl_start to prevent a TOC reference before relocs are
94850 resolved.
94851
94852 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94853
94854 [BZ #12469]
94855 * Makeconfig: Remove RANLIB definition.
94856 * Makerules: Don't use RANLIB.
94857 * aclocal.m4: Remove ranlib test.
94858 * configure.in: No need to check for ranlib.
94859 * elf/rtld-Rules: Don't use RANLIB.
94860
94861 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94862
94863 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94864 protection macro.
94865 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94866 inclusion protection macro.
94867
94868 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94869 SIGRTMIN and SIGRTMAX and print information in that case only when
94870 SIGRTMIN is defined.
94871
94872 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94873
94874 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94875 arginfo fn returning -1.
94876
94877 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94878 and thousands string is zero terminated.
94879
94880 2011-02-03 Andreas Schwab <schwab@redhat.com>
94881
94882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94883 sysdeps/unix/sysv/linux/bits/socket.h.
94884
94885 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94886
94887 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94888 (__CPU_COUNT): Remove old macros.
94889 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94890 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94891 (__CPU_ALLOC, __CPU_FREE): Add macros.
94892 (__sched_cpualloc, __sched_cpufree): Add declarations.
94893
94894 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94895
94896 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94897 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94898 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94899 (readdhstai): Return value of addhstaiX call.
94900 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94901 (addgrbyX): Return value returned by cache_addgr.
94902 (readdgrbyname): Return value returned by addgrbyX.
94903 (readdgrbygid): Likewise.
94904 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94905 (addpwbyX): Return value returned by cache_addpw.
94906 (readdpwbyname): Return value returned by addhstbyX.
94907 (readdpwbyuid): Likewise.
94908 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94909 (addservbyX): Return value returned by cache_addserv.
94910 (readdservbyname): Return value returned by addservbyX:
94911 (readdservbyport): Likewise.
94912 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94913 (addhstbyX): Return value returned by cache_addhst.
94914 (readdhstbyname): Return value returned by addhstbyX.
94915 (readdhstbyaddr): Likewise.
94916 (readdhstbynamev6): Likewise.
94917 (readdhstbyaddrv6): Likewise.
94918 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94919 (readdinitgroups): Return value returned by addinitgroupsX.
94920 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94921 (prune_cache): Keep track of timeout value of re-added entries.
94922 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94923 * nscd/nscd.h: Adjust prototypes of readd* functions.
94924
94925 2011-02-04 Roland McGrath <roland@redhat.com>
94926
94927 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94928 (nis_stats): Likewise.
94929 * nis/nis_modify.c (nis_modify): Likewise.
94930 * nis/nis_remove.c (nis_remove): Likewise.
94931 * nis/nis_add.c (nis_add): Likewise.
94932
94933 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94934
94935 * posix/fnmatch_loop.c: Add some consts.
94936
94937 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94938
94939 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94940
94941 [BZ #12460]
94942 * config.make.in (config-cflags-novzeroupper): Define.
94943 * configure.in: Substitute libc_cv_cc_novzeroupper.
94944 * elf/Makefile (AVX-CFLAGS): Define.
94945 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94946 (CFLAGS-tst-auditmod4a.c): Likewise.
94947 (CFLAGS-tst-auditmod4b.c): Likewise.
94948 (CFLAGS-tst-auditmod6b.c): Likewise.
94949 (CFLAGS-tst-auditmod6c.c): Likewise.
94950 (CFLAGS-tst-auditmod7b.c): Likewise.
94951 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94952
94953 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94954
94955 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94956 function to the callback.
94957 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94958
94959 2011-02-02 Andreas Schwab <schwab@redhat.com>
94960
94961 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94962 of errno.
94963
94964 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94965
94966 [BZ #11724]
94967 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94968 of constructors.
94969 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94970 of destructors.
94971 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94972
94973 [BZ #11724]
94974 * elf/Makefile: Add rules to build and run new test.
94975 * elf/tst-initorder.c: New file.
94976 * elf/tst-initorder.exp: New file.
94977 * elf/tst-initordera1.c: New file.
94978 * elf/tst-initordera2.c: New file.
94979 * elf/tst-initordera3.c: New file.
94980 * elf/tst-initordera4.c: New file.
94981 * elf/tst-initorderb1.c: New file.
94982 * elf/tst-initorderb2.c: New file.
94983 * elf/tst-order-a1.c: New file.
94984 * elf/tst-order-a2.c: New file.
94985 * elf/tst-order-a3.c: New file.
94986 * elf/tst-order-a4.c: New file.
94987 * elf/tst-order-b1.c: New file.
94988 * elf/tst-order-b2.c: New file.
94989 * elf/tst-order-main.c: New file.
94990 New test case by George Gensure <werkt0@gmail.com>.
94991
94992 2010-10-01 Andreas Schwab <schwab@redhat.com>
94993
94994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94995 decoding ACE if AI_CANONIDN.
94996
94997 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94998
94999 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
95000
95001 2011-01-17 Ulrich Drepper <drepper@gmail.com>
95002
95003 * version.h (RELEASE): Bump for 2.13 release.
95004 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
95005
95006 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
95007
95008 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95009 MADV_NOHUGEPAGE.
95010 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95013 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95015 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95016
95017 * posix/getconf.c: Update copyright year.
95018 * catgets/gencat.c: Likewise.
95019 * csu/version.c: Likewise.
95020 * debug/catchsegv.sh: Likewise.
95021 * debug/xtrace.sh: Likewise.
95022 * elf/ldconfig.c: Likewise.
95023 * elf/ldd.bash.in: Likewise.
95024 * elf/sprof.c (print_version): Likewise.
95025 * iconv/iconv_prog.c: Likewise.
95026 * iconv/iconvconfig.c: Likewise.
95027 * locale/programs/locale.c: Likewise.
95028 * locale/programs/localedef.c: Likewise.
95029 * malloc/memusage.sh: Likewise.
95030 * malloc/mtrace.pl: Likewise.
95031 * nscd/nscd.c (print_version): Likewise.
95032 * nss/getent.c: Likewise.
95033
95034 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95035 PF_CAIF, and PF_ALG.
95036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95037
95038 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
95039
95040 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95041 (modules-names): Use them.
95042 (ifunc-test-modules, ifunc-pie-tests): Define.
95043 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95044 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95045 (test-extras): Likewise.
95046 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95047 $(compile-command.c).
95048 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95049 (all-built-dso): Define.
95050 (check-textrel.out, check-execstack.out): Depend on it.
95051
95052 * configure.in: Don't override --enable-multi-arch.
95053
95054 2011-01-15 Ulrich Drepper <drepper@gmail.com>
95055
95056 [BZ #6812]
95057 * nscd/hstcache.c (tryagain): Define.
95058 (cache_addhst): Return tryagain not notfound for temporary errors.
95059 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95060 failed.
95061
95062 2011-01-14 Ulrich Drepper <drepper@gmail.com>
95063
95064 [BZ #10563]
95065 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95066 to make the syscall.
95067 * sysdeps/unix/sysv/linux/setgroups.c: New file.
95068
95069 [BZ #12378]
95070 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95071 and fall back to matching as normal character if the string ends before
95072 the matching ']' is found. This is what POSIX requires.
95073 * posix/testfnm.c: Adjust test result.
95074 * posix/globtest.sh: Adjust test result. Add new test.
95075 * posix/tst-fnmatch.input: Likewise.
95076 * posix/tst-fnmatch2.c: Add new test.
95077
95078 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
95079
95080 * elf/Makefile (check-execstack): Revert last change. Depend on
95081 check-execstack.h.
95082 (check-execstack.h): New target.
95083 (generated): Add check-execstack.h.
95084 * elf/check-execstack.c: Include "check-execstack.h".
95085 (main): Revert last change.
95086 (handle_file): Return zero if GNU_STACK is absent and
95087 DEFAULT_STACK_PERMS doesn't include PF_X.
95088
95089 2011-01-13 Ulrich Drepper <drepper@gmail.com>
95090
95091 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95092 in child fails because the descriptor is already closed.
95093 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95094 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95095 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95096
95097 [BZ #12397]
95098 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95099 syscall.
95100
95101 [BZ #10484]
95102 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95103 temporary buffer used to handle multi lookups locally.
95104 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95105
95106 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95107
95108 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95109 loader is ld.so.
95110
95111 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
95112
95113 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95114 alignment for SSE2.
95115
95116 2011-01-12 Ulrich Drepper <drepper@gmail.com>
95117
95118 [BZ #12394]
95119 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95120 characters. When rounding increased number of integer digits recompute
95121 number of groups.
95122 * stdio-common/tst-grouping.c: New file.
95123 * stdio-common/Makefile: Add rules to build and run tst-grouping.
95124
95125 2011-01-09 Ulrich Drepper <drepper@gmail.com>
95126
95127 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95128 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
95129
95130 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95131 void.
95132 * bits/select.h: Likewise.
95133
95134 2011-01-08 Ulrich Drepper <drepper@gmail.com>
95135
95136 * po/ja.po: Update from translation team.
95137
95138 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
95139
95140 [BZ #11155]
95141 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95142 implementation just like for lxstat, fxstatat, et al.
95143
95144 2010-12-27 Jim Meyering <meyering@redhat.com>
95145
95146 [BZ #12348]
95147 * posix/regexec.c (build_trtable): Return failure indication upon
95148 calloc failure. Otherwise, re_search_internal could infloop on OOM.
95149
95150 2010-12-25 Ulrich Drepper <drepper@gmail.com>
95151
95152 [BZ #12201]
95153 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95154 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95155 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95156 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95157
95158 [BZ #12207]
95159 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95160
95161 [BZ #12204]
95162 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95163 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95164
95165 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
95166
95167 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95168 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95169 script has SORT_BY_INIT_PRIORITY.
95170 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95171 NO_CTORS_DTORS_SECTIONS is defined.
95172 * elf/soinit.c: Likewise.
95173 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95174 NO_CTORS_DTORS_SECTIONS is defined.
95175 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95176 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95177 * sysdeps/sh/init-first.c: Likewise.
95178 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95179
95180 2010-12-24 Ulrich Drepper <drepper@gmail.com>
95181
95182 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95183 always use the slow path.
95184
95185 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
95186
95187 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95188 similar rule which adds the sysdep directories to the header search in
95189 order to pick up the correct platform stackinfo.h.
95190 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95191 perform test if it is, otherwise return successfully without testing.
95192 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95193 DEFAULT_STACK_PERMS define in stackinfo.h.
95194 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95195 defined in stackinfo.h.
95196 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95197 DEFAULT_STACK_PERMS defined in stackinfo.h.
95198 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95199 * sysdeps/ia64/stackinfo.h: Likewise.
95200 * sysdeps/s390/stackinfo.h: Likewise.
95201 * sysdeps/sh/stackinfo.h: Likewise.
95202 * sysdeps/sparc/stackinfo.h: Likewise.
95203 * sysdeps/x86_64/stackinfo.h: Likewise.
95204 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95205 PF_X for powerpc64. Retain PF_X for powerpc32.
95206
95207 2010-12-19 Ulrich Drepper <drepper@gmail.com>
95208
95209 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95210 accurately.
95211 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95212 GETDENTS_64BIT_ALIGNED.
95213
95214 2010-12-14 Ulrich Drepper <dreper@gmail.com>
95215
95216 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95217
95218 2010-12-10 Andreas Schwab <schwab@redhat.com>
95219
95220 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95221 _GNU_SOURCE.
95222
95223 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95224 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95225 Remove __restrict.
95226 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95227 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95228
95229 2010-12-09 Ulrich Drepper <drepper@gmail.com>
95230
95231 [BZ #11655]
95232 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95233 are initialized.
95234
95235 2010-12-09 Jakub Jelinek <jakub@redhat.com>
95236
95237 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95238
95239 2010-12-03 Ulrich Drepper <drepper@gmail.com>
95240
95241 * po/it.po: Update from translation team.
95242
95243 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
95244
95245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95246 unused codes.
95247
95248 2010-11-30 Ulrich Drepper <drepper@gmail.com>
95249
95250 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95251
95252 2010-11-24 Andreas Schwab <schwab@redhat.com>
95253
95254 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95255 specially.
95256 (gaih_getanswer_slice): Likewise.
95257
95258 2010-10-20 Jakub Jelinek <jakub@redhat.com>
95259
95260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95261
95262 2010-05-31 Petr Baudis <pasky@suse.cz>
95263
95264 [BZ #11149]
95265 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95266 silently even in the chroot mode.
95267
95268 2010-11-22 Ulrich Drepper <drepper@gmail.com>
95269
95270 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95271 last patch a bit. Pretty printing
95272
95273 2010-05-31 Petr Baudis <pasky@suse.cz>
95274
95275 [BZ #10085]
95276 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95277 initialization of skip_initgroups_dyn.
95278
95279 2010-11-19 Ulrich Drepper <drepper@gmail.com>
95280
95281 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95282 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95283
95284 2010-11-16 Ulrich Drepper <drepper@gmail.com>
95285
95286 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95287
95288 2010-11-11 Andreas Schwab <schwab@redhat.com>
95289
95290 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95291 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95292 (tst-fnmatch-ENV): Set MALLOC_TRACE.
95293 ($(objpfx)tst-fnmatch-mem): New rule.
95294 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95295 * posix/tst-fnmatch.c (main): Call mtrace.
95296
95297 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
95298
95299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95300 Support Intel processor model 6 and model 0x2c.
95301
95302 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
95303
95304 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95305 signed comparison.
95306
95307 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
95308
95309 [BZ #12205]
95310 * string/test-strncasecmp.c (check_result): New function.
95311 (do_one_test): Use it.
95312 (check1): New function.
95313 (test_main): Use it.
95314 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95315 Support strcasecmp and strncasecmp.
95316
95317 2010-11-08 Ulrich Drepper <drepper@gmail.com>
95318
95319 [BZ #12194]
95320 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
95322
95323 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
95324
95325 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95326 IFUNC support.
95327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95328 memset-x86-64.
95329 * sysdeps/x86_64/multiarch/bzero.S: New file.
95330 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95331 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95332 * sysdeps/x86_64/multiarch/memset.S: New file.
95333 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95335 Set bit_Prefer_SSE_for_memop for Intel processors.
95336 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95337 Define.
95338 (index_Prefer_SSE_for_memop): Define.
95339 (HAS_PREFER_SSE_FOR_MEMOP): Define.
95340
95341 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
95342
95343 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95344 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95345
95346 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
95347
95348 [BZ #12191]
95349 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95350 (__x86_64_raw_data_cache_size_half): Likewise.
95351 (__x86_64_raw_shared_cache_size): Likewise.
95352 (__x86_64_raw_shared_cache_size_half): Likewise.
95353
95354 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95355 (__x86_64_raw_data_cache_size_half): Likewise.
95356 (__x86_64_raw_shared_cache_size): Likewise.
95357 (__x86_64_raw_shared_cache_size_half): Likewise.
95358 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95359 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95360 and __x86_64_raw_shared_cache_size_half. Round
95361 __x86_64_data_cache_size_half, __x86_64_data_cache_size
95362 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95363 to multiple of 256 bytes.
95364
95365 2010-11-03 Ulrich Drepper <drepper@gmail.com>
95366
95367 [BZ #12167]
95368 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95369 of inacessible symlinks. Verify result of symlink before returning it.
95370 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95371 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95372
95373 2010-10-28 Erich Ritz <erichritz@gmail.com>
95374
95375 * math/math.h (isinf): Fix typo in comment.
95376
95377 2010-11-01 Ulrich Drepper <drepper@gmail.com>
95378
95379 * po/da.po: Update from translation team.
95380
95381 2010-10-26 Ulrich Drepper <drepper@gmail.com>
95382
95383 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95384 is added to the list.
95385
95386 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95387 Ulrich Drepper <drepper@gmail.com>
95388
95389 * elf/dl-object.c (_dl_new_object): Don't append the new object to
95390 the global list here. Move code to...
95391 (_dl_add_to_namespace_list): ...here. New function.
95392 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95393 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95394 * elf/dl-load.c (lose): Don't remove the element from the list.
95395 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95396 (_dl_map_object): Likewise.
95397
95398 2010-10-25 Ulrich Drepper <drepper@gmail.com>
95399
95400 [BZ #12159]
95401 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95402 into all bytes of SSE register.
95403 Patch by Richard Li <richardpku@gmail.com>.
95404
95405 2010-10-24 Ulrich Drepper <drepper@gmail.com>
95406
95407 [BZ #12140]
95408 * malloc/malloc.c (_int_free): Fill correct number of bytes when
95409 perturbing.
95410
95411 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
95412
95413 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95414 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95415 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95416 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95418 submachine.
95419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95420
95421 2010-10-22 Andreas Schwab <schwab@redhat.com>
95422
95423 * include/dlfcn.h (__RTLD_SECURE): Define.
95424 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
95425 mode & __RTLD_SECURE instead.
95426 (open_path): Rename preloaded parameter to secure.
95427 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95428 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95429 * elf/dl-deps.c (openaux): Likewise.
95430 * elf/rtld.c (struct map_args): Remove is_preloaded.
95431 (map_doit): Don't use it.
95432 (dl_main): Likewise.
95433 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95434 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95435
95436 2010-09-09 Andreas Schwab <schwab@redhat.com>
95437
95438 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95439 (sysd-rules-targets): Remove duplicates.
95440 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95441 rtld-%.$o dependency.
95442
95443 2010-10-18 Andreas Schwab <schwab@redhat.com>
95444
95445 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95446 _dl_map_object do it.
95447
95448 2010-10-19 Ulrich Drepper <drepper@gmail.com>
95449
95450 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95451 fast fma builtins, define the macros in the C99 standard.
95452 (FP_FAST_FMAF): Likewise.
95453 (FP_FAST_FMAL): Likewise.
95454 * sysdeps/x86_64/bits/mathdef.h: Likewise.
95455
95456 * bits/mathdef.h: Update copyright year.
95457 * sysdeps/powerpc/bits/mathdef.h: Likewise.
95458
95459 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
95460
95461 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95462 builtins, define the macros in the C99 standard.
95463 (FP_FAST_FMAF): Likewise.
95464 (FP_FAST_FMAL): Likewise.
95465 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95466 multiply/add.
95467 (FP_FAST_FMAF): Likewise.
95468
95469 2010-10-15 Jakub Jelinek <jakub@redhat.com>
95470
95471 [BZ #3268]
95472 * math/libm-test.inc (fma_test): Some new testcases.
95473 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95474 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95475 y and infinite z. Do multiplication by C already in long double.
95476 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95478 y and infinite z. Do bitwise or of inexact bit into u.d.
95479 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95480 * sysdeps/i386/fpu/s_fmaf.S: Removed.
95481 * sysdeps/i386/fpu/s_fma.S: Removed.
95482 * sysdeps/i386/fpu/s_fmal.S: Removed.
95483
95484 2010-10-16 Jakub Jelinek <jakub@redhat.com>
95485
95486 [BZ #3268]
95487 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95489 computation is not scheduled after fetestexcept. Fix value
95490 of minimum denormal long double.
95491
95492 2010-10-14 Jakub Jelinek <jakub@redhat.com>
95493
95494 [BZ #3268]
95495 * math/libm-test.inc (fma_test): Add some more tests.
95496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95497 correctly.
95498
95499 2010-10-15 Andreas Schwab <schwab@redhat.com>
95500
95501 * scripts/data/localplt-s390-linux-gnu.data: New file.
95502 * scripts/data/localplt-s390x-linux-gnu.data: New file.
95503
95504 2010-10-13 Jakub Jelinek <jakub@redhat.com>
95505
95506 [BZ #3268]
95507 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95508 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95509 instead of dbl-64.
95510 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95511 inlines.
95512 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95514 if one of x and y is very large and the other is subnormal.
95515 * sysdeps/s390/fpu/s_fmaf.c: New file.
95516 * sysdeps/s390/fpu/s_fma.c: New file.
95517 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95518 * sysdeps/powerpc/fpu/s_fma.S: New file.
95519 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95520 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95521 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95522
95523 2010-10-12 Jakub Jelinek <jakub@redhat.com>
95524
95525 [BZ #3268]
95526 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95527 fma tests.
95528 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95529 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95530 * sysdeps/i386/i686/multiarch/s_fma.c: Include
95531 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95532 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95533 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95534 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95535
95536 2010-10-12 Ulrich Drepper <drepper@redhat.com>
95537
95538 [BZ #12078]
95539 * posix/regcomp.c (parse_branch): One more memory leak plugged.
95540 * posix/bug-regex31.input: Add test case.
95541
95542 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95543
95544 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95545 * posix/bug-regex31.input: New file.
95546
95547 [BZ #12078]
95548 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95549 (parse_sub_exp): Fix last change, use postorder.
95550
95551 * posix/bug-regex31.c: New file.
95552 * posix/Makefile: Add rules to build and run bug-regex31.
95553
95554 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95555
95556 [BZ #12078]
95557 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95558
95559 [BZ #12108]
95560 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95561 to have entries in sys_siglist.
95562
95563 [BZ #12093]
95564 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95565 be NULL.
95566
95567 2010-10-07 Jakub Jelinek <jakub@redhat.com>
95568
95569 [BZ #3268]
95570 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95571 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95572 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95573 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95574 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95575 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95576 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95577 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95578 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95579 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95580 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95581 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95582 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95583 * math/ftestexcept.c (fetestexcept): Likewise.
95584 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95585 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95586 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95587 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95588 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95589 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95590 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95591
95592 2010-10-11 Ulrich Drepper <drepper@gmail.com>
95593
95594 [BZ #12107]
95595 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95596 newline.
95597
95598 2010-10-06 Ulrich Drepper <drepper@gmail.com>
95599
95600 * string/bug-strstr1.c: New file.
95601 * string/Makefile: Add rules to build and run bug-strstr1.
95602
95603 2010-10-05 Eric Blake <eblake@redhat.com>
95604
95605 [BZ #12092]
95606 * string/str-two-way.h (two_way_long_needle): Always clear memory
95607 when skipping input due to the shift table.
95608
95609 2010-10-03 Ulrich Drepper <drepper@gmail.com>
95610
95611 [BZ #12005]
95612 * malloc/mcheck.c: Handle large requests.
95613
95614 [BZ #12077]
95615 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95616 for strncmp and strncasecmp.
95617 * string/stratcliff.c: Add tests for strcmp and strncmp.
95618 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95619
95620 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95621
95622 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95623 __set_fpscr.
95624
95625 2010-09-30 Andreas Jaeger <aj@suse.de>
95626
95627 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95628 (CGROUP_SUPER_MAGIC): Define.
95629 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95630 Handle btrfs and cgroup file systems.
95631 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95632 Likewise.
95633
95634 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
95635
95636 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95637 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95638
95639 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95640
95641 [BZ #12067]
95642 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95643 trying to locate the ELF header.
95644
95645 2010-09-27 Andreas Schwab <schwab@redhat.com>
95646
95647 [BZ #11611]
95648 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95649 Mask out sign-bit copies when constructing f_fsid.
95650
95651 2010-09-24 Petr Baudis <pasky@suse.cz>
95652
95653 * debug/stack_chk_fail_local.c: Add missing licence exception.
95654 * debug/warning-nop.c: Likewise.
95655
95656 2010-09-15 Joseph Myers <joseph@codesourcery.com>
95657
95658 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95659 implementing getdents64 using getdents syscall, set d_type if
95660 __ASSUME_GETDENTS32_D_TYPE.
95661
95662 2010-09-16 Andreas Schwab <schwab@redhat.com>
95663
95664 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95665 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95666
95667 2010-09-21 Ulrich Drepper <drepper@redhat.com>
95668
95669 [BZ #12037]
95670 * posix/unistd.h: Undo change of feature selection for ftruncate from
95671 2010-01-11.
95672
95673 2010-09-20 Ulrich Drepper <drepper@redhat.com>
95674
95675 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95676 detection.
95677
95678 2010-09-20 Andreas Schwab <schwab@redhat.com>
95679
95680 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95681 fanotify_mark.
95682 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95683
95684 2010-09-14 Andreas Schwab <schwab@redhat.com>
95685
95686 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95687 variables after CHECK_SP call.
95688 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95689
95690 2010-09-13 Andreas Schwab <schwab@redhat.com>
95691 Ulrich Drepper <drepper@redhat.com>
95692
95693 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95694 re-relocationg ld.so.
95695 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95696 _dl_init_paths call.
95697 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
95698 here anymore.
95699
95700 2010-09-14 Ulrich Drepper <drepper@redhat.com>
95701
95702 * resolv/res_init.c (__res_vinit): Count the default server we added.
95703
95704 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
95705 Ulrich Drepper <drepper@redhat.com>
95706
95707 [BZ #11968]
95708 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95709 (____longjmp_chk): Use %ebx for saving value across system call.
95710 Add unwind info.
95711
95712 2010-09-06 Andreas Schwab <schwab@redhat.com>
95713
95714 * manual/Makefile: Don't mix pattern rules with normal rules.
95715
95716 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
95717
95718 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95719 operation.
95720 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95721 * libio/iofopncook.c (_IO_cookie_init): Likewise.
95722 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95723 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95725 Likewise.
95726
95727 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95728
95729 [BZ #11979]
95730 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95731 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95732
95733 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95734
95735 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95736 * sysdeps/x86_64/addmul_1.S: Likewise.
95737 * sysdeps/x86_64/lshift.S: Likewise.
95738 * sysdeps/x86_64/mul_1.S: Likewise.
95739 * sysdeps/x86_64/rshift.S: Likewise.
95740 * sysdeps/x86_64/sub_n.S: Likewise.
95741 * sysdeps/x86_64/submul_1.S: Likewise.
95742
95743 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95744
95745 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95746 Define __sched_param instead of SCHED_* and sched_param when
95747 <bits/sched.h> is included with __need_schedparam defined.
95748 * bits/sched.h [__need_schedparam]
95749 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95750 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95751 (__defined_schedparam): Define to 1.
95752 (__sched_param): New structure, identical to sched_param.
95753 (__need_schedparam): Undefine.
95754
95755 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95756
95757 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95758 (epoll_create1): Declare.
95759
95760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95761
95762 2010-08-31 Andreas Schwab <schwab@redhat.com>
95763
95764 [BZ #7066]
95765 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95766 shifting retval into place.
95767
95768 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95769
95770 * nis/rpcsvc/nis.h: Update copyright notice.
95771 * nis/rpcsvc/nis.x: Likewise.
95772 * nis/rpcsvc/nis_callback.h: Likewise.
95773 * nis/rpcsvc/nis_callback.x: Likewise.
95774 * nis/rpcsvc/nis_object.x: Likewise.
95775 * nis/rpcsvc/nis_tags.h: Likewise.
95776 * nis/rpcsvc/yp.h: Likewise.
95777 * nis/rpcsvc/yp.x: Likewise.
95778 * nis/rpcsvc/ypupd.h: Likewise.
95779 * nis/yp_xdr.c: Likewise.
95780 * nis/ypupdate_xdr.c: Likewise.
95781
95782 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95783 mainly the body of pmap_getport. Add parameters to specify timeouts.
95784 (pmap_getport): Use __libc_rpc_getport.
95785 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95786 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95787 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95788
95789 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95790
95791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95792 fanotify_mark.
95793
95794 2010-08-27 Roland McGrath <roland@redhat.com>
95795
95796 * sysdeps/i386/i686/multiarch/Makefile
95797 (CFLAGS-varshift.c): New variable.
95798
95799 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95800
95801 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95802 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95803
95804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95805
95806 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95807
95808 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95809
95810 * sysdeps/x86_64/strlen.S: Unroll the loop.
95811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95812 strlen-sse2 strlen-sse2-bsf.
95813 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95814 __strlen_no_bsf if bit_Slow_BSF is set.
95815 (__strlen_sse42): Removed.
95816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95817 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95818
95819 2010-08-25 Roland McGrath <roland@redhat.com>
95820
95821 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95822 * sysdeps/x86_64/multiarch/varshift.c: New file.
95823 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95824 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95825 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95826 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95827
95828 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95829
95830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95831 strlen-sse2 strlen-sse2-bsf.
95832 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95833 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95834 (__strlen_sse2): Removed.
95835 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95836 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95838 bit_Slow_BSF for Atom.
95839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95840 (index_Slow_BSF): Define.
95841 (HAS_SLOW_BSF): Define.
95842
95843 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95844
95845 [BZ #10851]
95846 * resolv/res_init.c (__res_vinit): When no server address at all
95847 is given default to loopback.
95848
95849 2010-08-24 Roland McGrath <roland@redhat.com>
95850
95851 * configure.in: Remove config-name.h generation.
95852 * configure: Regenerated.
95853 * config-name.in: File removed.
95854 * scripts/config-uname.sh: New file.
95855 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95856 ($(objdir)config-name.h): New target.
95857
95858 * sunrpc/rpc_parse.h: Avoid nested comment.
95859
95860 2010-08-24 Richard Henderson <rth@redhat.com>
95861 Ulrich Drepper <drepper@redhat.com>
95862 H.J. Lu <hongjiu.lu@intel.com>
95863
95864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95866 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95867 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95868 _mm_alignr_epi8 with _mm_loadu_si128.
95869 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95870 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95871 (__m128i_shift_right): Removed.
95872 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95873 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95874 * sysdeps/x86_64/multiarch/varshift.h: New file.
95875 * sysdeps/x86_64/multiarch/varshift.S: New file.
95876
95877 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95878
95879 * configure.in: Move assembler checks to before sysdep dir checking.
95880
95881 2010-08-20 Petr Baudis <pasky@suse.cz>
95882
95883 * LICENSES: Sync the sunrpc license.
95884
95885 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95886
95887 * sunrpc/auth_des.c: Update copyright notice once again.
95888 * sunrpc/auth_none.c: Likewise.
95889 * sunrpc/auth_unix.c: Likewise.
95890 * sunrpc/authdes_prot.c: Likewise.
95891 * sunrpc/authuxprot.c: Likewise.
95892 * sunrpc/bindrsvprt.c: Likewise.
95893 * sunrpc/clnt_gen.c: Likewise.
95894 * sunrpc/clnt_perr.c: Likewise.
95895 * sunrpc/clnt_raw.c: Likewise.
95896 * sunrpc/clnt_simp.c: Likewise.
95897 * sunrpc/clnt_tcp.c: Likewise.
95898 * sunrpc/clnt_udp.c: Likewise.
95899 * sunrpc/clnt_unix.c: Likewise.
95900 * sunrpc/des_crypt.c: Likewise.
95901 * sunrpc/des_soft.c: Likewise.
95902 * sunrpc/get_myaddr.c: Likewise.
95903 * sunrpc/getrpcport.c: Likewise.
95904 * sunrpc/key_call.c: Likewise.
95905 * sunrpc/key_prot.c: Likewise.
95906 * sunrpc/openchild.c: Likewise.
95907 * sunrpc/pm_getmaps.c: Likewise.
95908 * sunrpc/pm_getport.c: Likewise.
95909 * sunrpc/pmap_clnt.c: Likewise.
95910 * sunrpc/pmap_prot.c: Likewise.
95911 * sunrpc/pmap_prot2.c: Likewise.
95912 * sunrpc/pmap_rmt.c: Likewise.
95913 * sunrpc/rpc/auth.h: Likewise.
95914 * sunrpc/rpc/auth_unix.h: Likewise.
95915 * sunrpc/rpc/clnt.h: Likewise.
95916 * sunrpc/rpc/des_crypt.h: Likewise.
95917 * sunrpc/rpc/key_prot.h: Likewise.
95918 * sunrpc/rpc/netdb.h: Likewise.
95919 * sunrpc/rpc/pmap_clnt.h: Likewise.
95920 * sunrpc/rpc/pmap_prot.h: Likewise.
95921 * sunrpc/rpc/pmap_rmt.h: Likewise.
95922 * sunrpc/rpc/rpc.h: Likewise.
95923 * sunrpc/rpc/rpc_des.h: Likewise.
95924 * sunrpc/rpc/rpc_msg.h: Likewise.
95925 * sunrpc/rpc/svc.h: Likewise.
95926 * sunrpc/rpc/svc_auth.h: Likewise.
95927 * sunrpc/rpc/types.h: Likewise.
95928 * sunrpc/rpc/xdr.h: Likewise.
95929 * sunrpc/rpc_clntout.c: Likewise.
95930 * sunrpc/rpc_cmsg.c: Likewise.
95931 * sunrpc/rpc_common.c: Likewise.
95932 * sunrpc/rpc_cout.c: Likewise.
95933 * sunrpc/rpc_dtable.c: Likewise.
95934 * sunrpc/rpc_hout.c: Likewise.
95935 * sunrpc/rpc_main.c: Likewise.
95936 * sunrpc/rpc_parse.c: Likewise.
95937 * sunrpc/rpc_parse.h: Likewise.
95938 * sunrpc/rpc_prot.c: Likewise.
95939 * sunrpc/rpc_sample.c: Likewise.
95940 * sunrpc/rpc_scan.c: Likewise.
95941 * sunrpc/rpc_scan.h: Likewise.
95942 * sunrpc/rpc_svcout.c: Likewise.
95943 * sunrpc/rpc_tblout.c: Likewise.
95944 * sunrpc/rpc_util.c: Likewise.
95945 * sunrpc/rpc_util.h: Likewise.
95946 * sunrpc/rpcinfo.c: Likewise.
95947 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95948 * sunrpc/rpcsvc/key_prot.x: Likewise.
95949 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95950 * sunrpc/rpcsvc/mount.x: Likewise.
95951 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95952 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95953 * sunrpc/rpcsvc/rex.x: Likewise.
95954 * sunrpc/rpcsvc/rstat.x: Likewise.
95955 * sunrpc/rpcsvc/rusers.x: Likewise.
95956 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95957 * sunrpc/rpcsvc/spray.x: Likewise.
95958 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95959 * sunrpc/rtime.c: Likewise.
95960 * sunrpc/svc.c: Likewise.
95961 * sunrpc/svc_auth.c: Likewise.
95962 * sunrpc/svc_authux.c: Likewise.
95963 * sunrpc/svc_raw.c: Likewise.
95964 * sunrpc/svc_run.c: Likewise.
95965 * sunrpc/svc_simple.c: Likewise.
95966 * sunrpc/svc_tcp.c: Likewise.
95967 * sunrpc/svc_udp.c: Likewise.
95968 * sunrpc/svc_unix.c: Likewise.
95969 * sunrpc/svcauth_des.c: Likewise.
95970 * sunrpc/xcrypt.c: Likewise.
95971 * sunrpc/xdr.c: Likewise.
95972 * sunrpc/xdr_array.c: Likewise.
95973 * sunrpc/xdr_float.c: Likewise.
95974 * sunrpc/xdr_mem.c: Likewise.
95975 * sunrpc/xdr_rec.c: Likewise.
95976 * sunrpc/xdr_ref.c: Likewise.
95977 * sunrpc/xdr_sizeof.c: Likewise.
95978 * sunrpc/xdr_stdio.c: Likewise.
95979
95980 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95981 handling.
95982
95983 2010-08-19 Andreas Schwab <schwab@redhat.com>
95984
95985 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95986
95987 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95988
95989 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95990 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95991 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95992 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95993 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95994 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95995 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95996 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95997 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95998 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95999 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96000 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96001 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96002 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
96003
96004 2010-07-26 Anton Blanchard <anton@samba.org>
96005
96006 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96007 * malloc/arena.c (heap_trim): Likewise.
96008
96009 2010-08-16 Ulrich Drepper <drepper@redhat.com>
96010
96011 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96012 here. Not...
96013 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96014 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96015
96016 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
96017
96018 * sysdeps/i386/elf/Makefile: New file.
96019
96020 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96021
96022 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96023 from fanotify_init.
96024 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96026
96027 2010-08-15 Ulrich Drepper <drepper@redhat.com>
96028
96029 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96030 of strncasecmp_l.
96031 * sysdeps/multiarch/strcmp.S: Likewise.
96032
96033 2010-08-14 Ulrich Drepper <drepper@redhat.com>
96034
96035 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96036 strncase_l-nonascii.
96037 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96038 Add strncase_l-ssse3.
96039 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96040 * sysdeps/x86_64/strcmp.S: Likewise.
96041 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96042 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96043 * sysdeps/x86_64/strncase.S: New file.
96044 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96045 * sysdeps/x86_64/strncase_l.S: New file.
96046 * string/Makefile (strop-tests): Add strncasecmp.
96047 * string/test-strncasecmp.c: New file.
96048
96049 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96050 warning.
96051
96052 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96053 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96054
96055 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
96056
96057 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96058
96059 2010-08-12 Ulrich Drepper <drepper@redhat.com>
96060
96061 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96062 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96063 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96064
96065 2010-05-01 Alan Modra <amodra@gmail.com>
96066
96067 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96068 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96069 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96070 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96071 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96072 tidying. Don't tail-call __sigjmp_save for static lib.
96073 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96074 save location.
96075 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96076 (CALL_MCOUNT): Add eh info, and nop after bl.
96077 (TAIL_CALL_SYSCALL_ERROR): New macro.
96078 (PSEUDO_RET): Use it.
96079 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96080 Correct save location of integer regs and cr.
96081 (_dl_profile_resolve): Correct cr save location. Delete nops
96082 after bl when SHARED. Reduce cfi size a little by better
96083 placement of cfi directives.
96084 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96085 make a stack frame. Instead use parm save area as a temp.
96086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96087 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
96088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96089 Don't make a stack frame for parent, use parm save area.
96090 Increase child stack frame to 112 bytes. Don't save unused reg,
96091 and adjust reg usage. Set up cfi on error recovery and
96092 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96094 (__makecontext): Add dummy nop after jump to exit.
96095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96096 Use correct parm save area and cr save, reduce stack frame.
96097 Correct cfi for possible PSEUDO_RET frame setup.
96098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96099 Branch to local label emitted by PSEUDO_RET rather than
96100 __syscall_error.
96101
96102 2010-08-12 Andreas Schwab <schwab@redhat.com>
96103
96104 [BZ #11904]
96105 * locale/programs/locale.c (print_assignment): New function.
96106 (show_locale_vars): Use it.
96107
96108 2010-08-11 Ulrich Drepper <drepper@redhat.com>
96109
96110 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96111 field.
96112 (struct statfs64): Likewise.
96113 (_STATFS_F_FLAGS): Define.
96114 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96115 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96116 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96117 (ST_VALID): Define locally.
96118 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96119 __statvfs_getflags, use the provided value.
96120 * sysdeps/unix/sysv/linux/kernel-features.h: Define
96121 __ASSUME_STATFS_F_FLAGS.
96122
96123 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96124
96125 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96126 Add sys/fanotify.h.
96127 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96128 fanotify_mask for GLIBC_2.13.
96129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96130 fanotify_init and fanotify_mark.
96131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96132 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96133
96134 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96135 Add prlimit.
96136 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96137 prlimit64 for GLIBC_2.13.
96138 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96139 prlimit64.
96140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96141 syscall.
96142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96144 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96145 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
96147 add prlimit alias.
96148 * sysdeps/unix/sysv/linux/prlimit.c: New file.
96149
96150 [BZ #11903]
96151 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96152 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96153
96154 * nss/Makefile: Add rules to build and run tst-nss-test1.
96155 * shlib-versions: Add entry for libnss_test1.
96156 * nss/nss_test1.c: New file.
96157 * nss/tst-nss-test1.c: New file.
96158
96159 * nss/nsswitch.c (__nss_database_custom): Define new variable.
96160 (__nss_configure_lookup): Set appropriate entry in
96161 __nss_configure_lookup to true.
96162 * nss/nsswitch.h: Define enum with indeces of databases in
96163 databases and __nss_database_custom arrays. Declare
96164 __nss_database_custom.
96165 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96166 to avoid using nscd when custom rules are installed.
96167 * nss/getXXbyYY_r.c: Likewise.
96168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96169
96170 * nss/nss_files/files-parse.c: Whitespace fixes.
96171
96172 2010-08-09 Ulrich Drepper <drepper@redhat.com>
96173
96174 [BZ #11883]
96175 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96176 * posix/fnmatch_loop.c: Likewise.
96177
96178 2010-07-17 Andi Kleen <ak@linux.intel.com>
96179
96180 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96181 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96182 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96183 * Versions.def [GLIBC_2.13]: Add.
96184
96185 2010-08-06 Ulrich Drepper <drepper@redhat.com>
96186
96187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96188 Also fail if tpwd after pwuid call is NULL.
96189
96190 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
96191
96192 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96193 when converting to ms.
96194
96195 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
96196
96197 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96198 EOPNOTSUPP errors with ENOTTY.
96199 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96200 EOPNOTSUPP errors with ENOTTY.
96201
96202 2010-07-31 Ulrich Drepper <drepper@redhat.com>
96203
96204 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96205 Add strcasecmp_l-ssse3.
96206 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96207 strcasecmp.
96208 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96209 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96210 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96211
96212 2010-07-30 Ulrich Drepper <drepper@redhat.com>
96213
96214 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96215
96216 * string/Makefile (strop-tests): Add strcasecmp.
96217 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96218 strcasecmp_l-nonascii.
96219 (gen-as-const-headers): Add locale-defines.sym.
96220 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96221 * sysdeps/x86_64/strcasecmp.S: New file.
96222 * sysdeps/x86_64/strcasecmp_l.S: New file.
96223 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96224 * sysdeps/x86_64/locale-defines.sym: New file.
96225 * string/test-strcasecmp.c: New file.
96226
96227 * string/test-strcasestr.c: Test both ends of the range of characters.
96228 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96229
96230 2010-07-29 Roland McGrath <roland@redhat.com>
96231
96232 [BZ #11856]
96233 * manual/locale.texi (Yes-or-No Questions): Fix example code.
96234
96235 2010-07-27 Ulrich Drepper <drepper@redhat.com>
96236
96237 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96238 for ld.so.
96239
96240 2010-07-27 Andreas Schwab <schwab@redhat.com>
96241
96242 * manual/memory.texi (Malloc Tunable Parameters): Document
96243 M_PERTURB.
96244
96245 2010-07-26 Roland McGrath <roland@redhat.com>
96246
96247 [BZ #11840]
96248 * configure.in (-fgnu89-inline check): Set and substitute
96249 gnu89_inline, not libc_cv_gnu89_inline.
96250 * configure: Regenerated.
96251 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96252
96253 2010-07-26 Ulrich Drepper <drepper@redhat.com>
96254
96255 * string/test-strnlen.c: New file.
96256 * string/Makefile (strop-tests): Add strnlen.
96257 * string/tester.c (test_strnlen): Add a few more test cases.
96258 * string/tst-strlen.c: Better error reporting.
96259
96260 * sysdeps/x86_64/strnlen.S: New file.
96261
96262 2010-07-24 Ulrich Drepper <drepper@redhat.com>
96263
96264 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96265 lower-latency instructions.
96266
96267 2010-07-23 Ulrich Drepper <drepper@redhat.com>
96268
96269 * string/test-strcasestr.c: New file.
96270 * string/test-strstr.c: New file.
96271 * string/Makefile (strop-tests): Add strstr and strcasestr.
96272 * string/str-two-way.h: Don't undefine MAX.
96273 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96274
96275 2010-07-21 Andreas Schwab <schwab@redhat.com>
96276
96277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96278 strcasestr-nonascii.
96279 (CFLAGS-strcasestr-nonascii.c): Define.
96280 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96281 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96282 Remove unused attribute.
96283
96284 2010-07-20 Roland McGrath <roland@redhat.com>
96285
96286 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96287 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
96288 ld.so.cache was broken. With it, there is no way to disable dsocaps
96289 like LD_HWCAP_MASK can disable hwcaps.
96290
96291 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96292
96293 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96294
96295 2010-07-16 Ulrich Drepper <drepper@redhat.com>
96296
96297 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96298 call in strcasestr.
96299 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96300 __strcasestr_sse42_nonascii.
96301 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96302 strcasestr-nonascii.c.
96303 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96304
96305 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
96306
96307 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96308 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96309 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96310 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96311
96312 2010-07-09 Ulrich Drepper <drepper@redhat.com>
96313
96314 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96315 fcntl.
96316
96317 2010-07-06 Andreas Schwab <schwab@redhat.com>
96318
96319 [BZ #11577]
96320 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96321 dl_signal_cerror.
96322
96323 2010-07-06 Ulrich Drepper <drepper@redhat.com>
96324
96325 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96326 _PC_PIPE_BUF using F_GETPIPE_SZ.
96327
96328 2010-07-05 Roland McGrath <roland@redhat.com>
96329
96330 * manual/arith.texi (Rounding Functions): Fix rint description
96331 implicit in round description.
96332
96333 2010-07-02 Ulrich Drepper <drepper@redhat.com>
96334
96335 * elf/Makefile: Fix linking for a few tests to make recent linker
96336 happy.
96337
96338 2010-06-30 Andreas Schwab <schwab@redhat.com>
96339
96340 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96341 $(common-objpfx)libc_nonshared.a.
96342
96343 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
96344
96345 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96346 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96347 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96348 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96349 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96350 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96351 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96352 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96367 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96368 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96369 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96370 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96371 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96372 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96373 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96374 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96375 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96376 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96377 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96378 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96393
96394 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
96395
96396 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96397 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
96398 * string/memmove.c (memmove): Renamed to ...
96399 (MEMMOVE): ...this. Default to memmove.
96400 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96401 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96402 (END_CHK): Define.
96403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96404 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96405 mempcpy-ssse3-back memmove-ssse3-back.
96406 * sysdeps/x86_64/multiarch/bcopy.S: New file .
96407 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96408 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96409 * sysdeps/x86_64/multiarch/memcpy.S: New file.
96410 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96411 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96412 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96413 * sysdeps/x86_64/multiarch/memmove.c: New file.
96414 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96415 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96416 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96417 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96418 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96419 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96420 Define.
96421 (index_Fast_Copy_Backward): Define.
96422 (HAS_ARCH_FEATURE): Define.
96423 (HAS_FAST_REP_STRING): Define.
96424 (HAS_FAST_COPY_BACKWARD): Define.
96425
96426 2010-06-21 Andreas Schwab <schwab@redhat.com>
96427
96428 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96429 Restore proper fallback handling.
96430
96431 2010-06-19 Ulrich Drepper <drepper@redhat.com>
96432
96433 [BZ #11701]
96434 * posix/group_member.c (__group_member): Correct checking loop.
96435
96436 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96437 OOM in getpwuid_r correctly. Return error number when the caller
96438 should return, otherwise -1.
96439 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96440 call returning > 0 value.
96441 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96442
96443 2010-06-07 Andreas Schwab <schwab@redhat.com>
96444
96445 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96446 libc_nonshared.a from targets in modules-names.
96447
96448 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
96449
96450 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96451 requires it.
96452
96453 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
96454
96455 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96456 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96457 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96458 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96459
96460 2010-06-02 Andreas Schwab <schwab@redhat.com>
96461
96462 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96463
96464 2010-06-14 Ulrich Drepper <drepper@redhat.com>
96465
96466 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96467 and F_GETPIPE_SZ.
96468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96469 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96473 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96474
96475 2010-06-14 Roland McGrath <roland@redhat.com>
96476
96477 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96478
96479 2010-06-07 Jakub Jelinek <jakub@redhat.com>
96480
96481 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96482 __REDIRECT followed by __THROW.
96483 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96484 * posix/getopt.h (getopt): Likewise.
96485
96486 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
96487
96488 * hurd/lookup-at.c (__file_name_lookup_at): Accept
96489 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
96490 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96491 in AT_FLAGS.
96492 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96493 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96494
96495 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
96496
96497 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96498
96499 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
96500
96501 [BZ #11640]
96502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96503 Properly check family and model.
96504
96505 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
96506
96507 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96508
96509 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
96510
96511 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96512
96513 2010-05-21 Ulrich Drepper <drepper@redhat.com>
96514
96515 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96516 symbol reference.
96517
96518 2010-05-19 Andreas Schwab <schwab@redhat.com>
96519
96520 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96521 symbol reference.
96522
96523 2010-05-21 Andreas Schwab <schwab@redhat.com>
96524
96525 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96526 and internal_recvmmsg.
96527 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96528 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96529 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96530 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96531
96532 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96533 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96534 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96535
96536 2010-05-20 Andreas Schwab <schwab@redhat.com>
96537
96538 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96539
96540 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
96541
96542 POWER7 optimizations.
96543 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96544 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96545
96546 2010-05-19 Ulrich Drepper <drepper@redhat.com>
96547
96548 * version.h: Update for 2.13 development version.
96549
96550 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
96551
96552 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96553 exceptions. Return 0.
96554
96555 2010-05-07 Roland McGrath <roland@redhat.com>
96556
96557 * elf/ldconfig.c (main): Add a const.
96558
96559 2010-05-06 Ulrich Drepper <drepper@redhat.com>
96560
96561 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96562 (args_options): Add no-idn option.
96563 (ahosts_keys_int): Add idn_flags to ai_flags.
96564 (parse_option): Handle 'i' option to clear idn_flags.
96565
96566 * malloc/malloc.c (_int_free): Possible race in the most recently
96567 added check. Only act on the data if no current modification
96568 happened.
96569
96570 See ChangeLog.17 for earlier changes.